/* Polices hébergées sur le site (latin + latin étendu) */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700 750;
  font-stretch: 75% 80%;
  font-display: swap;
  src: url(../fonts/bricolage-grotesque-normal-latin-ext-69003d.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700 750;
  font-stretch: 75% 80%;
  font-display: swap;
  src: url(../fonts/bricolage-grotesque-normal-latin-11603f.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/dm-sans-normal-latin-ext-33d679.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/dm-sans-normal-latin-b9df62.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/dm-sans-normal-latin-ext-33d679.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/dm-sans-normal-latin-b9df62.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/dm-sans-normal-latin-ext-33d679.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/dm-sans-normal-latin-b9df62.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/playfair-display-italic-latin-ext-a9bc00.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/playfair-display-italic-latin-ef5ca8.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/playfair-display-italic-latin-ext-a9bc00.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/playfair-display-italic-latin-ef5ca8.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Layout : agence 360°. Hero avec pile de projets qui se mélange, bandeaux qui défilent, manifeste qui s'allume au scroll, offres en 3 formules, projets sur fond sombre. */
:root {
  --cream: #F7F4EC;
  --paper: #EDE7D8;
  --ink: #1F1B16;
  --muted: #6B6253;
  --faint: #C2B8A3;
  --line: #D6CDB9;
  --gold: #238DB2;
  --gold-ink: #1F1B16;
  --tomato: #156381; /* bleu de la marque, assombri pour rester lisible sur fond clair */
  --gold-btn: #1E7B9C;
  --night: #1F1B16;
  --night-fg: #F7F4EC;
  --night-muted: #B5AC9A;
  --night-line: #3A342B;

  --f-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Playfair Display", Georgia, "Times New Roman", serif;

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --wrap: 1240px;
  --radius: 999px;
}
/* Le site reste toujours en clair, même si l'ordinateur est en mode sombre */
:root { color-scheme: only light; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
/* clip coupe le débordement sans créer de zone qui défile (hidden sur body faisait glisser la page à l'ouverture du menu) */
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 750; line-height: .95; letter-spacing: -.02em; margin: 0; text-wrap: balance; font-variation-settings: "wdth" 80; }
p { margin: 0; }
em.s { font-family: var(--f-serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; font-variation-settings: normal; }
:focus-visible { outline: 3px solid var(--tomato); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }

.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.5em; border-radius: var(--radius);
  font: 700 .85rem/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border: 2px solid var(--ink); background: var(--ink); color: var(--cream); cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn--gold { background: var(--gold-btn); border-color: var(--gold-btn); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.logo-link { display: block; }
.logo { display: block; width: 136px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { white-space: nowrap; }
.nav a:not(.btn) { text-decoration: none; font-size: .9rem; font-weight: 500; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--tomato); transition: right .25s ease; }
.nav a:not(.btn):hover::after { right: 0; }
.nav a.is-active { color: var(--tomato); }
.burger { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.burger svg { display: block; }

@media (max-width: 1080px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 18px;
    padding: 24px var(--gutter-r) 28px var(--gutter);
    background: var(--cream); border-bottom: 1px solid var(--line);
  }
  .nav a:not(.btn) { font-family: var(--f-display); font-size: 1.8rem; font-weight: 700; font-variation-settings: "wdth" 80; }
  .header:not(.open) .nav { display: none; }
}

/* ---------- Hero ---------- */
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 88px); }
.hero h1 { font-size: clamp(3.2rem, 8.6vw, 7.6rem); }
.hero h1 .rot { display: inline-grid; color: var(--tomato); }
.hero h1 .rot > span { grid-area: 1 / 1; transition: opacity .45s ease, transform .45s ease; }
.hero h1 .rot > span:not(.on) { opacity: 0; transform: translateY(.35em); }
.hero .lead { margin-top: 28px; max-width: 38ch; font-size: 1.2rem; color: var(--muted); }
.hero .lead strong { color: var(--ink); font-weight: 700; }
.hero .ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Pile de projets qui se mélange toute seule */
.deck { position: relative; aspect-ratio: 4 / 5; width: 100%; max-width: 460px; justify-self: center; min-width: 0; cursor: pointer; }
.card {
  position: absolute; inset: 0; margin: 0; border-radius: 22px; overflow: hidden;
  background: var(--paper); box-shadow: 0 24px 50px -24px rgb(0 0 0 / .5);
  transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .5s ease;
  border: 6px solid var(--cream);
}
.card img { width: 100%; height: 100%; object-fit: cover; }
.card figcaption {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.card figcaption b { background: var(--cream); color: var(--ink); padding: .5em .9em; border-radius: var(--radius); font-size: .8rem; }
.card[data-pos="0"] { z-index: 4; transform: rotate(-2deg); }
.card[data-pos="1"] { z-index: 3; transform: translate(7%, -3%) rotate(5deg) scale(.96); }
.card[data-pos="2"] { z-index: 2; transform: translate(-7%, -5%) rotate(-8deg) scale(.92); }
.card:not([data-pos="0"]):not([data-pos="1"]):not([data-pos="2"]):not([data-pos="out"]) { z-index: 1; transform: translate(0, -7%) rotate(2deg) scale(.88); opacity: 0; }
.card[data-pos="out"] { z-index: 5; transform: translate(-120%, 10%) rotate(-24deg); opacity: 0; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .deck { width: 82%; margin-top: 20px; }
}

/* ---------- Bandeaux défilants ---------- */
.ribbons { padding-block: 26px; overflow: hidden; }
.ribbon { display: flex; overflow: hidden; white-space: nowrap; }
.ribbon + .ribbon { margin-top: -6px; }
.ribbon__track { display: flex; flex-shrink: 0; animation: slide 38s linear infinite; }
.ribbon span { font-family: var(--f-display); font-variation-settings: "wdth" 78; font-weight: 700; text-transform: uppercase; padding-inline: .6em; }
.ribbon--a { background: var(--gold); color: var(--gold-ink); transform: rotate(-1.4deg); width: 104%; margin-left: -2%; }
.ribbon--a span { font-size: clamp(1.5rem, 3.4vw, 2.6rem); padding-block: .3em; }
.ribbon--a span:not(:last-child)::after { content: "·"; margin-left: .6em; opacity: .4; }
@keyframes slide { to { transform: translateX(-100%); } }

/* ---------- Clients (bandeau, remplace le ruban de texte sombre) ---------- */
.clients {
  overflow: hidden; background: var(--ink); transform: rotate(1deg); width: 104%; margin-left: -2%; margin-top: -6px;
  padding-block: clamp(12px, 1.8vw, 18px);
}
.clients-row { overflow: hidden; display: flex; }
.clients-row:hover .clients-track { animation-play-state: paused; }
.clients-track { display: flex; flex-shrink: 0; align-items: center; gap: 22px; padding-inline: 11px; animation: slide 98s linear infinite; }
.client-logo {
  flex: none; width: 190px; height: 98px; border-radius: 15px;
  background: #fff; display: grid; place-items: center; padding: 13px 18px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.client-logo--chococo { background: #EDDCC3; }
.client-logo.client-logo--tile { background: var(--bg); padding: 0; position: relative; overflow: hidden; }
.client-logo.client-logo--tile img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: contain; }
.client-logo:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgb(0 0 0 / .4); }
.client-logo img { width: 100%; height: 100%; max-height: 72px; object-fit: contain; }
@media (max-width: 760px) {
  .client-logo { width: 150px; height: 80px; padding: 11px 14px; }
  .client-logo img { max-height: 56px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h1, .section-head h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 16ch; }
.section-head p { max-width: 42ch; color: var(--muted); }

/* ---------- Pour qui ---------- */
.forwho { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.forwho .intro { margin-top: 18px; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.35; max-width: 30ch; }
.forwho .intro em.s { color: var(--tomato); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.chips li {
  list-style: none; border: 1.5px solid var(--ink); border-radius: var(--radius);
  padding: .55em 1.1em; font-weight: 500; transition: background .2s, color .2s, transform .2s;
}
.chips li:hover { background: var(--ink); color: var(--cream); transform: rotate(-2deg); }
.chips li.more { border-style: dashed; color: var(--muted); }
@media (max-width: 760px) { .forwho { grid-template-columns: 1fr; } }

/* ---------- Manifeste qui s'allume au scroll ---------- */
.manifesto { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 9vw, 120px); }
.manifesto .wrap { display: grid; grid-template-columns: 1.3fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.manifesto .pic { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 24px 50px -24px rgb(0 0 0 / .35); }
.manifesto .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .manifesto .wrap { grid-template-columns: 1fr; } .manifesto .pic { max-width: 380px; margin-inline: auto; } }
.manifesto p {
  font-family: var(--f-display); font-weight: 700; font-variation-settings: "wdth" 80;
  font-size: clamp(2rem, 5.4vw, 4.4rem); line-height: 1.05; letter-spacing: -.02em; max-width: 22ch; text-wrap: balance;
}
.manifesto .w { color: #958A74; transition: color .35s ease; }
.manifesto .w.lit { color: var(--ink); }
.manifesto .w.k { position: relative; }
.manifesto .w.k::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .14em; z-index: -1;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s ease .1s;
}
.manifesto .w.k.lit::after { transform: scaleX(1); }
.manifesto .w.k.lit { color: var(--ink); }
.manifesto p { position: relative; z-index: 0; }

/* ---------- Offres ---------- */
.offers { background: var(--paper); }
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.course {
  background: var(--cream); border-radius: 22px; padding: 30px 28px 28px;
  display: flex; flex-direction: column; gap: 18px; border: 1.5px solid transparent;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .25s ease, box-shadow .35s ease;
}
.course:hover { transform: translateY(-10px) scale(1.015); border-color: var(--ink); box-shadow: 0 34px 60px -30px rgb(0 0 0 / .35); }
.course:active { transform: translateY(-6px) scale(.99); transition-duration: .15s; }
.course .kind { font: 700 .75rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--tomato); transition: letter-spacing .3s ease; }
.course:hover .kind { letter-spacing: .22em; }
.course h3 { font-size: clamp(2rem, 3.2vw, 2.6rem); transition: color .3s ease, transform .3s ease; }
.course:hover h3 { color: var(--tomato); transform: translateX(3px); }
.course--star:hover h3 { color: var(--gold); }
.course .pitch { color: var(--muted); }
.course ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; border-top: 1px dashed var(--line); padding-top: 18px; }
.course li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: .97rem; }
.course li::before { content: ""; width: 8px; height: 8px; margin-top: .55em; border-radius: 50%; background: var(--gold); transition: transform .3s ease, background .3s ease; }
.course:hover li::before { transform: scale(1.35); background: var(--tomato); }
.course li:nth-child(2)::before { transition-delay: .04s; }
.course li:nth-child(3)::before { transition-delay: .08s; }
.course li:nth-child(4)::before { transition-delay: .12s; }
.course li:nth-child(5)::before { transition-delay: .16s; }
.course--star li:hover::before, .course--star:hover li::before { background: var(--gold); }
.course .foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 18px; border-top: 1px dashed var(--line); }
.course .price { font-size: .85rem; color: var(--muted); }
.course .price b { display: block; font-family: var(--f-display); font-size: 1.35rem; color: var(--ink); font-variation-settings: "wdth" 80; }
.course--star { background: var(--night); color: var(--night-fg); position: relative; }
.course--star .pitch, .course--star .price { color: var(--night-muted); }
.course--star .price b { color: var(--night-fg); }
.course--star ul, .course--star .foot { border-color: var(--night-line); }
.course--star .btn { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.course--star:hover { border-color: var(--gold); box-shadow: 0 34px 70px -28px rgb(0 0 0 / .6); }
.course--star .ribbon-tag { position: absolute; top: -14px; right: 22px; background: var(--tomato); color: #fff; font: 700 .72rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; padding: .6em .9em; border-radius: 6px; transform: rotate(2deg); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.course--star:hover .ribbon-tag { transform: rotate(-3deg) scale(1.1); }
@media (max-width: 960px) { .courses { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* Expertises : lignes qui s'inversent au survol */
.exp-title { margin-top: clamp(56px, 8vw, 96px); margin-bottom: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; }
.exp-title h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.exp-title p { color: var(--muted); }
.exp { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.exp li { border-bottom: 1px solid var(--line); }
.exp a {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 24px; align-items: center;
  padding: 22px 16px; text-decoration: none; position: relative; overflow: hidden; isolation: isolate;
  transition: color .3s ease;
}
.exp a::before { content: ""; position: absolute; inset: 0; background: var(--ink); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.exp a:hover::before, .exp a:focus-visible::before { transform: scaleY(1); }
.exp a:hover, .exp a:focus-visible { color: var(--cream); }
.exp .name { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); font-variation-settings: "wdth" 80; line-height: 1; }
.exp .desc { color: var(--muted); font-size: .97rem; transition: color .3s; }
.exp a:hover .desc, .exp a:focus-visible .desc { color: var(--faint); }
.exp .go { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; transition: transform .35s ease, background .3s, color .3s; }
.exp a:hover .go { transform: rotate(-45deg); background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
@media (max-width: 760px) {
  .exp a { grid-template-columns: 1fr auto; gap: 8px 16px; padding-inline: 4px; }
  .exp .desc { grid-column: 1; grid-row: 2; }
  .exp .go { grid-column: 2; grid-row: 1 / 3; }
}

/* ---------- Méthode ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.step { padding: 26px 24px 8px 0; display: grid; gap: 12px; align-content: start; min-width: 0; transition: transform .3s ease; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step:hover { transform: translateY(-6px); }
.step .n { font-family: var(--f-serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--gold); display: inline-block; transition: transform .45s cubic-bezier(.2,.8,.2,1), color .3s ease; }
.step:hover .n { transform: translateY(-4px) rotate(-8deg) scale(1.15); color: var(--tomato); }
.step h3 { font-size: 1.7rem; position: relative; display: inline-block; width: fit-content; transition: color .3s ease; }
.step h3::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--gold); transition: right .4s ease; }
.step:hover h3 { color: var(--tomato); }
.step:hover h3::after { right: 0; }
.step p { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Projets : cartes d'études de cas ---------- */
.projects { background: var(--night); color: var(--night-fg); }
.projects .btn--ghost { color: var(--night-fg); border-color: var(--night-fg); }
.projects .btn--ghost:hover { background: var(--night-fg); color: var(--night); }
.projects .section-head p { color: var(--night-muted); }

.grid-proj { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1080px) { .grid-proj { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-proj { grid-template-columns: 1fr; } }
.proj-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 4vw, 40px); }
.proj-filters button { font: 700 .85rem/1 var(--f-body); color: var(--night-fg); background: transparent; border: 1.5px solid var(--night-line); border-radius: var(--radius); padding: .75em 1.15em; cursor: pointer; display: inline-flex; align-items: center; gap: .5em; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.proj-filters button:hover { border-color: var(--night-fg); }
.proj-filters button[aria-pressed="true"] { background: var(--gold-btn); border-color: var(--gold-btn); color: #fff; }
.proj-filters button[aria-pressed="true"] .n { opacity: 1; }
.proj-filters .n { font-weight: 500; opacity: .65; font-size: .8em; }
@media (max-width: 600px) { .proj-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); } .proj-filters::-webkit-scrollbar { display: none; } .proj-filters button { flex-shrink: 0; } }
.proj[hidden] { display: none; }
.proj-more { margin-top: clamp(36px, 5vw, 56px); text-align: center; }
.projects-page .projects { padding-top: clamp(24px, 4vw, 48px); }
.proj {
  position: relative; text-decoration: none; display: flex; flex-direction: column; gap: 14px; min-width: 0;
  background: var(--cream); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.25em; color: var(--ink); font: inherit; cursor: pointer;
  box-shadow: 0 0 1px rgb(0 0 0 / .25); transition: box-shadow .4s ease, transform .4s ease;
}
.proj:hover, .proj:focus-visible { box-shadow: 0 10px 28px -10px rgb(0 0 0 / .25), 0 0 1px rgb(0 0 0 / .25); transform: translateY(-3px); }
.proj .ph { overflow: hidden; border-radius: 12px; aspect-ratio: 1; position: relative; }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.proj:hover img, .proj:focus-visible img { transform: scale(1.04); }
.proj .ph--logo { background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.proj .ph--logo img { width: 66%; height: 66%; object-fit: contain; }
.proj .meta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 4px; }
.proj h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
.proj .city { font-size: .78rem; font-weight: 700; color: var(--tomato); background: color-mix(in srgb, var(--tomato) 12%, transparent); padding: .4em .8em; border-radius: 8px; }
/* Descriptions masquées sur les cartes : le détail est sur la fiche (retirer cette ligne pour les réafficher) */
.proj p.desc { display: none; }
.proj p.desc { color: var(--muted); font-size: .95rem; flex: 1; }
.proj .proj-link { margin-top: auto; display: inline-flex; align-items: center; gap: .5em; font-weight: 700; font-size: .92rem; color: var(--tomato); }
.proj .proj-link .arr { transition: transform .2s ease; }
.proj:hover .proj-link .arr { transform: translateX(4px); }

/* ---------- Avis ---------- */
.reviews { background: var(--paper); }
.reviews-score { display: grid; justify-items: end; gap: 4px; }
.reviews-score .note { font: 700 clamp(2.4rem, 5vw, 3.4rem)/1 var(--f-display); }
.reviews .stars { color: #F2B01E; letter-spacing: .12em; }
.reviews-score .count { color: var(--muted); font-size: .9rem; }
.reviews-row { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reviews-row:hover .reviews-track { animation-play-state: paused; }
.reviews-track { display: flex; flex-shrink: 0; align-items: stretch; gap: 24px; padding-inline: 12px; animation: slide 60s linear infinite; }
.reviews-track .review { width: 360px; flex-shrink: 0; }
@media (max-width: 600px) { .reviews-track .review { width: 280px; } .reviews-track { animation-duration: 45s; } }
@media (prefers-reduced-motion: reduce) { .reviews-row { overflow-x: auto; } .reviews-track[aria-hidden] { display: none; } }
.review { margin: 0; padding: 28px; background: var(--cream); border: 1px solid var(--line); border-radius: 18px; display: grid; gap: 16px; align-content: start; }
.review blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; }
.review figcaption { display: grid; gap: 2px; font-size: .9rem; }
.review figcaption span { color: var(--muted); }
.reviews-cta { margin-top: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 600px) { .reviews-score { justify-items: start; } }

/* ---------- Agence ---------- */
.agency { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.agency .pics { position: relative; aspect-ratio: 1; min-width: 0; }
.agency .pics img { position: absolute; object-fit: cover; border-radius: 16px; }
.agency .pics img:first-child { left: 0; top: 0; width: 78%; height: 82%; }
.agency .pics img:last-child { right: 0; bottom: 0; width: 46%; height: 58%; border: 6px solid var(--cream); transform: rotate(4deg); }
.agency h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.agency h2 em.s { color: var(--tomato); }
/* Agence : trait ondulé qui se dessine sous « touche à tout », photo qui arrive en pivotant puis flotte */
.agency h2 em.s { position: relative; display: inline-block; white-space: nowrap; }
.agency h2 em.s::after { content: ""; position: absolute; left: 0; bottom: -.12em; height: 10px; width: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='10' viewBox='0 0 24 10'%3E%3Cpath d='M0 5 Q6 0 12 5 T24 5' fill='none' stroke='%23238DB2' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 50% / 24px 10px; transition: width 1.1s cubic-bezier(.6, 0, .2, 1) .5s; }
.agency .reveal.in h2 em.s::after { width: 92%; }
.agency .pics img:last-child { transition: transform .9s cubic-bezier(.2, .8, .2, 1) .25s, opacity .6s ease .25s; transform: translate(40px, 40px) rotate(16deg); opacity: 0; }
.agency .pics.in img:last-child { transform: rotate(4deg); opacity: 1; animation: float-pic 7s ease-in-out 1.3s infinite; }
@keyframes float-pic { 0%, 100% { transform: rotate(4deg) translateY(0); } 50% { transform: rotate(1.5deg) translateY(-10px); } }
.agency .pics img:first-child { transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); transform: scale(1.06); }
.agency .pics.in img:first-child { transform: scale(1); }

.agency .body { display: grid; gap: 18px; margin-top: 24px; color: var(--muted); max-width: 54ch; }
.quote { margin-top: 30px; padding-left: 20px; border-left: 3px solid var(--gold); font-family: var(--f-serif); font-style: italic; font-size: 1.3rem; line-height: 1.4; }
.quote small { display: block; margin-top: 8px; font: 700 .75rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; font-style: normal; color: var(--muted); }
@media (max-width: 860px) { .agency { grid-template-columns: 1fr; } .agency .pics { max-width: 480px; } }

/* ---------- Contact ---------- */
.contact { background: var(--gold-btn); color: #fff; }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); padding-block: clamp(64px, 9vw, 120px); }
.contact h2 { font-size: clamp(3rem, 8vw, 6.4rem); }
.contact h2 em.s { display: block; }
/* Contact : les lettres de « suit ! » tombent une à une */
.contact [data-follow] { display: inline-block; white-space: nowrap; }
.contact [data-follow] .l { display: inline-block; }
.contact .reveal [data-follow] .l { opacity: 0; transform: translateY(-.6em) rotate(-8deg); }
.contact .reveal.in [data-follow] .l { opacity: 1; transform: none; animation: letter-drop .7s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: calc(.25s + var(--i) * .08s); }
@keyframes letter-drop { from { opacity: 0; transform: translateY(-.6em) rotate(-8deg); } to { opacity: 1; transform: none; } }

.contact .side p { margin-top: 22px; font-size: 1.15rem; max-width: 32ch; }
.contact .side .btn { margin-top: 28px; background: var(--cream); border-color: var(--cream); color: var(--ink); }
.contact .socials { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 700; font-size: .9rem; }
.contact .socials a { text-decoration: none; border-bottom: 2px solid currentColor; }
form { background: var(--cream); color: var(--ink); border-radius: 22px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; min-width: 0; }
form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 6px; font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
input, select, textarea {
  font: inherit; font-size: 1rem; font-weight: 400; letter-spacing: 0; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1.5px solid var(--line); padding: 8px 0; border-radius: 0; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--tomato); }
select option { background: var(--cream); color: var(--ink); }
textarea { resize: vertical; min-height: 90px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: .82rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 10px; }
.needs { display: flex; flex-wrap: wrap; gap: 8px; }
.needs input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.needs label { display: inline-block; font-weight: 500; font-size: .88rem; letter-spacing: 0; border: 1.5px solid var(--line); border-radius: var(--radius); padding: .45em .95em; cursor: pointer; transition: all .15s; }
.needs input:checked + label { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.needs input:focus-visible + label { outline: 3px solid var(--tomato); outline-offset: 2px; }
form .btn { justify-self: start; }
.form-note { font-size: .9rem; color: var(--muted); }
.form-note.ok { color: var(--ink); font-weight: 700; }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: 1fr; } }
@media (max-width: 480px) { form .two { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
footer { padding-block: 64px 32px; background: var(--night); color: var(--night-fg); }
footer a { color: inherit; }
/* Logo du pied de page toujours en blanc pur, en mode clair comme sombre */
:root footer .logo { filter: brightness(0) invert(1); }
footer .footer-follow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--night-line); }
footer .footer-title { margin: 0; font-family: var(--f-display); font-weight: 750; font-size: clamp(2rem, 5vw, 3.4rem); line-height: .95; letter-spacing: -.02em; font-variation-settings: "wdth" 80; }
footer .footer-title em { font-family: var(--f-serif); font-weight: 500; font-style: italic; color: var(--gold); letter-spacing: 0; }
footer .footer-socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
footer .footer-socials a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--night-line); border-radius: var(--radius); text-decoration: none; font-weight: 500; transition: background .2s, border-color .2s, color .2s; }
footer .footer-socials a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
footer .top p { color: var(--night-muted); max-width: 32ch; margin-top: 14px; font-size: .95rem; }
footer h3 { margin: 0 0 12px; font: 700 .75rem/1.4 var(--f-body); font-variation-settings: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--night-muted); }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer ul a { text-decoration: none; }
footer ul a:hover { color: var(--gold); }
footer .bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: var(--night-muted); }
footer .bottom a { color: var(--night-muted); }
@media (max-width: 900px) { footer .top { grid-template-columns: 1fr 1fr; } footer .top > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { footer .footer-socials a { padding: 10px 14px; } }

/* ---------- Révélations au scroll ---------- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }
[data-stagger] > .reveal:nth-child(1) { --d: 0s; }
[data-stagger] > .reveal:nth-child(2) { --d: .08s; }
[data-stagger] > .reveal:nth-child(3) { --d: .16s; }
[data-stagger] > .reveal:nth-child(4) { --d: .24s; }
[data-stagger] > .reveal:nth-child(5) { --d: .32s; }
[data-stagger] > .reveal:nth-child(6) { --d: .4s; }
[data-stagger] > .reveal:nth-child(7) { --d: .48s; }
[data-stagger] > .reveal:nth-child(8) { --d: .56s; }
[data-stagger] > .reveal:nth-child(9) { --d: .64s; }

/* ---------- Pages simples (actu, recrutement, mentions légales) ---------- */
.page-hero { padding-block: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 18ch; }
.page-hero p { margin-top: 20px; max-width: 48ch; color: var(--muted); font-size: 1.1rem; }
.page-content { padding-block: clamp(48px, 8vw, 88px); display: grid; gap: clamp(28px, 4vw, 40px); max-width: 74ch; }
.page-content h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-top: 6px; }
.page-content p, .page-content li { color: var(--muted); }
.page-content strong { color: var(--ink); }
.coming-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 8px; }
.coming-card { border: 1.5px dashed var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 10px; }
.coming-card .tag { font: 700 .7rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--tomato); }
.coming-card h3 { font-size: 1.25rem; }
.coming-card p { font-size: .95rem; }
.legal-block { display: grid; gap: 8px; }
.legal-block h2 { border-top: 1px dashed var(--line); padding-top: clamp(28px, 4vw, 40px); }
.legal-block:first-of-type h2 { border-top: 0; padding-top: 0; }

/* ---------- Fiches clients (pages dédiées) ---------- */
.crumb { padding-block: 16px; font-size: .85rem; color: var(--muted); }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--tomato); }
.crumb .sep { margin-inline: .5em; }
.crumb .current { color: var(--ink); font-weight: 600; }
.case-feature { background: var(--night); color: var(--night-fg); }
.case-feature .wrap { padding-block: clamp(32px, 5vw, 56px) clamp(48px, 7vw, 72px); }
.case-intro { max-width: 60ch; }
.case-logo { display: grid; width: fit-content; place-items: center; height: 104px; min-width: 104px; padding: 12px 20px; margin-bottom: 24px; background: #fff; border-radius: 18px; box-shadow: 0 18px 40px -22px rgb(0 0 0 / .6); }
.case-logo img { height: 80px; width: auto; max-width: 220px; object-fit: contain; display: block; }
.case-intro .tag, .booking-hero .tag, .sites-hero .tag { display: inline-block; font: 700 .75rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.case-intro h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.case-intro .sector { margin-top: 12px; color: var(--night-muted); font-size: 1.05rem; }
.case-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 20px; }
.case-site { display: inline-flex; align-items: center; gap: .45em; padding: .7em 1.2em; border: 1.5px solid var(--night-fg); border-radius: var(--radius); color: var(--night-fg); font-weight: 700; font-size: .9rem; text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.case-site:hover { background: var(--gold); border-color: var(--gold); color: var(--night-fg); }
.case-made { display: inline-flex; align-items: center; gap: .4em; font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--gold); background: color-mix(in srgb, var(--gold) 16%, transparent); padding: .55em .9em; border-radius: 8px; }
.case-made::before { content: "✓"; }
.case-body { padding-block: clamp(24px, 4vw, 36px) 0; display: grid; gap: 18px; max-width: 64ch; }
.case-body p { color: var(--night-muted); font-size: 1.06rem; }
.case-body strong { color: var(--night-fg); }
.case-media { margin-top: clamp(32px, 5vw, 48px); }
.case-cover { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; }
.case-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) { .case-cover { aspect-ratio: 4 / 3; } }
.case-gallery { --cols: 4; --gap: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); margin-top: 14px; }
.case-gallery img { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
@media (max-width: 900px) { .case-gallery { --cols: 2; } }
.case-gallery img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 16px; box-shadow: 0 24px 48px -24px rgb(0 0 0 / .55); }
@media (max-width: 520px) { .case-gallery { --gap: 10px; } .case-gallery img { border-radius: 12px; } }
.case-video { width: 100%; max-width: 340px; margin-inline: auto; }
.case-video video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 20px; box-shadow: 0 30px 60px -24px rgb(0 0 0 / .55); background: var(--ink); }

/* Reels : vidéos verticales alignées en slider horizontal */
.reels { position: relative; --per: 3; --gap: 16px; }
.reels-track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 8px; }
.reels-track::-webkit-scrollbar { display: none; }
.reel { position: relative; flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); scroll-snap-align: start; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: var(--ink); box-shadow: 0 24px 48px -24px rgb(0 0 0 / .55); }
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .reels { --per: 2; } }
@media (max-width: 520px) { .reels { --per: 1.4; --gap: 12px; } }
.reels.is-static .reels-track { justify-content: center; }
.reels.is-static .reels-nav, .reels.is-static .reels-dots { display: none; }
.reels-sound { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--night) 60%, transparent); color: var(--night-fg); display: grid; place-items: center; cursor: pointer; transition: background .2s ease, color .2s ease; }
.reels-sound:hover, .reels-sound[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); }
.reels-sound .ico-on, .reels-sound[aria-pressed="true"] .ico-off { display: none; }
.reels-sound[aria-pressed="true"] .ico-on { display: block; }
.reels-dots { display: flex; justify-content: center; gap: 0; margin-top: 6px; }
/* zone tactile de 28px, point visible de 8px */
.reels-dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.reels-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--night-line); transition: background .2s ease, transform .2s ease; }
.reels-dots button[aria-current="true"]::before { background: var(--gold); transform: scale(1.3); }
.reels-nav { position: absolute; top: calc(50% - 20px); transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--night-fg); background: color-mix(in srgb, var(--night) 70%, transparent); color: var(--night-fg); display: grid; place-items: center; cursor: pointer; z-index: 4; transition: background .2s ease; }
.reels-nav:hover { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.reels-prev { left: -20px; }
.reels-next { right: -20px; }
@media (max-width: 1320px) { .reels-prev { left: 8px; } .reels-next { right: 8px; } }

.case-sub { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 18px; }
.case-gallery--posts img { aspect-ratio: 4 / 5; }
.case-tags { margin-top: clamp(28px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: .85rem; color: var(--night-muted); }
.case-tags span:not(:last-child)::after { content: "·"; margin-left: 14px; opacity: .6; }
.case-cta { background: var(--paper); text-align: center; }
.case-cta .wrap { padding-block: clamp(48px, 7vw, 80px); display: grid; gap: 20px; justify-items: center; }
.case-cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 18ch; }
.case-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.case-nav { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 24px; }
.case-nav a { text-decoration: none; font-weight: 700; font-size: .85rem; color: var(--muted); transition: color .2s ease; }
.case-nav a:hover { color: var(--tomato); }
.case-nav .next { text-align: right; margin-left: auto; }

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

/* Réalisations : nos sites internet */
.to-sites { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px; padding: 8px 10px 8px 8px; border: 1.5px solid var(--night-line); border-radius: var(--radius); color: var(--night-fg); text-decoration: none; transition: border-color .25s ease, background .25s ease; }
.to-sites:hover { border-color: var(--gold); background: rgba(35, 141, 178, .12); }
.to-sites-thumbs { display: flex; padding-left: 4px; }
.to-sites-thumbs img { width: 46px; height: 32px; object-fit: cover; object-position: top; border-radius: 6px; border: 2px solid var(--night); box-shadow: 0 4px 10px rgba(0, 0, 0, .35); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.to-sites-thumbs img + img { margin-left: -16px; transform: rotate(6deg); }
.to-sites-thumbs img:first-child { transform: rotate(-6deg); }
.to-sites:hover .to-sites-thumbs img:first-child { transform: rotate(-10deg) translate(-4px, -3px); }
.to-sites:hover .to-sites-thumbs img + img { transform: rotate(10deg) translate(6px, -3px); }
.to-sites-txt { display: grid; font-weight: 700; font-size: .95rem; line-height: 1.2; }
.to-sites-txt small { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.to-sites-arr { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: #fff; }
.to-sites-arr svg { animation: nudge-down 1.8s ease-in-out infinite; }
@keyframes nudge-down { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .to-sites-arr svg { animation: none; } }
.sites { scroll-margin-top: 80px; }
.sites-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.site-card { display: grid; gap: 16px; }
.site-shot { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .35); transition: transform .3s ease, box-shadow .3s ease; }
.site-shot:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -24px rgba(0, 0, 0, .45); }
.site-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: .75rem; color: var(--muted); }
.site-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--faint); }
.site-bar span { margin-left: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.site-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.site-meta h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.site-meta .city { color: var(--muted); font-size: .9rem; }
.site-actions { display: flex; align-items: center; gap: 16px; }
.btn--small { padding: .7em 1.2em; font-size: .85rem; }
.site-case { font-weight: 700; text-decoration: none; }
.site-case:hover { color: var(--gold); }
@media (max-width: 760px) { .sites-grid { grid-template-columns: 1fr; } }

/* Page rendez-vous : agenda Microsoft Bookings intégré */
.booking-hero, .sites-hero { background: var(--night); color: var(--night-fg); padding-block: clamp(40px, 6vw, 72px) clamp(90px, 12vw, 140px); }
.booking-hero h1, .sites-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); margin: 14px 0 18px; }
.booking-hero h1 em, .sites-hero h1 em { font-family: var(--f-serif); font-weight: 500; color: var(--gold); letter-spacing: 0; }
.booking-hero p, .sites-hero p { max-width: 52ch; color: var(--night-muted); margin: 0; }
.sites-hero { padding-bottom: clamp(48px, 7vw, 80px); }
.booking { padding-bottom: clamp(48px, 7vw, 88px); }
.booking-card { margin-top: calc(-1 * clamp(60px, 9vw, 100px)); position: relative; display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 5vw, 56px); background: var(--cream); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
.booking-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.booking-steps li { display: flex; gap: 18px; align-items: flex-start; }
.booking-steps .n { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #fff; font: 750 1.1rem/1 var(--f-display); }
.booking-steps h3 { font-size: 1.35rem; margin-bottom: 4px; }
.booking-steps p { margin: 0; color: var(--muted); }
.booking-cta { display: grid; justify-items: center; gap: 12px; text-align: center; padding: clamp(24px, 4vw, 40px); background: var(--paper); border-radius: 18px; }
.booking-cta .btn { font-size: .95rem; padding: 1.1em 1.8em; }
.booking-cta p { margin: 0; font-size: .85rem; color: var(--muted); }
@media (max-width: 760px) { .booking-card { grid-template-columns: 1fr; } }
.booking-alt { margin-top: 22px; text-align: center; color: var(--muted); font-size: .95rem; }
.booking-alt a { color: var(--gold); font-weight: 700; }
.legal-update { margin-top: 24px; font-size: .85rem; color: var(--muted); }
.form-legal { margin: 0; font-size: .78rem; color: var(--muted); }
.form-legal a { color: inherit; }

/* Page 404 */
.notfound { background: var(--night); color: var(--night-fg); min-height: 70vh; display: grid; align-items: center; padding-block: clamp(60px, 10vw, 120px); text-align: center; }
.notfound .wrap { display: grid; justify-items: center; gap: 18px; }
.notfound-code { margin: 0; font: 750 clamp(6rem, 22vw, 14rem)/.85 var(--f-display); font-variation-settings: "wdth" 80; letter-spacing: -.04em; }
.notfound-code span { display: inline-block; color: var(--gold); animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-10px) rotate(6deg); } }
.notfound h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.notfound h1 em { font-family: var(--f-serif); font-weight: 500; color: var(--gold); letter-spacing: 0; }
.notfound p { max-width: 46ch; color: var(--night-muted); margin: 0; }
.notfound-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.notfound .btn--ghost { color: var(--night-fg); border-color: var(--night-fg); }
.notfound .btn--ghost:hover { background: var(--night-fg); color: var(--night); }
@media (prefers-reduced-motion: reduce) { .notfound-code span { animation: none; } }

/* Sites internet : pile de fenêtres en 3D qui défile */
.sites-hero { overflow: hidden; }
.sites-hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.sites-stack { position: relative; aspect-ratio: 16 / 11; perspective: 1400px; animation: stack-float 7s ease-in-out infinite; }
.stack-win { position: absolute; inset: 12% 14% 0 0; border-radius: 12px; overflow: hidden; background: var(--paper); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); transform-origin: 50% 100%; transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .6s ease, filter .6s ease; will-change: transform; }
.stack-win .site-bar { background: var(--cream); }
.stack-win img { display: block; width: 100%; height: calc(100% - 33px); object-fit: cover; object-position: top; }
.stack-win[data-pos="0"] { z-index: 5; transform: rotateY(-14deg) rotateX(6deg); }
.stack-win[data-pos="1"] { z-index: 4; transform: translate3d(6%, -7%, -90px) rotateY(-14deg) rotateX(6deg); filter: brightness(.8); }
.stack-win[data-pos="2"] { z-index: 3; transform: translate3d(12%, -14%, -180px) rotateY(-14deg) rotateX(6deg); filter: brightness(.62); }
.stack-win[data-pos="3"] { z-index: 2; transform: translate3d(18%, -21%, -270px) rotateY(-14deg) rotateX(6deg); filter: brightness(.45); opacity: .8; }
.stack-win[data-pos="4"] { z-index: 1; transform: translate3d(24%, -28%, -360px) rotateY(-14deg) rotateX(6deg); filter: brightness(.3); opacity: .5; }
.stack-win[data-pos="out"] { z-index: 6; transform: translate3d(-6%, 22%, 140px) rotateY(-14deg) rotateX(6deg) rotateZ(-4deg); opacity: 0; transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .3s ease; }
/* Arrivée : les fenêtres partent toutes du même point puis s'écartent une à une */
.sites-stack:not(.is-ready) .stack-win { transform: translate3d(0, 10%, -60px) rotateY(-14deg) rotateX(6deg); opacity: 0; }
.sites-stack.is-ready .stack-win { transition-delay: calc(var(--i) * 90ms); }
.sites-stack.is-cycling .stack-win { transition-delay: 0s; }
@keyframes stack-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 860px) { .sites-hero-grid { grid-template-columns: 1fr; } .sites-stack { max-width: 520px; width: 100%; justify-self: center; } }
@media (prefers-reduced-motion: reduce) { .sites-stack { animation: none; } .stack-win { transition: none; } }

/* Réalisations : au survol, la photo zoome, un voile monte et une pastille « Voir le projet » apparaît */
.proj { transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease; }
.proj:hover, .proj:focus-visible { transform: translateY(-8px); box-shadow: 0 26px 50px -22px rgb(0 0 0 / .45); }
.proj img { transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.proj:hover img, .proj:focus-visible img { transform: scale(1.1) rotate(1deg); }
.proj .ph::after { content: "Voir le projet →"; position: absolute; left: 50%; bottom: 16px; translate: -50% 12px; padding: .7em 1.1em; border-radius: var(--radius); background: var(--cream); color: var(--ink); font: 700 .8rem/1 var(--f-body); white-space: nowrap; opacity: 0; transition: opacity .3s ease, translate .4s cubic-bezier(.2, .8, .2, 1); }
.proj .ph::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgb(0 0 0 / .55), transparent 55%); opacity: 0; transition: opacity .4s ease; }
.proj .ph::after { z-index: 2; }
.proj:hover .ph::before, .proj:focus-visible .ph::before { opacity: 1; }
.proj:hover .ph::after, .proj:focus-visible .ph::after { opacity: 1; translate: -50% 0; }
.proj h3 { transition: color .3s ease; }
.proj:hover h3, .proj:focus-visible h3 { color: var(--tomato); }
.proj .city { transition: background .3s ease, color .3s ease; }
.proj:hover .city, .proj:focus-visible .city { background: var(--tomato); color: #fff; }
@media (hover: none) { .proj .ph::before, .proj .ph::after { display: none; } }

/* ---------- Actu : liste des articles ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -24px rgb(0 0 0 / .35); }
.post-ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.post-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.post-card:hover .post-ph img { transform: scale(1.06); }
.post-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 26px; flex: 1; }
.post-tag { align-self: flex-start; font: 700 .72rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--tomato); background: color-mix(in srgb, var(--tomato) 12%, transparent); padding: .55em .8em; border-radius: 8px; }
.post-body h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.05; }
.post-body p { margin: 0; color: var(--muted); font-size: .95rem; }
.post-meta { font-size: .8rem; color: var(--muted); margin-top: auto; padding-top: 6px; }
.post-link { font-weight: 700; font-size: .92rem; color: var(--tomato); }
.post-link .arr { display: inline-block; transition: transform .2s ease; }
.post-card:hover .post-link .arr { transform: translateX(4px); }

/* ---------- Article ---------- */
.article { padding-bottom: clamp(40px, 6vw, 72px); }
.article-head { max-width: calc(720px + 2 * var(--gutter)); padding-top: clamp(24px, 4vw, 48px); display: grid; gap: 16px; justify-items: start; }
.article-head h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.article-meta { margin: 0; color: var(--muted); font-size: .9rem; }
.article-cover { margin-top: clamp(24px, 4vw, 40px); margin-bottom: 0; }
.article-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 22px; display: block; }
.article-body { max-width: 720px; margin: 0 auto; padding: clamp(32px, 5vw, 56px) var(--gutter) 0; }
.article-body > p, .article-body li { color: color-mix(in srgb, var(--ink) 82%, var(--muted)); font-size: 1.08rem; line-height: 1.75; }
.article-body > p { margin: 0 0 1.1em; }
.article-body .lead { font-size: 1.25rem; line-height: 1.6; color: var(--ink); }
.article-body h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 1.8em 0 .6em; }
.article-body a:not(.btn) { color: var(--tomato); font-weight: 700; }
.article-body strong { color: var(--ink); }
.article-list { padding-left: 1.2em; margin: 0 0 1.2em; display: grid; gap: .4em; }
.article-list li::marker { color: var(--gold); }
.article-figure { margin: 2em 0; display: grid; gap: 12px; }
.article-figure img { width: 100%; border-radius: 16px; display: block; object-fit: cover; aspect-ratio: 3 / 2; }
.article-figure:not([class*="--"]) img { aspect-ratio: auto; width: auto; max-width: 100%; max-height: 640px; margin-inline: auto; }
.article-toc { margin: 0 0 2em; padding: 22px 26px; border-radius: 16px; background: var(--paper); }
.article-toc p { margin: 0 0 10px; font: 700 .75rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--tomato); }
.article-toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.article-toc a { color: var(--ink) !important; font-weight: 500 !important; text-decoration: none; }
.article-toc a:hover { color: var(--tomato) !important; }
.article-body h2[id] { scroll-margin-top: 90px; }
.article-univers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 1.6em 0; }
.article-univers figure { margin: 0; }
.article-univers img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; display: block; }
.article-univers figcaption { margin-top: 8px; font-size: .85rem; color: var(--muted); line-height: 1.35; }
.article-univers figcaption strong { color: var(--tomato); }
.article-univers figcaption span { display: block; font-size: .78rem; }
@media (max-width: 760px) { .article-univers { grid-template-columns: repeat(3, 1fr); } }
.article-steps { padding-left: 1.4em; margin: 0 0 1.2em; display: grid; gap: .6em; }
.article-steps li { color: color-mix(in srgb, var(--ink) 82%, var(--muted)); font-size: 1.05rem; line-height: 1.65; }
.article-steps li::marker { color: var(--tomato); font-weight: 700; }
.article-faq { border-bottom: 1px solid var(--line); padding: 16px 0; }
.article-faq summary { cursor: pointer; font: 700 1.1rem/1.3 var(--f-body); color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.article-faq summary::-webkit-details-marker { display: none; }
.article-faq summary::after { content: "+"; color: var(--tomato); font-size: 1.4rem; line-height: 1; transition: transform .3s ease; }
.article-faq[open] summary::after { transform: rotate(45deg); }
.article-faq p { margin: 12px 0 0; color: var(--muted); line-height: 1.7; }
.article-logo { margin: 1.6em 0 2em; padding: 28px; border-radius: 18px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; gap: 10px; }
.article-logo img { width: min(260px, 60%); height: auto; display: block; }
.article-logo figcaption { font-size: .85rem; color: var(--muted); text-align: center; }
.article-figure--sites img { aspect-ratio: 16 / 10; object-position: top; border: 1px solid var(--line); box-shadow: 0 18px 40px -24px rgb(0 0 0 / .35); }
.article-figure--sites-duo { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .article-figure--sites-duo { grid-template-columns: 1fr; } }
.article-figure figcaption a { font-weight: 700; }
.article-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.article-check li { position: relative; padding-left: 30px; color: var(--night-fg); font-size: 1rem; line-height: 1.5; }
.article-check li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: #fff; font-size: .75rem; display: grid; place-items: center; font-weight: 700; }
.article-figure figcaption { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); text-align: center; }
.article-figure--duo { grid-template-columns: 1fr 1fr; }
.article-figure--duo img { aspect-ratio: 4 / 5; }
.article-figure--posts { grid-template-columns: repeat(3, 1fr); }
.article-figure--posts img { aspect-ratio: 4 / 5; }
.article-figure--reels { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.article-figure--reels img { flex: 0 1 calc((100% - 28px) / 3); max-width: 220px; aspect-ratio: 9 / 16; }
.article-figure--reels figcaption { flex-basis: 100%; }
@media (min-width: 900px) { .article-figure--wide, .article-figure--posts { margin-inline: -60px; } }
.article-quote { margin: 2em 0; padding: 26px 30px; border-left: 4px solid var(--gold); background: var(--paper); border-radius: 0 16px 16px 0; font: 500 italic 1.35rem/1.4 var(--f-serif); color: var(--ink); }
.article-quote cite { display: block; margin-top: 12px; font: 400 .85rem/1.4 var(--f-body); font-style: normal; color: var(--muted); }
.article-callout { margin: 2.4em 0 1.8em; padding: 26px 30px; border-radius: 18px; background: var(--night); color: var(--night-fg); }
.article-callout h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--gold); }
.article-callout p { margin: 0; color: var(--night-fg); line-height: 1.7; }
.article-cta { margin-top: clamp(40px, 6vw, 64px); padding-top: 28px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.article-cta p { margin: 0; font: 750 1.4rem/1.1 var(--f-display); font-variation-settings: "wdth" 80; }
.article-more { background: var(--paper); }
.article-more h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 24px; }
.post-grid--small { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .post-grid--small { grid-template-columns: 1fr 1fr; } }
.post-card--small { padding-bottom: 20px; }
.post-card--small .post-tag { margin: 18px 22px 0; }
.post-card--small h3 { padding: 10px 22px 0; font-size: 1.3rem; }
@media (max-width: 640px) { .post-grid--small { grid-template-columns: 1fr; } .article-figure--posts { grid-template-columns: repeat(3, 1fr); gap: 8px; } .article-cover img { aspect-ratio: 4 / 3; } }

/* Actu : en-tête sombre et bandeau de thèmes qui défile */
.actu-hero { background: var(--night); color: var(--night-fg); overflow: hidden; padding-top: clamp(40px, 6vw, 72px); }
.actu-hero .tag { display: inline-block; font: 700 .75rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.actu-hero h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); margin-bottom: 18px; }
.actu-hero h1 em { font-family: var(--f-serif); font-weight: 500; color: var(--gold); letter-spacing: 0; }
.actu-hero p { max-width: 52ch; color: var(--night-muted); margin: 0; font-size: 1.1rem; }
.actu-hero { padding-bottom: clamp(40px, 6vw, 72px); }
.actu-hero h1 .rot { display: inline-grid; color: var(--gold); font-family: var(--f-serif); font-weight: 500; font-style: italic; letter-spacing: 0; }
.actu-hero h1 .rot > span { grid-area: 1 / 1; white-space: nowrap; transition: opacity .45s ease, transform .45s ease; }
.actu-hero h1 .rot > span:not(.on) { opacity: 0; transform: translateY(.35em); }

/* ---------- Page L'agence ---------- */
.agency--page .pics.in img:last-child { transform: rotate(4deg); opacity: 1; }
.agence-rot { margin: 0 0 18px !important; font: 750 clamp(1.3rem, 2.3vw, 1.85rem)/1.15 var(--f-display) !important; font-variation-settings: "wdth" 80; color: var(--night-fg) !important; max-width: none !important; }
.agence-rot .rot { display: inline-grid; color: var(--gold); font-family: var(--f-serif); font-weight: 500; font-style: italic; }
.agence-rot .rot > span { grid-area: 1 / 1; white-space: nowrap; transition: opacity .45s ease, transform .45s ease; }
.agence-rot .rot > span:not(.on) { opacity: 0; transform: translateY(.4em); }
.expertises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.expertises article { background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.expertises article:hover { transform: translateY(-6px); box-shadow: 0 24px 46px -26px rgb(0 0 0 / .35); }
.expertises h3 { font-size: 1.6rem; }
.expertises p { margin: 0; color: var(--muted); }
.expertises a { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--tomato); text-decoration: none; }
@media (max-width: 960px) { .expertises { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .expertises { grid-template-columns: 1fr; } }
.agence-epicu { background: var(--paper); }
.agence-epicu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.agence-epicu .tag { display: inline-block; font: 700 .75rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--tomato); margin-bottom: 14px; }
.agence-epicu h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 18px; }
.agence-epicu p { color: var(--muted); max-width: 52ch; }
.agence-epicu .btn { margin-top: 10px; }
.agence-epicu-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.agence-epicu-pics img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.agence-epicu-pics img:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; }
@media (max-width: 860px) { .agence-epicu-grid { grid-template-columns: 1fr; } }
.agency-more { margin-top: 22px; }
/* L'agence : titre à gauche, collage de photos à droite */
.agence-hero { padding-bottom: clamp(56px, 8vw, 96px); }
.agence-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.agence-hero h1 { margin-bottom: 22px; }
.agence-hero p { max-width: 50ch; line-height: 1.7; }
.agence-collage { position: relative; aspect-ratio: 1 / 1; max-width: 460px; width: 100%; justify-self: end; }
.agence-collage img { position: absolute; object-fit: cover; border-radius: 18px; border: 6px solid var(--cream); box-shadow: 0 30px 60px -24px rgb(0 0 0 / .6); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.agence-collage img:nth-child(1) { left: 0; top: 6%; width: 56%; aspect-ratio: 4 / 5; transform: rotate(-6deg); }
.agence-collage img:nth-child(2) { right: 0; top: 0; width: 46%; aspect-ratio: 4 / 5; transform: rotate(5deg); }
.agence-collage img:nth-child(3) { left: 24%; bottom: 0; width: 54%; aspect-ratio: 4 / 3; transform: rotate(-2deg); z-index: 2; animation: collage-float 6s ease-in-out infinite; }
.agence-collage:hover img:nth-child(1) { transform: rotate(-9deg) translate(-8px, -4px); }
.agence-collage:hover img:nth-child(2) { transform: rotate(8deg) translate(8px, -6px); }
@keyframes collage-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 860px) { .agence-hero-grid { grid-template-columns: 1fr; } .agence-collage { justify-self: center; max-width: 340px; } }
@media (prefers-reduced-motion: reduce) { .agence-collage img:nth-child(3) { animation: none; } }

/* Champ piège anti-spam du formulaire, invisible pour les visiteurs */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Texte réservé aux lecteurs d'écran */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
