/* ============================================================
   ACD MANAGEMENT — Feuille de style globale (refonte 2026)
   Charte : Or #D4A843 · Noir #0D0D0D · Crème #F5F0E8
   Typo  : Montserrat (titres) · Inter (corps) · Playfair Display (accents)
   ============================================================ */

:root {
  --or:        #D4A843;
  --or-clair:  #E8C96A;
  --or-fonce:  #B8912E;
  --noir:      #0D0D0D;
  --noir-2:    #161616;
  --noir-3:    #1f1f1f;
  --creme:     #F5F0E8;
  --creme-2:   #E8DCC8;
  --anthracite:#2C2C2C;
  --gris:      #8a8a8a;
  --gris-clair:#b8b8b8;

  --maxw: 1240px;
  --pad-section: clamp(4.5rem, 9vw, 8rem);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --f-titre: 'Montserrat', system-ui, sans-serif;
  --f-corps: 'Inter', system-ui, sans-serif;
  --f-accent:'Playfair Display', Georgia, serif;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 2px; width: 0%; background: var(--or);
  transition: width .1s linear;
  pointer-events: none;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-corps);
  background: var(--noir);
  color: var(--creme);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--or); color: var(--noir); }

/* ---------- Curseur personnalisé (léger & aéré, desktop uniquement) ---------- */
@media (hover: hover) and (pointer: fine) {
  html.has-custom-cursor,
  html.has-custom-cursor a,
  html.has-custom-cursor button,
  html.has-custom-cursor .work-card,
  html.has-custom-cursor .filter-btn { cursor: none; }
  /* On préserve toujours le curseur texte dans les champs (ne casse pas la saisie) */
  html.has-custom-cursor input,
  html.has-custom-cursor textarea,
  html.has-custom-cursor [contenteditable] { cursor: text; }

  .cursor-dot, .cursor-ring {
    position: fixed; top: 0; left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    will-change: transform;
    mix-blend-mode: normal;
  }
  .cursor-dot {
    width: 6px; height: 6px;
    background: var(--or);
    box-shadow: 0 0 8px rgba(212,168,67,.5);
    transition: opacity .25s, width .2s, height .2s, background-color .2s;
  }
  .cursor-ring {
    width: 30px; height: 30px;
    border: 1.5px solid rgba(212,168,67,.5);
    transition: width .28s var(--ease), height .28s var(--ease),
                border-color .28s, background-color .28s, opacity .25s;
  }
  /* Survol d'un élément interactif → l'anneau s'ouvre doucement */
  .cursor-ring.is-hover {
    width: 50px; height: 50px;
    border-color: rgba(212,168,67,.85);
    background: rgba(212,168,67,.05);
  }
  .cursor-dot.is-hover { width: 4px; height: 4px; }
  /* Clic → petit retrait */
  .cursor-ring.is-down { width: 24px; height: 24px; border-color: var(--or); }
  /* Hors de la fenêtre */
  .cursor-dot.is-hidden, .cursor-ring.is-hidden { opacity: 0; }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); }
.section-pad { padding: var(--pad-section) 0; }
.light-section { background: var(--creme); color: var(--noir); }
.dark-section  { background: var(--noir); color: var(--creme); }
.noir2-section { background: var(--noir-2); color: var(--creme); }

/* ---------- Typo utilitaires ---------- */
.eyebrow {
  font-family: var(--f-titre);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1.4rem;
  display: inline-block;
}
.light-section .eyebrow { color: var(--or-fonce); }

.section-title {
  font-family: var(--f-titre);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -.01em;
}
.section-title em { font-family: var(--f-accent); font-weight: 400; font-style: italic; color: var(--or); }
.light-section .section-title em { color: var(--or-fonce); }

.section-lead {
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
  color: var(--gris-clair);
  max-width: 62ch;
  margin-top: 1.5rem;
  line-height: 1.75;
}
.light-section .section-lead { color: var(--anthracite); }

.section-header-centered { text-align: center; max-width: 760px; margin: 0 auto 4rem; display: flex; flex-direction: column; align-items: center; }

/* ---------- Boutons ---------- */
.btn-primary, .btn-ghost {
  font-family: var(--f-titre);
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: .08em;
  padding: 1.05rem 2.2rem;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  transition: all .25s var(--ease);
  cursor: pointer;
}
.btn-primary {
  background: var(--or);
  color: var(--noir);
  border: 1px solid var(--or);
}
.btn-primary:hover { background: var(--or-clair); border-color: var(--or-clair); transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(212,168,67,.5); }
.btn-ghost {
  background: transparent;
  color: var(--creme);
  border: 1px solid rgba(245,240,232,.28);
}
.btn-ghost:hover { border-color: var(--or); color: var(--or); }
.light-section .btn-ghost { color: var(--noir); border-color: rgba(13,13,13,.25); }
.light-section .btn-ghost:hover { border-color: var(--or-fonce); color: var(--or-fonce); }
.btn-arrow { transition: transform .25s var(--ease); }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  padding: 1.4rem 0;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(13,13,13,.82);
  backdrop-filter: blur(14px);
  padding: .85rem 0;
  border-bottom-color: rgba(212,168,67,.14);
}
.header-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.25rem,5vw,3rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.header-logo { display: flex; align-items: center; }
.logo-img { height: 42px; width: auto; }
.logo-text { font-family: var(--f-titre); font-weight: 700; font-size: 1.4rem; letter-spacing: .04em; color: var(--creme); }
.logo-text-accent, .footer-logo-text em { color: var(--or); font-style: normal; }
.header-nav ul { display: flex; gap: 2.1rem; }
.header-nav a {
  font-family: var(--f-titre); font-weight: 500; font-size: .82rem; letter-spacing: .04em;
  color: var(--gris-clair); position: relative; padding: .3rem 0; transition: color .3s;
}
.header-nav a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--or); transition: width .35s var(--ease); }
.header-nav a:hover, .header-nav a.active { color: var(--creme); }
.header-nav a:hover::after, .header-nav a.active::after { width: 100%; }
.header-cta {
  font-family: var(--f-titre); font-weight: 500; font-size: .8rem; letter-spacing: .06em;
  padding: .7rem 1.5rem; border: 1px solid var(--or); border-radius: var(--radius); color: var(--or);
  transition: all .35s var(--ease);
}
.header-cta:hover { background: var(--or); color: var(--noir); }

.nav-toggle { display: none; width: 30px; height: 22px; position: relative; flex-direction: column; justify-content: center; gap: 6px; }
.nav-toggle-bar { display: block; width: 100%; height: 1.5px; background: var(--creme); transition: transform .35s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px); height: 100vh;
  background: var(--noir-2); border-left: 1px solid rgba(212,168,67,.16);
  transform: translateX(100%); transition: transform .5s var(--ease);
  display: flex; flex-direction: column; justify-content: center; padding: 2.5rem;
  z-index: 1001;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 1.6rem; }
.mobile-nav a { font-family: var(--f-titre); font-weight: 600; font-size: 1.5rem; color: var(--creme); }
.mobile-nav a:hover { color: var(--or); }
.mobile-cta { color: var(--or) !important; font-size: 1rem !important; letter-spacing: .06em; margin-top: 1rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(13,13,13,.94) 0%, rgba(13,13,13,.78) 45%, rgba(13,13,13,.5) 100%); }
.hero-content { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 7rem clamp(1.25rem,5vw,3rem) 0; width: 100%; }
.hero-eyebrow { animation: fadeUp .9s var(--ease) both; }
.hero-title {
  font-family: var(--f-titre); font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.04; letter-spacing: -.02em;
  max-width: 17ch; margin-bottom: 1.8rem; animation: fadeUp .9s var(--ease) .1s both;
}
.hero-title em { font-family: var(--f-accent); font-style: italic; font-weight: 400; color: var(--or); }
.hero-statement { font-size: clamp(1.02rem,1.7vw,1.28rem); color: var(--gris-clair); max-width: 60ch; margin-bottom: 2.6rem; animation: fadeUp .9s var(--ease) .2s both; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp .9s var(--ease) .3s both; }
.hero-scroll { position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .8rem; font-family: var(--f-titre); font-size: .62rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gris); }
.scroll-line { width: 1px; height: 48px; background: linear-gradient(var(--or), transparent); animation: scrollPulse 2.2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{opacity:.3;transform:scaleY(.6);} 50%{opacity:1;transform:scaleY(1);} }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }

/* Hero compact (pages internes) */
.page-hero { position: relative; padding: 12rem 0 5rem; overflow: hidden; border-bottom: 1px solid rgba(212,168,67,.12); }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; opacity: .22; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(13,13,13,.7), var(--noir)); z-index:1; }
/* Tints personnalisés par thème de page */
.page-hero[data-theme="ads"]::after    { background: linear-gradient(160deg, rgba(15,25,75,.72) 0%, var(--noir) 70%); }
.page-hero[data-theme="seo"]::after    { background: linear-gradient(160deg, rgba(10,55,35,.7) 0%, var(--noir) 70%); }
.page-hero[data-theme="ia"]::after     { background: linear-gradient(160deg, rgba(35,10,70,.72) 0%, var(--noir) 70%); }
.page-hero[data-theme="creation"]::after, .page-hero[data-theme="dev"]::after { background: linear-gradient(160deg, rgba(13,13,13,.68) 0%, rgba(30,18,5,.9) 70%); }
.page-hero[data-theme="artisan"]::after  { background: linear-gradient(160deg, rgba(45,25,8,.72) 0%, var(--noir) 70%); }
.page-hero[data-theme="restaurant"]::after { background: linear-gradient(160deg, rgba(55,20,10,.72) 0%, var(--noir) 70%); }
.page-hero[data-theme="realisations"]::after { background: linear-gradient(160deg, rgba(10,35,55,.68) 0%, var(--noir) 70%); }
.page-hero[data-theme="expertise"]::after  { background: linear-gradient(160deg, rgba(80,55,5,.55) 0%, var(--noir) 70%); }
.page-hero[data-theme="blog"]::after   { background: linear-gradient(160deg, rgba(13,13,13,.78) 0%, var(--noir) 75%); }
.page-hero[data-theme="agence"]::after { background: linear-gradient(160deg, rgba(80,55,5,.52) 0%, var(--noir) 70%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-family: var(--f-titre); font-weight: 700; font-size: clamp(2.2rem,5vw,4rem); line-height: 1.06; letter-spacing: -.02em; max-width: 20ch; }
.page-hero h1 em { font-family: var(--f-accent); font-style: italic; font-weight: 400; color: var(--or); }
.page-hero .lead { font-size: clamp(1rem,1.6vw,1.2rem); color: var(--gris-clair); max-width: 62ch; margin-top: 1.4rem; }
.breadcrumb { font-family: var(--f-titre); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); margin-bottom: 1.5rem; }
.breadcrumb a:hover { color: var(--or); }

/* ============================================================
   PREUVE / STATS BAR
   ============================================================ */
.proof-bar { border-top: 1px solid rgba(212,168,67,.14); border-bottom: 1px solid rgba(212,168,67,.14); background: var(--noir-2); }
.proof-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.proof-item { padding: 2.8rem 1.8rem; text-align: center; border-right: 1px solid rgba(212,168,67,.08); }
.proof-item:last-child { border-right: none; }
.proof-num { font-family: var(--f-titre); font-weight: 700; font-size: clamp(2rem,3.2vw,2.6rem); color: var(--or); line-height: 1; letter-spacing: -.02em; }
.proof-label { font-size: .84rem; color: var(--gris-clair); margin-top: .85rem; letter-spacing: .01em; line-height: 1.5; }

/* ============================================================
   TICKER
   ============================================================ */
.ticker-wrapper { overflow: hidden; border-top: 1px solid rgba(212,168,67,.14); border-bottom: 1px solid rgba(212,168,67,.14); padding: 1.1rem 0; background: var(--noir); }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker-content { font-family: var(--f-titre); font-weight: 500; font-size: .92rem; letter-spacing: .04em; color: var(--creme); white-space: nowrap; padding-right: 1rem; }
.t-dim { color: var(--gris); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } .ticker-track { animation: none; } }

/* ============================================================
   CONVICTION / SPLIT
   ============================================================ */
.split-layout { display: grid; grid-template-columns: 0.85fr 2fr; gap: clamp(2rem,6vw,5rem); align-items: start; }
.split-num { font-family: var(--f-accent); font-style: italic; font-size: clamp(3rem,7vw,5.5rem); color: var(--creme-2); line-height: 1; margin-top: 1rem; }
.dark-section .split-num, .noir2-section .split-num { color: rgba(212,168,67,.22); }
.body-copy p { margin-bottom: 1.5rem; font-size: 1.08rem; line-height: 1.78; }
.statement { font-family: var(--f-accent); font-style: italic; font-size: clamp(1.3rem,2.4vw,1.9rem); color: var(--or-fonce); line-height: 1.35; margin-top: 1rem; }
.dark-section .statement, .noir2-section .statement { color: var(--or); }

/* ============================================================
   CARTES GÉNÉRIQUES (services / piliers)
   ============================================================ */
.card-grid { display: grid; gap: 1.5rem; }
.card-grid.cols-3 { grid-template-columns: repeat(3,1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2,1fr); }
.feature-card {
  background: var(--noir-2); border: 1px solid rgba(245,240,232,.07);
  border-radius: var(--radius); padding: 2.6rem;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature-card:hover { border-color: rgba(212,168,67,.35); transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.feature-num { font-family: var(--f-titre); font-weight: 700; font-size: .8rem; letter-spacing: .15em; color: var(--or); display: block; margin-bottom: 1.2rem; }
.feature-card h3 { font-family: var(--f-titre); font-weight: 600; font-size: 1.3rem; margin-bottom: .9rem; line-height: 1.25; }
.feature-card p { color: var(--gris-clair); font-size: .98rem; }
.feature-card ul { margin-top: 1.3rem; display: flex; flex-direction: column; gap: .6rem; }
.feature-card ul li { position: relative; padding-left: 1.3rem; font-size: .9rem; color: var(--gris-clair); }
.feature-card ul li::before { content: ''; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; background: var(--or); border-radius: 50%; }

/* light variante */
.light-section .feature-card { background: #fff; border-color: rgba(13,13,13,.07); }
.light-section .feature-card:hover { border-color: rgba(184,145,46,.4); }
.light-section .feature-card h3 { color: var(--noir); }
.light-section .feature-card p, .light-section .feature-card ul li { color: var(--anthracite); }
.light-section .feature-num { color: var(--or-fonce); }
.light-section .feature-card ul li::before { background: var(--or-fonce); }

/* ============================================================
   RÉALISATIONS / PORTFOLIO
   ============================================================ */
.work-filter { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 3rem; }
.filter-btn {
  font-family: var(--f-titre); font-weight: 500; font-size: .78rem; letter-spacing: .05em;
  padding: .6rem 1.3rem; border: 1px solid rgba(245,240,232,.16); border-radius: 100px; color: var(--gris-clair);
  transition: all .3s var(--ease);
}
.filter-btn:hover { border-color: var(--or); color: var(--creme); }
.filter-btn.active { background: var(--or); border-color: var(--or); color: var(--noir); }

.work-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.work-card {
  position: relative; background: var(--noir-2); border: 1px solid rgba(245,240,232,.07);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
  display: flex; flex-direction: column;
}
.work-card:hover { border-color: rgba(212,168,67,.38); transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.work-thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; background: var(--noir-3); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); filter: brightness(.92) saturate(.92); }
.work-card:hover .work-thumb img { transform: scale(1.05); filter: brightness(1) saturate(1); }
.work-thumb-label { font-family: var(--f-titre); font-weight: 700; font-size: 1.5rem; letter-spacing: .04em; color: var(--or); opacity: .85; padding: 1rem; text-align: center; }
.work-badge { position: absolute; top: .9rem; left: .9rem; z-index: 2; font-family: var(--f-titre); font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 100px; background: rgba(13,13,13,.7); backdrop-filter: blur(6px); color: var(--or); border: 1px solid rgba(212,168,67,.3); }
.work-live { position: absolute; top: .9rem; right: .9rem; z-index: 2; font-family: var(--f-titre); font-size: .6rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .32rem .6rem; border-radius: 100px; background: rgba(46,204,113,.16); color: #4ade80; border: 1px solid rgba(46,204,113,.35); display: inline-flex; align-items: center; gap: .35rem; }
.work-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }
.work-body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }
.work-cat { font-family: var(--f-titre); font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); margin-bottom: .6rem; }
.work-body h3 { font-family: var(--f-titre); font-weight: 600; font-size: 1.2rem; margin-bottom: .5rem; }
.work-body p { font-size: .9rem; color: var(--gris-clair); flex: 1; }
.work-link { font-family: var(--f-titre); font-size: .76rem; font-weight: 500; letter-spacing: .04em; color: var(--or); margin-top: 1.1rem; display: inline-flex; align-items: center; gap: .4rem; }
.work-link:hover { gap: .7rem; }

/* ============================================================
   CAS PHARE (featured project)
   ============================================================ */
.case { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.case.reverse { direction: rtl; }
.case.reverse > * { direction: ltr; }
.case-media { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(212,168,67,.14); aspect-ratio: 4/3; box-shadow: 0 40px 80px rgba(0,0,0,.5); }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); filter: brightness(.95); }
.case:hover .case-media img { transform: scale(1.025); filter: brightness(1); }
.case-tag { font-family: var(--f-titre); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--or); }
.case h3 { font-family: var(--f-titre); font-weight: 700; font-size: clamp(1.6rem,3vw,2.4rem); margin: 1rem 0 1.2rem; line-height: 1.12; }
.case p { color: var(--gris-clair); margin-bottom: 1.2rem; }
.case-meta { display: flex; flex-wrap: wrap; gap: 1.8rem; margin: 1.6rem 0; }
.case-meta div span { display: block; }
.case-meta .k { font-family: var(--f-titre); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); }
.case-meta .v { font-family: var(--f-titre); font-weight: 600; font-size: 1rem; color: var(--creme); margin-top: .2rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.tag { font-family: var(--f-titre); font-size: .7rem; font-weight: 500; letter-spacing: .04em; padding: .35rem .8rem; border: 1px solid rgba(245,240,232,.16); border-radius: 100px; color: var(--gris-clair); }

/* ============================================================
   MÉTHODE (timeline)
   ============================================================ */
.timeline { max-width: 820px; margin: 0 auto; }
.tl-step { display: grid; grid-template-columns: auto 1fr; gap: 1.8rem; padding-bottom: 2.6rem; }
.tl-marker { display: flex; flex-direction: column; align-items: center; }
.tl-num { font-family: var(--f-titre); font-weight: 700; font-size: .9rem; color: var(--noir); background: var(--or); width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tl-line { width: 1px; flex: 1; background: linear-gradient(var(--or-fonce), transparent); margin-top: .6rem; }
.tl-step:last-child .tl-line { display: none; }
.tl-content h3 { font-family: var(--f-titre); font-weight: 600; font-size: 1.25rem; margin-bottom: .6rem; }
.tl-content p { color: var(--gris-clair); }
.light-section .tl-content p { color: var(--anthracite); }

/* ============================================================
   IA DIFFÉRENCIATEUR (diagramme)
   ============================================================ */
.agent-diagram { max-width: 640px; margin: 3.5rem auto 0; display: flex; flex-direction: column; align-items: center; gap: 0; }
.diagram-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.diagram-node { font-family: var(--f-titre); font-weight: 500; font-size: .8rem; text-align: center; padding: .9rem 1.1rem; border-radius: var(--radius); border: 1px solid rgba(212,168,67,.3); background: var(--noir-2); min-width: 110px; }
.node-orchestrator { border-color: var(--or); color: var(--or); font-weight: 600; box-shadow: 0 0 30px -10px rgba(212,168,67,.5); }
.node-input, .node-output { background: transparent; color: var(--gris-clair); }
.diagram-connector-v { width: 1px; height: 28px; background: rgba(212,168,67,.4); }
.node-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--or); margin-right: .5rem; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.3;} }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem,6vw,5rem); align-items: start; }
.contact-intro { color: var(--gris-clair); margin: 1.5rem 0 2rem; font-size: 1.05rem; line-height: 1.7; }

/* Grille de cartes contact */
.contact-channels-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin-top: 2rem; }
.contact-card {
  display: flex; align-items: center; gap: .85rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(212,168,67,.15);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
  position: relative; overflow: hidden;
}
.contact-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(212,168,67,.06) 0%, transparent 60%);
  opacity: 0; transition: opacity .25s;
}
.contact-card:hover { background: rgba(212,168,67,.07); border-color: rgba(212,168,67,.45); transform: translateY(-2px); }
.contact-card:hover::before { opacity: 1; }
.contact-card__ico {
  width: 38px; height: 38px; min-width: 38px;
  border: 1px solid rgba(212,168,67,.35); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--or); transition: border-color .2s;
}
.contact-card:hover .contact-card__ico { border-color: var(--or); }
.contact-card__body { flex: 1; min-width: 0; }
.contact-card__label {
  display: block; font-family: var(--f-titre);
  font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gris); margin-bottom: .2rem;
}
.contact-card__value {
  display: block; font-size: .88rem; color: var(--creme);
  font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.contact-card__arrow {
  font-size: .85rem; color: rgba(212,168,67,.4);
  transition: color .2s, transform .2s; flex-shrink: 0;
}
.contact-card:hover .contact-card__arrow { color: var(--or); transform: translateX(3px); }

/* Badge délai de réponse */
.contact-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1.4rem;
  padding: .55rem 1rem;
  background: rgba(212,168,67,.08);
  border: 1px solid rgba(212,168,67,.2);
  border-radius: 100px;
  font-size: .82rem; color: var(--gris-clair);
}
.contact-badge svg { color: var(--or); flex-shrink: 0; }
.contact-badge strong { color: var(--or); }

.contact-form { background: var(--noir-2); border: 1px solid rgba(245,240,232,.08); border-radius: var(--radius); padding: clamp(1.6rem,4vw,2.6rem); }
.form-row--double { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { margin-bottom: 1.3rem; display: flex; flex-direction: column; }
.form-label { font-family: var(--f-titre); font-size: .76rem; font-weight: 500; letter-spacing: .04em; margin-bottom: .55rem; color: var(--gris-clair); }
.form-label span { color: var(--or); }
.form-input, .form-select, .form-textarea {
  font-family: var(--f-corps); font-size: .95rem; color: var(--creme); background: var(--noir);
  border: 1px solid rgba(245,240,232,.14); border-radius: var(--radius); padding: .85rem 1rem; width: 100%; transition: border-color .3s;
}
.form-input::placeholder, .form-textarea::placeholder { color: #5a5a5a; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--or); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select-wrapper { position: relative; }
.form-select { appearance: none; cursor: pointer; }
.select-arrow { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; }
.form-legal { font-size: .78rem; color: var(--gris-clair); margin-bottom: 1.2rem; }
.btn-submit { width: 100%; justify-content: center; }
.form-feedback { margin-top: 1rem; font-size: .9rem; padding: .9rem 1rem; border-radius: var(--radius); display: none; }
.form-feedback.show { display: block; }
.form-feedback.ok { background: rgba(46,204,113,.12); color: #4ade80; border: 1px solid rgba(46,204,113,.3); }
.form-feedback.err { background: rgba(231,76,60,.12); color: #f87171; border: 1px solid rgba(231,76,60,.3); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { text-align: center; background: linear-gradient(135deg, var(--noir-2), var(--noir)); border-top: 1px solid rgba(212,168,67,.16); }
.cta-banner h2 { font-family: var(--f-titre); font-weight: 700; font-size: clamp(1.8rem,4vw,3rem); line-height: 1.1; max-width: 18ch; margin: 0 auto 1.4rem; }
.cta-banner h2 em { font-family: var(--f-accent); font-style: italic; font-weight: 400; color: var(--or); }
.cta-banner p { color: var(--gris-clair); max-width: 50ch; margin: 0 auto 2.2rem; }

/* ============================================================
   VALEURS
   ============================================================ */
.value-item { padding: 2rem 0; border-top: 1px solid rgba(245,240,232,.1); display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: baseline; }
.light-section .value-item { border-color: rgba(13,13,13,.1); }
.value-k { font-family: var(--f-accent); font-style: italic; font-size: 1.6rem; color: var(--or); }
.light-section .value-k { color: var(--or-fonce); }
.value-v h3 { font-family: var(--f-titre); font-weight: 600; font-size: 1.2rem; margin-bottom: .4rem; }
.value-v p { color: var(--gris-clair); }
.light-section .value-v p { color: var(--anthracite); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--noir); border-top: 1px solid rgba(212,168,67,.14); padding: 4.5rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1.1fr; gap: 2.8rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(245,240,232,.08); }
.footer-logo-img { height: 52px; width: auto; margin-bottom: 1.2rem; }
.footer-logo-text { font-family: var(--f-titre); font-weight: 700; font-size: 1.5rem; display: block; margin-bottom: 1.2rem; }
.footer-tagline { font-family: var(--f-accent); font-style: italic; color: var(--or); font-size: 1.05rem; margin-bottom: .85rem; }
.footer-desc { color: var(--gris); font-size: .9rem; max-width: 34ch; line-height: 1.6; }
.footer-contact-row { margin-top: 1.3rem; display: flex; flex-direction: column; gap: .45rem; }
.footer-phone-link { font-family: var(--f-titre); font-weight: 700; font-size: 1rem; color: var(--or); letter-spacing: .02em; transition: color .3s; }
.footer-phone-link:hover { color: var(--or-clair); }
.footer-email-link { font-size: .86rem; color: var(--gris-clair); transition: color .3s; }
.footer-email-link:hover { color: var(--or); }
.footer-col h4 { font-family: var(--f-titre); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--or); margin-bottom: 1.2rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .7rem; }
.footer-col a { color: var(--gris-clair); font-size: .92rem; transition: color .3s; }
.footer-col a:hover { color: var(--or); }
.footer-social-list { display: flex; flex-direction: column; gap: .75rem; }
.footer-social-link { color: var(--gris-clair); font-size: .92rem; display: inline-flex; align-items: center; gap: .55rem; transition: color .3s; }
.footer-social-link:hover { color: var(--or); }
.footer-social-link svg { flex-shrink: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .8rem; padding-top: 2rem; }
.footer-legal { font-size: .82rem; color: var(--gris); }
.footer-legal a:hover { color: var(--or); }
.footer-siret { font-size: .76rem; color: rgba(138,138,138,.72); letter-spacing: .03em; }


/* ============================================================
   CONTENU LÉGAL
   ============================================================ */
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-body h2 { font-family: var(--f-titre); font-weight: 600; font-size: 1.4rem; margin: 2.5rem 0 1rem; color: var(--or); }
.legal-body h3 { font-family: var(--f-titre); font-weight: 600; font-size: 1.05rem; margin: 1.6rem 0 .6rem; }
.legal-body p, .legal-body li { color: var(--gris-clair); margin-bottom: 1rem; }
.legal-body ul { list-style: disc; padding-left: 1.4rem; }
.legal-body a { color: var(--or); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .header-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .split-layout, .contact-layout, .case { grid-template-columns: 1fr; }
  .case.reverse { direction: ltr; }
  .card-grid.cols-3, .work-grid { grid-template-columns: repeat(2,1fr); }
  .proof-grid { grid-template-columns: repeat(2,1fr); }
  .proof-item:nth-child(2) { border-right: none; }
  .proof-item:nth-child(1), .proof-item:nth-child(2) { border-bottom: 1px solid rgba(212,168,67,.1); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact-row { flex-direction: row; gap: 1.4rem; flex-wrap: wrap; }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .work-card { font-size: .95em; }
}
@media (max-width: 620px) {
  .contact-channels-grid { grid-template-columns: 1fr; }
  .card-grid.cols-3, .card-grid.cols-2, .work-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .form-row--double { grid-template-columns: 1fr; gap: .8rem; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { justify-content: center; }
  .hero-scroll { display: none; }
  .value-item { grid-template-columns: 1fr; gap: .5rem; }
  .btn-submit { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   CHAT WIDGET — Interface ARIA Sales
   ═══════════════════════════════════════════════════════════ */

.chat-widget {
  position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 8000;
  font-family: var(--f-corps); font-size: 14px;
}

/* ── Bouton déclencheur ── */
.chat-trigger {
  position: relative;
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(145deg, var(--or-clair), var(--or-fonce));
  color: var(--noir); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 28px rgba(212,168,67,.55), 0 2px 8px rgba(0,0,0,.4);
  transition: transform .28s cubic-bezier(.34,1.56,.64,1), box-shadow .28s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.chat-trigger::before {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%; border: 2px solid rgba(212,168,67,.45);
  animation: chatPulseRing 2.8s ease-out infinite;
  pointer-events: none;
}
.chat-trigger::after {
  content: '';
  position: absolute; inset: -10px;
  border-radius: 50%; border: 1.5px solid rgba(212,168,67,.18);
  animation: chatPulseRing 2.8s ease-out infinite .6s;
  pointer-events: none;
}
.chat-trigger:hover { transform: scale(1.1); box-shadow: 0 8px 36px rgba(212,168,67,.7), 0 3px 12px rgba(0,0,0,.45); }
.chat-trigger.is-open {
  background: #1a1a1a; color: var(--or);
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
}
.chat-trigger.is-open::before,
.chat-trigger.is-open::after { display: none; }
.chat-icon-open,
.chat-icon-close { transition: opacity .18s, transform .22s cubic-bezier(.34,1.56,.64,1); }
.chat-trigger.is-open .chat-icon-open { display: none; }
.chat-trigger.is-open .chat-icon-close { display: block !important; }

/* Point de notification (réponse équipe reçue, fenêtre fermée) — sans compteur */
.chat-badge {
  position: absolute; top: 0; right: 0;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: #E0533D;
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
  border: 2px solid #0D0D0D;
  z-index: 2;
  animation: chatBadgePop .35s cubic-bezier(.34,1.56,.64,1);
}
@keyframes chatBadgePop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
/* Rebond d'attention quand un message arrive fenêtre fermée */
.chat-trigger.chat-pulse { animation: chatAttention 1.2s ease; }
@keyframes chatAttention {
  0%,100% { transform: scale(1); }
  15%     { transform: scale(1.18) rotate(-6deg); }
  30%     { transform: scale(1.1) rotate(6deg); }
  45%     { transform: scale(1.15) rotate(-4deg); }
  60%     { transform: scale(1.05) rotate(0); }
}

@keyframes chatPulseRing {
  0%   { transform: scale(1); opacity: .7; }
  70%  { transform: scale(1.28); opacity: 0; }
  100% { transform: scale(1.28); opacity: 0; }
}

/* ── Fenêtre popup ── */
/* hidden par défaut — JS toggle via .is-open */
.chat-popup {
  display: none;
}
.chat-popup.is-open {
  position: absolute; bottom: 76px; right: 0;
  width: 370px;
  border-radius: 20px;
  background: #141414;
  border: 1px solid rgba(212,168,67,.2);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.3),
    0 24px 64px rgba(0,0,0,.7),
    0 8px 24px rgba(0,0,0,.4),
    0 0 40px rgba(212,168,67,.06);
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: chatOpen .3s cubic-bezier(.34,1.4,.64,1);
  transform-origin: bottom right;
}
@keyframes chatOpen {
  from { opacity: 0; transform: scale(.92) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── Header ── */
.chat-head {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px 14px;
  background: linear-gradient(180deg, rgba(212,168,67,.1) 0%, rgba(212,168,67,.03) 100%);
  flex-shrink: 0;
}
.chat-head::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,67,.3) 40%, rgba(212,168,67,.3) 60%, transparent);
}
.chat-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(212,168,67,.1);
  border: 1.5px solid rgba(212,168,67,.4);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
  box-shadow: 0 0 12px rgba(212,168,67,.2);
}
.chat-avatar img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.chat-head-info { flex: 1; min-width: 0; }
.chat-head-name {
  font-family: var(--f-accent); font-style: italic; font-size: 15px;
  color: var(--creme); line-height: 1.2; margin-bottom: 3px;
}
.chat-head-name span { color: var(--or); }
.chat-head-status {
  font-size: 11px; color: #5ecf72;
  display: flex; align-items: center; gap: 5px; letter-spacing: .02em;
}
.chat-head-status::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: #5ecf72;
  box-shadow: 0 0 6px rgba(94,207,114,.6);
  animation: chatOnlinePulse 2.5s ease-in-out infinite;
}
@keyframes chatOnlinePulse {
  0%, 100% { box-shadow: 0 0 4px rgba(94,207,114,.5); }
  50%       { box-shadow: 0 0 10px rgba(94,207,114,.9); }
}
.chat-close-btn {
  background: none; border: none; cursor: pointer;
  color: rgba(245,240,232,.4); width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: color .2s, background .2s;
  flex-shrink: 0;
}
.chat-close-btn:hover { color: var(--creme); background: rgba(245,240,232,.08); }

/* ── Zone messages ── */
.chat-messages {
  flex: 1; overflow-y: auto;
  padding: 16px 14px 10px;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 220px; max-height: 350px;
  scrollbar-width: thin; scrollbar-color: rgba(212,168,67,.15) transparent;
  background: #141414;
}
.chat-messages::-webkit-scrollbar { width: 3px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(212,168,67,.18); border-radius: 2px; }

/* ── Bulles ── */
.chat-msg {
  display: flex; gap: 8px; align-items: flex-end;
  max-width: 90%;
  animation: chatMsgIn .25s cubic-bezier(.34,1.3,.64,1);
}
.chat-msg--aria { align-self: flex-start; }
.chat-msg--user { align-self: flex-end; flex-direction: row-reverse; max-width: 82%; }

@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(8px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-msg-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(212,168,67,.08);
  border: 1px solid rgba(212,168,67,.28);
  flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.chat-msg-avatar img { width: 100%; object-fit: contain; padding: 4px; }

.chat-msg-bubble {
  padding: 10px 14px; font-size: 13.5px; line-height: 1.55;
  color: var(--creme); max-width: 100; word-break: break-word;
}
.chat-msg--aria .chat-msg-bubble {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.07);
  border-left: 2px solid rgba(212,168,67,.4);
  border-radius: 4px 14px 14px 14px;
}
.chat-msg--user .chat-msg-bubble {
  background: linear-gradient(135deg, rgba(212,168,67,.22) 0%, rgba(212,168,67,.12) 100%);
  border: 1px solid rgba(212,168,67,.28);
  border-radius: 14px 4px 14px 14px;
}

/* ── Indicateur de frappe ── */
.chat-typing {
  display: flex; align-items: center; gap: 5px;
  padding: 11px 14px;
}
.chat-typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(212,168,67,.5);
  animation: chatDot 1.4s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .22s; }
.chat-typing span:nth-child(3) { animation-delay: .44s; }
@keyframes chatDot {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30%            { transform: translateY(-5px); opacity: 1; }
}

/* ── Zone de saisie ── */
.chat-input-row {
  display: flex; align-items: flex-end; gap: 10px;
  padding: 12px 14px 13px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.25);
  flex-shrink: 0;
}
.chat-input {
  flex: 1;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  padding: 10px 16px;
  color: var(--creme); font-size: 13.5px; font-family: var(--f-corps);
  resize: none; outline: none; line-height: 1.45;
  max-height: 90px; overflow-y: auto;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.chat-input:focus {
  border-color: rgba(212,168,67,.5);
  background: rgba(255,255,255,.09);
  box-shadow: 0 0 0 3px rgba(212,168,67,.1);
}
.chat-input::placeholder { color: rgba(245,240,232,.3); font-style: italic; }

.chat-send-btn {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(145deg, var(--or-clair), var(--or-fonce));
  color: var(--noir); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 14px rgba(212,168,67,.4);
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .2s;
}
.chat-send-btn:hover:not(:disabled) {
  transform: scale(1.12);
  box-shadow: 0 5px 20px rgba(212,168,67,.6);
}
.chat-send-btn:active:not(:disabled) { transform: scale(.96); }
.chat-send-btn:disabled {
  background: rgba(212,168,67,.2); color: rgba(212,168,67,.4);
  cursor: default; box-shadow: none;
}

.chat-footer-note {
  text-align: center; font-size: 10px;
  color: rgba(138,138,138,.35); letter-spacing: .03em;
  padding: 0 12px 10px;
}

/* ── Mobile ── */
@media (max-width: 540px) {
  .chat-widget { bottom: 1rem; right: 1rem; }
  .chat-trigger { width: 56px; height: 56px; }
  .chat-popup.is-open {
    position: fixed;
    bottom: 5.5rem; right: 1rem; left: 1rem;
    width: auto; border-radius: 18px;
    max-height: calc(100svh - 7rem);
  }
  .chat-messages {
    max-height: calc(100svh - 20rem);
    min-height: 140px;
  }
  .chat-head-name { font-size: 14px; }
  .chat-head-status { font-size: 10px; }
}

/* ============ SEO PREMIUM v2 — Résultats · Confiance · Zones ============ */
/* Grille 4 colonnes */
.card-grid.cols-4 { grid-template-columns: repeat(4,1fr); }

/* Résultats chiffrés sur les cas réalisations */
.case-results {
  display: flex; flex-wrap: wrap; gap: 1.8rem;
  margin: 1.8rem 0 1.4rem; padding: 1.3rem 0;
  border-top: 1px solid rgba(212,168,67,.18);
  border-bottom: 1px solid rgba(212,168,67,.18);
}
.result-item { display: flex; flex-direction: column; gap: .25rem; }
.result-num {
  font-family: var(--f-accent); font-style: italic;
  font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--or); line-height: 1;
}
.result-lbl {
  font-family: var(--f-titre); font-size: .72rem; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase; color: var(--gris-clair);
}

/* Cartes confiance (EEAT) */
.trust-grid { margin-top: 1rem; }
.trust-card {
  background: var(--noir-2); border: 1px solid rgba(212,168,67,.14);
  border-radius: var(--radius); padding: 2rem 1.6rem;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.trust-card:hover { border-color: rgba(212,168,67,.4); transform: translateY(-4px); }
.trust-num {
  font-family: var(--f-accent); font-style: italic; font-size: 2.6rem;
  color: var(--or); line-height: 1; margin-bottom: 1rem;
}
.trust-card h3 {
  font-family: var(--f-titre); font-size: 1.02rem; font-weight: 600;
  color: var(--creme); margin-bottom: .6rem; letter-spacing: .01em;
}
.trust-card p { font-size: .9rem; color: var(--gris-clair); line-height: 1.6; }

/* Tags zones géographiques */
.zone-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.light-section .zone-tags .tag { border-color: rgba(13,13,13,.14); color: var(--anthracite); }

@media (max-width: 980px) { .card-grid.cols-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) {
  .card-grid.cols-4 { grid-template-columns: 1fr; }
  .case-results { gap: 1.2rem; }
}

/* ============ Pages services SEO — FAQ & liens connexes ============ */
.faq-list { max-width: 820px; margin: 2.5rem auto 0; display: flex; flex-direction: column; gap: .9rem; }
.faq-item { border: 1px solid rgba(212,168,67,.16); border-radius: var(--radius); background: var(--noir-2); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.35rem 1.6rem;
  font-family: var(--f-titre); font-weight: 600; font-size: 1rem; color: var(--creme);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  transition: color .3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: var(--f-accent); font-size: 1.6rem; color: var(--or); line-height: 1; transition: transform .3s var(--ease); }
.faq-item[open] summary { color: var(--or); }
.faq-item[open] summary::after { content: '–'; }
.faq-item summary:hover { color: var(--or); }
.faq-body { padding: 0 1.6rem 1.5rem; }
.faq-body p { color: var(--gris-clair); font-size: .95rem; line-height: 1.7; margin: 0; }

.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; margin-top: 2.5rem; }
.related-link {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.5rem 1.7rem; background: #fff; border: 1px solid rgba(13,13,13,.08);
  border-radius: var(--radius); font-family: var(--f-titre); font-weight: 600;
  font-size: .98rem; color: var(--noir); transition: all .3s var(--ease);
}
.related-link span { color: var(--or); transition: transform .3s var(--ease); }
.related-link:hover { border-color: var(--or); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(13,13,13,.08); }
.related-link:hover span { transform: translateX(4px); }
@media (max-width: 880px) { .related-grid { grid-template-columns: 1fr; } }

/* Titres de cartes expertises cliquables */
.feature-card h3 a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
.feature-card h3 a:hover { color: var(--or); }

/* ============ Blog listing ============ */
.blog-intro { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.blog-intro .eyebrow { margin-bottom: 0; }
.blog-count { font-family: var(--f-titre); font-size: .75rem; letter-spacing: .08em; color: var(--gris); }
.blog-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; margin-top: 2rem; }
.blog-card { display: flex; flex-direction: column; background: var(--noir-2); border: 1px solid rgba(212,168,67,.14); border-radius: var(--radius); overflow: hidden; transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); position: relative; }
.blog-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background: linear-gradient(90deg, var(--or-fonce), var(--or-clair)); opacity:0; transition: opacity .35s var(--ease); border-radius: var(--radius) var(--radius) 0 0; z-index:1; }
.blog-card:hover { border-color: rgba(212,168,67,.4); transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.blog-card:hover::before { opacity: 1; }
.blog-card-inner { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.blog-card-body { padding: 2rem; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.blog-card-cat { font-family: var(--f-titre); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--or); }
.blog-card-date { font-family: var(--f-titre); font-size: .68rem; color: var(--gris); }
.blog-card h3 { font-family: var(--f-titre); font-weight: 600; font-size: 1.2rem; line-height: 1.32; margin-bottom: .85rem; color: var(--creme); transition: color .3s var(--ease); }
.blog-card:hover h3 { color: var(--or); }
.blog-card p { font-size: .92rem; color: var(--gris-clair); line-height: 1.62; flex: 1; }
.blog-card-footer { margin-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; padding-top: 1.2rem; border-top: 1px solid rgba(245,240,232,.07); }
.blog-card-link { font-family: var(--f-titre); font-weight: 600; font-size: .82rem; color: var(--or); display: flex; align-items: center; gap: .4rem; transition: gap .3s var(--ease); }
.blog-card:hover .blog-card-link { gap: .7rem; }
.blog-card-read { font-family: var(--f-titre); font-size: .72rem; color: var(--gris); }

/* Article long-form */
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-meta { display: flex; gap: .9rem; align-items: center; flex-wrap: wrap; font-family: var(--f-titre); font-size: .78rem; color: var(--gris); margin-bottom: 2.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid rgba(13,13,13,.1); }
.article-meta .cat { color: var(--or); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.article-meta .sep { color: rgba(13,13,13,.25); }
.article-meta .date { color: var(--anthracite); }
.article-meta .read-time { color: var(--gris); }
.article-body { font-size: 1.06rem; line-height: 1.88; color: #262626; }
.light-section .article-body { color: #262626; }
.article-body h2 { font-family: var(--f-titre); font-weight: 700; font-size: 1.65rem; color: var(--noir); margin: 3rem 0 1.1rem; line-height: 1.22; padding-left: 1.1rem; border-left: 3px solid var(--or); }
.article-body h3 { font-family: var(--f-titre); font-weight: 600; font-size: 1.2rem; color: var(--noir); margin: 2rem 0 .75rem; }
.article-body p { margin-bottom: 1.35rem; }
.article-body ul { margin: 0 0 1.5rem 1.4rem; }
.article-body li { margin-bottom: .7rem; padding-left: .3rem; line-height: 1.6; }
.article-body a { color: var(--or-fonce); text-decoration: underline; text-underline-offset: 3px; transition: color .25s; }
.article-body a:hover { color: var(--or); }
.article-body strong { color: var(--noir); font-weight: 600; }
.article-body blockquote { border-left: 3px solid var(--or); padding: .8rem 0 .8rem 1.6rem; margin: 2.2rem 0; font-family: var(--f-accent); font-style: italic; font-size: 1.28rem; color: var(--anthracite); background: rgba(212,168,67,.04); border-radius: 0 var(--radius) var(--radius) 0; }
.article-cta { margin-top: 3.5rem; padding: 2.2rem; background: var(--noir); border-radius: var(--radius); text-align: center; border: 1px solid rgba(212,168,67,.18); }
.article-cta p { color: var(--creme); font-size: 1.05rem; margin-bottom: 1.3rem; font-family: var(--f-titre); font-weight: 500; }

/* Articles similaires */
.lire-aussi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; margin-top: 2.2rem; }
.lire-aussi-card { display: block; text-decoration: none; padding: 1.4rem 1.6rem; background: var(--noir-2); border: 1px solid rgba(212,168,67,.12); border-radius: var(--radius); transition: all .3s var(--ease); }
.lire-aussi-card:hover { border-color: rgba(212,168,67,.38); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.28); }
.lire-aussi-cat { font-family: var(--f-titre); font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--or); display: block; margin-bottom: .6rem; }
.lire-aussi-title { font-family: var(--f-titre); font-size: .95rem; font-weight: 600; color: var(--creme); line-height: 1.35; transition: color .3s var(--ease); }
.lire-aussi-card:hover .lire-aussi-title { color: var(--or); }
.lire-aussi-arrow { display: block; margin-top: .9rem; font-family: var(--f-titre); font-size: .78rem; color: var(--or); transition: transform .3s var(--ease); }
.lire-aussi-card:hover .lire-aussi-arrow { transform: translateX(4px); }

@media (max-width: 880px) { .blog-grid { grid-template-columns: 1fr; } .lire-aussi-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .blog-card-body { padding: 1.5rem; } }

/* ============ Sound widget ============ */
.sound-widget {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: .55rem;
  opacity: 0;
  transform: translateY(6px);
  animation: soundFadeIn .8s var(--ease) 1.5s forwards;
}
@keyframes soundFadeIn { to { opacity: 1; transform: translateY(0); } }
.sound-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(212,168,67,.35);
  background: rgba(13,13,13,.82);
  backdrop-filter: blur(10px);
  color: var(--gris-clair);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .25s var(--ease);
  flex-shrink: 0;
}
.sound-btn:hover { border-color: var(--or); color: var(--or); transform: scale(1.08); }
.sound-btn.is-playing { border-color: rgba(212,168,67,.6); color: var(--or); }
.sound-btn.sound-invite { border-color: rgba(212,168,67,.5); color: var(--or-clair); animation: soundPulse 2s ease-in-out 2s 3; }
@keyframes soundPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(212,168,67,0); }
  50%      { box-shadow: 0 0 0 7px rgba(212,168,67,.14); }
}
.sound-label {
  font-family: var(--f-titre);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gris);
  transition: color .3s;
  white-space: nowrap;
  pointer-events: none;
}
.sound-widget:hover .sound-label { color: var(--gris-clair); }
@media (max-width: 480px) { .sound-widget { bottom: 1.2rem; left: 1.2rem; } .sound-label { display: none; } }
