/* =========================================================================
   Thème « Crayon » — carnet de bord dessiné : fond papier beige, illustrations
   au trait noir (palmier, vagues en lignes, feuillages), quelques éléments en
   couleur (photo, coffre, navire, sceau), grand titre serif élégant, petits
   textes espacés, cadres et boutons « tracés à la main ».
   Illustrations maison : /assets/img/crayon/*.svg
   ========================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Josefin+Sans:wght@400;600;700&family=Caveat:wght@600;700&display=swap');

body.theme-crayon{
  --k-ink:#1f1d1a; --k-ink-soft:#4a453d; --k-faint:#857d70;
  --k-paper:#ece5d5; --k-paper-2:#f3eee2; --k-card:#f8f4ea; --k-shade:#e2dac7;
  --k-red:#a8322b; --k-gold:#c9962e; --k-brown:#7a4a24;
  --k-serif:"Playfair Display",Georgia,serif;
  --k-sans:"Josefin Sans",system-ui,sans-serif;
  --k-body:"EB Garamond",Georgia,serif;
  /* cadre « tracé à la main » */
  --k-sketch:255px 15px 225px 15px/15px 225px 15px 255px;
  --k-sketch-2:15px 255px 15px 225px/225px 15px 255px 15px;

  --cx-parch:var(--k-paper-2); --cx-parch-hi:var(--k-card);
  --cx-ink:var(--k-ink); --cx-ink-soft:var(--k-ink-soft); --cx-faint:var(--k-faint);
  --cx-red:var(--k-ink); --cx-red2:var(--k-ink-soft); --cx-redbr:var(--k-red);
  --cx-gold:var(--k-gold); --cx-gold-d:var(--k-ink);
  --cx-line:rgba(31,29,26,.55);
  --cx-shadow:4px 5px 0 rgba(31,29,26,.10);
  --cx-lift:6px 8px 0 rgba(31,29,26,.12);

  background:var(--k-paper) !important;
  color:var(--k-ink) !important;
}
body.theme-crayon::after{display:none !important}
body.theme-crayon ::selection{background:rgba(201,150,46,.3)}

/* ---------- Typographie ---------- */
body.theme-crayon h1, body.theme-crayon h2, body.theme-crayon .section-title h1, body.theme-crayon .section-title h2{
  font-family:var(--k-serif) !important; font-weight:600 !important; color:var(--k-ink) !important; text-transform:uppercase !important;
  letter-spacing:.02em !important; text-shadow:none !important; line-height:1.05 !important}
body.theme-crayon h3, body.theme-crayon h4{font-family:var(--k-serif) !important;font-weight:600 !important;color:var(--k-ink) !important;text-transform:none !important}
body.theme-crayon h5, body.theme-crayon h6{font-family:var(--k-sans) !important;font-weight:700 !important;color:var(--k-ink) !important}
body.theme-crayon .section-bg-title{display:none !important}
/* petits libellés espacés */
body.theme-crayon :is(.cx-shead .eye, .cx-subhead, .section-title h3, .cx-eyebrow){
  display:inline-block;font-family:var(--k-sans) !important;font-weight:700 !important;font-size:.74rem !important;letter-spacing:.22em !important;
  text-transform:uppercase !important;color:var(--k-ink-soft) !important;background:none !important;padding:0 !important}
body.theme-crayon :is(.cx-shead .eye, .cx-subhead)::before, body.theme-crayon :is(.cx-shead .eye, .cx-subhead)::after{
  content:"" !important;display:inline-block !important;width:28px !important;height:1.5px !important;margin:0 12px !important;vertical-align:middle !important;background:var(--k-ink) !important}
body.theme-crayon .cx-partners .cx-subhead{display:table !important;margin-left:auto !important;margin-right:auto !important}
/* titre de section + trait de crayon dessous */
body.theme-crayon .cx-shead h2{font-size:clamp(1.9rem,3.6vw,2.8rem) !important;margin-top:8px !important}
body.theme-crayon .cx-shead h2::after{content:"";display:block;width:190px;height:20px;margin:8px auto 0;background:url('/assets/img/crayon/underline.svg') no-repeat center/contain}

/* ---------- En-tête : papier, fin trait ---------- */
body.theme-crayon .main-header .header-sticky{background:var(--k-paper) !important;border-bottom:1.5px solid var(--k-ink) !important;box-shadow:none !important}
body.theme-crayon .navbar-nav .nav-link{font-family:var(--k-sans) !important;font-weight:600 !important;font-size:.9rem !important;letter-spacing:.04em;color:var(--k-ink) !important}
body.theme-crayon .navbar-nav .nav-link:hover, body.theme-crayon .navbar-nav .nav-link.show{color:var(--k-red) !important}
body.theme-crayon .dropdown-menu{background:var(--k-card) !important;border:2px solid var(--k-ink) !important;border-radius:var(--k-sketch-2) !important;box-shadow:4px 5px 0 rgba(31,29,26,.12) !important}
body.theme-crayon .dropdown-item{font-family:var(--k-sans) !important;font-weight:600;font-size:.9rem !important;color:var(--k-ink) !important}
body.theme-crayon .dropdown-item:hover{background:var(--k-shade) !important;color:var(--k-red) !important}

/* ---------- Boutons tracés à la main ---------- */
body.theme-crayon .btn-default{
  font-family:var(--k-sans) !important;font-weight:700 !important;font-size:.82rem !important;letter-spacing:.16em !important;text-transform:uppercase !important;
  background:transparent !important;color:var(--k-ink) !important;border:2px solid var(--k-ink) !important;border-radius:var(--k-sketch) !important;
  box-shadow:3px 4px 0 rgba(31,29,26,.18) !important;padding:13px 26px 11px !important;transition:transform .15s ease, box-shadow .15s ease !important}
body.theme-crayon .btn-default:hover{transform:translate(-1px,-1px);box-shadow:5px 6px 0 rgba(31,29,26,.22) !important;color:var(--k-ink) !important}
body.theme-crayon .btn-default.btn-highlighted, body.theme-crayon .header-btn .btn-default{background:var(--k-ink) !important;color:var(--k-paper-2) !important}
body.theme-crayon .btn-default.btn-highlighted:hover, body.theme-crayon .header-btn .btn-default:hover{color:#fff !important}
body.theme-crayon .header-btn .btn-default{padding:10px 18px 8px !important}
/* petits traits d'emphase autour du bouton principal du hero */
body.theme-crayon .cx-hero .btn-highlighted::before{display:block !important;content:"";position:absolute;left:-26px;top:-16px;width:28px;height:24px;
  background:url('/assets/img/crayon/spark.svg') no-repeat center/contain}
body.theme-crayon .cx-hero .cx-cta a{position:relative}
body.theme-crayon :is(.btn-primary,.btn-danger,.btn-secondary,.btn-outline-secondary,.btn-light,.btn-outline-dark){font-family:var(--k-sans) !important;border:2px solid var(--k-ink) !important;border-radius:var(--k-sketch) !important}
body.theme-crayon :is(.btn-primary,.btn-danger){background:var(--k-ink) !important;color:var(--k-paper-2) !important}
body.theme-crayon :is(.btn-secondary,.btn-outline-secondary,.btn-light,.btn-outline-dark){background:transparent !important;color:var(--k-ink) !important}

/* ---------- Accueil : grande planche dessinée ---------- */
body.theme-crayon .cx-hero{
  margin:112px 22px 0;padding:70px 0 90px !important;border:3px solid var(--k-ink);border-radius:30px;overflow:hidden;
  background:
    url('/assets/img/crayon/foliage.svg') no-repeat left -40px bottom -26px/340px auto,
    url('/assets/img/crayon/foliage.svg') no-repeat right -50px bottom -34px/300px auto,
    url('/assets/img/crayon/palm.svg') no-repeat left -12px bottom -8px/auto 106%,
    url('/assets/img/crayon/ship-color.svg') no-repeat right 9% top 64px/128px auto,
    url('/assets/img/crayon/gulls-line.svg') no-repeat right 24% top 46px/92px auto,
    url('/assets/img/crayon/waves-lines.svg') no-repeat left 0 top 40%/100% 150px,
    var(--k-paper-2) !important}
@media (min-width:901px){
  body.theme-crayon .cx-hero .cx-grid{grid-template-columns:.95fr 1.05fr !important;gap:56px !important}
  body.theme-crayon .cx-hero .cx-photo{order:-1;justify-self:end;margin-right:10px}
}
body.theme-crayon .cx-hero .cx-text{padding-left:10px}
body.theme-crayon .cx-hero h1{font-size:clamp(2.6rem,5vw,4.3rem) !important;line-height:1 !important;margin-top:14px !important;font-weight:500 !important}
body.theme-crayon .cx-hero .cx-sub{font-family:var(--k-sans) !important;font-weight:600 !important;font-size:.86rem !important;letter-spacing:.18em !important;
  text-transform:uppercase;color:var(--k-ink-soft) !important;margin-top:16px;max-width:36ch;line-height:1.7}
body.theme-crayon .cx-hero .cx-cta{margin-top:34px;gap:16px}
/* photo : polaroïd au trait, double contour crayonné */
body.theme-crayon .cx-poster{background:var(--k-card) !important;padding:12px 12px 16px !important;border:2.5px solid var(--k-ink) !important;border-radius:var(--k-sketch-2) !important;
  transform:rotate(-2deg) !important;box-shadow:6px 7px 0 rgba(31,29,26,.14) !important;max-width:350px}
body.theme-crayon .cx-poster::after{display:block !important;content:"";position:absolute;inset:-7px;border:1.5px solid var(--k-ink);border-radius:var(--k-sketch);transform:rotate(1.4deg);pointer-events:none}
body.theme-crayon .cx-tape{display:none !important}
body.theme-crayon .cx-poster-frame{border:2px solid var(--k-ink) !important;box-shadow:none !important}
/* coffre en couleur au pied de la photo */
body.theme-crayon .cx-hero .cx-photo::before{content:"";position:absolute;left:-58px;bottom:-34px;width:124px;height:102px;z-index:6;pointer-events:none;
  background:url('/assets/img/crayon/chest.svg') no-repeat center/contain}

/* ---------- Partenaires & mécènes : fanions au trait ---------- */
body.theme-crayon .cx-partners{background:transparent !important;padding:76px 0 70px !important;--cx-rope:#1f1d1a;--cx-rope-hi:#8b8375;--cx-cream:var(--k-card)}
body.theme-crayon .cx-rope .rope-base{stroke-width:2.5 !important}
body.theme-crayon .cx-rope .rope-hi{display:none}
body.theme-crayon .cx-flag .cx-hoist{background:var(--k-card) !important;border:2px solid var(--k-ink);box-shadow:none !important}
body.theme-crayon .cx-flag .cx-hoist::before{display:none}
body.theme-crayon .cx-flag:nth-child(odd){--val:#1f1d1a}
body.theme-crayon .cx-flag:nth-child(even){--val:#8a6a44}
body.theme-crayon .cx-valance{border-bottom:none !important;box-shadow:none !important}
body.theme-crayon .cx-banner{filter:drop-shadow(1.5px 0 0 #1f1d1a) drop-shadow(-1.5px 0 0 #1f1d1a) drop-shadow(0 1.5px 0 #1f1d1a) drop-shadow(0 -1.5px 0 #1f1d1a) drop-shadow(3px 4px 0 rgba(31,29,26,.12)) !important}

/* ---------- Actualités : fiches de carnet ---------- */
body.theme-crayon .cmb-articles-section{padding:70px 0 76px !important}
body.theme-crayon .cx-actu{background:var(--k-card) !important;border:2px solid var(--k-ink);border-radius:var(--k-sketch-2);padding:12px 12px 18px !important;box-shadow:5px 6px 0 rgba(31,29,26,.12) !important}
body.theme-crayon .cx-actu .np{display:none !important}
body.theme-crayon .cx-actu-media{border:2px solid var(--k-ink);border-radius:6px 14px 8px 12px}
body.theme-crayon .cx-actu-tag{font-family:var(--k-sans) !important;font-weight:700;font-size:.7rem !important;letter-spacing:.2em !important;color:var(--k-red) !important}
body.theme-crayon .cx-actu-title{font-family:var(--k-serif) !important;font-weight:600 !important;font-size:1.25rem !important}
body.theme-crayon .cx-actu-date{font-family:var(--k-sans) !important;font-size:.72rem !important;letter-spacing:.14em;color:var(--k-faint) !important}

/* ---------- « L'équipage vous attend » : page de carte ---------- */
body.theme-crayon .cx-board{
  background:url('/assets/img/crayon/compass-sketch.svg') no-repeat right -90px center/520px,
             url('/assets/img/crayon/waves-lines.svg') no-repeat left 0 bottom 30px/100% 120px,
             var(--k-shade) !important;
  border-top:1.5px solid var(--k-ink) !important;border-bottom:1.5px solid var(--k-ink) !important;box-shadow:none !important;padding:80px 0 !important}
body.theme-crayon .cx-board .cx-shead .eye{color:var(--k-ink-soft) !important}
body.theme-crayon .cx-board .cx-shead h2{color:var(--k-ink) !important}
body.theme-crayon .cx-note{background:var(--k-card) !important;border:2px solid var(--k-ink);border-radius:var(--k-sketch);box-shadow:5px 6px 0 rgba(31,29,26,.12) !important}
body.theme-crayon .cx-note .np{background:var(--k-card) !important;border:2px solid var(--k-ink);box-shadow:none !important}
body.theme-crayon .cx-note h3{font-size:1.45rem !important}
body.theme-crayon .cx-note .ic{color:var(--k-ink) !important}
body.theme-crayon .cx-note .go{font-family:var(--k-sans) !important;font-weight:700;font-size:.74rem;letter-spacing:.18em;text-transform:uppercase;color:var(--k-red) !important}

/* ---------- « Ce que nous proposons » ---------- */
body.theme-crayon .what-do-list-item .icon-box{background:var(--k-card) !important;border:2px solid var(--k-ink) !important}
body.theme-crayon .what-do-list-item .icon-box img{filter:brightness(0) !important}

/* ---------- Contact : seconde planche ---------- */
body.theme-crayon .cta-box.dark-section{background:transparent !important;padding:30px 0 110px !important}
body.theme-crayon .cta-box .container{padding:50px 46px;border:3px solid var(--k-ink);border-radius:30px;max-width:1180px;
  background:url('/assets/img/crayon/foliage.svg') no-repeat right -40px bottom -30px/260px auto, var(--k-paper-2)}
body.theme-crayon .cta-box-image figure{border:2.5px solid var(--k-ink);border-radius:var(--k-sketch-2);overflow:hidden;box-shadow:6px 7px 0 rgba(31,29,26,.14)}

/* ---------- Pied de page : encre ---------- */
body.theme-crayon .main-footer::before{content:"";position:absolute;left:0;right:0;top:-96px;height:90px;z-index:3;pointer-events:none;
  background:url('/assets/img/crayon/waves-lines.svg') no-repeat center/100% 90px;opacity:.7}
body.theme-crayon .main-footer .dark-section, body.theme-crayon .main-footer .footer-box{background:#23211d !important;box-shadow:none !important;color:#e9e2d2 !important}
body.theme-crayon .main-footer h3{font-family:var(--k-sans) !important;font-weight:700 !important;font-size:.78rem !important;letter-spacing:.22em;text-transform:uppercase;color:#d9cfb8 !important}
body.theme-crayon .main-footer p, body.theme-crayon .main-footer a, body.theme-crayon .main-footer li{color:#e9e2d2 !important}
body.theme-crayon .main-footer a:hover{color:#fff !important}
body.theme-crayon .footer-social-links ul li a{background:transparent !important;border:1.5px solid #e9e2d2 !important}

/* ---------- Sous-pages ---------- */
body.theme-crayon .page-header{padding:150px 0 30px !important;overflow:hidden}
body.theme-crayon .page-header .page-header-box h1, body.theme-crayon .page-header h1, body.theme-crayon .page-header h1 span{
  font-family:var(--k-serif) !important;color:var(--k-ink) !important;text-transform:uppercase !important;font-weight:500 !important}
body.theme-crayon .page-header .page-header-box::after{content:"";display:block;width:220px;height:22px;margin:10px auto 0;background:url('/assets/img/crayon/underline.svg') no-repeat center/contain}

/* ---------- Menu mobile ---------- */
@media (max-width:991px){
  body.theme-crayon .slicknav_nav{background:var(--k-paper-2) !important;border-top:1.5px solid var(--k-ink) !important;border-bottom:1.5px solid var(--k-ink) !important}
  body.theme-crayon .slicknav_nav li a, body.theme-crayon .slicknav_nav .slicknav_row{font-family:var(--k-sans) !important;font-weight:600 !important;font-size:1rem !important;
    color:var(--k-ink) !important;border-bottom-color:rgba(31,29,26,.15) !important}
  body.theme-crayon .slicknav_nav ul ul li a{color:var(--k-ink-soft) !important}
  body.theme-crayon .slicknav_btn{background:var(--k-ink) !important;border:none !important;box-shadow:none !important}
  body.theme-crayon .cx-hero{margin:104px 10px 0;border-radius:22px;padding:44px 0 70px !important;
    background:
      url('/assets/img/crayon/foliage.svg') no-repeat right -50px bottom -34px/220px auto,
      url('/assets/img/crayon/waves-lines.svg') no-repeat left 0 top 30%/100% 110px,
      var(--k-paper-2) !important}
  body.theme-crayon .cx-hero .cx-photo{order:0}
  body.theme-crayon .cx-hero .cx-photo::before{left:-18px;bottom:-40px;width:96px;height:80px}
  body.theme-crayon .cta-box .container{padding:30px 20px;margin-left:10px;margin-right:10px;width:auto;border-radius:22px}
}

/* ---------- Écran de chargement ---------- */
body.theme-crayon .preloader{background:var(--k-paper) !important}
body.theme-crayon .preloader::after{display:none !important}

/* ---------- Blocs des autres pages ---------- */
body.theme-crayon :is(.cx-slot,.cx-price,.cx-contact,.cmb-article-card,.company-supports-logo,.evolution-highlight){
  background:var(--k-card) !important;border:2px solid var(--k-ink) !important;border-radius:var(--k-sketch-2) !important;box-shadow:4px 5px 0 rgba(31,29,26,.10) !important}
body.theme-crayon .card{background:var(--k-card) !important;border:2px solid var(--k-ink) !important}
body.theme-crayon .form-control, body.theme-crayon .form-select{background:#fffdf7 !important;border:1.5px solid var(--k-ink) !important;border-radius:8px !important}
body.theme-crayon .form-label{font-family:var(--k-sans) !important;font-weight:600}
body.theme-crayon .table>thead th{font-family:var(--k-sans) !important;font-size:.72rem;letter-spacing:.16em;color:var(--k-ink) !important}

/* =========================================================================
   Effets dessinés : grain de papier, traits tremblés (filtre #k-rough défini
   dans le layout), lavis d'aquarelle, pieuvre, annotations à la main.
   ========================================================================= */
body.theme-crayon{--k-hand:"Caveat","Josefin Sans",cursive;
  background:url('/assets/img/crayon/paper-grain.svg') repeat, var(--k-paper) !important}

/* Cadres tracés à la main : le vrai bord est remplacé par un trait tremblé */
body.theme-crayon :is(.cx-actu,.cx-note){border-color:transparent !important}
body.theme-crayon :is(.cx-actu,.cx-note)::after{content:"";position:absolute;inset:0;border:2px solid var(--k-ink);border-radius:inherit;
  filter:url(#k-rough);pointer-events:none}
body.theme-crayon .cx-poster::after{filter:url(#k-rough)}
body.theme-crayon .btn-default{position:relative}
body.theme-crayon .btn-default::after{display:block !important;content:"";position:absolute;inset:-5px -3px -3px -5px;border:1.4px solid var(--k-ink);
  border-radius:var(--k-sketch-2);filter:url(#k-rough);pointer-events:none;opacity:.8}
body.theme-crayon .btn-default.btn-highlighted::after, body.theme-crayon .header-btn .btn-default::after{opacity:.6}

/* Planche du hero : double cadre crayonné + aquarelle + pieuvre */
body.theme-crayon .cx-hero{border-color:transparent !important;
  background:
    url('/assets/img/crayon/octopus.svg') no-repeat right 3% bottom 10px/178px auto,
    url('/assets/img/crayon/foliage.svg') no-repeat left -40px bottom -26px/340px auto,
    url('/assets/img/crayon/foliage.svg') no-repeat right 15% bottom -40px/230px auto,
    url('/assets/img/crayon/palm.svg') no-repeat left -12px bottom -8px/auto 106%,
    url('/assets/img/crayon/wash-sand.svg') no-repeat left -60px bottom -40px/520px auto,
    url('/assets/img/crayon/ship-color.svg') no-repeat right 9% top 64px/128px auto,
    url('/assets/img/crayon/gulls-line.svg') no-repeat right 24% top 46px/92px auto,
    url('/assets/img/crayon/waves-lines.svg') no-repeat left 0 top 40%/100% 150px,
    url('/assets/img/crayon/wash-blue.svg') no-repeat right -40px top 31%/70% 230px,
    url('/assets/img/crayon/paper-grain.svg') repeat,
    var(--k-paper-2) !important}
body.theme-crayon .cx-hero::after{content:"";position:absolute;inset:5px;border:3px solid var(--k-ink);border-radius:26px;filter:url(#k-rough);pointer-events:none;z-index:5}
body.theme-crayon .cx-hero::before{content:"";position:absolute;inset:13px;border:1.2px solid var(--k-ink);border-radius:20px;opacity:.45;filter:url(#k-rough);pointer-events:none;z-index:5}

/* Annotation manuscrite qui montre le bouton principal */
body.theme-crayon .cx-hero .cx-cta{position:relative}
body.theme-crayon .cx-hero .cx-cta::after{content:"À vos raquettes !";position:absolute;left:120px;top:64px;padding:28px 0 0 96px;white-space:nowrap;
  font-family:var(--k-hand);font-weight:700;font-size:1.65rem;color:var(--k-ink);transform:rotate(-4deg);pointer-events:none;
  background:url('/assets/img/crayon/arrow-up.svg') no-repeat left top/92px auto}
body.theme-crayon .cx-hero .cx-cta{margin-bottom:70px}

/* Chemin de trésor en pointillés entre le hero et les partenaires */
body.theme-crayon .cx-partners{padding-top:120px !important}
body.theme-crayon .cx-partners::before{content:"";position:absolute;top:8px;left:50%;width:56px;height:98px;margin-left:-28px;pointer-events:none;
  background:url('/assets/img/crayon/path-dash.svg') no-repeat center/contain}

/* Page de carte : îlot dessiné */
body.theme-crayon .cx-board{
  background:url('/assets/img/crayon/island-line.svg') no-repeat left 3% bottom 26px/220px auto,
             url('/assets/img/crayon/compass-sketch.svg') no-repeat right -90px center/520px,
             url('/assets/img/crayon/waves-lines.svg') no-repeat left 0 bottom 30px/100% 120px,
             url('/assets/img/crayon/paper-grain.svg') repeat,
             var(--k-shade) !important}

/* Contact : planche au cadre tremblé */
body.theme-crayon .cta-box .container{border-color:transparent !important;
  background:url('/assets/img/crayon/foliage.svg') no-repeat right -40px bottom -30px/260px auto, url('/assets/img/crayon/paper-grain.svg') repeat, var(--k-paper-2) !important}
body.theme-crayon .cta-box .container::after{content:"";position:absolute;inset:4px;border:3px solid var(--k-ink);border-radius:26px;filter:url(#k-rough);pointer-events:none}

/* Pied de page : petit décor au trait crème */
body.theme-crayon .main-footer .footer-box{background:url('/assets/img/crayon/footer-art.svg') no-repeat right 3% bottom 64px/440px auto, #23211d !important}

/* Sous-pages : navire et lignes de mer derrière le titre */
body.theme-crayon .page-header{background:
  url('/assets/img/crayon/ship-color.svg') no-repeat right 9% top 118px/108px auto,
  url('/assets/img/crayon/gulls-line.svg') no-repeat right 21% top 108px/80px auto,
  url('/assets/img/crayon/wash-blue.svg') no-repeat center top 150px/80% 160px,
  url('/assets/img/crayon/waves-lines.svg') no-repeat left 0 top 168px/100% 110px !important}

@media (max-width:991px){
  body.theme-crayon .cx-hero{background:
      url('/assets/img/crayon/octopus.svg') no-repeat right 4% bottom 8px/120px auto,
      url('/assets/img/crayon/foliage.svg') no-repeat left -50px bottom -34px/200px auto,
      url('/assets/img/crayon/waves-lines.svg') no-repeat left 0 top 30%/100% 110px,
      url('/assets/img/crayon/wash-blue.svg') no-repeat center top 8%/120% 150px,
      url('/assets/img/crayon/paper-grain.svg') repeat, var(--k-paper-2) !important;padding-bottom:150px !important}
  body.theme-crayon .cx-hero .cx-cta::after{left:40px;top:116px;font-size:1.4rem}
  body.theme-crayon .cx-hero .cx-cta{margin-bottom:84px}
  body.theme-crayon .cx-hero::after, body.theme-crayon .cx-hero::before, body.theme-crayon .cta-box .container::after{border-radius:18px}
  body.theme-crayon .page-header{background:url('/assets/img/crayon/waves-lines.svg') no-repeat left 0 top 160px/100% 90px !important}
  body.theme-crayon .main-footer .footer-box{background:#23211d !important}
}

/* =========================================================================
   Autres pages : en-têtes de section, cartes au cadre dessiné (SVG en fond,
   trait d'épaisseur constante), photos cernées, profil, récap, palmarès…
   ========================================================================= */
body.theme-crayon{--k-frame:url('/assets/img/crayon/frame-sketch.svg') no-repeat center/100% 100%}

/* En-têtes de section des sous-pages */
body.theme-crayon .sec-h{text-align:center}
body.theme-crayon .sec-h .eye{font-family:var(--k-sans) !important;font-weight:700 !important;font-size:.74rem !important;letter-spacing:.22em !important;
  text-transform:uppercase !important;color:var(--k-ink-soft) !important}
body.theme-crayon .sec-h .eye::before, body.theme-crayon .sec-h .eye::after{content:"";display:inline-block;width:28px;height:1.5px;margin:0 12px;vertical-align:middle;background:var(--k-ink)}
body.theme-crayon .sec-h h2{font-family:var(--k-serif) !important;font-weight:600 !important;color:var(--k-ink) !important;text-transform:uppercase !important;
  font-size:clamp(1.7rem,3.2vw,2.5rem) !important}
body.theme-crayon .sec-h h2::after{content:"";display:block;width:170px;height:18px;margin:6px auto 0;background:url('/assets/img/crayon/underline.svg') no-repeat center/contain}
body.theme-crayon .cx-lead{text-align:center;font-family:var(--k-hand) !important;font-size:1.45rem !important;font-style:normal !important;color:var(--k-ink-soft) !important}
body.theme-crayon :is(.cx-group-title,.palmares-section-title){font-family:var(--k-serif) !important;color:var(--k-ink) !important;text-transform:uppercase;letter-spacing:.04em}

/* Cartes : papier + cadre tracé à la main */
body.theme-crayon :is(.cx-slot,.cx-price,.cx-contact,.cx-member,.cx-doc,.article-card,.related-card,.award-card,.kpi-card,.section-card,
  .award-rank-card,.pal-row,.list-group-item,.evolution-highlight,.leader-row,.trophy-card,.player-chip){
  background:var(--k-frame), var(--k-card) !important;border:none !important;border-radius:3px !important;box-shadow:4px 5px 0 rgba(31,29,26,.10) !important}
body.theme-crayon .club-page .cx-note, body.theme-crayon .cx-sec .cx-note{background:var(--k-frame), var(--k-card) !important}
body.theme-crayon .cx-member{padding:12px 12px 16px !important}
body.theme-crayon :is(.cx-member img,.cx-photo-s img,.article-card-thumb img,.related-thumb img,.article-cover img){border:2px solid var(--k-ink);border-radius:2px}
body.theme-crayon .cx-member .nm{font-family:var(--k-hand) !important;font-size:1.6rem !important;color:var(--k-ink) !important;line-height:1.1}
body.theme-crayon .cx-member .role{font-family:var(--k-sans);font-size:.72rem !important;letter-spacing:.16em;text-transform:uppercase}
body.theme-crayon .cx-photo-s .fr{background:var(--k-frame), var(--k-card) !important;box-shadow:5px 6px 0 rgba(31,29,26,.12) !important}
body.theme-crayon .cx-doc .ic, body.theme-crayon .cx-slot .ic{background:var(--k-card) !important;border:2px solid var(--k-ink) !important}
body.theme-crayon :is(.cx-doc .ic img,.cx-slot .ic img){filter:brightness(0) !important}
body.theme-crayon .cx-price .amt{font-family:var(--k-serif) !important;color:var(--k-ink) !important}
body.theme-crayon :is(.cx-slot .day,.cx-doc .t .nm,.article-card h3,.article-card h4,.award-winner-name,.pal-player){font-family:var(--k-serif) !important;color:var(--k-ink) !important}
body.theme-crayon :is(.cx-doc .t .go,.article-card-date,.article-card-source,.award-winner-label,.kpi-label,.pal-label){font-family:var(--k-sans) !important;letter-spacing:.14em;text-transform:uppercase;font-size:.7rem !important;color:var(--k-ink-soft) !important}

/* Profil joueur : bandeau papier au lieu du bloc sombre */
body.theme-crayon .player-hero{background:var(--k-frame), var(--k-paper-2) !important;color:var(--k-ink) !important;box-shadow:5px 6px 0 rgba(31,29,26,.12) !important;border-radius:3px !important}
body.theme-crayon .player-hero h2{color:var(--k-ink) !important;font-family:var(--k-serif) !important;text-transform:uppercase}
body.theme-crayon .player-avatar{background:var(--k-card) !important;color:var(--k-ink) !important;border:2px solid var(--k-ink);box-shadow:3px 4px 0 rgba(31,29,26,.15) !important}
body.theme-crayon .player-tag{background:transparent !important;color:var(--k-ink) !important;border:1.5px solid var(--k-ink)}
body.theme-crayon .player-hero .hero-action{background:transparent !important;color:var(--k-ink) !important;border:1.5px solid var(--k-ink) !important;font-family:var(--k-sans);letter-spacing:.1em;text-transform:uppercase;font-size:.72rem}

/* Récap / classement */
body.theme-crayon .rope-divider{background:url('/assets/img/crayon/waves-lines.svg') no-repeat center/100% 100% !important;height:46px !important;box-shadow:none !important;opacity:1 !important}
body.theme-crayon .trophies-title{font-family:var(--k-sans) !important;letter-spacing:.22em !important;color:var(--k-ink-soft) !important;font-size:.74rem !important}
body.theme-crayon .trophies-title::before, body.theme-crayon .trophies-title::after{background:var(--k-ink) !important;height:1.5px !important}
body.theme-crayon :is(.trophy-head,.trophy-name){font-family:var(--k-serif) !important;color:var(--k-ink) !important}
body.theme-crayon .trophy-deed{font-family:var(--k-hand) !important;font-size:1.25rem !important;font-style:normal !important}
body.theme-crayon .trophy-card::after{display:none !important}
body.theme-crayon .trophy-pin{background:var(--k-card) !important;border:2px solid var(--k-ink);box-shadow:none !important}
body.theme-crayon .trophy-portrait{background:var(--k-paper-2) !important;border:2px solid var(--k-ink) !important;box-shadow:none !important}
body.theme-crayon .leader-row h5{font-family:var(--k-serif) !important}
body.theme-crayon .lb-container::before{opacity:.12 !important}
body.theme-crayon .season-pills .nav-link, body.theme-crayon .season-pills a{font-family:var(--k-sans) !important;border:1.5px solid var(--k-ink) !important;border-radius:var(--k-sketch) !important;color:var(--k-ink) !important;background:transparent !important}
body.theme-crayon .season-pills .active, body.theme-crayon .season-pills .nav-link.active{background:var(--k-ink) !important;color:var(--k-paper-2) !important}

/* Article */
body.theme-crayon .article-content{font-family:var(--k-body);font-size:1.12rem;line-height:1.75}
body.theme-crayon .article-content :is(h2,h3){text-transform:none !important}
body.theme-crayon .articles-toolbar .btn{font-family:var(--k-sans) !important;font-weight:700;letter-spacing:.14em;text-transform:uppercase;font-size:.78rem;
  background:var(--k-ink) !important;color:var(--k-paper-2) !important;border:2px solid var(--k-ink) !important;border-radius:var(--k-sketch) !important}
/* Titres de page : taille mesurée partout */
body.theme-crayon .page-header .page-header-box h1, body.theme-crayon .page-header h1{font-size:clamp(2.1rem,4.4vw,3.2rem) !important}
body.theme-crayon .cal-nav{background:var(--k-frame), var(--k-card) !important;border:none !important;border-radius:3px !important;box-shadow:4px 5px 0 rgba(31,29,26,.10) !important}
body.theme-crayon .cal-nav button{font-family:var(--k-sans) !important;font-weight:700;letter-spacing:.12em;text-transform:uppercase;font-size:.74rem;
  background:transparent !important;color:var(--k-ink) !important;border:2px solid var(--k-ink) !important;border-radius:var(--k-sketch) !important}
body.theme-crayon .cal-nav button:hover{background:var(--k-ink) !important;color:var(--k-paper-2) !important}

/* Outil de répartition : palette alignée sur le carnet (encre / brun / papier) */
body.theme-crayon{--rp-red:#1f1d1a;--rp-red2:#000000;--rp-gold:#8a6a44;--rp-gold-d:#6b4f2e;--rp-ink:#1f1d1a;
  --rp-line:rgba(31,29,26,.28);--rp-surf:#f8f4ea;--rp-soft:#f3eee2}
