/* ==========================================================================
   WeSay WeDo Premium — Design system (assets/css/main.css)
   Charte : bleu nuit #0B0A1E · marine #1B1849 · menthe #3EE6C4 · ivoire #F7F5EF
   Typographies : Fraunces (titres) · Manrope (texte) · IBM Plex Mono (libellés)
   ========================================================================== */
:root{
  --wswd-nuit:#0B0A1E; --wswd-marine:#1B1849; --wswd-royal:#29247E;
  --wswd-menthe:#3EE6C4; --wswd-menthe-fonce:#0E9F87;
  --wswd-ivoire:#F7F5EF; --wswd-or:#C9A96A;
  --wswd-encre:#171433; --wswd-gris:#5B5878; --wswd-ligne:#E4E1D5;
  --wswd-serif:'Fraunces',Georgia,serif;
  --wswd-sans:'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;
  --wswd-mono:'IBM Plex Mono',ui-monospace,monospace;
  --wswd-largeur:1240px; --wswd-rayon:18px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--wswd-sans);font-size:17px;line-height:1.65;color:var(--wswd-encre);background:#fff;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--wswd-menthe-fonce)}
.wswd-wrap{width:min(var(--wswd-largeur),100% - 3rem);margin-inline:auto}
.wswd-skip{position:absolute;left:-9999px;top:0;background:var(--wswd-menthe);color:var(--wswd-nuit);padding:.6rem 1rem;z-index:200}
.wswd-skip:focus{left:0}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ── Libellés & titres ─────────────────────────── */
.wswd-kicker{font-family:var(--wswd-mono);font-size:.72rem;letter-spacing:.28em;text-transform:uppercase;color:var(--wswd-menthe-fonce);margin:0 0 1rem;display:flex;align-items:center;gap:.8rem}
.wswd-kicker::before{content:"";width:2.4rem;height:1px;background:var(--wswd-or)}
.wswd-kicker-clair{color:var(--wswd-menthe)}
.wswd-h2{font-family:var(--wswd-serif);font-weight:500;font-size:clamp(1.9rem,3.6vw,2.9rem);line-height:1.12;letter-spacing:-.01em;margin:0 0 1.2rem;color:var(--wswd-marine)}
.wswd-lead-texte{font-size:1.08rem;color:var(--wswd-gris);max-width:44rem}
.wswd-titre-section{margin-bottom:2.2rem}
.wswd-titre-section.est-sombre .wswd-h2{color:#fff}
.wswd-titre-section.est-sombre .wswd-lead-texte{color:#B9B6D6}
.wswd-titre-section.est-centre{text-align:center}
.wswd-titre-section.est-centre .wswd-kicker{justify-content:center}
.wswd-titre-section.est-centre .wswd-lead-texte{margin-inline:auto}

/* ── Boutons ───────────────────────────────────── */
.wswd-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.85rem 1.7rem;border-radius:999px;font-weight:700;font-size:.95rem;text-decoration:none;border:1px solid transparent;transition:transform .18s ease,background .18s ease,color .18s ease;cursor:pointer}
.wswd-btn:hover{transform:translateY(-2px)}
.wswd-btn-menthe{background:var(--wswd-menthe);color:var(--wswd-nuit)}
.wswd-btn-menthe:hover{background:#fff;color:var(--wswd-nuit)}
.wswd-btn-nuit{background:var(--wswd-marine);color:#fff}
.wswd-btn-nuit:hover{background:var(--wswd-royal);color:#fff}
.wswd-btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.45)}
.wswd-btn-ghost:hover{border-color:var(--wswd-menthe);color:var(--wswd-menthe)}

/* ── Barre supérieure & en-tête ────────────────── */
.wswd-topbar{background:var(--wswd-nuit);color:#C7C4E2;font-size:.78rem;border-bottom:1px solid rgba(255,255,255,.08)}
.wswd-topbar-in{display:flex;justify-content:space-between;gap:1rem;padding:.5rem 0;flex-wrap:wrap}
.wswd-topbar a{color:#fff;text-decoration:none;margin-left:1.2rem}
.wswd-topbar a:hover{color:var(--wswd-menthe)}
.wswd-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-bottom:1px solid var(--wswd-ligne);transition:box-shadow .2s}
.wswd-header.est-colle{box-shadow:0 10px 30px rgba(11,10,30,.10)}
.wswd-header-in{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:.9rem 0}
.wswd-branding .custom-logo{max-height:52px;width:auto}
.wswd-logo-txt{font-family:var(--wswd-serif);font-size:1.55rem;font-weight:600;color:var(--wswd-marine);text-decoration:none;letter-spacing:-.02em}
.wswd-logo-txt span{color:var(--wswd-menthe-fonce)}
.wswd-logo-txt em{font-style:normal;color:var(--wswd-or)}
.wswd-logo-clair{color:#fff}.wswd-logo-clair span{color:var(--wswd-menthe)}
.wswd-nav{display:flex;align-items:center;gap:2rem}
.wswd-menu{display:flex;gap:1.9rem;list-style:none;margin:0;padding:0}
.wswd-menu a{color:var(--wswd-encre);text-decoration:none;font-weight:600;font-size:.95rem;padding:.4rem 0;position:relative}
.wswd-menu a::after{content:"";position:absolute;left:0;bottom:0;width:0;height:2px;background:var(--wswd-menthe);transition:width .22s}
.wswd-menu a:hover::after,.wswd-menu .current-menu-item>a::after{width:100%}
.wswd-menu .current-menu-item>a{color:var(--wswd-menthe-fonce)}
.wswd-nav .wswd-btn:hover{background:var(--wswd-marine);color:#fff}
.wswd-burger{display:none;background:none;border:0;cursor:pointer;padding:.5rem;flex-direction:column;gap:5px}
.wswd-burger span{display:block;width:26px;height:2px;background:var(--wswd-marine);transition:.2s}
@media(max-width:940px){
  .wswd-topbar-left span:last-child{display:none}
  .wswd-burger{display:flex}
  .wswd-nav{position:absolute;inset:100% 0 auto 0;background:#fff;border-bottom:1px solid var(--wswd-ligne);flex-direction:column;align-items:stretch;padding:1.2rem 1.5rem 1.6rem;gap:1rem;display:none;box-shadow:0 24px 40px rgba(11,10,30,.12)}
  .wswd-nav.est-ouvert{display:flex}
  .wswd-menu{flex-direction:column;gap:.6rem}
}

/* ── Héros ─────────────────────────────────────── */
.wswd-hero{background:var(--wswd-nuit);color:#fff;position:relative;overflow:hidden}
.wswd-hero::before{content:"";position:absolute;inset:0;background-image:var(--wswd-hero-img);background-size:cover;background-position:center right;opacity:.32}
.wswd-hero::after{content:"";position:absolute;inset:0;background:var(--wswd-nuit);opacity:.45}
.wswd-hero-in{position:relative;z-index:2;padding:5.5rem 0 4.5rem;max-width:52rem}
.wswd-hero-widget .wswd-hero-in{width:min(var(--wswd-largeur),100% - 3rem);margin-inline:auto}
.wswd-hero-title{font-family:var(--wswd-serif);font-weight:500;font-size:clamp(2.6rem,6vw,4.6rem);line-height:1.04;margin:0 0 1.4rem;letter-spacing:-.015em}
.wswd-hero-title span{color:var(--wswd-menthe)}
.wswd-hero-lead{font-size:1.12rem;color:#C9C6E4;max-width:38rem;margin:0 0 2.2rem}
.wswd-hero-actions{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:3rem}

/* Motif « spectre radio » */
.wswd-spectrum{display:flex;align-items:flex-end;gap:5px;height:120px}
.wswd-spectrum span{flex:1;background:rgba(62,230,196,.5);border-radius:3px 3px 0 0;animation:wswd-ondulation 3.2s ease-in-out infinite alternate;transform-origin:bottom}
.wswd-spectrum span:nth-child(3n){background:var(--wswd-menthe);animation-delay:.4s}
.wswd-spectrum span:nth-child(5n){background:rgba(201,169,106,.75);animation-delay:.9s}
.wswd-spectrum.est-marine span{background:rgba(27,24,73,.35)}
.wswd-spectrum.est-marine span:nth-child(3n){background:var(--wswd-menthe-fonce)}
@keyframes wswd-ondulation{from{transform:scaleY(.82)}to{transform:scaleY(1)}}
@media(prefers-reduced-motion:reduce){.wswd-spectrum span{animation:none}}

/* ── Sections ──────────────────────────────────── */
.wswd-section{padding:4.8rem 0}
.wswd-section-nuit{background:var(--wswd-nuit);color:#fff}
.wswd-section-ivoire{background:var(--wswd-ivoire)}
.wswd-page-head{background:var(--wswd-ivoire);border-bottom:1px solid var(--wswd-ligne);padding:3.6rem 0 2.8rem}
.wswd-page-title{font-family:var(--wswd-serif);font-weight:500;font-size:clamp(2.1rem,4.5vw,3.4rem);line-height:1.08;color:var(--wswd-marine);margin:.4rem 0 0}
.wswd-page-lead{font-size:1.1rem;color:var(--wswd-gris);max-width:46rem;margin-top:1rem}
.wswd-breadcrumbs{font-family:var(--wswd-mono);font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--wswd-gris);margin-bottom:1rem}
.wswd-breadcrumbs a{color:var(--wswd-gris);text-decoration:none}
.wswd-breadcrumbs a:hover{color:var(--wswd-menthe-fonce)}
.wswd-loop{padding:3rem 0 4rem}
.wswd-single{max-width:880px;padding:3rem 0 4rem}
.wswd-single-thumb{margin:0 0 2.2rem;border-radius:var(--wswd-rayon);overflow:hidden}
.wswd-meta{color:var(--wswd-gris);font-size:.9rem}

/* ── Cartes ────────────────────────────────────── */
.wswd-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:1.4rem}
.wswd-cols-2{grid-template-columns:repeat(2,1fr)}.wswd-cols-3{grid-template-columns:repeat(3,1fr)}.wswd-cols-4{grid-template-columns:repeat(4,1fr)}
@media(max-width:900px){.wswd-cols-3,.wswd-cols-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.wswd-cols-2,.wswd-cols-3,.wswd-cols-4{grid-template-columns:1fr}}
.wswd-card{background:#fff;border:1px solid var(--wswd-ligne);border-radius:var(--wswd-rayon);overflow:hidden;display:flex;flex-direction:column;transition:transform .2s ease,box-shadow .2s ease,border-color .2s}
.wswd-card:hover{transform:translateY(-5px);box-shadow:0 22px 44px rgba(11,10,30,.10);border-color:#CFC9B8}
.wswd-card-media img{width:100%;aspect-ratio:16/11;object-fit:cover}
.wswd-card-membre .wswd-card-media img{aspect-ratio:4/5}
.wswd-card-body{padding:1.5rem 1.5rem 1.7rem;display:flex;flex-direction:column;gap:.55rem;flex:1}
.wswd-card-kicker{font-family:var(--wswd-mono);font-size:.68rem;letter-spacing:.24em;text-transform:uppercase;color:var(--wswd-menthe-fonce);margin:0}
.wswd-card-title{font-family:var(--wswd-serif);font-size:1.32rem;font-weight:600;line-height:1.2;margin:0;color:var(--wswd-marine)}
.wswd-card-title a{color:inherit;text-decoration:none}
.wswd-card-title a:hover{color:var(--wswd-menthe-fonce)}
.wswd-card-role{color:var(--wswd-gris);font-size:.92rem;margin:0}
.wswd-card-excerpt{color:var(--wswd-gris);font-size:.95rem;margin:0}
.wswd-card-link{margin-top:auto;font-weight:700;font-size:.92rem;color:var(--wswd-menthe-fonce);text-decoration:none}
.wswd-card-link:hover{text-decoration:underline}
.wswd-card-picto{margin:1.5rem 1.5rem 0;width:74px;height:74px;border-radius:16px;background:var(--wswd-ivoire);display:grid;place-items:center;overflow:hidden}
.wswd-card-picto img{width:100%;height:100%;object-fit:cover}
.wswd-card-expertise{border-top:3px solid var(--wswd-menthe)}

/* ── Chiffres clés ─────────────────────────────── */
.wswd-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem}
@media(max-width:860px){.wswd-stats{grid-template-columns:repeat(2,1fr)}}
.wswd-stat{border-top:1px solid rgba(255,255,255,.18);padding-top:1.4rem}
.wswd-section:not(.wswd-section-nuit) .wswd-stat{border-color:var(--wswd-ligne)}
.wswd-stat-num{font-family:var(--wswd-serif);font-size:3rem;font-weight:500;line-height:1}
.wswd-stat-suf{font-family:var(--wswd-serif);font-size:2rem;color:var(--wswd-menthe)}
.wswd-stat p{color:#B9B6D6;font-size:.95rem;margin:.6rem 0 0}
.wswd-section:not(.wswd-section-nuit) .wswd-stat p{color:var(--wswd-gris)}

/* ── Logos clients ─────────────────────────────── */
.wswd-logos{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:1rem;list-style:none;margin:0;padding:0}
.wswd-logos li{background:#fff;border:1px solid var(--wswd-ligne);border-radius:14px;display:grid;place-items:center;padding:1.1rem;min-height:96px;text-align:center;font-weight:700;color:var(--wswd-gris)}
.wswd-logos img{max-height:52px;width:auto;filter:grayscale(1);opacity:.72;transition:.25s}
.wswd-logos li:hover img{filter:none;opacity:1}
.wswd-marquee{overflow:hidden;-webkit-mask-image:none;mask-image:none}
.wswd-logos-anim{display:flex;gap:1rem;width:max-content;animation:wswd-defilement 46s linear infinite}
.wswd-logos-anim li{min-width:200px}
.wswd-marquee:hover .wswd-logos-anim{animation-play-state:paused}
@keyframes wswd-defilement{to{transform:translateX(-50%)}}

/* ── CTA ───────────────────────────────────────── */
.wswd-cta{background:var(--wswd-marine);color:#fff}
.wswd-cta-in{display:flex;align-items:center;justify-content:space-between;gap:2.5rem;padding:3.4rem 0;flex-wrap:wrap}
.wswd-cta-widget .wswd-cta-in{width:min(var(--wswd-largeur),100% - 3rem);margin-inline:auto}
.wswd-cta h2{font-family:var(--wswd-serif);font-weight:500;font-size:clamp(1.8rem,3.4vw,2.6rem);margin:0 0 .6rem}
.wswd-cta p{color:#C9C6E4;margin:0;max-width:36rem}

/* ── Pied de page ──────────────────────────────── */
.wswd-footer{background:var(--wswd-nuit);color:#C9C6E4}
.wswd-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:2.6rem;padding:4rem 0 3rem}
@media(max-width:940px){.wswd-footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.wswd-footer-grid{grid-template-columns:1fr}}
.wswd-footer-brand p{font-size:.95rem;max-width:22rem}
.wswd-footer-brand .custom-logo{max-height:48px;width:auto;margin-bottom:1rem}
.wswd-footer h3{font-family:var(--wswd-mono);font-size:.72rem;letter-spacing:.26em;text-transform:uppercase;color:var(--wswd-menthe);margin:0 0 1.1rem;font-weight:500}
.wswd-footer-menu{list-style:none;margin:0;padding:0;display:grid;gap:.55rem}
.wswd-footer-menu a{color:#E7E5F4;text-decoration:none;font-size:.95rem}
.wswd-footer-menu a:hover{color:var(--wswd-menthe)}
.wswd-footer address{font-style:normal;font-size:.95rem;line-height:1.9}
.wswd-footer address a{color:#fff;text-decoration:none}
.wswd-socials{display:flex;gap:1rem;list-style:none;padding:0;margin:1.2rem 0 0;flex-wrap:wrap}
.wswd-socials a{color:var(--wswd-menthe);text-decoration:none;font-size:.85rem;font-weight:700}
.wswd-footer-bar{border-top:1px solid rgba(255,255,255,.10)}
.wswd-footer-bar-in{display:flex;justify-content:space-between;gap:1rem;padding:1.2rem 0;font-size:.82rem;flex-wrap:wrap}
.wswd-footer-sig{font-family:var(--wswd-mono);letter-spacing:.12em;text-transform:uppercase;font-size:.7rem;color:#8E8AB8}

/* ── Contenu éditorial ─────────────────────────── */
.wswd-prose{max-width:880px;padding:3rem 0 4rem}
.wswd-prose-first{padding-top:0}
.wswd-prose h2,.wswd-prose h3{font-family:var(--wswd-serif);color:var(--wswd-marine);font-weight:600;line-height:1.2;margin:2.2rem 0 .8rem}
.wswd-prose h2{font-size:1.8rem}.wswd-prose h3{font-size:1.35rem}
.wswd-prose blockquote{border-left:3px solid var(--wswd-menthe);margin:2rem 0;padding:.4rem 0 .4rem 1.4rem;font-family:var(--wswd-serif);font-size:1.25rem;color:var(--wswd-marine)}
.wswd-prose img{border-radius:14px}
.wswd-tags a{display:inline-block;background:var(--wswd-ivoire);border:1px solid var(--wswd-ligne);border-radius:999px;padding:.3rem .9rem;margin:0 .4rem .4rem 0;text-decoration:none;font-size:.82rem;color:var(--wswd-encre)}
.wswd-none,.wswd-404{padding:4.5rem 0;text-align:left}
.wswd-404-code{font-family:var(--wswd-serif);font-size:clamp(5rem,14vw,10rem);line-height:1;color:var(--wswd-menthe);margin:0}
.search-form{display:flex;gap:.6rem;margin:1.6rem 0;max-width:34rem}
.search-form input[type=search]{flex:1;padding:.8rem 1.1rem;border:1px solid var(--wswd-ligne);border-radius:999px;font:inherit}
.search-form input[type=submit]{background:var(--wswd-marine);color:#fff;border:0;border-radius:999px;padding:.8rem 1.5rem;font-weight:700;cursor:pointer}
.navigation.pagination{margin-top:2.6rem}
.navigation.pagination .page-numbers{display:inline-block;padding:.55rem 1rem;border:1px solid var(--wswd-ligne);border-radius:10px;text-decoration:none;color:var(--wswd-encre);margin-right:.4rem}
.navigation.pagination .current{background:var(--wswd-marine);color:#fff;border-color:var(--wswd-marine)}
.post-navigation{display:flex;justify-content:space-between;gap:2rem;border-top:1px solid var(--wswd-ligne);padding-top:1.6rem;margin-top:3rem}
.post-navigation a{text-decoration:none;font-weight:700;color:var(--wswd-marine)}
.wswd-comments{margin-top:3rem;border-top:1px solid var(--wswd-ligne);padding-top:2rem}
.wswd-comment-list{list-style:none;padding:0;display:grid;gap:1rem}
.wswd-comment-list .comment-body{background:var(--wswd-ivoire);border-radius:14px;padding:1.1rem 1.3rem}
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{width:100%;padding:.75rem 1rem;border:1px solid var(--wswd-ligne);border-radius:12px;font:inherit}
.comment-form .submit{background:var(--wswd-menthe);color:var(--wswd-nuit);border:0;border-radius:999px;padding:.8rem 1.6rem;font-weight:800;cursor:pointer}

/* Contact Form 7 (gratuit) aux couleurs du thème */
.wpcf7-form input[type=text],.wpcf7-form input[type=email],.wpcf7-form input[type=tel],.wpcf7-form select,.wpcf7-form textarea{width:100%;padding:.85rem 1.05rem;border:1px solid var(--wswd-ligne);border-radius:12px;font:inherit;background:#fff}
.wpcf7-form input[type=submit]{background:var(--wswd-menthe);color:var(--wswd-nuit);border:0;border-radius:999px;padding:.9rem 1.9rem;font-weight:800;cursor:pointer}
.wpcf7 form.sent .wpcf7-response-output{border-color:var(--wswd-menthe-fonce);border-radius:12px}

/* Révélation au défilement (activée par JS, sans JS tout reste visible) */
.js .wswd-reveal{opacity:0;transform:translateY(22px);transition:opacity .6s ease,transform .6s ease}
.js .wswd-reveal.est-visible{opacity:1;transform:none}
body.wswd-canvas{background:#fff}

/* ── Sélecteur de langue FR/EN (TranslatePress) ── */
.wswd-topbar-right{display:flex;align-items:center}
.wswd-langues{display:inline-flex;align-items:center;gap:.45rem;font-family:var(--wswd-mono);font-size:.72rem;letter-spacing:.14em}
.wswd-topbar .wswd-langues a{margin-left:0}
.wswd-langue{color:#C7C4E2;text-decoration:none;padding:.2rem .35rem;border-radius:6px}
.wswd-langue.est-actuelle,.wswd-langues .est-actuelle{color:var(--wswd-menthe);font-weight:700}
a.wswd-langue:hover{color:#fff}
.wswd-langue-sep{color:rgba(255,255,255,.35)}
/* Sélecteur officiel TranslatePress (shortcode [language-switcher]) habillé à la charte */
.wswd-langues .trp-language-switcher{background:transparent;border:0;height:auto;font-family:inherit;font-size:inherit}
.wswd-langues .trp-language-switcher>div{background:var(--wswd-nuit);border-color:rgba(255,255,255,.18);border-radius:10px}
.wswd-langues .trp-language-switcher>div>a{color:#fff;font-family:var(--wswd-mono);font-size:.72rem;letter-spacing:.1em}
.wswd-langues .trp-language-switcher>div>a:hover{color:var(--wswd-menthe);background:rgba(62,230,196,.08)}
.wswd-langues .trp-ls-shortcode-current-language{color:var(--wswd-menthe)}
/* Widget Elementor « Sélecteur de langue » */
.wswd-langues-widget{display:inline-block}
.wswd-langues-widget.est-pilule{border:1px solid var(--wswd-ligne);border-radius:999px;padding:.45rem .9rem;background:#fff}
.wswd-langues-widget .wswd-langue{color:var(--wswd-gris)}
.wswd-langues-widget a.wswd-langue:hover{color:var(--wswd-marine)}
.wswd-langues-widget .wswd-langue.est-actuelle{color:var(--wswd-menthe-fonce)}
.wswd-langues-widget .wswd-langue-sep{color:var(--wswd-ligne)}
/* Sélecteur flottant de TranslatePress (si activé dans ses réglages) */
#trp-floater-ls{background:var(--wswd-nuit);box-shadow:0 14px 34px rgba(11,10,30,.30);border-radius:14px 14px 0 0}
#trp-floater-ls-current-language a,#trp-floater-ls-language-list a{color:#fff;font-family:var(--wswd-sans);font-size:.85rem}
#trp-floater-ls-language-list a:hover{background:rgba(62,230,196,.10);color:var(--wswd-menthe)}
