/* Habillage d'Acquisis, chargé en dernier sur toutes les pages publiques (04/12/2026).
 * Demandé par Florian après la critique Impeccable : la charte (Mulish, crème, or), le titre or plein et non dégradé,
 * des écarts réglés sur une échelle, les arrondis Apple (squircle) et le verre sur un fond en profondeur
 * (planche site/planches/blog-fond-profondeur, version claire D).
 * Rapport : site/audits/critique-impeccable/RAPPORT.md. Une règle ici l'emporte sur style.css, blog.css et cas.css. */

@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url(/assets/habillage/mulish-latin.woff2) format('woff2');
}

:root {
  /* La charte */
  --bleu: #121c4d;
  --or: #dfad39;              /* aplats, boutons, filets, texte sur bleu */
  --or-texte: #b07d12;        /* le même ambre, assez foncé pour se lire sur le crème (3:1 et plus) */
  --or-texte-petit: #8a6a27;  /* petit texte or sur fond clair (4,7:1) */
  --creme: #e6e3df;
  /* Le site existant suit ces noms : on les ramène à la charte */
  --gold: var(--or);
  --gold-light: #ecc970;
  --gold-dark: var(--or-texte);
  --navy: var(--bleu);
  --cream: #f1ece3;
  --cream-dark: var(--creme);
  --cta-bg: var(--bleu);
  --footer-bg: #0b1233;
  /* Échelle d'espacement : trois tailles de section, pas une de plus */
  --esp-s: 64px;
  --esp-m: 112px;
  --esp-l: 160px;
  /* Arrondis Apple : plus grands qu'un arrondi rond, posés avec corner-shape: squircle */
  --arr-carte: 36px;
  --arr-bloc: 28px;
  --arr-petit: 18px;
  /* Verre */
  --verre: rgba(255, 255, 255, .56);
  --verre-bord: rgba(255, 255, 255, .72);
  --ombre-posee: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 2px rgba(70, 52, 20, .06), 0 14px 34px -18px rgba(70, 52, 20, .30);
  --ombre-levee: inset 0 1px 0 rgba(255, 255, 255, .95), 0 2px 4px rgba(70, 52, 20, .06), 0 26px 50px -22px rgba(70, 52, 20, .38);
}

/* ---------- Police : Mulish partout ---------- */
html body, html body *:not(svg):not(svg *):not(code):not(pre) {
  font-family: 'Mulish', system-ui, -apple-system, sans-serif !important;
}
body { font-weight: 400; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .hero__title, .b-hero__title, .b-card__title { font-weight: 800; letter-spacing: -0.02em; }
h1, h2, h3, h4 { text-wrap: pretty; } /* largeurs-titres : balance rétrécissait les titres, pretty évite seulement le mot seul */
p, li, blockquote, figcaption, .b-card__excerpt { text-wrap: pretty; }
em, i { font-style: italic; }

/* ---------- Le fond en profondeur (lumière, trame, grain, vignettage), fixe derrière tout ---------- */
html { background: #efe9de; }
body { background: transparent !important; position: relative; isolation: isolate; }
body::before, body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
}
body::before {
  background:
    radial-gradient(42% 30% at 84% 2%, rgba(236, 190, 90, .50), transparent 70%),
    radial-gradient(38% 30% at 6% 38%, rgba(255, 255, 255, .75), transparent 70%),
    radial-gradient(50% 40% at 70% 96%, rgba(223, 173, 57, .16), transparent 70%),
    linear-gradient(180deg, #f6f1e7 0%, #efe8dc 50%, #e8e1d4 100%);
}
body::after {
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    radial-gradient(rgba(18, 28, 77, .10) 1.1px, transparent 1.6px),
    radial-gradient(120% 90% at 50% 30%, transparent 55%, rgba(98, 80, 50, .14) 100%);
  background-size: 240px 240px, 24px 24px, 100% 100%;
  -webkit-mask-image: radial-gradient(90% 70% at 50% 20%, #000 0%, rgba(0,0,0,.35) 100%);
          mask-image: radial-gradient(90% 70% at 50% 20%, #000 0%, rgba(0,0,0,.35) 100%);
}

/* Les sections claires deviennent transparentes : le fond passe dessous, le verre le reflète */
.hero, .vsl, .social-proof, .case-studies, .adwall, .method, .faq, .b-main, .b-page--index .b-main, .b-hero,
.client-page, .b-more { background: transparent !important; }
.hero::after, .hero__bg-pattern, .hero__spotlight, .b-hero::before, .b-hero::after { display: none !important; }

/* ---------- Écarts : une échelle ---------- */
.case-studies, .adwall, .method, .faq { padding-top: var(--esp-m) !important; padding-bottom: 0 !important; }
.faq { padding-bottom: var(--esp-m) !important; }
.hero { padding-top: var(--esp-l) !important; padding-bottom: var(--esp-s) !important; }
.case-studies__header, .adwall__header, .method__header, .faq__header { margin-bottom: 56px !important; }
.case-studies__title, .adwall__title, .method__title, .faq__title, .calendly-section__title {
  font-size: clamp(32px, 3.4vw, 48px) !important; line-height: 1.06 !important; margin: 0 0 16px !important;
  letter-spacing: -0.025em !important; font-weight: 800 !important;
}
.case-studies__subtitle, .adwall__subtitle, .method__subtitle, .faq__subtitle, .calendly-section__subtitle {
  font-size: 18px !important; line-height: 1.55 !important; margin-top: 0 !important;
}
@media (max-width: 768px) {
  .case-studies, .adwall, .method, .faq { padding-top: var(--esp-s) !important; padding-bottom: 0 !important; }
  .faq { padding-bottom: var(--esp-s) !important; }
  .hero { padding-top: 112px !important; padding-bottom: var(--esp-s) !important; }
  .case-studies__header, .adwall__header, .method__header, .faq__header { margin-bottom: 40px !important; }
}

/* ---------- Le titre : bleu, puis l'ambre d'Acquisis en aplat (plus de dégradé) ---------- */
.hero__title--gold, .b-gold-bloc, .hero__title .hero__title--gold {
  background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important;
  -webkit-text-fill-color: var(--or-texte) !important; color: var(--or-texte) !important; animation: none !important;
}
.hero__title { color: var(--bleu); }
.faq__title em, .faq__title i { font-style: normal !important; color: var(--or-texte) !important; -webkit-text-fill-color: var(--or-texte) !important; }

/* ---------- Plus d'étiquette au-dessus des titres ---------- */
.hero__badge, .section-label:not(.section-label--light), .b-hero .b-kicker, .b-article-head .b-kicker { display: none !important; }

/* ---------- Arrondis Apple ---------- */
html body * { corner-shape: squircle; }
[class*="avatar"], [class*="avatar"] *, .faq-item__icon, .b-faq__icon, .timeline__node, .case-carousel__nav,
.case-carousel__dot, .vsl__play-btn, .c-play, .c-defile__btn, .c-lecteur__nav, .client-gear, .b-author img,
.btn, .nav__cta, .hero__scroll-cta, .b-badge, .case-filters__btn, button[class*="cf-"] { corner-shape: round; }

/* ---------- Le verre ---------- */
.case-card:not(.case-card--featured), .timeline__card, .faq-item, .faq-sidebar, .b-card, .b-toc--inline, .b-faq__item,
.b-author, .b-brief, .b-cta-card, .b-aside-cta, .c-card, .c-court, .c-concept__item, .c-chrono li:not(:last-child),
.c-part, .c-transcript, .b-prose .c-chiffres li, .c-quote, .social-proof__metric, .case-detail__metrics,
.case-detail__results li, .case-grid__card, .mortality-callout__stat, .mortality-callout__panel, .client-card {
  background: var(--verre) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%);
          backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--verre-bord) !important;
  box-shadow: var(--ombre-posee) !important;
}
.case-card, .b-card, .faq-sidebar, .b-cta-card, .b-aside-cta, .c-card, .case-grid__card, .client-card,
.mortality-callout__panel, .calendly-section__widget, .b-cover__frame, .adwall__card, .vsl__player,
.case-video--landscape .case-video__frame, .c-yt, .c-prod__frame, .b-case, .case-detail__quote, .case-detail__cta,
.case-detail__metrics, .c-alerte { border-radius: var(--arr-carte) !important; }
.timeline__card, .faq-item, .b-faq__item, .b-toc--inline, .b-author, .b-brief, .c-court, .c-concept__item,
.c-chrono li, .c-part, .c-transcript, .b-prose .c-chiffres li, .c-quote, .social-proof__metric, .meta-vid__frame,
.case-detail__results li, .mortality-callout__stat, .case-card__beforeafter { border-radius: var(--arr-bloc) !important; }
.b-card__media, .c-card__media { margin: 8px 8px 0 !important; border-radius: 30px !important; overflow: hidden; }
.case-card:hover, .b-card:hover, .c-card:hover, .case-card--link:hover, .timeline__card:hover {
  box-shadow: var(--ombre-levee) !important; border-color: rgba(255,255,255,.9) !important;
}
/* Les blocs bleus restent bleus, en verre sombre : un reflet en haut, une ombre portée chaude */
.case-card--featured, .b-cta, .b-case, .c-alerte, .case-detail__cta, .case-detail__quote {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 26px 50px -24px rgba(18, 28, 77, .55) !important;
}
.b-cta-card, .b-aside-cta { background-image: none !important; }

/* La section contact devient un grand panneau bleu posé sur le fond */
.calendly-section {
  margin: 0 clamp(8px, 2vw, 28px) clamp(8px, 2vw, 28px) !important; border-radius: 48px !important;
  padding-top: var(--esp-m) !important; padding-bottom: var(--esp-m) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 40px 80px -40px rgba(18, 28, 77, .6) !important;
  overflow: hidden;
}
@media (max-width: 768px) {
  .calendly-section { padding-top: var(--esp-s) !important; padding-bottom: var(--esp-s) !important; border-radius: 32px !important; }
}
.calendly-section__widget { background: rgba(255,255,255,.96) !important; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45) !important; }

/* ---------- Boutons : aplats francs, plus de halo ---------- */
.btn--primary, .btn--gold { box-shadow: 0 1px 2px rgba(70,52,20,.12), 0 10px 22px -12px rgba(70,52,20,.45) !important; text-shadow: none !important; }
.hero__scroll-cta {
  background: var(--bleu) !important; color: #fff !important; border-color: var(--bleu) !important;
  border-radius: 999px !important; padding: 16px 30px !important; font-weight: 700 !important; min-height: 52px;
  box-shadow: 0 1px 2px rgba(18,28,77,.2), 0 14px 28px -14px rgba(18,28,77,.6) !important;
}
.hero__scroll-cta:hover { background: #1b2868 !important; }
.section-label, .section-label--light { animation: none !important; text-shadow: none !important; }

/* Mouvement : une seule entrée, celle du héros. Les icônes de la frise ne rebondissent plus. */
.timeline__node, .timeline__card-icon { animation-timing-function: cubic-bezier(.16, 1, .3, 1) !important; }

/* ---------- Carrousel : points touchables (44 px), flèches en verre ---------- */
.case-carousel__dot { box-sizing: content-box !important; padding: 18px 6px !important; background-clip: content-box !important; }
.case-carousel__dots { gap: 0 !important; }
.case-carousel__nav { background: var(--verre) !important; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-color: var(--verre-bord) !important; }

/* ---------- Pied de page lisible ---------- */
.footer { background: var(--footer-bg) !important; }
.footer__legal p { color: rgba(255,255,255,.72) !important; }
.footer__liens { margin-top: 24px; font-size: 13px; line-height: 1.6; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer__liens a, .footer__liens button {
  color: rgba(255,255,255,.72) !important; text-decoration: none; font-size: 13px; background: none; border: 0; padding: 12px 0;
  cursor: pointer; font-family: inherit;
}
.footer__liens a:hover, .footer__liens button:hover { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Bandeau cookies aux couleurs du site ---------- */
#acq-cookie-banner { background: rgba(18, 28, 77, .96) !important; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
#acq-cookie-banner a { color: var(--or) !important; }
#acq-cookie-banner button { border-radius: 999px !important; min-height: 40px; padding: 0 18px !important; }
#acq-cookie-banner button:last-child { background: var(--or) !important; color: var(--bleu) !important; }
@media (max-width: 600px) {
  #acq-cookie-banner { padding: 12px 16px !important; gap: 10px !important; font-size: 13px !important; }
  #acq-cookie-banner p { flex-basis: 100% !important; }
}

/* ---------- Ce que le navigateur dessine aussi ---------- */
::selection { background: rgba(223, 173, 57, .38); color: var(--bleu); }
html { caret-color: var(--or-texte); scrollbar-color: rgba(18,28,77,.35) transparent; }
:focus-visible { outline: 3px solid var(--or) !important; outline-offset: 3px !important; }
a { text-underline-offset: 3px; }
table, .case-card__metric, [class*="chiffre"] { font-variant-numeric: tabular-nums; }

/* Le mur de pubs : « survolez » n'existe pas sur un téléphone */
@media (hover: none) {
  .adwall__hint--survol { display: none !important; }
  .adwall__hint--toucher { display: inline !important; }
}
.adwall__hint--toucher { display: none; }

@media (prefers-reduced-transparency: reduce) {
  .case-card:not(.case-card--featured), .timeline__card, .faq-item, .faq-sidebar, .b-card, .c-card { background: #fbf8f2 !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Les textes des cartes de cas en romain : l'italique fatigue sur fond bleu */
.case-card, .case-card * { font-style: normal !important; }

/* ---------- Ce que le détecteur a trouvé sur les 42 pages (04/12) ---------- */
/* Étiquette au-dessus du titre des articles et des cas : retirée (la catégorie reste sur les vignettes) */
.b-kicker { display: none !important; }
/* Blocs bleus sans tache de lumière */
.b-case { background: var(--bleu) !important; }
.b-case__ba-label { color: rgba(255,255,255,.72) !important; }
/* Boutons or : ombre posée au survol aussi, pas de halo */
.btn--primary:hover, .btn--gold:hover { box-shadow: 0 2px 4px rgba(70,52,20,.14), 0 16px 28px -14px rgba(70,52,20,.5) !important; }
/* Dates lisibles */
time, .b-byline, .b-byline * { color: #4b5170; }
/* Mesure de lecture : 68 signes environ */


/* contraste-petits-textes (04/12) : sur le fond texturé, les petits textes gris tombaient à 3,5 à 4,3:1 ; foncés pour passer 4,5:1 */
.b-crumbs a, .b-crumbs, .b-byline, .b-byline *, time, figcaption, .c-source, #cf_count { color: #2f365a !important; }
.b-byline a, span > a[href*="linkedin"] { color: #121c4d !important; text-decoration-color: rgba(18,28,77,.35); }

/* largeurs-titres (04/12, Florian : « tu respectes bêtement les 60 % de largeur ») */
@media (min-width: 901px) { .hero--split .hero__layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.hero--split .hero__text { padding-right: 0; }
.hero--split .hero__subtitle { max-width: 640px; margin-left: 0; }
.hero__title br { display: none; } /* le retour forcé laissait « client » seul sur sa ligne */
/* Les encadrés d'appel des articles ont un texte blanc : ils restent bleu nuit, en verre sombre */
.b-cta-card, .b-aside-cta {
  background: radial-gradient(120% 90% at 100% 0%, rgba(223,173,57,.16) 0%, transparent 55%), var(--bleu) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), var(--ombre-levee) !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}

/* heros-moins-haut (04/12, Florian : « il y a pas trop d'air au-dessus ? ») : le titre arrive sous le menu, plus au milieu d'un écran vide */
@media (min-width: 901px) {
  .hero { padding-top: 120px !important; }
  .hero--split .hero__image { top: 0; bottom: 0; height: auto; }
  .hero--split .hero__image picture, .hero--split .hero__image img { height: 100% !important; max-height: 100%; width: 100%; object-fit: contain; object-position: right bottom; }
  .hero--split .hero__layout { min-height: clamp(520px, 70vh, 720px); padding: 2rem 0 3rem; }
}

/* heros-respiration (04/12, Florian : « le titre, le texte et la photo ne sont pas trop collés ? ») */
@media (min-width: 901px) {
  .hero--split > .container { width: 100%; } /* le héros est en flex : sans largeur, le conteneur se rétrécissait et se centrait */
  .hero--split .hero__text { max-width: 580px; justify-self: start; margin-left: 0; }
  .hero--split .hero__title { font-size: clamp(2.5rem, 3.8vw, 3.375rem); }
  .hero--split .hero__image { width: 44%; }
  .hero--split .hero__layout { min-height: clamp(480px, 62vh, 640px); }
}

/* c-zone (04/12, Florian : « cette partie-là, je la trouve disgracieuse ») : liens bleus du navigateur et colonne
   décalée remplacés par une grille de villes alignée sur le titre, les clients en pastilles de verre */
.c-zone__liste { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.c-zone__liste li { padding: 20px 22px; border-radius: var(--arr-bloc); background: var(--verre); border: 1px solid var(--verre-bord);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--ombre-posee); }
.c-zone__ville { display: block; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--or-texte-petit); margin-bottom: 10px; }
.c-zone__clients { display: flex; flex-wrap: wrap; gap: 8px; }
.c-zone__clients a { display: inline-block; padding: 6px 14px; border-radius: 999px; corner-shape: round; background: rgba(18,28,77,.06);
  color: var(--bleu); font-weight: 600; font-size: 15px; text-decoration: none; transition: background .2s, color .2s; }
.c-zone__clients a:hover, .c-zone__clients a:focus-visible { background: var(--bleu); color: #fff; }
