/* ==========================================================================
   E-Komerco Agency — feuille de style
   Aucune police ni ressource externe : rendu rapide, sans cookie.
   ========================================================================== */

:root {
  --ink: #0e1726;
  --ink-2: #18243a;
  --ink-3: #24324d;
  --text: #2a3445;
  --muted: #5d6779;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --brand: #f7c331;
  --brand-600: #e5ab0f;
  --brand-50: #fff8e1;
  --success: #1f9d6b;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14, 23, 38, .06), 0 1px 3px rgba(14, 23, 38, .05);
  --shadow: 0 10px 30px -12px rgba(14, 23, 38, .18), 0 4px 10px -6px rgba(14, 23, 38, .08);
  --shadow-lg: 0 30px 60px -25px rgba(14, 23, 38, .35);

  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --section: clamp(4rem, 9vw, 6.5rem);
  --header-h: 76px;

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.022em; margin: 0 0 .6em; font-weight: 750; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.3rem); letter-spacing: -0.012em; }
.h3 { font-size: clamp(1.15rem, 1.6vw, 1.3rem); letter-spacing: -0.012em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
address { font-style: normal; }
strong { color: var(--ink); font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
::selection { background: var(--brand); color: var(--ink); }

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

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.125rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem;
  font: inherit; font-size: 1rem; font-weight: 650; line-height: 1.2;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: var(--ink); box-shadow: 0 6px 18px -8px rgba(229, 171, 15, .8); }
.btn-primary:hover { background: #ffcf45; }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: rgba(14, 23, 38, .06); }
.btn-ghost-dark { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-link { color: var(--ink); font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.btn-link .icon { width: 1.05em; transition: transform .15s ease; }
.btn-link:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(14, 23, 38, .07);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand img { width: 160px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .85rem; border-radius: 999px;
  font: inherit; font-size: .975rem; font-weight: 600; color: var(--ink);
  text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-link.is-current { background: var(--bg-soft); }
.nav-link[aria-current="page"], .nav-link.is-current { box-shadow: inset 0 -2px 0 var(--brand); border-radius: 999px 999px 4px 4px; }
.chevron { width: 16px; height: 16px; transition: transform .2s ease; }

.sub-menu {
  list-style: none; margin: 0; padding: .5rem;
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: 320px; transform: translate(-50%, 6px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.is-open .sub-menu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.has-sub:hover .chevron, .has-sub.is-open .chevron { transform: rotate(180deg); }
.sub-menu a {
  display: flex; align-items: center; gap: .8rem;
  padding: .65rem .75rem; border-radius: 10px;
  font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none;
}
.sub-menu a:hover, .sub-menu a[aria-current="page"] { background: var(--bg-soft); }
.sub-icon {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--brand-50); color: var(--brand-600); flex: none;
}
.sub-icon .icon { width: 20px; height: 20px; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--ink); }
.nav-phone .icon { width: 18px; height: 18px; color: var(--brand-600); }

.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  position: absolute; left: 50%; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transform: translateX(-50%); transition: transform .2s ease, top .2s ease, opacity .2s ease;
}
.nav-toggle-bars { top: 50%; margin-top: -1px; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-phone span { display: none; }
}

@media (max-width: 960px) {
  .js .nav-toggle { display: block; }
  .site-nav {
    flex-direction: column; align-items: stretch; gap: 1rem;
    width: 100%; margin: 0; padding: 1rem 0 1.5rem;
  }
  .js .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 1rem var(--gutter) 1.5rem;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    display: none;
  }
  .js .site-nav.is-open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: .85rem .5rem; border-radius: 10px; font-size: 1.05rem; }
  .nav-link[aria-current="page"], .nav-link.is-current { box-shadow: none; }
  .sub-menu {
    position: static; width: auto; transform: none; box-shadow: none; border: 0;
    padding: 0 0 .5rem .5rem; opacity: 1; visibility: visible; display: none;
  }
  .sub-menu::before { display: none; }
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { transform: none; }
  .has-sub.is-open .sub-menu { display: block; transform: none; }
  html:not(.js) .sub-menu { display: block; }
  .has-sub:hover .chevron { transform: none; }
  .has-sub.is-open .chevron { transform: rotate(180deg); }
  .nav-actions { flex-direction: column; align-items: stretch; gap: .75rem; padding-top: 1rem; border-top: 1px solid var(--line); }
  .nav-phone { justify-content: center; padding: .6rem; }
  .nav-phone span { display: inline; }
  .nav-actions .btn { min-height: 50px; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: #c9d2e0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(247, 195, 49, .20), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(64, 110, 190, .25), transparent 60%),
    var(--ink);
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(4rem, 9vw, 7rem);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
          mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { color: #fff; margin-bottom: .5em; }
.hero h1 .hl { color: var(--brand); }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); max-width: 40em; color: #c9d2e0; }
.hero .lead strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; padding: 0; margin: 2.25rem 0 0; font-size: .95rem; }
.hero-proof li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-proof .icon { color: var(--brand); width: 1.1em; height: 1.1em; }

.profile-card {
  position: relative; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg);
  padding: 1.75rem; box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.profile-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.profile-head img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--brand); }
.profile-name { color: #fff; font-weight: 700; font-size: 1.15rem; margin: 0; }
.profile-role { margin: 0; font-size: .925rem; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin: 0; }
.stat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 1rem; }
.stat dt { font-size: .85rem; }
.stat dd { margin: 0; color: #fff; font-weight: 750; font-size: 1.65rem; letter-spacing: -.02em; line-height: 1.1; }
.stat { display: flex; flex-direction: column-reverse; gap: .2rem; }
.profile-quote { margin: 1.25rem 0 0; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .95rem; font-style: italic; }
.profile-quote cite { display: block; margin-top: .4rem; font-style: normal; font-size: .85rem; color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  color: #c9d2e0;
  background:
    radial-gradient(800px 380px at 90% -20%, rgba(247, 195, 49, .18), transparent 60%),
    var(--ink);
  padding-block: clamp(2.25rem, 5vw, 3.5rem) clamp(3rem, 6vw, 4.5rem);
}
.page-hero h1 { color: #fff; max-width: 22ch; font-size: clamp(2rem, 4.2vw, 3.1rem); }
.page-hero .lead { max-width: 46em; font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.page-hero .lead p:last-child { margin-bottom: 0; }
.page-hero .lead strong, .page-hero .lead a { color: #fff; }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; margin: 0 0 1.75rem; font-size: .875rem; }
.breadcrumb li { display: inline-flex; align-items: center; gap: .35rem; color: #94a0b4; }
.breadcrumb li + li::before { content: "/"; opacity: .5; }
.breadcrumb a { color: #c9d2e0; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: #fff; }

/* ---------- Logos ---------- */
.logos { padding-block: clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); }
.logos-title { text-align: center; font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.75rem; }
.logos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .5rem 1rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.logos-grid img {
  width: 118px; height: auto; margin-inline: auto;
  filter: grayscale(1); opacity: .62; mix-blend-mode: multiply;
  transition: filter .2s ease, opacity .2s ease;
}
.logos-grid li:hover img { filter: none; opacity: 1; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); font-size: 1rem; }
.card p:last-child { margin-bottom: 0; }
a.card { text-decoration: none; color: inherit; }
a.card:hover, .card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d3d9e3; }
.card-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: var(--brand-50); color: var(--brand-600); margin-bottom: 1.1rem;
}
.card-icon .icon { width: 26px; height: 26px; }
.card .btn-link { margin-top: auto; padding-top: .75rem; }
.card-dark { background: var(--ink); border-color: var(--ink); color: #c9d2e0; }
.card-dark h3 { color: #fff; }
.card-dark p { color: #c9d2e0; }
.card-dark .btn-link { color: var(--brand); }

/* Numbered reasons */
.reasons { counter-reset: reason; }
.reason { padding: 1.5rem 0 0; border-top: 2px solid var(--ink); }
.reason::before {
  counter-increment: reason; content: counter(reason, decimal-leading-zero);
  display: block; font-weight: 750; font-size: .9rem; color: var(--brand-600); margin-bottom: .6rem; letter-spacing: .05em;
}
.reason p { color: var(--muted); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink); color: var(--brand); font-weight: 750; margin-bottom: 1rem;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .975rem; margin: 0; }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: .15em; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1726' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist.cols-2 { grid-template-columns: repeat(2, 1fr); gap: .7rem 2rem; }

/* ---------- Testimonials ---------- */
.quote-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); margin: 0; }
.quote-card .icon { width: 34px; height: 34px; color: var(--brand); margin-bottom: .9rem; }
.quote-card blockquote { margin: 0 0 1.5rem; color: var(--text); font-size: 1rem; }
.quote-card blockquote p { margin: 0; }
.quote-card figcaption { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.quote-name { display: block; font-weight: 700; color: var(--ink); }
.quote-role { display: block; font-size: .9rem; color: var(--muted); }
.quotes-masonry { columns: 3 320px; column-gap: 1.25rem; }
.quotes-masonry .quote-card { break-inside: avoid; margin-bottom: 1.25rem; }

/* ---------- Projects ---------- */
.project { padding: 0; overflow: hidden; }
.project-logo { display: grid; place-items: center; background: #fff; border-bottom: 1px solid var(--line); padding: 1.25rem; aspect-ratio: 16 / 9; }
.project-logo img { width: 200px; height: auto; mix-blend-mode: multiply; }
.project-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.project-tech { font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--brand-600); margin-bottom: .4rem; }
.project h3 { font-size: 1.15rem; }
.project-url { margin-top: auto; padding-top: 1rem; font-size: .925rem; font-weight: 600; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.project-url .icon { width: 1em; height: 1em; }
.project-url:hover { text-decoration: underline; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; margin: 0 0 .9rem; }
.tags li { font-size: .78rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }

/* ---------- Prose / article ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.2em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose a { color: var(--ink); text-decoration-color: var(--brand-600); text-decoration-thickness: 2px; font-weight: 600; }
.prose a:hover { background: var(--brand-50); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .45em; }
.prose ul li::marker { color: var(--brand-600); }
.prose ol li::marker { color: var(--brand-600); font-weight: 700; }
.prose .checklist { padding-left: 0; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--brand); background: var(--bg-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose img { border-radius: var(--radius); }

.callout { display: flex; gap: 1rem; padding: 1.25rem 1.4rem; background: var(--brand-50); border: 1px solid #f4dc8e; border-radius: var(--radius); margin: 2rem 0; }
.callout .icon { color: var(--brand-600); width: 26px; height: 26px; }
.callout p:last-child { margin: 0; }

.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.75rem 0; }
.metric { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; background: #fff; }
.metric-name { font-weight: 750; color: var(--ink); font-size: 1.25rem; }
.metric-target { display: inline-block; margin: .25rem 0 .4rem; font-size: .85rem; font-weight: 700; color: var(--success); background: #e7f6ef; padding: .1rem .5rem; border-radius: 999px; }
.metric p { margin: 0; font-size: .925rem; color: var(--muted); }

.article-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; background: #fff; }
.aside-contact { text-align: center; background: var(--bg-soft); }
.aside-contact img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin: 0 auto .75rem; border: 3px solid var(--brand); }
.aside-name { font-weight: 700; color: var(--ink); margin: 0; }
.aside-role { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.aside-phone { display: inline-flex; align-items: center; gap: .4rem; margin-top: .85rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.aside-phone .icon { width: 18px; height: 18px; color: var(--brand-600); }
.aside-title { font-weight: 700; color: var(--ink); margin-bottom: .6rem; }
.aside-links { list-style: none; padding: 0; margin: 0; }
.aside-links li + li { border-top: 1px solid var(--line); }
.aside-links a { display: block; padding: .65rem 0; text-decoration: none; font-size: .95rem; color: var(--text); }
.aside-links a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 1.25rem 0; font-weight: 650; font-size: 1.1rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1726' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 0 1.4rem; color: var(--muted); }
.faq .faq-body p:last-child { margin: 0; }
.faq .faq-body a { color: var(--ink); font-weight: 600; }

/* ---------- About / timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.timeline li { display: grid; grid-template-columns: 72px 1fr; gap: 1.25rem; align-items: start; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.timeline img { width: 72px; height: auto; }
.timeline .year { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--brand-600); letter-spacing: .05em; }
.timeline h3 { font-size: 1.1rem; margin: .1rem 0 .35rem; }
.timeline p { margin: 0; color: var(--muted); font-size: .975rem; }
.portrait { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; max-width: 420px; aspect-ratio: 1; object-fit: cover; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem; align-items: start; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); background: #fff; box-shadow: var(--shadow-sm); }
.contact-card.highlight { background: var(--ink); color: #c9d2e0; border-color: var(--ink); box-shadow: var(--shadow-lg); }
.contact-card.highlight h2 { color: #fff; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .icon { color: var(--brand-600); width: 24px; height: 24px; margin-top: .1rem; }
.contact-list a { color: var(--ink); font-weight: 650; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list small { display: block; color: var(--muted); font-size: .875rem; }
.info-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; font-size: .95rem; }
.info-list li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .6rem; border-bottom: 1px dashed rgba(255,255,255,.15); }
.info-list strong { color: #fff; }
.contact-note { margin: 1.25rem 0 0; font-size: .875rem; color: #94a0b4; }

/* ---------- Sitemap ---------- */
.sitemap-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.sitemap-cols h2 { font-size: 1.2rem; }
.sitemap-cols ul { list-style: none; padding: 0; margin: 0; }
.sitemap-cols li { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.sitemap-cols a { text-decoration: none; color: var(--text); }
.sitemap-cols a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand); color: var(--ink); padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 40em; color: #3b3210; font-size: 1.075rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; flex: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9ea9bb; font-size: .95rem; padding-top: clamp(3.5rem, 7vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-logo { color: #fff; font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; margin-bottom: .75rem; }
.footer-logo span { color: var(--brand); font-weight: 600; }
.footer-badges { display: flex; gap: .9rem; align-items: center; margin-top: 1.25rem; }
.footer-badges img { background: #fff; border-radius: 10px; padding: 4px; width: 62px; height: 62px; object-fit: contain; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 1rem; font-size: .95rem; letter-spacing: .02em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: #c9d2e0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact p { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .8rem; }
.footer-contact .icon { color: var(--brand); width: 18px; height: 18px; margin-top: .2rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .875rem; }
.footer-bottom p { margin: 0; }
.footer-privacy { display: inline-flex; align-items: center; gap: .45rem; color: var(--brand); }
.footer-privacy .icon { width: 18px; height: 18px; }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar {
    position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: .6rem;
    padding: .65rem var(--gutter) calc(.65rem + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .mobile-bar .btn { min-height: 46px; padding-inline: .8rem; }
  body { padding-bottom: 76px; }
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.muted { color: var(--muted); }
.text-lg { font-size: 1.15rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .sitemap-cols { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid-3, .grid-2, .grid-4, .steps, .checklist.cols-2, .sitemap-cols, .article-aside { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .cta-actions { width: 100%; }
  .timeline li { grid-template-columns: 56px 1fr; gap: 1rem; }
  .timeline img { width: 56px; }
  .logos-grid { grid-template-columns: repeat(3, 1fr); }
  .logos-grid img { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .mobile-bar, .cta-band, .site-footer, .article-aside { display: none !important; }
  .hero, .page-hero { background: none; color: #000; }
  .hero h1, .page-hero h1 { color: #000; }
}
