/* Novavision-IT, page d'accueil version B « Signalétique » */

:root {
  --graphite: #1F2328;
  --deep: #181B1F;
  --yellow: #FFC629;
  --stone: #B8B4AA;
  --chalk: #F7F6F2;
  --line-dark: #363B42;
  --line-light: #D9D6CE;
  --muted-light: #5F5B53;

  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 16px;
  --gap: 16px;
  --max: 1480px;
  --header-h: 64px;
  --section-y: clamp(5rem, 3.5rem + 7vw, 10rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gutter: 32px; --gap: 24px; --header-h: 76px; } }
@media (min-width: 1200px) { :root { --gutter: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--graphite); color: var(--chalk);
  font-family: var(--f-text); font-size: 1.0625rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) { body { font-size: 1.125rem; } }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { max-width: 62ch; }

h2 {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.6rem, 1.4rem + 5vw, 6rem); line-height: .9; letter-spacing: .005em;
  text-wrap: balance;
}
h3 { font-size: 1.25rem; line-height: 1.2; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.clients :focus-visible, .ai :focus-visible, .partners :focus-visible { outline-color: var(--graphite); }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--yellow); color: var(--graphite); padding: 12px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Boutons et liens */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .85rem 1.5rem;
  font-weight: 700; font-size: 1rem; line-height: 1.1;
  transition: background-color .2s, color .2s, transform .12s;
}
.btn:active { transform: translateY(1px); }
.btn-yellow { background: var(--yellow); color: var(--graphite); }
.btn-yellow:hover { background: var(--chalk); }
.btn-dark { background: var(--graphite); color: var(--chalk); }
.btn-dark:hover { background: var(--chalk); color: var(--graphite); }

.link {
  display: inline-flex; align-items: center; min-height: 44px; font-weight: 700;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 2px no-repeat;
  transition: background-size .35s var(--ease);
}
.link:hover { background-size: 30% 2px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 50; background: var(--graphite); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.is-scrolled { border-bottom-color: var(--line-dark); }
.top-row { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.logo {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; margin-right: auto;
  font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .02em;
  position: relative; z-index: 60;
}
.logo-mark {
  display: inline-grid; place-items: center; width: 34px; height: 34px;
  background: var(--yellow); color: var(--graphite); font-size: 1.35rem;
}
.logo--img { gap: 0; }
.logo-img { display: block; height: 40px; width: auto; max-width: 220px; object-fit: contain; }
.foot .logo-img { height: 48px; max-width: 260px; }
@media (max-width: 639px) { .logo-img { height: 34px; max-width: 170px; } }
.top-cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; font-weight: 700; position: relative; z-index: 60; }
.menu-lines { width: 24px; height: 10px; position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-lines::before { top: 0; }
.menu-lines::after { top: 8px; }
.menu-btn[aria-expanded="true"] .menu-lines::before { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines::after { top: 4px; transform: rotate(-45deg); }

.nav {
  position: fixed; inset: 0; z-index: 55; background: var(--graphite);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 2rem; overflow-y: auto;
  visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s .25s;
}
.nav.is-open { visibility: visible; opacity: 1; transition: opacity .25s; }
.nav-list > li { border-top: 1px solid var(--line-dark); }
.nav-list > li > a, .sub-toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 60px;
  font-family: var(--f-display); font-weight: 800; font-size: 2rem; text-transform: uppercase;
}
.sub-toggle::after { content: ""; width: 10px; height: 10px; margin-right: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .25s; }
.sub-toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-3px); }
.sub { display: none; padding-bottom: 1rem; }
.sub.is-open { display: block; }
.sub a { display: flex; align-items: center; min-height: 44px; color: var(--stone); }
.sub a:hover { color: var(--yellow); }
.nav-cta { align-self: flex-start; }
body.menu-open { overflow: hidden; }

@media (min-width: 1180px) {
  .menu-btn, .nav-cta { display: none; }
  .top-cta { display: inline-flex; }
  .nav { position: static; padding: 0; background: none; visibility: visible; opacity: 1; overflow: visible; flex-direction: row; transition: none; }
  .nav-list { display: flex; align-items: center; gap: 1.6rem; }
  .nav-list > li { border: 0; position: relative; }
  .nav-list > li > a, .sub-toggle { font-family: var(--f-text); font-size: 1rem; font-weight: 500; text-transform: none; min-height: 44px; width: auto; gap: .5rem; }
  .nav-list > li > a:hover, .sub-toggle:hover { color: var(--yellow); }
  .sub-toggle::after { width: 6px; height: 6px; border-width: 1.5px; margin: 0; }
  .sub { position: absolute; top: 100%; left: -1rem; min-width: 270px; background: var(--deep); border: 1px solid var(--line-dark); padding: .5rem 1rem; }
  .sub a { color: var(--chalk); }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 5vw, 4.5rem); }
@media (min-width: 900px) { .hero { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; } .hero > .wrap { width: 100%; } }
.hero-h1 { font-weight: inherit; }
.hero-kicker { display: block; font-size: 1rem; font-weight: 600; color: var(--stone); margin-bottom: clamp(1rem, 2vw, 1.75rem); }
.hero-big {
  display: block;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3.2rem, 14.5vw, 5.5rem); line-height: .86; letter-spacing: -.005em;
}
@media (min-width: 900px) {
  .hero-big { font-size: min(10.4vw, 14rem); white-space: nowrap; }
}
.hero-big .row { display: block; overflow: hidden; padding-block: .02em; }
.hero-big .in { display: inline-block; }
@media (min-width: 900px) { .hero-big .row:nth-child(2) { padding-left: 7vw; } }
.pill {
  display: inline-block; vertical-align: .02em;
  width: 1.6em; height: .74em; border-radius: 999px; overflow: hidden;
  background: var(--deep);
}
.pill-wide { width: 2.1em; }
.pill { position: relative; }
.pill img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pill img.is-next { clip-path: inset(100% 0 0 0); animation: pill-in .7s var(--ease) forwards; }
@keyframes pill-in { to { clip-path: inset(0 0 0 0); } }

.hero-foot { display: grid; gap: 2.5rem; margin-top: clamp(2rem, 4vw, 3.5rem); }
.hero-copy { display: grid; gap: 1.5rem; }
.hero-copy p { font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.45; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }

.hero-side { display: grid; gap: 1.75rem; align-self: end; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.facts li { display: grid; gap: .2rem; align-content: start; }
.facts strong { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; color: var(--yellow); font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.8rem); line-height: .95; }
.facts span { color: var(--stone); font-size: .9rem; line-height: 1.35; }
.clocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem var(--gap); }
.motion-toggle {
  margin-top: 1.5rem; min-height: 44px; color: var(--stone); font-size: .85rem; font-weight: 600;
  text-decoration: underline; text-underline-offset: 4px;
}
.motion-toggle:hover { color: var(--chalk); }
.clocks li { border-top: 2px solid var(--yellow); padding-top: .6rem; display: grid; }
.clocks .city { font-size: .9rem; color: var(--stone); }
.clocks time { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.4rem); line-height: 1; font-variant-numeric: tabular-nums; }

@media (max-width: 639px) { .hero-actions .btn { width: 100%; } }
@media (min-width: 900px) {
  .hero-foot { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
  .hero-copy { grid-column: 1 / 6; }
  .hero-side { grid-column: 7 / 13; }
  .clocks { grid-template-columns: repeat(5, 1fr); }
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero-big .in { transform: translateY(105%); }
  .js .hero-big .pill { transform: scale(0); }
  .js .hero-kicker, .js .hero-foot { opacity: 0; }
  .js .is-in .hero-big .in { transform: none; transition: transform 1.1s var(--ease); }
  .js .is-in .hero-big .row:nth-child(2) .in { transition-delay: .08s; }
  .js .is-in .hero-big .row:nth-child(3) .in { transition-delay: .16s; }
  .js .is-in .hero-big .pill { transform: none; transition: transform .8s var(--ease) .55s; }
  .js .is-in .hero-kicker, .js .is-in .hero-foot { opacity: 1; transition: opacity .8s var(--ease) .3s; }
}

/* ---------- Projets récents ---------- */
.recent { background: var(--deep); padding-block: var(--section-y); }
.recent-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.recent-list { display: grid; gap: 2rem var(--gap); }
.proj a { display: grid; gap: .6rem; }
.proj-img { display: block; overflow: hidden; background: var(--graphite); }
.proj-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.proj a:hover .proj-img img { transform: scale(1.03); }
.proj-name {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.6rem); line-height: .95;
  justify-self: start; background: linear-gradient(var(--yellow), var(--yellow)) 0 100% / 0 4px no-repeat; transition: background-size .4s var(--ease);
}
.proj a:hover .proj-name, .proj a:focus-visible .proj-name { background-size: 100% 4px; }
.proj-meta { color: var(--stone); font-size: .95rem; }
@media (min-width: 768px) { .recent-list { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Clients par pays : craie ---------- */
.clients { background: var(--chalk); color: var(--graphite); padding-block: var(--section-y); }
.clients-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.clients-head p { color: var(--muted-light); }
.countries { display: grid; gap: 2.5rem var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.country-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-top: 3px solid var(--graphite); padding-top: .75rem; margin-bottom: .75rem; }
.country h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.9rem, 1.4rem + 1.2vw, 2.8rem); line-height: .9; }
.country time { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; background: var(--yellow); padding: .15rem .45rem; }
.country ul { display: grid; }
.country a {
  display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; line-height: 1.25;
  background: linear-gradient(var(--yellow), var(--yellow)) 0 85% / 0 .35em no-repeat; transition: background-size .35s var(--ease);
}
.country a:hover, .country a:focus-visible { background-size: 100% .35em; }
@media (min-width: 900px) {
  .clients-head { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
  .clients-head h2 { grid-column: 1 / 8; }
  .clients-head p { grid-column: 9 / 13; }
}
@media (min-width: 1200px) { .countries { grid-template-columns: repeat(5, 1fr); } }

/* ---------- Services : index ---------- */
.svc { padding-block: var(--section-y); }
.svc-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.svc-head p { color: var(--stone); }
.svc-list { border-bottom: 1px solid var(--line-dark); }
.svc-row {
  border-top: 1px solid var(--line-dark); display: grid; gap: .75rem;
  padding: 1.5rem 1rem; margin-inline: -1rem;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.svc-row h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 1.2rem + 2.6vw, 4.2rem); line-height: .9; }
.svc-row p { color: var(--stone); max-width: 46ch; }
.svc-links { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.svc-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.svc-row:hover, .svc-row:focus-within { background: var(--yellow); color: var(--graphite); }
.svc-row:hover p, .svc-row:focus-within p { color: var(--graphite); }
.svc-row :focus-visible { outline-color: var(--graphite); }
@media (min-width: 1000px) {
  .svc-head { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
  .svc-head h2 { grid-column: 1 / 8; font-size: clamp(3rem, 1rem + 6vw, 8rem); }
  .svc-head p { grid-column: 9 / 13; }
  .svc-row { grid-template-columns: 5fr 4fr 3fr; column-gap: var(--gap); align-items: center; padding-block: 1.75rem; }
  .svc-links { flex-direction: column; align-items: flex-start; }
}

/* ---------- Atelier IA : jaune ---------- */
.ai { background: var(--yellow); color: var(--graphite); padding-block: var(--section-y); }
.ai-grid { display: grid; gap: 3rem; }
.ai-text { display: grid; gap: 1.75rem; align-content: start; }
.ai-text h2 { font-size: clamp(4.5rem, 1rem + 15vw, 15rem); line-height: .82; font-weight: 900; }
.ai-lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.45; max-width: 46ch; }
.ai-list { border-bottom: 2px solid var(--graphite); }
.ai-list > div { border-top: 2px solid var(--graphite); padding-block: 1rem; display: grid; gap: .3rem; }
.ai-list dt { font-weight: 800; font-size: 1.1rem; }
.ai-list dd { color: #3A3526; }
.ai-text .btn { justify-self: start; }
.ai-side { display: grid; gap: 1.5rem; align-content: start; }
.ai-note { font-size: .9rem; color: #3A3526; }

.chat { background: var(--graphite); color: var(--chalk); width: 100%; max-width: 460px; box-shadow: 14px 14px 0 rgba(31, 35, 40, .18); }
.chat-bar { display: flex; justify-content: space-between; align-items: center; padding: .85rem 1rem; border-bottom: 1px solid var(--line-dark); font-weight: 700; font-size: .9rem; }
.chat-tag { background: var(--yellow); color: var(--graphite); padding: .1rem .5rem; font-size: .75rem; font-weight: 800; }
.chat-body { display: grid; gap: .65rem; padding: 1rem; font-size: .95rem; line-height: 1.45; }
.chat-notice { font-size: .8rem; color: var(--stone); text-align: center; }
.msg { max-width: 86%; padding: .6rem .85rem; border-radius: 14px; }
.msg-user { justify-self: end; background: var(--yellow); color: var(--graphite); border-bottom-right-radius: 3px; }
.msg-bot { justify-self: start; background: #2C3138; border-bottom-left-radius: 3px; }
.chat-chip { justify-self: start; border: 1.5px solid var(--chalk); padding: .35rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 700; }

@media (min-width: 1000px) {
  .ai-grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .ai-text { grid-column: 1 / 8; }
  .ai-side { grid-column: 9 / 13; padding-top: clamp(6rem, 12vw, 13rem); }
  .ai-list > div { grid-template-columns: 1fr 1.3fr; column-gap: var(--gap); }
}

/* ---------- Méthode ---------- */
.method { padding-block: var(--section-y); }
.method-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.method-head p { color: var(--stone); }
.steps { display: grid; gap: 2rem; }
.steps li { border-top: 2px solid var(--yellow); padding-top: 1.25rem; display: grid; gap: .6rem; align-content: start; }
.step-n { font-family: var(--f-display); font-weight: 900; font-size: 3.5rem; line-height: .9; color: var(--yellow); }
.steps h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.9rem; text-transform: uppercase; line-height: 1; }
.steps p { color: var(--stone); }
.steps .deliver { color: var(--chalk); font-weight: 600; border: 1.5px solid var(--line-dark); padding: .6rem .8rem; margin-top: .4rem; }
.deliver span { display: block; color: var(--yellow); font-size: .8rem; font-weight: 700; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); column-gap: var(--gap); } }
@media (min-width: 1100px) {
  .method-head { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
  .method-head h2 { grid-column: 1 / 8; }
  .method-head p { grid-column: 9 / 13; }
  .steps { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Pour les agences : craie ---------- */
.partners { background: var(--chalk); color: var(--graphite); padding-block: var(--section-y); }
.partners-grid { display: grid; gap: 2rem; }
.partners-grid h2 { font-size: clamp(3.4rem, 1rem + 9vw, 10rem); line-height: .84; font-weight: 900; }
.partners-body { display: grid; gap: 1.5rem; align-content: start; }
.partners-lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.45; }
.partners-list { border-bottom: 1px solid var(--line-light); }
.partners-list > div { border-top: 1px solid var(--line-light); padding-block: 1rem; display: grid; gap: .3rem; }
.partners-list dt { font-weight: 800; }
.partners-list dd { color: var(--muted-light); }
.partners-body .link { justify-self: start; }
@media (min-width: 1000px) {
  .partners-grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .partners-grid h2 { grid-column: 1 / 7; }
  .partners-body { grid-column: 7 / 13; padding-top: .75rem; }
  .partners-list > div { grid-template-columns: 1fr 2fr; column-gap: var(--gap); }
}

/* ---------- Témoignages ---------- */
.voices { background: var(--deep); padding-block: var(--section-y); }
.voices-h { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.voice { position: relative; padding-top: 3.5rem; }
.voice::before { content: "«"; position: absolute; top: -.3rem; left: -.05em; font-family: var(--f-display); font-weight: 900; font-size: 7rem; line-height: 1; color: var(--yellow); }
.voice-main p { font-size: clamp(1.5rem, 1rem + 2vw, 3rem); line-height: 1.2; font-weight: 500; max-width: 30ch; }
.voice-side { margin-top: 4rem; }
.voice-side p { font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); line-height: 1.35; font-weight: 500; max-width: 38ch; }
.voice figcaption { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; color: var(--stone); }
.voice figcaption strong { color: var(--chalk); }
.voice figcaption .link { color: var(--yellow); }
@media (min-width: 1000px) { .voice-side { margin-left: 50%; } }

/* ---------- L'agence ---------- */
.studio { padding-block: var(--section-y); }
.studio-grid { display: grid; gap: 2rem; }
.studio-grid h2 { font-size: clamp(3.4rem, 1rem + 9vw, 10rem); line-height: .84; font-weight: 900; }
.studio-body { display: grid; gap: 1.25rem; align-content: start; }
.studio-lead { font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); line-height: 1.45; }
.studio-body > p:not(.studio-lead) { color: var(--stone); }
.stack-tech { display: grid; gap: .75rem; margin-top: .5rem; }
.stack-tech h3 { font-size: 1rem; color: var(--stone); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { border: 1.5px solid var(--line-dark); padding: .35rem .75rem; font-weight: 700; font-size: .95rem; }
.studio-body .link { justify-self: start; }
@media (min-width: 1000px) {
  .studio-grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .studio-grid h2 { grid-column: 1 / 6; }
  .studio-body { grid-column: 7 / 13; padding-top: .75rem; }
}

/* ---------- FAQ ---------- */
.faq-s { background: var(--deep); padding-block: var(--section-y); }
.faq-grid { display: grid; gap: 2rem; }
.faq-side { display: grid; gap: 1rem; align-content: start; }
.faq-side p { color: var(--stone); }
.faq-side a { color: var(--chalk); text-decoration: underline; text-underline-offset: 4px; }
.faq details { border-top: 1px solid var(--line-dark); }
.faq details:last-of-type { border-bottom: 1px solid var(--line-dark); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 64px; padding-block: 1rem; font-weight: 700; font-size: 1.15rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(var(--yellow), var(--yellow)) center / 100% 2px no-repeat, linear-gradient(var(--yellow), var(--yellow)) center / 2px 100% no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--yellow); }
.faq details p { color: var(--stone); padding-bottom: 1.25rem; }
@media (min-width: 1000px) {
  .faq-grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .faq-side { grid-column: 1 / 5; position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
  .faq { grid-column: 6 / 13; }
}

/* ---------- Blog ---------- */
.journal { padding-block: var(--section-y); }
.journal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2.5rem; }
.posts { display: grid; }
.posts li { border-top: 1px solid var(--line-dark); }
.posts li:last-child { border-bottom: 1px solid var(--line-dark); }
.posts a { display: grid; gap: .4rem; padding-block: 1.4rem; transition: padding-left .35s var(--ease), color .2s; }
.posts time { color: var(--stone); font-size: .9rem; }
.posts h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.6rem); line-height: 1; }
.posts a:hover { color: var(--yellow); padding-left: .75rem; }
@media (min-width: 900px) { .posts a { grid-template-columns: 200px 1fr; align-items: baseline; column-gap: var(--gap); } }

/* ---------- Contact selon le besoin : jaune ---------- */
.contact { background: var(--yellow); color: var(--graphite); padding-block: var(--section-y); }
.contact-h { font-size: clamp(3.4rem, 0.5rem + 11vw, 13rem); line-height: .84; font-weight: 900; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.routes { border-bottom: 2px solid var(--graphite); }
.routes li { border-top: 2px solid var(--graphite); }
.routes a {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 2rem;
  padding: 1.25rem 1rem; margin-inline: -1rem; transition: background-color .25s, color .25s;
}
.route-t { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.6rem); line-height: .95; }
.route-d { font-weight: 800; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.routes a:hover, .routes a:focus-visible { background: var(--graphite); color: var(--yellow); }
.contact :focus-visible { outline-color: var(--graphite); }
.contact-direct { display: flex; flex-wrap: wrap; gap: 0 2rem; margin-top: 2rem; }
.contact-direct a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Pied de page ---------- */
.foot { background: var(--deep); padding-top: clamp(3.5rem, 6vw, 5rem); }
.foot-grid { display: grid; gap: 2.5rem; }
.foot-about { color: var(--stone); margin-top: 1rem; max-width: 36ch; }
.foot-nap { margin-top: .75rem; }
.foot-mark {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase; text-align: center;
  font-size: 21.5vw; line-height: .78; letter-spacing: -.01em; color: #262A30; white-space: nowrap; overflow: hidden;
  margin: 3rem 0 0; max-width: none; user-select: none;
}
.social { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin-top: 1rem; }
.foot a:not(.logo) { display: inline-flex; align-items: center; min-height: 44px; }
.foot a:not(.logo):hover { color: var(--yellow); }
.foot h2 { font-family: var(--f-text); text-transform: none; font-size: .9rem; font-weight: 600; color: var(--stone); letter-spacing: 0; margin-bottom: .5rem; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 3rem; padding-block: 1.25rem; border-top: 1px solid var(--line-dark); color: var(--stone); font-size: .9rem; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: repeat(2, 1fr); column-gap: var(--gap); } }
@media (min-width: 1100px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Hero simple (illustration) ---------- */
.hero-simple .hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-text { display: grid; gap: 1.25rem; align-content: start; }
.hero-simple .hero-kicker { margin: 0; }
.hero-title {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3.6rem, 15vw, 6rem); line-height: .86; letter-spacing: -.005em;
}
@media (min-width: 1000px) { .hero-title { font-size: min(8.6vw, 9.5rem); white-space: nowrap; } }
.hero-title .row { display: block; overflow: hidden; padding-block: .02em; }
.hero-title .in { display: inline-block; }
.hero-lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.5; max-width: 52ch; color: var(--chalk); }
.hero-simple .facts { border-top: 1px solid var(--line-dark); padding-top: 1.25rem; margin-top: .5rem; max-width: 560px; }
.hero-art { justify-self: center; width: 100%; max-width: 560px; }
.hero-art img { width: 100%; height: auto; }

@media (min-width: 1000px) {
  .hero-simple .hero-grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .hero-text { grid-column: 1 / 7; }
  .hero-art { grid-column: 7 / 13; justify-self: end; max-width: 640px; }
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero-title .in { transform: translateY(105%); }
  .js .hero-simple .hero-lead, .js .hero-simple .hero-actions, .js .hero-simple .facts { opacity: 0; transform: translateY(14px); }
  .js .is-in .hero-title .in { transform: none; transition: transform 1s var(--ease); }
  .js .is-in .hero-title .row:nth-child(2) .in { transition-delay: .07s; }
  .js .is-in .hero-title .row:nth-child(3) .in { transition-delay: .14s; }
  .js .is-in .hero-lead, .js .is-in .hero-actions, .js .is-in .facts { opacity: 1; transform: none; transition: opacity .8s var(--ease) .3s, transform .8s var(--ease) .3s; }
}

/* ---------- Méga-menu IA ---------- */
.mega-title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 1.6rem; line-height: 1; color: var(--yellow); }
.mega-desc { color: var(--stone); font-size: .95rem; margin: .4rem 0 .75rem; }
.mega-list li { border-top: 1px solid var(--line-dark); }
.mega-list a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; }
.mega-list a::after { content: ""; flex: none; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.mega-list a:hover { color: var(--yellow); }
@media (min-width: 1180px) {
  .sub.mega { width: 380px; padding: 1.25rem 1.25rem .75rem; }
}
@media (max-width: 1179px) { .mega-title { display: none; } }

/* ---------- IA & automatisation (élargi) ---------- */
.ai-top { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.ai-top h2 { font-size: clamp(3.4rem, 1rem + 9vw, 10.5rem); line-height: .82; font-weight: 900; }
.ai-intro { display: grid; gap: 1rem; align-content: end; }
.ai-lead2 { color: #3A3526; }
.ai-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: .5rem; }
.ai-body { display: grid; gap: 3rem; }
.ai-services { display: grid; border-bottom: 2px solid var(--graphite); }
.ai-services li { border-top: 2px solid var(--graphite); }
.ai-services a { display: grid; gap: .3rem; padding: 1rem .75rem; margin-inline: -.75rem; transition: background-color .25s, color .25s; }
.ai-t { font-weight: 800; font-size: 1.15rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.ai-t::after { content: ""; flex: none; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.ai-d { color: #3A3526; font-size: .98rem; }
.ai-services a:hover, .ai-services a:focus-visible { background: var(--graphite); color: var(--yellow); }
.ai-services a:hover .ai-d, .ai-services a:focus-visible .ai-d { color: var(--chalk); }
@media (min-width: 800px) {
  .ai-services { grid-template-columns: 1fr 1fr; column-gap: var(--gap); border-bottom: 0; }
  .ai-services li:nth-last-child(-n+2) { border-bottom: 2px solid var(--graphite); }
}
@media (min-width: 1100px) {
  .ai-top { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
  .ai-top h2 { grid-column: 1 / 13; font-size: min(9.4vw, 10.5rem); white-space: nowrap; }
  .ai-intro { grid-column: 1 / 13; grid-template-columns: 1fr 1fr; column-gap: var(--gap); align-items: start; }
  .ai-intro .ai-actions { grid-column: 1 / -1; }
  .ai-body { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
  .ai-services { grid-column: 1 / 9; }
  .ai-side { grid-column: 9 / 13; padding-top: 0; }
}
.ai-body .ai-side { padding-top: 0; }
