/* Page Publique — identité 2027. Feuille de style unique.
   Parti pris : du blanc, de très grands textes, un seul bleu, presque aucun cadre.
   Le fond de la page glisse d'une teinte à l'autre au fil des sections (attribut data-fond, piloté par site.js). */

@font-face { font-family: "Garet"; font-weight: 300; font-display: swap; src: url("../fonts/garet-300.woff2") format("woff2"); }
@font-face { font-family: "Garet"; font-weight: 400; font-display: swap; src: url("../fonts/garet-400.woff2") format("woff2"); }
@font-face { font-family: "Garet"; font-weight: 500; font-display: swap; src: url("../fonts/garet-500.woff2") format("woff2"); }
@font-face { font-family: "Garet"; font-weight: 700; font-display: swap; src: url("../fonts/garet-700.woff2") format("woff2"); }
@font-face { font-family: "Gazpacho"; font-weight: 400; font-display: swap; src: url("../fonts/gazpacho-400.woff2") format("woff2"); }
@font-face { font-family: "Gazpacho"; font-weight: 500; font-display: swap; src: url("../fonts/gazpacho-500.woff2") format("woff2"); }

:root {
  --outremer: #1F3CB0;
  --encre: #12152B;
  --gris: #5B6072;
  --filet: #D9DBE3;
  --comete: #3715D4;
  --blanc: #FFFFFF;
  --marge: clamp(20px, 5.6vw, 80px);
  --retrait: clamp(0px, 11vw, 200px);   /* retrait des textes, à la manière d'une colonne de livre */
  --sans: "Garet", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Gazpacho", Georgia, serif;
  --duree: .9s;
  /* thème courant (blanc par défaut) */
  --fond: var(--blanc);
  --texte: var(--encre);
  --accent: var(--outremer);
  --discret: var(--gris);
  --trait: var(--filet);
  --point: var(--outremer);
}

/* ---------- les fonds : teintes d'outremer, violet de Comète, outremer plein
   Avec JavaScript, le thème est posé sur <html> et toute la page glisse d'un fond à l'autre.
   Sans JavaScript, chaque section peint son propre fond. */
html[data-fond="bleute"], html:not(.js) [data-fond="bleute"] { --fond: #EDF0F9; }
html[data-fond="pale"], html:not(.js) [data-fond="pale"] { --fond: #E2E7F6; }
html[data-fond="comete"], html:not(.js) [data-fond="comete"] { --fond: #3715D4; --texte: #FFFFFF; --accent: #CBC2F8; --discret: #DCD6FB; --trait: rgba(255, 255, 255, .38); --point: #FFFFFF; }
html[data-fond="nuit"], html:not(.js) [data-fond="nuit"] { --fond: #0E1145; --texte: #FFFFFF; --accent: #B9AEFF; --discret: #D6D3F5; --trait: rgba(255, 255, 255, .3); --point: #FFFFFF; }
html[data-fond="outremer"], html:not(.js) [data-fond="outremer"] { --fond: #1F3CB0; --texte: #FFFFFF; --accent: #C6CEF0; --discret: #D6DCF4; --trait: rgba(255, 255, 255, .38); --point: #FFFFFF; }
html:not(.js) [data-fond] { background: var(--fond); color: var(--texte); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--texte); font: 400 17px/1.6 var(--sans); font-kerning: normal; -webkit-font-smoothing: antialiased; transition: background-color var(--duree) ease, color calc(var(--duree) * .7) ease; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.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; }
.evitement { position: absolute; left: var(--marge); top: -60px; z-index: 100; background: var(--encre); color: var(--blanc); padding: 12px 18px; text-decoration: none; }
.evitement:focus { top: 12px; }
/* les couleurs « secondaires » suivent le fond en douceur */
.surtitre, .cle, .marge-note, .ouverture__pied, .chiffres, .chiffres dd, .liste-expertises, .liste-expertises li,
.carte-cas .client, .comete p, .clients__liste, .contact__infos, .entete, .pied, .pied__haut, .souligne, .fleche, .rotation {
  transition: color var(--duree) ease, background-color var(--duree) ease, border-color var(--duree) ease, text-decoration-color var(--duree) ease;
}

.conteneur { max-width: 1600px; margin-inline: auto; padding-inline: var(--marge); }
.retrait { padding-left: var(--retrait); }
section { position: relative; }

/* ---------- éléments communs */
.surtitre { font: 400 19px/1.3 var(--serif); color: var(--accent); margin-bottom: 28px; }
.souligne { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.souligne:hover { color: var(--accent); }
.fleche { font: 500 16px/1.4 var(--sans); text-decoration: none; display: inline-flex; gap: .5em; align-items: baseline; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.fleche::after { content: "→"; transition: transform .25s; }
.fleche:hover::after { transform: translateX(4px); }
.cle { color: var(--accent); }
.marge-note { position: absolute; right: clamp(8px, 1.4vw, 24px); top: 8px; writing-mode: vertical-rl; font: 400 13px/1 var(--sans); letter-spacing: .04em; color: var(--discret); }
@media (max-width: 1100px) { .marge-note { display: none; } }

/* ---------- logotype et slogan (baseline C3, 19/11/2026)
   Le slogan court sous le logotype, d’un bord à l’autre (rapport largeur / hauteur du logo : 7,071), sur un fil continu :
   le fil arrive avant « Conseil », relie les trois mots par une flèche et repart après « Design ».
   Corps 0,36 H ; haut des capitales à 0,18 H sous les jambages (écart des boîtes 0,128 H) ; fil de 0,035 du corps, à mi-hauteur d’x. */
.bloc-marque { --h-logo: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: calc(var(--h-logo) * .128); text-decoration: none; color: inherit; flex: none; }
.bloc-marque .logo { display: block; height: var(--h-logo); width: auto; }
.logo .point { fill: var(--point); transition: fill var(--duree) ease; }
.slogan { --trait: max(.6px, calc(var(--h-logo) * .36 * .035)); display: flex; align-items: baseline; width: calc(var(--h-logo) * 7.071); font: 500 calc(var(--h-logo) * .36)/1 var(--sans); letter-spacing: .01em; white-space: nowrap; }
.slogan .fil { position: relative; display: block; flex: 1; align-self: baseline; height: var(--trait); margin: 0 .42em; background: var(--accent);
  transform: translateY(calc(-.27em + var(--trait) / 2)); transition: background-color var(--duree) ease; }
.slogan .fil--entree { margin-left: 0; }
.slogan .fil--sortie { margin-right: 0; }
.slogan .fil--pointe::after { content: ""; position: absolute; right: 0; top: 50%; width: .26em; height: .26em; border-top: var(--trait) solid var(--accent); border-right: var(--trait) solid var(--accent);
  transform: translate(-.02em, -50%) rotate(45deg); transition: border-color var(--duree) ease; }
@media (max-width: 560px) { .bloc-marque { --h-logo: 30px; } }

/* ---------- en-tête */
.entete { position: sticky; top: 0; z-index: 50; background: var(--fond); border-bottom: 1px solid transparent; }
.entete.est-defile { border-bottom-color: var(--trait); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; min-height: 124px; gap: 32px; }
.nav-principale > ul { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
.nav-principale > ul > li { position: relative; }
.nav-principale a { text-decoration: none; }
.nav-principale > ul > li > a { display: block; font: 400 16px/1 var(--sans); padding: 12px 0; }
.nav-principale > ul > li > a:hover, .nav-principale a[aria-current="page"] { color: var(--accent); }
.bouton-menu { display: none; background: none; border: 0; border-bottom: 1.5px solid currentColor; padding: 6px 0; font: 500 15px/1 var(--sans); color: inherit; cursor: pointer; }
@media (max-width: 1180px) {
  .bouton-menu { display: block; position: relative; z-index: 70; }
  .nav-principale { display: none; position: fixed; inset: 0; background: var(--fond); z-index: 60; padding: 120px var(--marge) 48px; overflow-y: auto; }
  .nav-principale.est-ouvert { display: block; }
  .nav-principale > ul { flex-direction: column; align-items: flex-start; gap: 22px; }
  .nav-principale > ul > li > a { font: 500 30px/1.1 var(--sans); padding: 0; }
}

/* ---------- menu déroulant (19/11, v2) : une courte liste sous l'entrée, sans cadre.
   Chaque rubrique est précédée de la flèche du slogan, qui se trace de gauche à droite au déroulé, l'une après l'autre ;
   au survol d'une rubrique, sa flèche s'allonge. */
.nav-principale > ul > li.a-sous { position: relative; }
.sous { position: absolute; left: -22px; top: 100%; z-index: 2; min-width: 290px; padding: 10px 22px 16px; background: var(--fond); visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility 0s linear .3s; }
.a-sous:hover > .sous, .a-sous:focus-within > .sous { visibility: visible; opacity: 1; transition: opacity .2s ease; }
.sous a { --trait: 1.5px; display: flex; align-items: center; gap: 12px; padding: 7px 0; font: 400 16px/1.3 var(--sans); white-space: nowrap; text-decoration: none; }
.sous__fil { position: relative; flex: none; display: block; width: 0; height: var(--trait); background: var(--accent); transition: width .4s cubic-bezier(.6, 0, .2, 1); }
.sous__fil::after { content: ""; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; border-top: var(--trait) solid var(--accent); border-right: var(--trait) solid var(--accent); transform: translate(-.5px, -50%) rotate(45deg); }
.sous span { opacity: 0; transform: translateX(-8px); transition: opacity .3s ease, transform .35s ease, color .25s ease; }
.a-sous:hover .sous__fil, .a-sous:focus-within .sous__fil { width: 22px; }
.a-sous:hover .sous span, .a-sous:focus-within .sous span { opacity: 1; transform: none; }
.a-sous:hover .sous li:nth-child(2) *, .a-sous:focus-within .sous li:nth-child(2) * { transition-delay: .07s; }
.a-sous:hover .sous li:nth-child(3) *, .a-sous:focus-within .sous li:nth-child(3) * { transition-delay: .14s; }
.a-sous:hover .sous li:nth-child(4) *, .a-sous:focus-within .sous li:nth-child(4) * { transition-delay: .21s; }
.sous a:hover span, .sous a:focus-visible span { color: var(--accent); }
.a-sous .sous a:hover .sous__fil, .a-sous .sous a:focus-visible .sous__fil { width: 34px; transition-delay: 0s; }
@media (min-width: 1181px) { .a-sous.est-ferme > .sous { display: none; } }
@media (max-width: 1180px) {
  .sous { position: static; visibility: visible; opacity: 1; min-width: 0; padding: 12px 0 0; background: none; }
  .sous a { font-size: 18px; }
  .sous__fil { width: 18px; }
  .sous span { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .sous, .sous__fil, .sous span { transition: none !important; } .sous__fil { width: 22px; } .sous span { opacity: 1; transform: none; } }

/* ---------- ouverture */
.ouverture { padding: clamp(64px, 14vh, 150px) 0 clamp(64px, 10vh, 120px); }
.ouverture h1 { font: 500 clamp(46px, 7.4vw, 116px)/1.0 var(--sans); letter-spacing: -0.035em; max-width: 12.5em; }
/* le cadre garde la place du mot le plus long : le titre ne change jamais de hauteur quand le mot tourne */
.rotation-cadre { display: inline-grid; justify-items: start; white-space: nowrap; }
.rotation-cadre > span, .rotation-cadre::after { grid-area: 1 / 1; }
.rotation-cadre::after { content: attr(data-long); visibility: hidden; }
.rotation { display: inline-block; color: var(--accent); transition: opacity .22s ease, transform .22s ease, color var(--duree) ease; }
.rotation.sort { opacity: 0; transform: translateY(-.18em); }
.rotation.entre { opacity: 0; transform: translateY(.18em); transition: none; }
.ouverture__pied { display: flex; flex-wrap: wrap; gap: 8px 40px; margin-top: clamp(48px, 9vh, 96px); font: 400 15px/1.4 var(--sans); color: var(--discret); }

/* ---------- l'agence en une phrase (à la manière d'un chapô de magazine) */
.agence { padding: clamp(48px, 8vh, 96px) 0 clamp(72px, 10vh, 120px); }
.agence__texte { font: 400 clamp(25px, 2.75vw, 40px)/1.36 var(--sans); letter-spacing: -0.012em; max-width: 25em; }
.agence .fleche { margin-top: 48px; }
.chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(64px, 10vh, 120px); padding-top: 28px; border-top: 1px solid var(--trait); }
.chiffres dt { font: 400 clamp(44px, 4.4vw, 68px)/1 var(--serif); letter-spacing: -0.01em; }
.chiffres dd { margin-top: 12px; font-size: 15px; line-height: 1.4; color: var(--discret); max-width: 14em; }
@media (max-width: 800px) { .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }

/* ---------- expertises : une grande liste typographique */
.expertises { padding: clamp(96px, 14vh, 160px) 0; }

/* ---------- projets */
.cas { padding: clamp(96px, 14vh, 160px) 0; }
.cas__entete { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.cas__entete h2 { font: 500 clamp(32px, 3.4vw, 52px)/1.08 var(--sans); letter-spacing: -0.025em; }
.grille-cas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 6vh, 72px) clamp(24px, 3vw, 48px); }
.carte-cas a { display: block; text-decoration: none; }
.carte-cas .visuel { overflow: hidden; background: #E2E7F6; aspect-ratio: 3 / 2; }
.carte-cas img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.carte-cas a:hover img { transform: scale(1.035); }
.carte-cas .client { display: block; margin-top: 22px; font-size: 15px; color: var(--discret); }
.carte-cas .client::before { content: "— "; }
.carte-cas h3 { margin-top: 8px; font: 500 clamp(21px, 1.7vw, 26px)/1.25 var(--sans); letter-spacing: -0.012em; max-width: 24em; transition: color .2s; }
.carte-cas a:hover h3 { color: var(--accent); }
.grille-cas li:nth-child(even) { margin-top: clamp(0px, 9vw, 140px); }
@media (max-width: 800px) { .grille-cas { grid-template-columns: 1fr; } .grille-cas li:nth-child(even) { margin-top: 0; } }

/* ---------- Comète */
.comete { padding: clamp(110px, 16vh, 180px) 0; }
.comete .conteneur { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 96px); align-items: center; }
.comete h2 { font: 500 clamp(34px, 3.5vw, 54px)/1.08 var(--sans); letter-spacing: -0.025em; }
.comete p { margin-top: 28px; font-size: 18px; line-height: 1.6; color: var(--discret); max-width: 30em; }
.comete__liens { display: flex; flex-wrap: wrap; gap: 20px 40px; margin-top: 40px; }
.comete__ecran { box-shadow: 0 40px 80px rgba(8, 2, 60, .35); }
@media (max-width: 960px) { .comete .conteneur { grid-template-columns: 1fr; } }

/* ---------- clients */
.clients { padding: clamp(80px, 11vh, 128px) 0; }
.clients__liste { font: 400 clamp(23px, 2.5vw, 36px)/1.55 var(--sans); letter-spacing: -0.01em; max-width: 30em; }
.clients__liste li { display: inline; white-space: nowrap; }
.clients__liste li:not(:last-child)::after { content: " — "; color: var(--accent); }
.clients .fleche { margin-top: 48px; }
@media (max-width: 600px) { .clients__liste { font-size: 21px; } }
/* clients par familles (19/11) : la famille en petit à gauche, les noms à droite */
.clients__groupes { display: grid; gap: clamp(28px, 4vh, 40px); max-width: 960px; margin-top: 12px; } /* bloc moins large : filets et lignes de noms plus courts */
.clients__groupe { padding-top: 20px; border-top: 1px solid var(--trait); } /* une seule colonne, calée sur la marge des autres blocs */
.clients__famille { margin-bottom: 10px; }
.clients__famille { font: 400 17px/1.4 var(--serif); color: var(--accent); }
.clients__titre { margin-bottom: clamp(40px, 6vh, 64px); font: 500 clamp(30px, 2.9vw, 44px)/1.08 var(--sans); letter-spacing: -0.025em; } /* comme les titres de Comète et des autres sections */
/* 19/11 (Julien : « vraiment pas beau ») : texte plus petit, colonne qui s'arrête avant la carte,
   séparateur = le point outremer du logo, jamais en bout ni en début de ligne
   (chaque nom porte son point devant lui ; la liste déborde à gauche de la largeur d'un point, et cette bande est masquée) */
.clients__groupes { max-width: min(860px, calc(58vw - var(--marge))); }
.clients__groupe .clients__liste { --sep: 1.5em; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.85; max-width: none; margin-left: calc(-1 * var(--sep)); clip-path: inset(0 0 0 var(--sep)); }
.clients__groupe .clients__liste li::after { content: none; }
.clients__groupe .clients__liste li::before { content: ""; display: inline-block; width: calc(var(--sep) + .25em); margin-left: -.25em; height: .5em;
  background: radial-gradient(circle, var(--accent) 0 2px, transparent 2.6px) center / 100% 100% no-repeat; }
@media (max-width: 800px) {
  .clients__groupes { max-width: none; }
  .clients__liste li { display: block; white-space: normal; } /* sur mobile : un nom par ligne, sans séparateur */
  .clients__liste li:not(:last-child)::after { content: none; }
  .clients__groupe .clients__liste { font-size: 16px; line-height: 1.6; margin-left: 0; clip-path: none; }
  .clients__groupe .clients__liste li::before { content: none; }
}

/* ---------- contact */
.contact { padding: clamp(110px, 16vh, 180px) 0 clamp(80px, 12vh, 140px); }
.contact h2 { font: 500 clamp(40px, 5.6vw, 88px)/1.02 var(--sans); letter-spacing: -0.035em; max-width: 12em; }
.contact__courriel { display: inline-block; margin-top: 40px; font: 400 clamp(24px, 2.6vw, 40px)/1.2 var(--sans); }
.contact__infos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 64px; max-width: 900px; font-size: 16px; line-height: 1.6; color: var(--discret); }
.contact__infos b { display: block; font-weight: 500; color: var(--texte); }
.contact__infos a { text-decoration: none; white-space: nowrap; }
@media (max-width: 700px) { .contact__infos { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- pied de page */
.pied { padding: 56px 0 40px; }
.pied__haut { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 40px 64px; padding-top: 48px; border-top: 1px solid var(--trait); }
.pied__colonnes { display: flex; flex-wrap: wrap; gap: 24px 64px; font-size: 15px; }
.pied__colonnes ul { display: grid; gap: 8px; }
.pied a { text-decoration: none; }
.pied a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; font-size: 13px; color: var(--discret); }

/* ---------- apparition au défilement */
html.js [data-apparition] { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
html.js [data-apparition].est-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  :root { --duree: 0s; }
  html.js [data-apparition] { opacity: 1; transform: none; transition: none; }
  .rotation, .carte-cas img, .fleche::after { transition: none; }
}

/* ---------- vitrine des supports (accueil)
   Deux bandes de maquettes glissent en sens contraire au rythme du défilement (site.js) ; rien ne bouge sans action du lecteur. */
.vitrine { padding: clamp(96px, 14vh, 160px) 0; overflow: hidden; }
.vitrine__entete h2 { font: 500 clamp(34px, 4.4vw, 68px)/1.05 var(--sans); letter-spacing: -0.03em; max-width: 15em; }
.vitrine__bandes { display: grid; gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(56px, 8vh, 96px); text-decoration: none; }
.vitrine__bandes:focus-visible { outline-offset: 8px; }
.rangee { display: flex; gap: clamp(14px, 1.6vw, 24px); width: max-content; will-change: transform; }
.rangee--2 { margin-left: calc(-1 * clamp(140px, 16vw, 260px)); }
.tuile { flex: none; width: clamp(240px, 30vw, 470px); aspect-ratio: 3 / 2; overflow: hidden; background: #E9ECF7; }
.tuile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.vitrine__bandes:hover .tuile img { transform: scale(1.04); }
.vitrine__appel { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 24px; margin-top: clamp(48px, 7vh, 80px); }
.fleche--grande { font: 500 clamp(26px, 2.8vw, 42px)/1.2 var(--sans); letter-spacing: -0.02em; border-bottom-width: 2px; padding-bottom: 4px; }
.vitrine__appel span { font-size: 15px; color: var(--discret); }

/* ---------- supports imprimés (accueil) : défilé horizontal épinglé, à la manière de Sōcreativ.
   La scène se fige sous l'en-tête ; le défilement vertical fait glisser la piste de cartes (site.js).
   La carte active passe en outremer et montre son support, posé comme un objet imprimé. */
.supports { --h-entete: 125px; position: relative; }
.supports__scene { display: flex; align-items: stretch; gap: clamp(32px, 4vw, 72px); padding: clamp(48px, 7vh, 80px) 0 clamp(48px, 7vh, 80px) var(--marge); }
.supports__intro { flex: 0 0 clamp(280px, 30vw, 440px); display: flex; flex-direction: column; justify-content: center; }
.supports__index { display: flex; gap: 10px; margin-bottom: 22px; }
.supports__i { background: none; border: 0; padding: 0; font: 400 34px/1 var(--serif); color: #C9CDDB; cursor: pointer; transition: color .3s; }
.supports__i:hover { color: var(--gris); }
.supports__i.est-actif { color: var(--outremer); }
.supports__intro h2 { display: flex; flex-direction: column; text-transform: uppercase; letter-spacing: -0.005em; line-height: 1.02; }
.supports__intro .t1 { font: 500 clamp(32px, 2.9vw, 46px)/1.02 var(--serif); }
.supports__intro .t2 { font: 700 clamp(32px, 2.9vw, 46px)/1.02 var(--sans); letter-spacing: -0.02em; }
.supports__intro p { margin: 26px 0 32px; font-size: 16px; line-height: 1.6; max-width: 30em; }
.supports__intro .fleche { align-self: flex-start; }
.supports__fenetre { flex: 1; min-width: 0; overflow: hidden; border-left: 1px solid var(--trait); }
.supports__piste { display: flex; height: 100%; will-change: transform; }
.support { position: relative; flex: none; width: clamp(290px, 25vw, 390px); min-height: min(720px, calc(100vh - var(--h-entete) - 120px)); border-right: 1px solid var(--trait); padding: 34px 36px 36px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; transition: background-color .7s ease, color .7s ease; }
.support__num { font: 400 clamp(84px, 7vw, 120px)/.9 var(--serif); color: var(--outremer); transition: color .7s ease; }
.support__visuel { position: absolute; left: 0; right: 0; top: 17%; height: 42%; margin: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .7s ease, transform .9s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
.support__visuel img { max-height: 100%; max-width: 78%; width: auto; height: auto; }
.support__visuel--couv img { box-shadow: 0 2px 4px rgba(0, 0, 0, .18), 0 34px 60px rgba(6, 12, 50, .5); transform: rotate(-3deg); }
.support__visuel--carte img { max-width: 84%; box-shadow: 0 2px 4px rgba(0, 0, 0, .18), 0 30px 50px rgba(6, 12, 50, .45); transform: rotate(2deg); }
.support__visuel--objet img { max-width: 112%; max-height: 118%; filter: drop-shadow(0 20px 30px rgba(6, 12, 50, .35)); }
.support__texte { position: relative; }
.support__rubrique { font: 500 14px/1.2 var(--serif); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.support__rubrique::before { content: "* "; }
.support h3 { font: 500 clamp(23px, 1.9vw, 28px)/1.15 var(--sans); letter-spacing: -0.015em; margin-bottom: 16px; }
.support__texte p { font-size: 15px; line-height: 1.55; }
.support__texte .support__clients { margin-top: 14px; font-size: 13px; color: var(--gris); transition: color .7s ease; }
.support.est-actif { background: var(--outremer); color: var(--blanc); border-right-color: var(--outremer); }
.support.est-actif .support__num { color: var(--blanc); }
.support.est-actif .support__clients { color: #C6CEF0; }
.support.est-actif .support__visuel { opacity: 1; transform: none; }
/* épinglage actif (grand écran, mouvement autorisé, JavaScript présent) */
html.epingle .supports__scene { position: sticky; top: var(--h-entete); height: calc(100vh - var(--h-entete)); padding-top: clamp(24px, 4vh, 48px); padding-bottom: clamp(24px, 4vh, 48px); }
html.epingle .support { min-height: 0; height: 100%; }
/* sans épinglage : bande horizontale à faire défiler au doigt ou au clavier, toutes les cartes montrent leur support */
html:not(.epingle) .supports__scene { flex-direction: column; padding-right: var(--marge); }
html:not(.epingle) .supports__intro { flex-basis: auto; }
html:not(.epingle) .supports__index { display: none; }
html:not(.epingle) .supports__fenetre { overflow-x: auto; scroll-snap-type: x mandatory; border-left: 0; }
html:not(.epingle) .support { scroll-snap-align: start; min-height: 560px; background: var(--outremer); color: var(--blanc); border-right: 8px solid var(--fond); }
html:not(.epingle) .support .support__num { color: var(--blanc); }
html:not(.epingle) .support .support__clients { color: #C6CEF0; }
html:not(.epingle) .support .support__visuel { opacity: 1; transform: none; }
html:not(.epingle) .support { justify-content: flex-start; }
html:not(.epingle) .support__visuel { position: static; height: 240px; margin: 12px 0 28px; }
html:not(.epingle) .support__num { font-size: 72px; }

/* ---------- supports imprimés : réglages du 19/11 (images plus grandes, zoom, carte d'appel, bouton portfolio) */
.support { width: clamp(300px, 26vw, 420px); }
.support__num { font-size: clamp(66px, 5.6vw, 98px); letter-spacing: -0.02em; }
.support__visuel { top: 15%; height: 56%; transform: translateY(40px) scale(.86); transition: opacity .8s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.support__visuel img { max-width: 90%; transform: rotate(var(--rot, 0deg)) scale(.94); transition: transform 2.6s cubic-bezier(.2, .7, .2, 1); }
.support.est-actif .support__visuel img { transform: rotate(var(--rot, 0deg)) scale(1.08); }
.support__visuel--couv img { box-shadow: 0 2px 4px rgba(0, 0, 0, .2), 0 40px 70px rgba(6, 12, 50, .55); }
.support__visuel--carte img { max-width: 96%; box-shadow: 0 2px 4px rgba(0, 0, 0, .2), 0 34px 56px rgba(6, 12, 50, .5); }
.support__visuel--objet img { max-width: 124%; max-height: 124%; filter: drop-shadow(0 24px 34px rgba(6, 12, 50, .4)); }
.support__texte { flex: none; }
/* carte d'appel : la dernière, tout entière cliquable */
.support--appel { padding: 0; }
.support__lien { display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: 34px 36px 36px; text-decoration: none; color: inherit; }
.appel__fleche { align-self: center; display: grid; place-items: center; width: clamp(130px, 11vw, 180px); aspect-ratio: 1; border-radius: 50%; border: 1.5px solid currentColor; font: 400 clamp(46px, 4vw, 64px)/1 var(--sans); transition: transform .5s cubic-bezier(.2, .7, .2, 1), background-color .4s, color .4s; }
.appel__fleche span { transform: rotate(-45deg); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.support--appel.est-actif .appel__fleche { background: var(--blanc); color: var(--outremer); border-color: var(--blanc); }
.support__lien:hover .appel__fleche { transform: scale(1.08); }
.support__lien:hover .appel__fleche span { transform: rotate(0deg); }
.appel__titre { display: block; font: 500 clamp(30px, 2.6vw, 40px)/1.08 var(--sans); letter-spacing: -0.02em; margin-bottom: 14px; }
.appel__sous { display: block; font-size: 15px; line-height: 1.5; }
/* bouton « Voir tout le portfolio » */
.bouton-portfolio { align-self: flex-start; display: inline-flex; align-items: center; gap: 18px; padding: 10px 10px 10px 26px; background: var(--outremer); color: var(--blanc); text-decoration: none; font: 500 17px/1 var(--sans); border-radius: 999px; transition: background-color .35s ease, padding .35s ease; }
.bouton-portfolio:hover, .bouton-portfolio:focus-visible { background: var(--encre); padding-left: 32px; }
.bouton-portfolio__rond { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--blanc); color: var(--outremer); overflow: hidden; font-size: 20px; }
.bouton-portfolio__rond span { position: absolute; transition: transform .45s cubic-bezier(.6, 0, .2, 1); }
.bouton-portfolio__rond .f2 { transform: translateX(-240%); }
.bouton-portfolio:hover .f1, .bouton-portfolio:focus-visible .f1 { transform: translateX(240%); }
.bouton-portfolio:hover .f2, .bouton-portfolio:focus-visible .f2 { transform: translateX(0); }
.bouton-portfolio:hover .bouton-portfolio__rond, .bouton-portfolio:focus-visible .bouton-portfolio__rond { color: var(--encre); }
html:not(.epingle) .support--appel { background: var(--encre); }
html:not(.epingle) .support__visuel { height: 300px; }
@media (prefers-reduced-motion: reduce) { .support__visuel img, .bouton-portfolio__rond span, .appel__fleche, .appel__fleche span { transition: none; } }
.support__visuel { top: 15%; height: 49%; }
.support.est-actif .support__visuel img { transform: rotate(var(--rot, 0deg)) scale(1.05); }
.support__visuel--objet img { max-width: 118%; max-height: 116%; }

/* ---------- supports imprimés : le support remplit la carte (19/11, « rentrer dans le support »)
   Image plein cadre, zoomée sur un point de visée (--fx, --fy, --z), qui continue de zoomer lentement tant que la carte est active.
   Un voile outremer en dégradé garde le numéro et le texte lisibles. */
.support__num { position: relative; z-index: 1; }
.support__visuel { position: absolute; inset: 0; top: 0; height: auto; margin: 0; display: block; overflow: hidden; opacity: 0; transform: none; transition: opacity .9s ease; }
.support__visuel img, .support.est-actif .support__visuel img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: var(--fx, 50%) var(--fy, 50%); transform-origin: var(--fx, 50%) var(--fy, 50%); box-shadow: none; filter: none; }
.support__visuel img { transform: scale(var(--z, 1.2)); transition: transform 4s cubic-bezier(.2, .6, .2, 1); }
.support.est-actif .support__visuel { opacity: 1; transform: none; }
.support.est-actif .support__visuel img { transform: scale(calc(var(--z, 1.2) * 1.14)); }
.support__visuel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(31, 60, 176, .97) 0%, rgba(31, 60, 176, .86) 24%, rgba(31, 60, 176, .3) 50%, rgba(31, 60, 176, 0) 66%, rgba(18, 21, 43, 0) 80%, rgba(18, 21, 43, .4) 100%); }
html:not(.epingle) .support { justify-content: space-between; min-height: 600px; }
html:not(.epingle) .support__visuel { position: absolute; inset: 0; height: auto; margin: 0; opacity: 1; }
html:not(.epingle) .support__visuel img { transform: scale(var(--z, 1.2)); }
@media (prefers-reduced-motion: reduce) { .support__visuel img, .support.est-actif .support__visuel img { transition: none; } }
/* recadrage (19/11) : l'image commence sous le numéro, ancrée en haut au centre ; zoom léger à l'activation */
.support__visuel { top: clamp(118px, 10vw, 150px); }
.support.est-actif .support__visuel img { transform: scale(calc(var(--z, 1) * 1.06)); }
.support__visuel::after { background: linear-gradient(to top, rgba(31, 60, 176, .98) 0%, rgba(31, 60, 176, .88) 26%, rgba(31, 60, 176, .35) 46%, rgba(31, 60, 176, 0) 62%); }
html:not(.epingle) .support__visuel { top: 120px; }

/* carte d'appel (19/11) : sur grand écran, elle occupe toute la fenêtre et le bleu va jusqu'au bord droit de la page.
   Les cartes précédentes gardent leur largeur : la course du défilé ne change pas. */
html.epingle .supports__fenetre { container-type: inline-size; }
html.epingle .support--appel { width: 100cqw; border-right: 0; }
html.epingle .support--appel .appel__titre { font-size: clamp(40px, 4.2vw, 68px); }
html.epingle .support--appel .appel__sous { max-width: 42em; font-size: 16px; }

/* ---------- expertises (19/11, 5e version) : les trois expertises sont les trois mots du slogan, Conseil · Contenu · Design.
   Le mot en très grand, le nom de l'expertise en petit au-dessus, les trois livrables en face. Au survol de la ligne, le mot passe en outremer. */
.liste-expertises { border-bottom: 1px solid currentColor; }
.liste-expertises .expertise { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 4vw, 64px); align-items: end; padding: clamp(32px, 4.6vh, 48px) 0; border-top: 1px solid currentColor; }
.liste-expertises h3 a { display: block; text-decoration: none; color: inherit; }
.expertise__nom { display: block; margin-bottom: 6px; font: 400 18px/1.3 var(--serif); color: var(--accent); }
.expertise__mot { display: block; padding-bottom: .16em; margin-bottom: -.16em; font: 500 clamp(64px, 9.4vw, 148px)/.9 var(--sans); letter-spacing: -0.045em; transition: color .35s ease; } /* la marge basse garde les jambages (g de Design) dans le cadre */
.expertise__mot i { font-style: normal; color: var(--accent); }
.liste-expertises .expertise:hover .expertise__mot, .liste-expertises h3 a:focus-visible .expertise__mot { color: var(--accent); }
.livrables li + li { border-top: 1px solid var(--trait); }
.livrables a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; font: 500 clamp(17px, 1.4vw, 21px)/1.3 var(--sans); letter-spacing: -0.01em; color: var(--texte); text-decoration: none; transition: color .25s ease; }
.livrables li:last-child a { padding-bottom: 4px; }
.livrables a::after { content: "→"; flex: none; margin-right: 6px; font-weight: 400; color: var(--accent); opacity: .35; transition: opacity .3s ease, transform .3s ease; }
.livrables a:hover, .livrables a:focus-visible { color: var(--accent); }
.livrables a:hover::after, .livrables a:focus-visible::after { opacity: 1; transform: translateX(6px); }
/* le mot monte de sa ligne quand il arrive à l'écran (une fois) */
html.js .expertise__mot { clip-path: inset(0 0 0 0); }
html.js .expertise[data-apparition] { opacity: 1; transform: none; }
html.js .expertise[data-apparition] .expertise__mot span { display: inline-block; transform: translateY(105%); transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
html.js .expertise[data-apparition].est-visible .expertise__mot span { transform: none; }
@media (max-width: 900px) {
  .liste-expertises .expertise { grid-template-columns: 1fr; align-items: start; }
}
@media (prefers-reduced-motion: reduce) { .livrables a, .livrables a::after, .expertise__mot { transition: none; } html.js .expertise[data-apparition] .expertise__mot span { transform: none; transition: none; } }

/* ---------- photos d'ambiance (19/11) : un grand bandeau sous l'ouverture, un duo décalé avant les expertises.
   Tant que la photo manque, un bloc gris indique le fichier à déposer. Les photos glissent légèrement dans leur cadre (site.js). */
.photos--bandeau { padding-bottom: clamp(24px, 4vh, 48px); }
.photo { position: relative; margin: 0; overflow: hidden; background: #D8DBE2; }
.photo--agence-1 { aspect-ratio: 21 / 9; }
/* une photo et les chiffres à sa droite (19/11) : les chiffres se répartissent sur la hauteur de la photo */
.agence__bas { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 96px); margin-top: clamp(64px, 10vh, 120px); }
.photo--agence-2 { aspect-ratio: 4 / 3; }
.agence__bas .chiffres { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; margin: 0; padding: 0; border: 0; }
.agence__bas .chiffres > div { padding-top: 18px; border-top: 1px solid var(--trait); }
.agence__bas .chiffres dt { font-size: clamp(50px, 5vw, 80px); }
.photo img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
/* SVG à sa taille d’affichage, sans agrandissement ni couche de parallaxe. */
.photo--vectorielle img { top: 0; height: 100%; will-change: auto; transform: none; }
.photo--attente { display: grid; place-items: center; text-align: center; }
.photo--attente span { padding: 16px; font: 400 14px/1.6 var(--sans); color: #646A7B; }
@media (max-width: 800px) {
  .photo--agence-1 { aspect-ratio: 4 / 3; }
  .agence__bas { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Comète : la capture de l'interface défile dans sa fenêtre au rythme de la page (site.js) */
.comete__ecran { background: #F3F6FC; padding: 0; border-radius: 12px; overflow: hidden; }
.ecran__fenetre { position: relative; height: clamp(420px, 64vh, 660px); overflow: hidden; }
.ecran__fenetre:focus-visible { outline: 2px solid var(--blanc); outline-offset: 4px; }
.ecran__image { display: block; width: 100%; height: auto; will-change: transform; }
/* sans défilement piloté (mouvement réduit, ou pas de JavaScript) : la fenêtre se fait défiler à la main */
html:not(.ecran-anime) .ecran__fenetre { overflow-y: auto; }
/* Polaris, l'assistant de rédaction de Comète (19/11), propulsé par Mistral AI */
.polaris { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--trait); }
.comete .polaris p { margin-top: 10px; font-size: 16px; line-height: 1.55; }
.comete .polaris .polaris__titre { margin-top: 0; display: flex; align-items: flex-end; gap: 14px; font: 700 17px/1.2 var(--sans); color: var(--texte); }
.polaris-logo { display: block; height: 32px; width: auto; color: var(--texte); overflow: visible; }
.polaris-logo__etoile { fill: var(--accent); transform-box: fill-box; transform-origin: center; }
.polaris__titre:hover .polaris-logo__etoile { animation: scintille 1.2s ease; }
@keyframes scintille { 40% { transform: scale(1.25) rotate(45deg); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .polaris__titre:hover .polaris-logo__etoile { animation: none; } }
.comete .polaris .polaris__ia { margin-top: 14px; font-size: 14px; }
.polaris__ia .mistral { display: inline-block; height: 19px; width: auto; margin: 0 1px 0 4px; vertical-align: -4px; color: var(--blanc); }
.comete__liens { margin-top: 28px; }
.comete h2 { font-size: clamp(30px, 2.9vw, 44px); }
.comete > .comete__scene > .conteneur > div > p:not(.surtitre) { margin-top: 22px; font-size: 17px; }

/* grand écran (19/11, « trop rapide ») : la section se fige sous l'en-tête le temps que la capture se déroule, lentement */
html.comete-epinglee .comete { padding: 0; }
html.comete-epinglee .comete__scene { position: sticky; top: var(--h-entete, 124px); height: calc(100vh - var(--h-entete, 124px)); display: flex; align-items: center; }
html.comete-epinglee .comete__scene { align-items: stretch; }
html.comete-epinglee .comete__scene > .conteneur { width: 100%; height: 100%; align-items: stretch; }
html.comete-epinglee .comete__scene > .conteneur > div { align-self: center; }
/* la fenêtre de Comète descend jusqu'au bas de l'écran (19/11) : coins arrondis en haut seulement */
html.comete-epinglee .comete__ecran { align-self: end; height: calc(100% - clamp(40px, 9vh, 96px)); border-radius: 12px 12px 0 0; box-shadow: none; }
html.comete-epinglee .ecran__fenetre { height: 100%; }

/* ---------- passe complète (19/11) : une seule marge gauche, un seul rythme vertical, des détails plus soignés */
:root { --espace: clamp(96px, 13vh, 150px); }
.expertises { padding: var(--espace) 0; }
.clients { padding: var(--espace) 0; }
.contact { padding-top: var(--espace); }
.agence { padding-bottom: var(--espace); }
.surtitre { margin-bottom: 24px; }
/* ouverture : la ligne d'identité, séparée par le point médian outremer de la marque */
.ouverture__pied { gap: 6px 0; font-size: 16px; color: var(--texte); }
.ouverture__pied span + span::before { content: "·"; margin: 0 .7em; color: var(--accent); font-weight: 700; }
/* menu : un filet qui se trace sous l'entrée survolée */
.nav-principale > ul > li > a { position: relative; }
.nav-principale > ul > li > a::before { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s cubic-bezier(.6, 0, .2, 1); }
.nav-principale > ul > li > a:hover::before, .nav-principale > ul > li > a:focus-visible::before, .nav-principale > ul > li > a[aria-current="page"]::before,
.nav-principale > ul > li.a-sous:hover > a::before, .nav-principale > ul > li.a-sous:focus-within > a::before { transform: scaleX(1); transform-origin: left; }
/* liens fléchés : le filet s'efface et se retrace au survol */
.fleche { border-bottom: 0; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1.5px no-repeat; transition: background-size .35s cubic-bezier(.6, 0, .2, 1); }
.fleche:hover, .fleche:focus-visible { background-size: 0 1.5px; background-position: right bottom; }
/* chiffres : un peu plus d'air autour des légendes */
.chiffres dd { font-size: 15px; color: var(--texte); opacity: .75; }
.supports__intro p { font-size: 17px; }
@media (max-width: 1180px) { .nav-principale > ul > li > a::before { display: none; } }
@media (prefers-reduced-motion: reduce) { .nav-principale > ul > li > a::before, .fleche { transition: none; } }
@media (max-width: 700px) { .ouverture__pied span:first-child { flex-basis: 100%; } .ouverture__pied span:nth-child(2)::before { content: none; } }

/* supports : les magazines (1.1 à 1.4) sont penchés vers la droite, comme posés sur la table (19/11, demande de Julien).
   Le cadre de l'image pivote autour du milieu de son bord haut : le titre du magazine reste visible, le reste déborde de la carte. */
/* la vidéo : un écran vertical de téléphone, entier, sous le numéro ; le texte de la carte reste en dessous */
html .supports .support.support--video .support__visuel { left: 50%; right: auto; bottom: auto; height: 42%; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 18px; transform: translate(-50%, 10px); box-shadow: 0 24px 44px rgba(6, 12, 50, .45); }
html .supports .support.support--video .support__visuel::after { content: none; }

/* supports numériques (19/11) : la vidéo remplit la carte comme une image ; bouton pause rond en haut à droite */
.support__visuel video { display: block; width: 100%; height: 100%; object-fit: cover; }
.support__lecture { position: absolute; z-index: 2; top: 34px; right: 30px; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; background: none; color: inherit; cursor: pointer; display: grid; place-items: center; opacity: 0; transition: opacity .4s ease, background-color .3s, color .3s; }
.support.est-actif .support__lecture, html:not(.epingle) .support__lecture { opacity: 1; }
.support__lecture:hover, .support__lecture:focus-visible { background: var(--blanc); color: var(--outremer); }
.support__lecture span { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.support__lecture[aria-pressed="true"] span { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
html:not(.epingle) .supports .support.support--video .support__visuel { height: 34%; } /* mobile : le cadre de la vidéo finit au-dessus du texte */

/* vitrine, magazines (19/11, version validée) : la couverture remplit la carte comme avant, mais penchée de 5° vers la droite (INCLINAISON dans site.js).
   Elle est zoomée juste assez pour qu'aucun bord ne se voie (--k, calculé par site.js selon les proportions de la carte).
   Seul mouvement : le léger zoom lent quand la carte passe au centre. */
html .supports .support.support--magazine .support__visuel img { position: absolute; top: 0; left: 0; width: 100%; height: auto; object-fit: initial; } /* ajustée à la largeur : aucun côté rogné d'office */
html .supports .support.support--magazine .support__visuel img { transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--angle, 5deg)) scale(calc(var(--k, 1.2) * var(--z, 1))); transform-origin: 50% 50%; }
html .supports .support.support--magazine.est-actif .support__visuel img { transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--angle, 5deg)) scale(calc(var(--k, 1.2) * var(--z, 1) * 1.04)); }

/* vitrine (19/11) : toutes les cartes montrent leur support, en bleu, comme sur mobile ; plus de carte blanche avant et après.
   Rien ne bouge au passage, sauf le léger zoom lent de la carte au centre. */
html.epingle .supports .support { background: var(--outremer); color: var(--blanc); border-right: 8px solid var(--fond); }
html.epingle .supports .support .support__num { color: var(--blanc); }
html.epingle .supports .support .support__clients { color: #C6CEF0; }
html.epingle .supports .support .support__visuel { opacity: 1; transition: none; }
html.epingle .supports .support--appel { background: var(--encre); }
/* bas du dégradé opaque : aucun bord d'image ne se devine sous le texte */
.supports .support--magazine .support__visuel::after { background: linear-gradient(to top, rgba(31, 60, 176, 1) 0%, rgba(31, 60, 176, 1) 20%, rgba(31, 60, 176, .86) 30%, rgba(31, 60, 176, .35) 46%, rgba(31, 60, 176, 0) 62%); }

/* ================================================================ pages d'expertise (19/11)
   Même grammaire que l'accueil : le mot du slogan en très grand, des filets, des listes ; une seule marge gauche. */
[id] { scroll-margin-top: 140px; }
.ariane ol { display: flex; flex-wrap: wrap; gap: 4px 0; font: 400 14px/1.4 var(--sans); color: var(--discret); }
.ariane li + li::before { content: "/"; margin: 0 .6em; color: var(--trait); }
.ariane a { text-decoration: none; }
.ariane a:hover { color: var(--accent); }
.xp-tete { padding: clamp(40px, 7vh, 72px) 0 var(--espace); }
.xp-tete h1 { margin-top: clamp(40px, 7vh, 80px); }
.xp-tete .expertise__nom { margin-bottom: 10px; }
.xp-tete .expertise__mot { font-size: clamp(76px, 12vw, 190px); }
.xp-titre { display: block; margin-top: clamp(20px, 3vh, 32px); font: 500 clamp(30px, 3.4vw, 52px)/1.08 var(--sans); letter-spacing: -0.025em; }
.xp-tete__bas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 4vw, 64px); margin-top: clamp(48px, 8vh, 88px); padding-top: 28px; border-top: 1px solid currentColor; }
.xp-chapo { font: 400 clamp(20px, 1.7vw, 25px)/1.5 var(--sans); letter-spacing: -0.005em; }
.xp-pourqui { margin-top: 28px; font-size: 16px; line-height: 1.6; color: var(--discret); }
.xp-pourqui b { display: block; font-weight: 500; color: var(--texte); }
.xp-petit { margin-bottom: 14px; font: 400 17px/1.4 var(--serif); color: var(--accent); }
.xp-sommaire a::after { content: "↓"; }
/* offres : le numéro et le titre à gauche (ils restent visibles pendant la lecture), le contenu à droite */
.xp-offres { padding-bottom: var(--espace); }
.xp-offre { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 4vw, 64px); padding: clamp(40px, 6vh, 64px) 0; border-top: 1px solid currentColor; }
.xp-offre:first-child { border-top: 0; padding-top: 0; }
.xp-offre__tete { align-self: start; position: sticky; top: 150px; }
.xp-offre__num { font: 400 20px/1 var(--serif); color: var(--accent); margin-bottom: 14px; }
.xp-offre h2 { font: 500 clamp(28px, 2.8vw, 44px)/1.08 var(--sans); letter-spacing: -0.025em; max-width: 12em; }
.xp-ambition { font: 400 clamp(20px, 1.7vw, 25px)/1.45 var(--sans); letter-spacing: -0.005em; margin-bottom: 36px; }
.xp-colonnes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.xp-liste li { padding: 11px 0; border-top: 1px solid var(--trait); font-size: 16px; line-height: 1.45; }
.xp-liste li:last-child { border-bottom: 1px solid var(--trait); }
.xp-liste--num { counter-reset: n; }
.xp-liste--num li { counter-increment: n; display: grid; grid-template-columns: 28px 1fr; }
.xp-liste--num li::before { content: counter(n); font: 400 15px/1.45 var(--serif); color: var(--accent); }
.xp-etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.xp-etape { padding: 22px 22px 26px; background: var(--bleute, #EDF0F9); border-top: 2px solid var(--outremer); }
.xp-etape__num { font: 400 15px/1.3 var(--serif); color: var(--accent); }
.xp-etape h4 { margin: 6px 0 10px; font: 500 22px/1.2 var(--sans); letter-spacing: -0.015em; }
.xp-etape p:last-child { font-size: 15px; line-height: 1.5; }
.xp-note { margin-top: 28px; padding-left: 18px; border-left: 2px solid var(--outremer); font-size: 16px; line-height: 1.55; }
/* références */
.xp-refs { padding: var(--espace) 0; }
.xp-refs__liste { max-width: 960px; border-bottom: 1px solid var(--trait); }
.xp-refs__liste li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) 60px; gap: 8px 24px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--trait); }
.xp-ref__client { font: 500 clamp(18px, 1.5vw, 22px)/1.3 var(--sans); }
.xp-ref__mission { font-size: 16px; line-height: 1.5; color: var(--discret); }
.xp-ref__annee { font: 400 15px/1 var(--serif); color: var(--accent); text-align: right; }
/* autres expertises : les deux autres mots du slogan */
.xp-autres { padding: var(--espace) 0; }
.xp-autres__liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(32px, 4vw, 64px); }
.xp-autres__liste a { display: block; padding-top: 24px; border-top: 1px solid currentColor; text-decoration: none; }
.xp-autres__liste .expertise__mot { font-size: clamp(56px, 7vw, 112px); }
.xp-autres__liste a:hover .expertise__mot { color: var(--accent); }
.xp-autres__politique { margin-top: 48px; }
@media (max-width: 900px) {
  .xp-tete__bas, .xp-offre, .xp-autres__liste { grid-template-columns: 1fr; }
  .xp-offre__tete { position: static; }
  .xp-etapes { grid-template-columns: 1fr; }
  .xp-refs__liste li { grid-template-columns: 1fr auto; }
  .xp-ref__mission { grid-column: 1 / -1; grid-row: 2; }
}
/* pages d'expertise : blocs d'images (19/11) — bandeau sous l'en-tête, second bandeau entre deux offres */
.photo--conseil-1, .photo--conseil-2 { aspect-ratio: 21 / 9; }
.xp-tete { padding-bottom: clamp(48px, 7vh, 80px); }
.xp-bandeau { padding-bottom: var(--espace); }
.xp-image { padding: clamp(24px, 4vh, 40px) 0 clamp(40px, 6vh, 64px); }
.xp-image + .xp-offre { border-top: 0; padding-top: 0; }
@media (max-width: 800px) { .photo--conseil-1, .photo--conseil-2 { aspect-ratio: 4 / 3; } }

/* ---------- carte des clients (19/11) : en fond, à droite de la liste ; la France cadrée du sud-ouest à l'Île-de-France, coupée à l'est.
   Une trentaine de points (approximatifs : c'est un décor) apparaissent l'un après l'autre quand la section arrive. */
.clients { position: relative; overflow: hidden; }
.clients > .conteneur { position: relative; z-index: 1; }
.clients__carte { position: absolute; z-index: 0; top: 50%; right: -2%; width: min(42vw, 780px); height: auto; max-height: 100%; transform: translateY(-50%); pointer-events: none; } /* calée sur la largeur : elle reste dans la marge droite, la liste ne passe plus dessus */
html.js .clients__carte[data-apparition] { transform: translateY(-50%); }
.carte__pays { fill: rgba(31, 60, 176, .05); stroke: rgba(31, 60, 176, .28); stroke-width: 2; stroke-linejoin: round; }
.carte__point circle { fill: var(--outremer); }
.carte__point .carte__halo { fill: var(--outremer); opacity: .12; }
html.js .clients__carte .carte__point { opacity: 0; transform-box: fill-box; transform-origin: center; }
html.js .clients__carte.est-visible .carte__point { animation: point-client .6s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(.3s + var(--i) * 45ms); }
@keyframes point-client { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .clients__carte { display: none; } }
@media (prefers-reduced-motion: reduce) { html.js .clients__carte .carte__point { opacity: 1; animation: none; } }
/* pages d'expertise, « Nos autres expertises » (19/11, plus riche) : deux cartes image, le grand mot en blanc sur un dégradé outremer,
   les trois livrables de l'expertise et une flèche ; au survol, le léger zoom de la vitrine. */
.xp-autres__liste a.xp-autre { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(380px, 34vw, 520px); padding: clamp(24px, 2.6vw, 40px); border: 0; overflow: hidden; background: var(--outremer); color: var(--blanc); }
.xp-autre__visuel { position: absolute; inset: 0; }
.xp-autre__visuel img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transform: scale(1.01); transition: transform 4s cubic-bezier(.2, .6, .2, 1); }
.xp-autre__visuel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(31, 60, 176, .97) 0%, rgba(31, 60, 176, .85) 30%, rgba(31, 60, 176, .25) 62%, rgba(31, 60, 176, .05) 100%); }
.xp-autre:hover .xp-autre__visuel img, .xp-autre:focus-visible .xp-autre__visuel img { transform: scale(1.06); }
.xp-autre__texte { position: relative; }
.xp-autres__liste .xp-autre .expertise__nom { color: #C6CEF0; }
.xp-autres__liste .xp-autre .expertise__mot { color: var(--blanc); font-size: clamp(56px, 6.4vw, 104px); }
.xp-autre .expertise__mot i { color: #CBC2F8; }
.xp-autres__liste .xp-autre:hover .expertise__mot { color: var(--blanc); }
.xp-autre__livrables { display: block; margin-top: 18px; font-size: 16px; line-height: 1.5; color: #E2E6F7; max-width: 30em; }
.xp-autre__fleche { position: absolute; top: clamp(24px, 2.6vw, 40px); right: clamp(24px, 2.6vw, 40px); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--blanc); font-size: 22px; transition: background-color .3s, color .3s, transform .4s cubic-bezier(.2, .7, .2, 1); }
.xp-autre:hover .xp-autre__fleche, .xp-autre:focus-visible .xp-autre__fleche { background: var(--blanc); color: var(--outremer); transform: rotate(-45deg); }
.xp-autres .surtitre { margin-bottom: 28px; }
@media (prefers-reduced-motion: reduce) { .xp-autre__visuel img, .xp-autre__fleche { transition: none; } }
.xp-autre__fleche { top: auto; bottom: clamp(24px, 2.6vw, 40px); } /* sur le bleu, jamais sur le haut clair d’une image */
.xp-autre__texte { padding-right: 76px; }
.photo--contenu-1, .photo--contenu-2, .photo--design-1, .photo--design-2 { aspect-ratio: 21 / 9; }
@media (max-width: 800px) { .photo--contenu-1, .photo--contenu-2, .photo--design-1, .photo--design-2 { aspect-ratio: 4 / 3; } }

.marge-note { display: none; } /* annotations verticales en marge retirées (Julien, 19/11) */
/* pages d'expertise : renvoi fort au portfolio (page Design, 19/11) — bande outremer, éventail de couvertures, bouton blanc */
.xp-portfolio { padding: var(--espace) 0; overflow: hidden; }
.xp-portfolio .conteneur { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(32px, 4vw, 64px); align-items: center; }
.xp-portfolio h2 { font: 500 clamp(40px, 5vw, 80px)/1.02 var(--sans); letter-spacing: -0.035em; }
.xp-portfolio__texte p:not(.surtitre) { margin: 22px 0 36px; font-size: 18px; line-height: 1.55; color: var(--discret); max-width: 26em; }
.bouton-portfolio--clair { background: var(--blanc); color: var(--outremer); }
.bouton-portfolio--clair .bouton-portfolio__rond { background: var(--outremer); color: var(--blanc); }
.bouton-portfolio--clair:hover, .bouton-portfolio--clair:focus-visible { background: #CBC2F8; color: var(--encre); }
.bouton-portfolio--clair:hover .bouton-portfolio__rond, .bouton-portfolio--clair:focus-visible .bouton-portfolio__rond { color: var(--blanc); }
.xp-portfolio__couvs { display: flex; justify-content: center; align-items: center; padding: 24px 0; }
.xp-portfolio__couvs img { width: 23%; aspect-ratio: 210 / 297; object-fit: cover; object-position: 50% 0; margin-left: -5%; box-shadow: 0 24px 44px rgba(6, 12, 50, .45);
  transform: rotate(calc((var(--k) - 2) * 4deg)) translateY(calc((var(--k) - 2) * (var(--k) - 2) * 6px)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.xp-portfolio__couvs img:first-child { margin-left: 0; }
.xp-portfolio:hover .xp-portfolio__couvs img { transform: rotate(calc((var(--k) - 2) * 6deg)) translateY(calc((var(--k) - 2) * (var(--k) - 2) * 8px - 6px)); }
@media (max-width: 900px) { .xp-portfolio .conteneur { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .xp-portfolio__couvs img { transition: none; } }
/* page Communication politique (19/11) : chiffres à la place des références, trois cartes d'expertise */
.xp-chiffres { margin-top: 12px; max-width: 1100px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.xp-chiffres dt { font-size: clamp(40px, 4vw, 64px); white-space: nowrap; }
.xp-autres__liste:has(> li:nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.xp-autres__liste:has(> li:nth-child(3)) .xp-autre .expertise__mot { font-size: clamp(40px, 3.7vw, 60px); }
.xp-autres__liste:has(> li:nth-child(3)) .xp-autre__texte { padding-right: 0; }
.xp-autres__liste:has(> li:nth-child(3)) .xp-autre__livrables { padding-right: 70px; }
.photo--politique-1, .photo--politique-2 { aspect-ratio: 21 / 9; }
@media (max-width: 900px) { .xp-autres__liste:has(> li:nth-child(3)) { grid-template-columns: 1fr; } .photo--politique-1, .photo--politique-2 { aspect-ratio: 4 / 3; } }

/* « Expertises » : un bouton qui a l'allure des autres entrées du menu (19/11) */
.sous__bouton { position: relative; display: block; padding: 12px 0; background: none; border: 0; font: 400 16px/1 var(--sans); color: inherit; cursor: pointer; }
.sous__bouton::before { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s cubic-bezier(.6, 0, .2, 1); }
.a-sous:hover > .sous__bouton, .a-sous:focus-within > .sous__bouton, .sous__bouton.est-courant { color: var(--accent); }
.a-sous:hover > .sous__bouton::before, .a-sous:focus-within > .sous__bouton::before, .a-sous.est-ouvert > .sous__bouton::before, .sous__bouton.est-courant::before { transform: scaleX(1); transform-origin: left; }
.a-sous.est-ouvert > .sous { visibility: visible; opacity: 1; transition: opacity .2s ease; }
.a-sous.est-ouvert .sous__fil { width: 22px; }
.a-sous.est-ouvert .sous span { opacity: 1; transform: none; }
@media (max-width: 1180px) { .sous__bouton { font: 500 30px/1.1 var(--sans); padding: 0; cursor: default; } .sous__bouton::before { display: none; } }
@media (prefers-reduced-motion: reduce) { .sous__bouton::before { transition: none; } }

/* ================================================================ page Agence (19/11) */
.ag-approche, .ag-equipe, .ag-engagements { padding: var(--espace) 0; }
.ag-approche__liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(32px, 4vw, 64px); margin-top: 12px; }
.ag-approche__liste li { padding-top: 22px; border-top: 1px solid currentColor; }
.ag-approche__liste h3 { margin-bottom: 14px; font: 500 clamp(28px, 2.6vw, 40px)/1.08 var(--sans); letter-spacing: -0.025em; }
.ag-approche__liste p:last-child { font-size: 17px; line-height: 1.6; }
.ag-chiffres { margin-top: clamp(64px, 10vh, 112px); }
.ag-equipe__liste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 32px; margin-top: 12px; }
.membre .photo { aspect-ratio: 4 / 5; margin-bottom: 18px; }
.membre .photo--attente span { font-size: 12px; }
.membre h3 { font: 500 21px/1.2 var(--sans); letter-spacing: -0.01em; }
.membre__role { margin-top: 4px; font: 400 15px/1.35 var(--serif); color: var(--accent); }
.membre__bio { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--discret); }
.ag-recrute { margin-top: 56px; font-size: 18px; }
.ag-engagements__grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(32px, 4vw, 64px); margin-top: 12px; }
.engagement h3 { margin-bottom: 16px; font: 500 clamp(24px, 2.2vw, 32px)/1.1 var(--sans); letter-spacing: -0.02em; }
@media (max-width: 1100px) { .ag-equipe__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .ag-approche__liste, .ag-engagements__grille { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ag-equipe__liste { grid-template-columns: 1fr; } }
.photo--agence-3 { aspect-ratio: 21 / 9; }
@media (max-width: 800px) { .photo--agence-3 { aspect-ratio: 4 / 3; } }
.ag-chiffres dt { font-size: clamp(40px, 4vw, 64px); white-space: nowrap; }

/* ================================================================ pages Projets, Comète, Contact, textes (19/11) */
.pg-tete__bas > div { align-self: end; }
/* Projets */
.pj { padding: 0 0 var(--espace); }
.pj-filtres { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.pj-filtre { padding: 10px 18px; border: 1px solid var(--trait); border-radius: 999px; background: none; font: 400 15px/1 var(--sans); color: var(--texte); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.pj-filtre:hover { border-color: var(--accent); color: var(--accent); }
.pj-filtre[aria-pressed="true"] { background: var(--outremer); border-color: var(--outremer); color: var(--blanc); }
/* Grille « magazine » (20/11) : 12 colonnes ; chaque carte reçoit un gabarit (construire.py, puis site.js après un filtre) */
.pj-grille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(64px, 7vw, 112px) 32px; align-items: start; }
.pj-carte[data-gabarit="une"] { grid-column: 1 / -1; }
.pj-carte[data-gabarit="grand-g"] { grid-column: 1 / span 7; }
.pj-carte[data-gabarit="petit-d"] { grid-column: 9 / span 4; margin-top: clamp(64px, 11vw, 190px); }
.pj-carte[data-gabarit="petit-g"] { grid-column: 1 / span 4; margin-top: clamp(64px, 11vw, 190px); }
.pj-carte[data-gabarit="grand-d"] { grid-column: 6 / span 7; }
.pj-carte[data-gabarit="tiers-1"] { grid-column: 1 / span 4; }
.pj-carte[data-gabarit="tiers-2"] { grid-column: 5 / span 4; margin-top: clamp(40px, 6vw, 104px); }
.pj-carte[data-gabarit="tiers-3"] { grid-column: 9 / span 4; }
.pj-carte[data-gabarit="solo"] { grid-column: 4 / span 6; }
.pj-carte[data-gabarit^="grand"] .pj-carte__visuel, .pj-carte[data-gabarit="solo"] .pj-carte__visuel { aspect-ratio: 5 / 4; }
.pj-carte[data-gabarit^="grand"] .pj-carte__visuel img, .pj-carte[data-gabarit="solo"] .pj-carte__visuel img { object-position: 50% 50%; }
.pj-carte[data-gabarit^="grand"] h2 { font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -0.02em; }
/* À la une : grand visuel horizontal de la fiche, ou couverture posée sur un aplat */
.pj-carte--une .pj-carte__visuel { aspect-ratio: 1800 / 695; margin-bottom: 28px; }
.pj-carte__visuel--aplat { display: flex; align-items: center; justify-content: center; }
.pj-carte .pj-carte__visuel--aplat img { width: auto; height: 84%; object-fit: contain; box-shadow: 0 24px 48px rgba(18, 21, 43, .18); }
.pj-carte.pj-carte:hover .pj-carte__visuel--aplat img { transform: scale(1.03); }
.pj-une__texte { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px clamp(32px, 5vw, 80px); align-items: end; }
.pj-carte.pj-carte--une h2 { margin: 8px 0 0; font: 500 clamp(30px, 3.6vw, 54px)/1.05 var(--sans); letter-spacing: -0.03em; }
.pj-une__chapo { font-size: 16px; line-height: 1.55; color: var(--discret); }
.pj-carte[hidden] { display: none; }
.pj-carte__visuel { aspect-ratio: 1 / 1; overflow: hidden; background: var(--outremer); margin-bottom: 18px; }
.pj-carte__visuel img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 4s cubic-bezier(.2, .6, .2, 1); }
.pj-carte:hover .pj-carte__visuel img { transform: scale(1.05); }
.pj-carte__client { font: 400 15px/1.3 var(--serif); color: var(--accent); }
.pj-carte h2 { margin: 6px 0 8px; font: 500 clamp(21px, 1.7vw, 26px)/1.2 var(--sans); letter-spacing: -0.015em; }
@media (max-width: 1000px) {
  .pj-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 24px; }
  .pj-grille > .pj-carte { grid-column: auto / span 1; margin-top: 0; }
  .pj-grille > .pj-carte[data-gabarit="une"], .pj-grille > .pj-carte[data-gabarit^="grand"], .pj-grille > .pj-carte[data-gabarit="solo"] { grid-column: 1 / -1; }
  .pj-grille > .pj-carte[data-gabarit="tiers-2"], .pj-grille > .pj-carte[data-gabarit^="petit"] { margin-top: 48px; }
  .pj-une__texte { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .pj-grille { grid-template-columns: 1fr; }
  .pj-grille > .pj-carte { grid-column: 1 / -1; margin-top: 0 !important; }
  .pj-carte--une .pj-carte__visuel--aplat { aspect-ratio: 4 / 3; }   /* les grands visuels gardent leur format : on ne rogne pas le titre du support */
}
/* Comète */

/* Contact */
.ct { padding: var(--espace) 0; }
.ct-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px clamp(32px, 4vw, 64px); max-width: 1100px; }
.ct-adresses { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(56px, 8vh, 96px); padding-top: 32px; border-top: 1px solid currentColor; }
.ct-bloc h2 { margin-bottom: 12px; font: 400 17px/1.3 var(--serif); color: var(--accent); }
.ct-bloc p { font: 400 clamp(22px, 2.2vw, 34px)/1.35 var(--sans); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.ct-bloc p + p { margin-top: 14px; font-size: 16px; }
@media (max-width: 600px) { .ct-grille, .ct-adresses { grid-template-columns: 1fr; } }
/* pages de texte */
.tx { padding: 0 0 var(--espace); }
.tx-section { max-width: 820px; padding: 32px 0; border-top: 1px solid var(--trait); }
.tx-section h2 { margin-bottom: 14px; font: 500 clamp(22px, 1.9vw, 28px)/1.2 var(--sans); letter-spacing: -0.015em; }
.tx-section p { font-size: 17px; line-height: 1.65; }
/* mobile (19/11) : rien ne doit dépasser de l'écran */
@media (max-width: 600px) {
  .xp-chiffres dt, .ag-chiffres dt { white-space: normal; font-size: 38px; }
  .xp-autres__liste > li { min-width: 0; }
  .xp-autres__liste .xp-autre .expertise__mot { font-size: 46px; }
  .xp-autre__texte { padding-right: 0; }
  .xp-autre__livrables { padding-right: 68px; }
}

/* cartes d'expertise, v2 (19/11) : l'illustration entière en haut, sans dégradé ; le texte dessous sur un aplat outremer */
.xp-autres__liste a.xp-autre { justify-content: flex-start; min-height: 0; padding: 0; }
.xp-autre__visuel { position: relative; inset: auto; flex: none; aspect-ratio: 4 / 3; overflow: hidden; }
.xp-autre__visuel::after { content: none; }
.xp-autre__texte { flex: 1; padding: 22px 92px 30px clamp(22px, 2.2vw, 34px); }
.xp-autres__liste .xp-autre .expertise__nom { margin-bottom: 4px; }
.xp-autre__livrables { margin-top: 14px; }
.xp-autre__fleche { top: auto; bottom: 28px; right: clamp(22px, 2.2vw, 34px); }
.xp-autres__liste:has(> li:nth-child(3)) .xp-autre__livrables { padding-right: 0; }
@media (max-width: 600px) { .xp-autre__texte { padding-right: 84px; } .xp-autre__livrables { padding-right: 0; } }
/* cartes v2 : même hauteur sur une rangée ; les livrables laissent toujours la place à la flèche */
.xp-autres__liste > li { display: flex; }
.xp-autres__liste > li > a.xp-autre { flex: 1; }
.xp-autres__liste .xp-autre .xp-autre__texte { padding-right: clamp(22px, 2.2vw, 34px); }
.xp-autres__liste .xp-autre .xp-autre__livrables { padding-right: 70px; }
.xp-autres .xp-autres__liste:has(> li) .xp-autre .xp-autre__livrables { padding-right: 70px; } /* l’emporte sur la règle des trois cartes */

/* ---------- fiches des projets (19/11) : la carte entière ouvre une fenêtre avec les visuels et le descriptif du projet */
.pj-carte { position: relative; }
.pj-carte__ouvrir { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.pj-carte__ouvrir::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* zone cliquable : toute la carte */
.pj-carte__ouvrir:focus-visible { outline: none; }
.pj-carte:has(.pj-carte__ouvrir:focus-visible) { outline: 2px solid var(--accent); outline-offset: 10px; }
.pj-carte__voir { display: inline-block; margin-top: 14px; padding-bottom: 3px; font-size: 14px; color: var(--accent);
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1.5px no-repeat; transition: background-size .35s cubic-bezier(.6, 0, .2, 1); }
.pj-carte__voir::after { content: " →"; }
.pj-carte:hover .pj-carte__voir { background-size: 0 1.5px; background-position: right bottom; }

/* ---------- fenêtres (élément dialog) : fiches des projets, biographies de l'équipe */
.fenetre { width: min(1180px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 0;
  background: var(--blanc); color: var(--encre); overflow-y: auto; overscroll-behavior: contain; }
.fenetre::backdrop { background: rgba(18, 21, 43, .78); }
html:has(.fenetre[open]) { overflow: hidden; }
.fenetre[open] { animation: fenetre-entree .4s cubic-bezier(.2, .7, .2, 1); }
@keyframes fenetre-entree { from { opacity: 0; transform: translateY(18px); } }
.fenetre__barre { position: sticky; top: 0; z-index: 2; display: flex; justify-content: flex-end; padding: 14px; pointer-events: none; }
.fenetre__fermer { pointer-events: auto; display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px 11px 18px; border: 0; border-radius: 999px;
  background: var(--encre); color: var(--blanc); font: 500 14px/1 var(--sans); cursor: pointer; transition: background-color .25s; }
.fenetre__fermer:hover, .fenetre__fermer:focus-visible { background: var(--outremer); }
.fenetre__fermer:focus-visible { outline: 2px solid var(--outremer); outline-offset: 3px; }
.fenetre__croix { position: relative; width: 12px; height: 12px; }
.fenetre__croix::before, .fenetre__croix::after { content: ""; position: absolute; left: 50%; top: 0; width: 1.5px; height: 100%; background: currentColor; transform: rotate(45deg); }
.fenetre__croix::after { transform: rotate(-45deg); }
.fenetre__corps { padding: 0 clamp(20px, 4.5vw, 64px) clamp(32px, 5vw, 64px); }
.pj-fiche__client { font: 400 16px/1.3 var(--serif); color: var(--outremer); }
.pj-fiche h2 { max-width: 22em; margin: 8px 0 10px; font: 500 clamp(28px, 3.2vw, 46px)/1.08 var(--sans); letter-spacing: -0.025em; }
.pj-fiche__cat { margin-bottom: clamp(24px, 3vw, 36px); font-size: 13px; color: var(--gris); text-transform: uppercase; letter-spacing: .06em; }
.pj-fiche__image { display: block; width: 100%; height: auto; background: #EDF0F9; }
.fenetre__corps > .pj-fiche__image + .pj-fiche__image, .pj-fiche__paire + .pj-fiche__image { margin-top: 16px; }
.pj-fiche__texte { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 64px); margin: clamp(32px, 4vw, 56px) 0; }
.pj-fiche__chapo { font: 400 clamp(20px, 1.7vw, 25px)/1.45 var(--sans); letter-spacing: -0.01em; }
.pj-fiche__infos dl > div { padding: 12px 0; border-top: 1px solid var(--filet); }
.pj-fiche__infos dt { font-size: 12px; color: var(--gris); text-transform: uppercase; letter-spacing: .07em; }
.pj-fiche__infos dd { margin-top: 4px; font-size: 15px; line-height: 1.5; }
.pj-fiche__infos p { padding-top: 14px; border-top: 1px solid var(--filet); font-size: 15px; line-height: 1.6; }
.pj-fiche__paire { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 700px) {
  .fenetre { width: 100vw; height: 100dvh; max-height: 100dvh; }
  .pj-fiche__texte, .pj-fiche__paire { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .fenetre[open] { animation: none; } .pj-carte__voir { transition: none; } }

/* ---------- équipe (19/11) : la carte entière ouvre la biographie longue */
.membre--ouvrable { position: relative; }
.membre__ouvrir { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.membre__ouvrir::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.membre__ouvrir:focus-visible { outline: none; }
.membre--ouvrable:has(.membre__ouvrir:focus-visible) { outline: 2px solid var(--accent); outline-offset: 10px; }
.membre__lire { display: inline-block; margin-top: 12px; padding-bottom: 3px; font-size: 14px; color: var(--accent);
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1.5px no-repeat; transition: background-size .35s cubic-bezier(.6, 0, .2, 1); }
.membre__lire::after { content: " →"; }
.membre--ouvrable:hover .membre__lire { background-size: 0 1.5px; background-position: right bottom; }
.fenetre--bio { width: min(960px, calc(100vw - 48px)); }
.bio { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.bio .photo { aspect-ratio: 4 / 5; }
.bio .photo img { top: 0; height: 100%; transform: none; }
.bio .photo--attente span { font-size: 12px; }
.bio h2 { font: 500 clamp(28px, 3vw, 40px)/1.1 var(--sans); letter-spacing: -0.02em; }
.bio__role { margin: 8px 0 24px; font: 400 17px/1.35 var(--serif); color: var(--outremer); }
.bio__texte > p:not(.bio__role):not(.bio__lien) { font-size: 16px; line-height: 1.65; }
.bio__texte > p + p:not(.bio__role) { margin-top: 12px; }
.bio__lien { margin-top: 24px !important; font-size: 15px; }
@media (max-width: 700px) { .bio { grid-template-columns: 1fr; } .bio .photo { max-width: 280px; } }
@media (prefers-reduced-motion: reduce) { .membre__lire { transition: none; } }

/* vitrine « Du papier à l'écran » sans numérotation (19/11, Julien : « c'est inutile ») :
   le texte reste en bas de la carte et l'image occupe toute la hauteur au-dessus */
.support { justify-content: flex-end; }
html:not(.epingle) .support { justify-content: flex-end; }
.support__visuel, html:not(.epingle) .support__visuel { top: 0; }
.support__lien { justify-content: flex-end; gap: clamp(32px, 6vh, 64px); }
.support__lien .appel__fleche { margin-bottom: auto; margin-top: auto; }

/* ======================================================================
   Comète, refonte du 21/11/2026 : le service gratuit (collecte, Kourou) et Comète Premium (fabrication du magazine).
   La page Comète devient la page où les dircom s'abonnent ; le bloc de l'accueil montre Kourou et le téléphone du contributeur.
   ====================================================================== */

/* ---------- accueil : deux offres en liste typographique, Kourou qui défile, le téléphone du contributeur posé devant */
.comete__offres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 30px; border-top: 1px solid var(--trait); }
.comete__offres > div { padding-top: 18px; }
.comete__offres dt { font: 500 17px/1.3 var(--sans); }
.comete .comete__offres dd { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--discret); }
.comete .comete__offres dd.comete__prix { margin-top: 2px; font: 400 19px/1.3 var(--serif); color: var(--accent); }
.comete__visuel { position: relative; }
.telephone { display: block; width: clamp(140px, 13vw, 220px); height: auto; border: 7px solid #0E0B2E; border-radius: 30px; background: var(--blanc); box-shadow: 0 30px 60px rgba(8, 2, 60, .42); }
.comete__visuel .telephone { position: absolute; z-index: 2; left: clamp(-64px, -4vw, -24px); bottom: clamp(24px, 7vh, 80px); }
html.comete-epinglee .comete__scene > .conteneur > .comete__visuel { align-self: end; min-height: 0; height: calc(100% - clamp(40px, 9vh, 96px)); } /* min-height 0 : la capture ne fixe pas la hauteur de la rangée */
html.comete-epinglee .comete__visuel .comete__ecran { height: 100%; border-radius: 12px 12px 0 0; box-shadow: none; }
@media (max-width: 960px) {
  .comete__visuel .telephone { left: 12px; bottom: 16px; width: 120px; border-width: 5px; border-radius: 22px; }
}

/* ---------- page Comète : l'accent devient le violet de Comète sur les fonds clairs */

[data-fond="comete"] .bouton-portfolio--clair { color: var(--comete); }
[data-fond="comete"] .bouton-portfolio--clair .bouton-portfolio__rond { background: var(--comete); }
.bouton-portfolio--comete { background: var(--comete); }
.bouton-portfolio--comete .bouton-portfolio__rond { color: var(--comete); }

/* ouverture : Kourou en grand, le téléphone du contributeur devant, à gauche */

/* les quatre temps : un grand mot, un texte, une grande image légendée ; le quatrième passe sur le violet de Comète Premium */

/* offres et tarifs : deux colonnes, Comète Premium sur le violet */

/* comparatif : un tableau typographique, la colonne Premium légèrement teintée */

/* Polaris sur fond clair, témoignage, questions fréquentes */

/* ---------- bon de commande de Comète Premium */

/* les visuels gardent la grande colonne quand le texte passe à droite */

/* ---------- page Comète : les cinq pôles de Kourou et les trois offres (22/11/2026) */

/* trois offres : Comète (blanc), Comète Premium (violet), Comète Polaris (encre) */

/* comparatif à trois colonnes : la colonne Comète Premium reste teintée */

/* bon de commande : le choix de l'offre, et le récapitulatif qui le suit */

/* Comète Premium : les pôles 4 et 5 alternent eux aussi (texte à droite, puis à gauche) */

/* trois offres : « TTC par mois » toujours sous le montant (52,50 € ne laisse pas la place à côté) */

/* Polaris propulsé par Mistral, une IA française : logo et drapeau (22/11/2026) */

/* vidéo de présentation en haut de la page Comète (déposée dans assets/video/) */

/* ---------- page Comète, d'après comete.news (30/11/2026) : deux services, une conviction, des engagements, quatre offres */

 /* couleurs fixes : le fond de la page change pendant le défilement */

/* Proxima, en option : le « + » à cheval sur le bloc, comme sur comete.news */

/* ---------- Page Comète : les captures (30/11) */

