/* ==========================================================================
   COCOTTE · magazine du travail indépendant
   DA « maison chaleureuse » : blanc coquille, bleu atelier, jaune cocotte,
   rouge fonte, sauge. Epilogue + Rubik + DM Mono. Angles doux (16 / 10 px).
   Les noms de tokens désignent un RÔLE, pas une teinte.
   ========================================================================== */

body.cocotte {
  --bg: #FBF7F0;        /* fond : blanc coquille */
  --card: #FFFDFA;      /* cartes */
  --deep: #F3EDE2;      /* coquille profonde : encarts, sections alternées */
  --line: #E5DCCC;      /* filets */
  --ink: #243B53;       /* fort : bleu atelier (titres, header sombre, sections fortes) */
  --surface: #2E4A66;   /* surface sur fond fort */
  --foot: #1D3044;      /* footer */
  --body: #3B4654;      /* corps de texte */
  --meta: #8B8579;      /* taupe : métadonnées */
  --meta-d: #6F6A60;    /* taupe lisible en petit corps */
  --accent: #F5B841;    /* ACCENT SIGNATURE : jaune cocotte */
  --accent-h: #E0A52F;
  --accent-t: #8F6410;  /* jaune lisible en texte sur fond clair */
  --alert: #C4543A;     /* rouge fonte : attention, rubrique Finance */
  --alert-d: #A8432C;
  --alert-l: #EE917A;   /* rouge lisible sur fond fort */
  --calm: #8FA68E;      /* sauge : respiration */
  --calm-d: #5A7658;    /* sauge lisible en texte sur fond clair */
  --fd: 'Epilogue', 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fb: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fm: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r: 16px; --r-sm: 12px; --r-btn: 10px;
  --wrap: 1200px;

  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--fb);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ---------- Durcissement (anti-débordement, attribut hidden, GP) ---------- */
html { overflow-x: clip; scroll-behavior: smooth; }
body.cocotte { max-width: 100vw; overflow-x: clip; }
body.cocotte [hidden] { display: none !important; }
body.cocotte *, body.cocotte *::before, body.cocotte *::after { box-sizing: border-box; }
body.cocotte img, body.cocotte svg, body.cocotte video, body.cocotte iframe { max-width: 100%; }
body.cocotte img { height: auto; }
body.cocotte p, body.cocotte li, body.cocotte h1, body.cocotte h2, body.cocotte h3, body.cocotte a, body.cocotte span, body.cocotte td { overflow-wrap: break-word; }
body.cocotte #comments, body.cocotte .comments-area, body.cocotte #respond { display: none !important; }
body.cocotte div[class*="ez-toc-v"], body.cocotte #ez-toc-container { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Titres : reset en sélecteur nu (0,0,1) pour que tout composant le batte. */
h1, h2, h3, h4, h5, h6 { font-family: var(--fd); color: var(--ink); text-transform: none; letter-spacing: -0.02em; margin: 0; font-weight: 600; }
a { color: var(--ink); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--alert); }
/* Resets en sélecteur NU (0,0,1) : tout composant les bat (marges de prose, gras sur fond fort). */
p { margin: 0; }
strong, b { font-weight: 500; color: var(--ink); }
.cc-dark strong, .cc-enc--chiffre strong, .cc-action strong, .cc-cadre__txt strong, .cc-calc__out strong { color: var(--accent); }
body.cocotte #gp-search, body.cocotte .gp-search-modal { display: none !important; }
body.cocotte button, body.cocotte input, body.cocotte select, body.cocotte textarea { font-family: var(--fb); font-size: 16px; }
::selection { background: rgba(245, 184, 65, .45); color: #243B53; }

.cc-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.cc-skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r-btn); font-weight: 500; }
.cc-skip:focus { top: 12px; color: var(--bg); }
body.cocotte :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Mise en page ---------- */
.cc-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.cc-narrow { max-width: 860px; }
.cc-section { padding: 84px 0; position: relative; }
.cc-deep { background: var(--deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cc-dark { background: var(--ink); color: var(--bg); }
.cc-dark h1, .cc-dark h2, .cc-dark h3 { color: var(--bg); }
.cc-mono { font-family: var(--fm); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--meta); line-height: 1.7; }

/* ---------- Accent des titres ----------
   Sur fond clair : surligné jaune cocotte (lisible, signature) ou rouge fonte.
   Sur fond fort : jaune cocotte en texte. */
.cc-em {
  color: inherit;
  background-image: linear-gradient(180deg, transparent 56%, rgba(245, 184, 65, .92) 56%, rgba(245, 184, 65, .92) 90%, transparent 90%);
  padding: 0 .06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.cc-em--red { background: none; color: var(--alert); padding: 0; }
.cc-dark .cc-em, .cc-em--onfort { background: none; color: var(--accent); padding: 0; }
.cc-dark .cc-em--red { color: var(--alert-l); }


.cc-h2 { font-family: var(--fd); font-weight: 600; font-size: clamp(28px, 2.6vw + 8px, 38px); line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 40px; text-wrap: pretty; }
.cc-dark .cc-h2, .cc-h2--light { color: var(--bg); }
.cc-headrow { display: flex; flex-wrap: wrap; gap: 18px; align-items: baseline; justify-content: space-between; margin-bottom: 40px; }
.cc-headrow .cc-h2 { margin: 0; }

/* ---------- Boutons & liens ---------- */
.cc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: var(--r-btn); padding: 13px 22px; font-family: var(--fb); font-weight: 500; font-size: 16px; line-height: 1.2; cursor: pointer; transition: background .18s ease, color .18s ease, transform .18s ease; text-decoration: none; }
.cc-btn--yellow { background: var(--accent); color: var(--ink); }
.cc-btn--yellow:hover { background: var(--accent-h); color: var(--ink); }
.cc-btn--ink { background: var(--ink); color: var(--bg); }
.cc-btn--ink:hover { background: var(--surface); color: var(--bg); }
.cc-btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.cc-btn--ghost:hover { background: var(--ink); color: var(--bg); }
.cc-btn--sm { padding: 9px 16px; font-size: 13px; }
.cc-btn--lg { padding: 14px 24px; font-size: 16px; }
.cc-link { display: inline-block; font-weight: 500; color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.cc-link--sage { color: var(--calm-d); border-color: var(--calm); }
.cc-link--sage:hover { color: var(--ink); border-color: var(--ink); }
.cc-link--mono { font-family: var(--fm); font-size: 12px; font-weight: 400; letter-spacing: .09em; text-transform: uppercase; }
.cc-link--light { color: var(--accent); }
.cc-link--light:hover { color: var(--bg); }
.cc-linkbtn { background: none; border: 0; padding: 0; color: var(--ink); font-weight: 500; border-bottom: 1px solid currentColor; cursor: pointer; }
.cc-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- Badges (angles 10 px) ---------- */
.cc-badge { display: inline-block; border-radius: var(--r-btn); padding: 6px 14px; font-family: var(--fb); font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5; border: 1px solid transparent; white-space: nowrap; }
a.cc-badge:hover { filter: brightness(.96); }
.cc-badge--yellow { background: var(--accent); color: var(--ink); }
.cc-badge--ink { background: var(--ink); color: var(--bg); }
.cc-badge--red { background: var(--alert); color: var(--bg); }
.cc-badge--sage { background: var(--calm); color: var(--ink); }
.cc-badge--outline-ink { border-color: var(--ink); color: var(--ink); }
.cc-badge--outline-yellow { border-color: var(--accent); color: var(--ink); }
a.cc-badge--yellow:hover, a.cc-badge--sage:hover, a.cc-badge--outline-ink:hover, a.cc-badge--outline-yellow:hover { color: var(--ink); }
a.cc-badge--ink:hover, a.cc-badge--red:hover { color: var(--bg); }

/* ---------- Header ---------- */
.cc-header { position: sticky; top: 0; z-index: 60; background: rgba(251, 247, 240, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.admin-bar .cc-header { top: 32px; }
.cc-header.is-scrolled { box-shadow: 0 6px 22px rgba(36, 59, 83, .07); }
.cc-header__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; height: 68px; display: flex; align-items: center; gap: 24px; }
.cc-brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; color: var(--ink); }
.cc-brand:hover { color: var(--ink); }
.cc-brand__mark { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); display: inline-flex; align-items: center; justify-content: center; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.cc-brand__mark--dark { background: var(--surface); }
.cc-brand:hover .cc-brand__mark { transform: rotate(90deg); }
.cc-brand__word { font-family: var(--fd); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; line-height: 1; color: var(--ink); }
.cc-brand__word span { color: var(--accent); }
.cc-brand--light .cc-brand__word { color: var(--bg); }
.cc-nav { display: flex; align-items: center; justify-content: center; gap: 18px; flex: 1 1 auto; min-width: 0; font-family: var(--fb); font-weight: 500; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.cc-nav__link { color: var(--ink); padding: 4px 0; border-bottom: 2px solid transparent; line-height: 1.2; }
.cc-nav__link:hover { color: var(--alert); }
.cc-nav__link.is-current { color: var(--alert); border-bottom-color: var(--alert); }
.cc-nav__sep { width: 1px; height: 16px; background: var(--line); }
.cc-nav__link--page { color: var(--meta-d); }
.cc-nav .cc-nav__cta { display: none; }
.cc-header__tools { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.cc-iconbtn { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .18s ease, background .18s ease; }
.cc-iconbtn:hover, .cc-iconbtn[aria-expanded="true"] { border-color: var(--accent); background: var(--card); }
.cc-burger { display: none; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.cc-burger span { display: block; width: 16px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.cc-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.cc-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.cc-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.cc-search { border-top: 1px solid var(--line); background: var(--bg); }
.cc-search__form { max-width: var(--wrap); margin: 0 auto; padding: 14px 28px; display: flex; gap: 10px; }
.cc-search__form input { flex: 1 1 auto; min-width: 0; border: 1px solid var(--line); background: var(--card); border-radius: var(--r-btn); padding: 11px 14px; color: var(--ink); outline: none; }
.cc-search__form input:focus { border-color: var(--accent); }
.cc-search__form--page { padding: 0; margin-top: 26px; max-width: 560px; }

/* ---------- Motif cocotte ---------- */
.cc-sep { display: flex; align-items: center; justify-content: center; gap: 18px; max-width: var(--wrap); margin: 0 auto; padding: 56px 28px; }
.cc-sep--tight { padding: 56px 28px 0; }
.cc-sep__rule { height: 1px; background: var(--line); flex: 1 1 auto; }
.cc-sep .cc-cocotte { flex: 0 0 auto; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.cc-js .cc-sep.cc-reveal:not(.is-in) .cc-cocotte { transform: rotate(-135deg) scale(.55); }
.cc-hero__water { position: absolute; right: -40px; top: 10px; opacity: .07; pointer-events: none; }
.cc-hero__water .cc-cocotte { animation: ccSpin 90s linear infinite; }
@keyframes ccSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cc-hero__water .cc-cocotte { animation: none; } }

/* ---------- Apparition au scroll (sûre sans JS) ---------- */
.cc-js .cc-reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.cc-js .cc-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .cc-js .cc-reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Cadres d'image (angles doux) ---------- */
.cc-frame { position: relative; overflow: hidden; border-radius: var(--r); background: var(--deep); border: 1px solid var(--line); }
.cc-frame img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; margin: 0 !important; max-width: none !important; }
.cc-frame--hero { aspect-ratio: 9 / 10; }
.cc-frame--portrait { aspect-ratio: 4 / 5; border-color: var(--surface); background: var(--surface); }
.cc-frame--wide { aspect-ratio: 4 / 3; }

/* ---------- Hero ---------- */
.cc-hero { position: relative; overflow: hidden; }
.cc-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.cc-hero__title { font-family: var(--fd); font-weight: 700; font-size: clamp(34px, 4.6vw + 12px, 62px); line-height: 1.04; letter-spacing: -0.025em; color: var(--ink); margin: 0 0 26px; text-wrap: pretty; }
.cc-hero__title--page { font-size: clamp(34px, 3.6vw + 12px, 54px); }
.cc-hero__lede { font-size: 20px; font-weight: 300; line-height: 1.7; color: var(--body); max-width: 600px; margin-bottom: 32px !important; text-wrap: pretty; }
.cc-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 38px; }
.cc-hero__band { border-top: 1px solid var(--line); padding-top: 18px; font-family: var(--fm); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--meta); }
.cc-hero--page .cc-hero__grid { padding-top: 48px; }
.cc-hero--page .cc-crumbs { margin-bottom: 18px; }

/* ---------- Par où commencer : voir fin de fichier ---------- */

/* ---------- Cartes d'article ---------- */
.cc-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.cc-card:hover { transform: translateY(-4px); border-color: var(--cat, var(--accent)); box-shadow: 0 10px 26px rgba(139, 133, 121, .12); }
.cc-card.cc-reveal.is-in:hover { transform: translateY(-4px); }
.cc-card__img { position: relative; overflow: hidden; border-radius: var(--r-sm); background: var(--deep); aspect-ratio: 16 / 10; margin-bottom: 16px; }
.cc-card__img img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.cc-card:hover .cc-card__img img { transform: scale(1.035); }
.cc-card__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1 1 auto; }
.cc-card__body > * { max-width: 100%; }
.cc-card__title { font-family: var(--fd); font-weight: 600; font-size: 21px; line-height: 1.28; letter-spacing: -0.015em; color: var(--ink); margin: 14px 0 10px; text-wrap: pretty; }
.cc-card__title a { color: var(--ink); }
.cc-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.cc-card__title a:hover { color: var(--ink); }
.cc-card__excerpt { font-size: 16px; line-height: 1.65; color: var(--body); margin-bottom: 12px !important; }
.cc-card__meta { margin-top: auto !important; font-family: var(--fm); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--meta); }
.cc-card--feature { padding: 20px; box-shadow: 0 6px 20px rgba(139, 133, 121, .08); }
.cc-card--feature .cc-card__img { aspect-ratio: 16 / 9; margin-bottom: 20px; }
.cc-card--feature .cc-card__title { font-size: clamp(24px, 1.6vw + 8px, 29px); line-height: 1.22; margin: 16px 0 12px; }
.cc-card--feature .cc-card__excerpt { font-size: 17px; margin-bottom: 18px !important; }
.cc-card--row { padding: 20px; }
.cc-card--row .cc-card__title { font-size: 20px; line-height: 1.3; }
.cc-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }


/* ---------- Rubriques ---------- */
.cc-rubgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cc-rub { display: flex; flex-direction: column; align-items: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; color: var(--ink); transition: transform .18s ease, border-color .18s ease; }
.cc-rub:hover { transform: translateY(-4px); border-color: var(--cat, var(--accent)); color: var(--ink); }
.cc-rub.cc-reveal.is-in:hover { transform: translateY(-4px); }
.cc-rub__title { font-family: var(--fd); font-weight: 600; font-size: 23px; letter-spacing: -0.015em; line-height: 1.25; color: var(--ink); margin: 16px 0 10px; }
.cc-rub__desc { font-size: 16.5px; line-height: 1.65; color: var(--body); margin-bottom: 18px; }
.cc-rub__count { margin-top: auto; font-family: var(--fm); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--meta-d); }
.cc-rub:hover .cc-rub__count { color: var(--alert); }


/* ---------- Chiffres ---------- */
.cc-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cc-fig { background: var(--surface); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; }
.cc-fig__v { font-family: var(--fd); font-weight: 700; font-size: clamp(34px, 2.4vw + 12px, 44px); letter-spacing: -0.03em; color: var(--accent); line-height: 1; white-space: nowrap; }
.cc-fig__k { font-family: var(--fm); font-size: 12px; line-height: 1.6; letter-spacing: .08em; text-transform: uppercase; color: var(--bg); margin: 14px 0 10px !important; }
.cc-fig__src { margin-top: auto !important; font-family: var(--fm); font-size: 11px; line-height: 1.6; letter-spacing: .05em; color: var(--calm); }
.cc-figs__note { font-family: var(--fm); font-size: 11px; line-height: 1.9; letter-spacing: .05em; color: #B8B2A6; margin-top: 26px !important; max-width: 780px; }

/* ---------- Fondatrice ---------- */
.cc-fondatrice, .cc-camille { overflow: hidden; }
.cc-fondatrice__glow { position: absolute; left: 8%; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 184, 65, .22) 0%, rgba(245, 184, 65, 0) 70%); pointer-events: none; }
.cc-fondatrice__grid { position: relative; display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 20px; }
.cc-fondatrice__q { font-family: var(--fd); font-weight: 600; font-size: clamp(24px, 1.8vw + 10px, 32px); line-height: 1.25; letter-spacing: -0.02em; color: var(--bg); margin-bottom: 26px !important; text-wrap: pretty; }
.cc-fondatrice__txt > p:not(.cc-fondatrice__q):not(.cc-fondatrice__sig) { font-size: 17.5px; color: var(--bg); opacity: .92; margin-bottom: 18px !important; }
.cc-fondatrice__sig { font-family: var(--fm); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--calm); margin: 8px 0 18px !important; }
.cc-camille .cc-h2 { margin-bottom: 24px; }


/* ---------- Rubrique : en-tête ---------- */
.cc-cathero { background: var(--deep); border-bottom: 1px solid var(--line); padding: 56px 0 52px; }
.cc-cathero .cc-crumbs { margin-bottom: 22px; }
.cc-cathero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 48px; align-items: end; margin-top: 22px; }
.cc-cathero--plain .cc-cathero__grid { grid-template-columns: minmax(0, 1fr); }
.cc-cathero__title { font-family: var(--fd); font-weight: 700; font-size: clamp(34px, 3.6vw + 12px, 56px); line-height: 1.06; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 22px; text-wrap: pretty; max-width: 900px; }
.cc-cathero__lede { font-size: 19.5px; line-height: 1.7; color: var(--body); max-width: 640px; margin-bottom: 20px !important; text-wrap: pretty; }
.cc-reperes { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.cc-reperes__label { font-family: var(--fm); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--meta-d); margin-bottom: 14px !important; }
.cc-reperes__row { display: flex; justify-content: space-between; gap: 12px; font-family: var(--fm); font-size: 12.5px; line-height: 1.5; margin-bottom: 12px !important; }
.cc-reperes__row span { color: var(--meta-d); }
.cc-reperes__row strong { color: var(--ink); font-weight: 500; text-align: right; white-space: nowrap; }
.cc-reperes__src { font-family: var(--fm); font-size: 10px; line-height: 1.8; letter-spacing: .05em; color: var(--meta); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 14px !important; }
.cc-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-chips--links { margin-top: 26px; }
.cc-chip { font-family: var(--fm); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--meta-d); background: transparent; border: 1px solid var(--line); border-radius: var(--r-btn); padding: 7px 14px; cursor: pointer; line-height: 1.4; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.cc-chip:hover { border-color: var(--accent); color: var(--ink); }
.cc-chip.is-on { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.cc-ref { padding: 64px 0 0; }
.cc-refcard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: 0 8px 26px rgba(139, 133, 121, .09); color: var(--ink); transition: transform .18s ease, border-color .18s ease; }
.cc-refcard:hover { transform: translateY(-4px); border-color: var(--cat, var(--accent)); color: var(--ink); }
.cc-refcard.cc-reveal.is-in:hover { transform: translateY(-4px); }
.cc-refcard__img { position: relative; display: block; overflow: hidden; border-radius: var(--r-sm); background: var(--deep); aspect-ratio: 4 / 3; }
.cc-refcard__img img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover !important; }
.cc-refcard__txt { display: flex; flex-direction: column; align-items: flex-start; padding-right: 10px; }
.cc-refcard__title { display: block; font-family: var(--fd); font-weight: 700; font-size: clamp(24px, 1.8vw + 8px, 34px); line-height: 1.14; letter-spacing: -0.022em; color: var(--ink); margin: 18px 0 14px; text-wrap: pretty; }
.cc-refcard__lede { display: block; font-size: 17px; color: var(--body); margin-bottom: 18px; }
.cc-catlist { padding-top: 56px; }
.cc-empty { font-size: 17px; color: var(--body); padding: 26px; border: 1px dashed var(--line); border-radius: var(--r); background: var(--card); }
.cc-pager { margin-top: 36px; }
.cc-pager .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-pager .page-numbers { font-family: var(--fm); font-size: 12px; letter-spacing: .06em; padding: 8px 13px; border-radius: var(--r-btn); border: 1px solid var(--line); color: var(--ink); background: var(--card); }
.cc-pager .page-numbers.current { background: var(--accent); border-color: var(--accent); }
.cc-cadre { padding: 48px 0 0; }
.cc-cadre__box { background: var(--ink); border-radius: var(--r); padding: 34px; color: var(--bg); }
.cc-cadre__label { font-family: var(--fm); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px !important; }
.cc-cadre__txt { font-size: 17.5px; max-width: 820px; margin-bottom: 14px !important; }
.cc-cadre__txt strong { color: var(--accent); }
.cc-cadre__mono { font-family: var(--fm); font-size: 11.5px; line-height: 1.9; letter-spacing: .05em; color: var(--calm); max-width: 820px; }

/* ---------- Fil d'Ariane ---------- */
.cc-crumbs { font-family: var(--fm); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--meta); line-height: 1.7; }
.cc-crumbs a { color: var(--meta); }
.cc-crumbs a:hover { color: var(--alert); }
.cc-crumbs .breadcrumb_last { color: var(--meta-d); }

/* ---------- Article ---------- */
.cc-art__layout { max-width: 1070px; margin: 0 auto; padding: 64px 28px 40px; display: grid; grid-template-columns: 230px minmax(0, 720px); gap: 64px; align-items: start; }
.cc-art__layout--notoc { display: block; }
.cc-art__layout--notoc .cc-art__body { max-width: 720px; margin-left: auto; margin-right: auto; }
.cc-toc { position: sticky; top: 96px; }
.admin-bar .cc-toc { top: 128px; }
.cc-toc__box { background: var(--deep); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.cc-toc__sum { list-style: none; cursor: pointer; font-family: var(--fm); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--meta-d); display: flex; justify-content: space-between; align-items: center; }
.cc-toc__sum::-webkit-details-marker { display: none; }
.cc-toc__sum::after { content: "▾"; font-size: 12px; transition: transform .2s ease; }
.cc-toc__box:not([open]) .cc-toc__sum::after { transform: rotate(-90deg); }
.cc-toc__list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.cc-toc__list a { display: grid; grid-template-columns: 24px 1fr; gap: 8px; font-size: 14.5px; line-height: 1.45; color: var(--ink); border-left: 2px solid var(--line); padding: 6px 0 6px 12px; transition: border-color .18s ease, background .18s ease; }
.cc-toc__n { font-family: var(--fm); font-size: 11px; color: var(--meta); padding-top: 2px; }
.cc-toc__list a:hover { border-left-color: var(--accent); color: var(--ink); }
.cc-toc__list a.is-active { border-left-color: var(--accent); background: linear-gradient(90deg, rgba(245, 184, 65, .14), transparent); font-weight: 400; }
.cc-toc__list a.is-active .cc-toc__n { color: var(--accent-t); }
.cc-art__body { min-width: 0; }

/* ---------- Corps d'article (prose) ---------- */
.cc-prose { font-size: 18px; line-height: 1.75; color: var(--body); }
.cc-prose > p, .cc-prose > ul, .cc-prose > ol { margin: 0 0 20px; }
.cc-prose h2 { font-family: var(--fd); font-weight: 600; font-size: clamp(26px, 1.8vw + 10px, 34px); line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); margin: 44px 0 18px; scroll-margin-top: 96px; text-wrap: pretty; }
.cc-prose > h2:first-child { margin-top: 0; }
.cc-prose h3 { font-family: var(--fd); font-weight: 600; font-size: 22px; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); margin: 30px 0 12px; }
.cc-prose a:not([class]) { color: var(--ink); border-bottom: 1px solid var(--accent); font-weight: 400; }
.cc-prose a:not([class]):hover { color: var(--alert); border-bottom-color: var(--alert); }
.cc-prose ul, .cc-prose ol { padding-left: 22px; }
.cc-prose li { margin-bottom: 10px; }
.cc-prose ul li::marker { color: var(--accent-h); }
.cc-prose ol li::marker { color: var(--meta-d); font-family: var(--fm); font-size: .8em; }
.cc-prose--page h2 { font-size: clamp(22px, 1vw + 14px, 28px); margin-top: 38px; }
.cc-prose--page > p, .cc-prose--page > ul { font-size: 17px; }

/* Encarts (angles doux, filet gauche 4 px) */
.cc-enc { border-radius: var(--r-sm); padding: 24px; margin: 32px 0; }
.cc-enc > p { margin: 0 0 10px; font-size: 17px; }
.cc-enc > p:last-child { margin-bottom: 0; }
.cc-enc__label { font-family: var(--fm); font-size: 11px !important; letter-spacing: .1em; text-transform: uppercase; color: var(--meta-d); margin-bottom: 12px !important; }
.cc-enc--conseil { background: var(--bg); border: 1px solid var(--accent); border-left: 4px solid var(--accent); }
.cc-enc--verifier { background: var(--bg); border: 1px solid var(--alert); border-left: 4px solid var(--alert); }
.cc-enc--verifier .cc-enc__label { color: var(--alert-d); }
.cc-enc--chiffre { background: var(--ink); color: var(--bg); }
.cc-enc--chiffre .cc-enc__label { color: var(--accent); }
.cc-enc--chiffre strong { color: var(--accent); }
.cc-enc--chiffre a:not([class]) { color: var(--accent); }
.cc-enc__src { font-family: var(--fm); font-size: 10.5px !important; letter-spacing: .06em; color: var(--calm) !important; }

/* Cartel de repères chiffrés (DM Mono) */
.cc-cartel { background: var(--deep); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 22px; margin: 32px 0; display: flex; flex-wrap: wrap; gap: 18px 26px; }
.cc-cartel__item { flex: 1 1 140px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cc-cartel__k { font-family: var(--fm); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--meta-d); line-height: 1.5; }
.cc-cartel__v { font-family: var(--fm); font-size: 19px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.cc-cartel__src { flex: 1 1 100%; font-family: var(--fm); font-size: 10.5px !important; line-height: 1.7; letter-spacing: .05em; color: var(--meta); border-top: 1px solid var(--line); padding-top: 12px; margin: 0 !important; }

/* Tableaux comparatifs */
.cc-tblwrap { overflow-x: auto; max-width: 100%; border: 1px solid var(--line); border-radius: var(--r); margin: 28px 0 14px; -webkit-overflow-scrolling: touch; }
.cc-tbl { border-collapse: collapse; width: 100%; min-width: 620px; background: var(--bg); font-size: 15.5px; line-height: 1.6; }
.cc-tbl thead tr { background: var(--deep); }
.cc-tbl th { text-align: left; padding: 16px 18px; font-family: var(--fm); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--meta-d); vertical-align: bottom; }
.cc-tbl td { padding: 15px 18px; border-top: 1px solid var(--line); vertical-align: top; color: var(--body); }
.cc-tbl tbody tr:nth-child(even) { background: var(--deep); }
.cc-tbl .cc-tdk { color: var(--ink); font-weight: 500; }
.cc-up { color: var(--calm-d); font-weight: 400; }
.cc-down { color: var(--alert-d); font-weight: 400; }
.cc-note { font-family: var(--fm); font-size: 10.5px !important; line-height: 1.9; letter-spacing: .05em; color: var(--meta); margin: 0 0 30px !important; }

/* Étapes numérotées (carrés jaunes arrondis) */
.cc-steps { list-style: none; counter-reset: ccstep; padding: 0 !important; margin: 24px 0 30px !important; display: flex; flex-direction: column; gap: 18px; }
.cc-steps > li { counter-increment: ccstep; position: relative; padding-left: 50px; margin: 0; min-height: 32px; }
.cc-steps > li::before { content: counter(ccstep, decimal-leading-zero); position: absolute; left: 0; top: 2px; width: 32px; height: 32px; border-radius: 10px; background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--fm); font-size: 13px; font-weight: 500; }

/* Mini-quiz (details/summary) */
.cc-quizbox { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 22px; margin: 34px 0; }
.cc-quizbox__label { font-family: var(--fm); font-size: 11px !important; letter-spacing: .1em; text-transform: uppercase; color: var(--meta-d); margin-bottom: 12px !important; }
.cc-quiz { border-top: 1px solid var(--line); }
.cc-quiz summary { list-style: none; cursor: pointer; padding: 14px 32px 14px 0; position: relative; font-family: var(--fd); font-weight: 600; font-size: 17px; line-height: 1.4; color: var(--ink); }
.cc-quiz summary::-webkit-details-marker { display: none; }
.cc-quiz summary::after { content: "+"; position: absolute; right: 4px; top: 12px; width: 22px; height: 22px; border-radius: 7px; background: var(--deep); color: var(--ink); font-family: var(--fm); font-size: 15px; line-height: 22px; text-align: center; transition: transform .2s ease, background .2s ease; }
.cc-quiz[open] summary::after { content: "−"; background: var(--accent); }
.cc-quiz > p { font-size: 16.5px; margin: 0 0 16px; padding-left: 14px; border-left: 2px solid var(--accent); }

/* Bloc action de fin */
.cc-action { background: var(--ink); color: var(--bg); border-radius: var(--r-sm); padding: 22px 24px; margin: 26px 0 10px; }
.cc-action__label { font-family: var(--fm); font-size: 11px !important; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px !important; }
.cc-action > p:last-child { margin: 0; font-size: 17px; }
.cc-action strong { color: var(--accent); }

/* Lien partenaire */
.cc-aff { border: 1px dashed var(--meta); border-radius: var(--r-sm); padding: 22px; margin: 32px 0; background: var(--card); }
.cc-aff__label { font-family: var(--fm); font-size: 10.5px !important; letter-spacing: .12em; text-transform: uppercase; color: var(--meta-d); margin-bottom: 10px !important; }
.cc-aff > p { font-size: 16.5px; margin-bottom: 14px; }
.cc-aff__btn { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--ink); border: 1.5px solid var(--ink); border-radius: var(--r-btn); padding: 10px 16px; font-family: var(--fm); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; transition: background .18s ease, color .18s ease; }
.cc-aff__btn:hover { background: var(--ink); color: var(--bg); }

/* Sources, cadre, transparence, bio */
.cc-sources { background: var(--deep); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; margin: 40px 0 24px; scroll-margin-top: 96px; }
.cc-sources__label { font-family: var(--fm); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--meta-d); margin-bottom: 16px !important; }
.cc-sources__list { margin: 0; padding-left: 22px; font-family: var(--fm); font-size: 12.5px; line-height: 1.9; color: var(--ink); }
.cc-sources__list li { margin-bottom: 6px; }
.cc-sources__list li::marker { color: var(--meta); }
.cc-sources__list strong { font-weight: 500; }
.cc-sources__foot { margin-top: 16px !important; font-family: var(--fm); font-size: 10.5px; line-height: 1.9; letter-spacing: .05em; color: var(--meta); }
.cc-disc { background: var(--bg); border: 1px solid var(--alert); border-left: 4px solid var(--alert); border-radius: var(--r-sm); padding: 20px 22px; margin: 0 0 24px; }
.cc-disc__label { font-family: var(--fm); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--alert-d); margin-bottom: 8px !important; }
.cc-disc p:last-child { font-size: 16px; }
.cc-bio { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; margin-bottom: 44px; align-items: start; }
.cc-bio__pic { width: 92px; height: 92px; border-radius: var(--r-sm); overflow: hidden; background: var(--deep); position: relative; }
.cc-bio__pic img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover !important; }
.cc-bio__name { font-family: var(--fm); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--meta-d); margin-bottom: 8px !important; }
.cc-bio__txt p:not(.cc-bio__name) { font-size: 16.5px; margin-bottom: 12px !important; }
.cc-related { padding: 60px 0; }

/* Barre de progression de lecture */
.cc-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; pointer-events: none; }
.cc-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .1s linear; }
.admin-bar .cc-progress { top: 32px; }

/* ---------- Outils interactifs ---------- */
.cc-tool { background: var(--deep); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; margin: 34px 0; }
.cc-tool__label { font-family: var(--fm); font-size: 11px !important; letter-spacing: .1em; text-transform: uppercase; color: var(--meta-d); margin-bottom: 8px !important; }
.cc-tool__title { font-family: var(--fd); font-weight: 600; font-size: 22px !important; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 18px !important; }
.cc-tool__note { font-family: var(--fm); font-size: 10.5px !important; line-height: 1.8; letter-spacing: .05em; color: var(--meta); margin-top: 18px !important; }
.cc-tool__bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-bottom: 20px; }
.cc-tool__bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .35s ease; }
.cc-qstep { border: 0; margin: 0; padding: 0; min-width: 0; }
.cc-qstep__q { font-weight: 500; color: var(--ink); font-size: 17px; margin-bottom: 14px; padding: 0; }
.cc-qstep__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cc-qopt { text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; transition: border-color .18s ease, transform .18s ease, background .18s ease; color: var(--ink); }
.cc-qopt:hover, .cc-qopt:focus-visible { border-color: var(--accent); transform: translateY(-2px); background: var(--card); }
.cc-qopt strong { font-family: var(--fd); font-weight: 600; font-size: 16px; line-height: 1.3; }
.cc-qopt span { font-size: 14px; line-height: 1.45; color: var(--meta-d); font-weight: 300; }
.cc-qback, .cc-qreset { margin-top: 14px; background: none; border: 0; padding: 0; color: var(--calm-d); font-weight: 500; font-size: 15px; cursor: pointer; border-bottom: 1px solid var(--calm); }
.cc-qres { background: var(--bg); border: 1px solid var(--accent); border-left: 4px solid var(--accent); border-radius: var(--r-sm); padding: 22px; }
.cc-qres__k { font-family: var(--fm); font-size: 11px !important; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-t); margin-bottom: 8px !important; }
.cc-qres__t { font-family: var(--fd); font-weight: 700; font-size: 22px !important; line-height: 1.25; color: var(--ink); margin-bottom: 10px !important; outline: none; }
.cc-qres > p { font-size: 16.5px; margin-bottom: 12px; }
.cc-qres__links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.cc-qres__links .cc-link { font-size: 15.5px; }
.cc-calc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.cc-field { display: flex; flex-direction: column; gap: 6px; }
.cc-field span { font-family: var(--fm); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--meta-d); line-height: 1.5; }
.cc-field input, .cc-field select { width: 100%; border: 1px solid var(--line); background: var(--bg); border-radius: var(--r-btn); padding: 11px 13px; color: var(--ink); font-size: 16px; outline: none; color-scheme: light; }
.cc-field input:focus, .cc-field select:focus { border-color: var(--accent); }
.cc-check { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: 15.5px; color: var(--ink); cursor: pointer; }
.cc-check input { width: 18px; height: 18px; accent-color: #E0A52F; }
.cc-calc__out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; margin-top: 20px; }
.cc-calc__out > div { background: var(--ink); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.cc-calc__k { font-family: var(--fm); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--calm); }
.cc-calc__v { font-family: var(--fm); font-size: 21px; font-weight: 500; color: var(--accent); line-height: 1.2; white-space: nowrap; }
.cc-calc__warn { margin-top: 14px !important; font-size: 15.5px; color: var(--alert-d); border-left: 3px solid var(--alert); padding-left: 12px; }
.cc-calc__msgs { list-style: none; padding: 0 !important; margin: 16px 0 0 !important; display: flex; flex-direction: column; gap: 8px; }
.cc-calc__msgs li { font-size: 15.5px; line-height: 1.55; padding-left: 14px; border-left: 3px solid var(--calm); margin: 0; }
.cc-calc__msgs li.is-warn { border-left-color: var(--alert); }

/* ---------- Pages ---------- */
.cc-page { padding-top: 56px; }
.cc-page__title { font-family: var(--fd); font-weight: 700; font-size: clamp(32px, 2.6vw + 14px, 50px); line-height: 1.1; letter-spacing: -0.025em; color: var(--ink); margin: 18px 0 12px; text-wrap: pretty; }
.cc-page__lede { font-size: 19px; line-height: 1.7; margin: 10px 0 0 !important; }
.cc-page .cc-mono { margin-bottom: 30px !important; }
.cc-prose--page h2[id] { scroll-margin-top: 96px; }
.cc-404 { text-align: left; }
.cc-404__mark { margin-bottom: 18px; opacity: .9; }
.cc-facts { list-style: none; margin: 22px 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--surface); border-radius: var(--r-sm); overflow: hidden; }
.cc-facts li { background: var(--ink); padding: 14px; display: flex; flex-direction: column; gap: 4px; margin: 0; }
.cc-facts span { font-family: var(--fm); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--calm); }
.cc-facts strong { font-family: var(--fm); font-size: 16px; font-weight: 500; color: var(--accent); }
.cc-camille .cc-fondatrice__txt > p:not(.cc-fondatrice__sig) { font-size: 17.5px; color: var(--bg); opacity: .94; margin-bottom: 16px !important; }
.cc-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; position: relative; }
.cc-timeline li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px 24px; margin: 0; }
.cc-timeline li::before { content: ""; position: absolute; top: -6px; left: 24px; width: 12px; height: 12px; border-radius: 4px; background: var(--accent); }
.cc-timeline__k { display: block; font-family: var(--fm); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--meta-d); margin-bottom: 8px; }
.cc-timeline strong { display: block; font-family: var(--fd); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--ink); margin-bottom: 8px; }
.cc-timeline p { font-size: 16px; line-height: 1.65; }
.cc-conv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cc-conv__item { background: var(--deep); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.cc-conv__n { display: inline-flex; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--ink); align-items: center; justify-content: center; font-family: var(--fm); font-size: 13px; font-weight: 500; margin-bottom: 16px; }
.cc-conv__item strong { display: block; font-family: var(--fd); font-weight: 600; font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.cc-conv__item p { font-size: 15.5px; line-height: 1.65; }
.cc-methode .cc-prose { margin-top: -10px; }

/* Contact + CF7 (label jamais enfant direct : wpautop) */
.cc-contact__form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; }
.cc-contact .wpcf7 p { margin: 0 0 16px; }
.cc-contact .wpcf7 label { display: block; font-family: var(--fm); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--meta-d); margin-bottom: 6px; }
.cc-contact .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.cc-contact .wpcf7 input[type="text"], .cc-contact .wpcf7 input[type="email"], .cc-contact .wpcf7 select, .cc-contact .wpcf7 textarea { width: 100%; border: 1px solid var(--line); background: var(--bg); border-radius: var(--r-btn); padding: 12px 14px; color: var(--ink); font-size: 16px; font-family: var(--fb); text-transform: none; letter-spacing: normal; outline: none; color-scheme: light; }
.cc-contact .wpcf7 textarea { min-height: 170px; resize: vertical; }
.cc-contact .wpcf7 input:focus, .cc-contact .wpcf7 select:focus, .cc-contact .wpcf7 textarea:focus { border-color: var(--accent); }
.cc-contact .wpcf7-acceptance label { text-transform: none; letter-spacing: normal; font-family: var(--fb); font-size: 14.5px; color: var(--body); display: flex; gap: 10px; align-items: flex-start; }
.cc-contact .wpcf7-acceptance input { margin-top: 5px; accent-color: #E0A52F; }
.cc-contact .wpcf7-list-item { margin: 0; }
.cc-contact .wpcf7 input[type="submit"] { background: var(--accent); color: var(--ink); border: 0; border-radius: var(--r-btn); padding: 14px 24px; font-family: var(--fb); font-weight: 500; font-size: 16px; cursor: pointer; transition: background .18s ease; }
.cc-contact .wpcf7 input[type="submit"]:hover { background: var(--accent-h); }
.cc-contact .wpcf7-not-valid-tip { font-family: var(--fm); font-size: 11px; color: var(--alert-d); margin-top: 6px; text-transform: none; letter-spacing: .02em; }
.cc-contact .wpcf7 form .wpcf7-response-output { margin: 16px 0 0; border-radius: var(--r-btn); padding: 12px 14px; font-size: 15px; border-color: var(--calm); }
.cc-contact .wpcf7 form.invalid .wpcf7-response-output, .cc-contact .wpcf7 form.failed .wpcf7-response-output { border-color: var(--alert); }

/* ---------- Footer ---------- */
.cc-footer { background: var(--foot); color: var(--bg); position: relative; overflow: hidden; }
.cc-footer__water { position: absolute; right: 4%; bottom: -60px; opacity: .06; pointer-events: none; }
.cc-footer__inner { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 70px 28px 30px; display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.cc-footer__brand .cc-brand { margin-bottom: 18px; }
.cc-footer__tag { font-size: 16.5px; line-height: 1.7; color: var(--bg); opacity: .88; max-width: 360px; margin-bottom: 18px !important; }
.cc-footer__h { font-family: var(--fm); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px !important; }
.cc-footer__col { display: flex; flex-direction: column; gap: 10px; }
.cc-footer__col a { font-size: 15.5px; line-height: 1.5; color: var(--bg); opacity: .88; }
.cc-footer__col a:hover { opacity: 1; color: var(--accent); }
.cc-footer__bar { position: relative; border-top: 1px solid var(--surface); }
.cc-footer__barin { max-width: var(--wrap); margin: 0 auto; padding: 20px 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-family: var(--fm); font-size: 11px; line-height: 1.7; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.cc-footer__barin span + span { color: #9FB0BF; }

/* ---------- Bandeau cookies Complianz aux couleurs de la maison ---------- */
body.cocotte .cmplz-cookiebanner {
  --cmplz_banner_background_color: #FBF7F0;
  --cmplz_banner_border_color: #E5DCCC;
  --cmplz_banner_border_width: 1px;
  --cmplz_banner_border_radius: 16px;
  --cmplz_text_color: #3B4654;
  --cmplz_hyperlink_color: #243B53;
  --cmplz_button_accept_background_color: #F5B841;
  --cmplz_button_accept_border_color: #F5B841;
  --cmplz_button_accept_text_color: #243B53;
  --cmplz_button_deny_background_color: #FFFDFA;
  --cmplz_button_deny_border_color: #243B53;
  --cmplz_button_deny_text_color: #243B53;
  --cmplz_button_settings_background_color: #FFFDFA;
  --cmplz_button_settings_border_color: #E5DCCC;
  --cmplz_button_settings_text_color: #243B53;
  --cmplz_button_border_radius: 10px;
  --cmplz_slider_active_color: #8FA68E;
  font-family: 'Rubik', system-ui, sans-serif;
  box-shadow: 0 16px 40px rgba(36, 59, 83, .14);
}
body.cocotte .cmplz-cookiebanner .cmplz-title, body.cocotte .cmplz-cookiebanner .cmplz-btn { font-family: 'Epilogue', 'Rubik', sans-serif; }
body.cocotte .cmplz-cookiebanner .cmplz-message { font-weight: 300; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1260px) {
  .cc-nav { gap: 13px; }
}
@media (max-width: 1140px) {
  .cc-nav { gap: 14px; }
  .cc-nav__link--page { display: none; }
  .cc-nav__sep { display: none; }
}
@media (max-width: 1024px) {
  .cc-header__inner { gap: 14px; }
  .cc-burger { display: inline-flex; }
  .cc-header__nl { display: none; }
  .cc-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 28px 20px; box-shadow: 0 14px 30px rgba(36, 59, 83, .08); font-size: 12px; }
  .cc-nav.is-open { display: flex; }
  .cc-nav__link { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .cc-nav__link.is-current { border-bottom-color: var(--line); }
  .cc-nav__link--page { display: block; }
  .cc-nav .cc-nav__cta { display: block; margin-top: 14px; border: 0; background: var(--accent); color: var(--ink); text-align: center; border-radius: var(--r-btn); padding: 12px; }
  .cc-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-rubgrid, .cc-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-conv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-footer__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cc-footer__brand { grid-column: 1 / -1; }
  .cc-art__layout { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 900px) {
  .cc-section { padding: 64px 0; }
  .cc-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 44px; padding-bottom: 56px; }
  .cc-frame--hero { aspect-ratio: 4 / 3; }
  .cc-refcard, .cc-cathero__grid { grid-template-columns: minmax(0, 1fr); }
  .cc-refcard__txt { padding: 0 4px 4px; }
  .cc-fondatrice__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .cc-fondatrice__pic { max-width: 380px; }
  .cc-art__layout { display: block; }
  .cc-toc { position: static; margin-bottom: 28px; }
  .cc-timeline { grid-template-columns: minmax(0, 1fr); }
  .cc-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-qstep__opts { grid-template-columns: minmax(0, 1fr); }
  .cc-sep { padding: 40px 28px; }
}
@media (max-width: 720px) {
  body.cocotte { font-size: 17px; }
  .cc-wrap, .cc-header__inner, .cc-art__layout, .cc-footer__inner, .cc-footer__barin, .cc-search__form { padding-left: 20px; padding-right: 20px; }
  .cc-nav { padding: 8px 20px 20px; }
  .cc-section { padding: 56px 0; }
  .cc-hero__title { font-size: clamp(34px, 9.2vw, 42px); }
  .cc-arthero__title, .cc-cathero__title { font-size: clamp(32px, 8.6vw, 40px); }
  .cc-hero__lede, .cc-arthero__chapo, .cc-cathero__lede { font-size: 18px; }
  .cc-rubgrid, .cc-grid3, .cc-figs, .cc-conv { grid-template-columns: minmax(0, 1fr); }
  .cc-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-top: 56px; }
  .cc-calc__grid, .cc-calc__out { grid-template-columns: minmax(0, 1fr); }
  .cc-cartel { padding: 18px; }
  .cc-prose { font-size: 17px; }
  .cc-bio { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 20px; }
  .cc-bio__pic { width: 64px; height: 64px; }
  .cc-contact__form { padding: 22px; }
  .cc-cadre__box { padding: 26px 22px; }
  .cc-tool { padding: 20px; }
  .cc-fig { padding: 22px; }
  .cc-hero__water { right: -120px; }
}
@media (max-width: 380px) {
  .cc-brand__word { font-size: 20px; }
  .cc-header__tools { gap: 8px; }
  .cc-h2 { hyphens: auto; }
  .cc-facts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 782px) {
  .admin-bar .cc-header { top: 46px; }
  .admin-bar .cc-progress { top: 46px; }
}

/* ==========================================================================
   V1.1 · gabarit habituel article / rubrique, bloc contact, sections blog
   ========================================================================== */

/* Hero pleine largeur : image à la une + voile bleu atelier */
.cc-arthero { position: relative; background-color: var(--ink); background-size: cover; background-position: center; min-height: 580px; display: flex; align-items: flex-end; color: var(--bg); overflow: hidden; }
.cc-arthero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 59, 83, .55) 0%, rgba(36, 59, 83, .80) 55%, rgba(36, 59, 83, .92) 100%); }
.cc-arthero__inner { position: relative; z-index: 1; width: 100%; padding-top: 72px; padding-bottom: 56px; }
.cc-arthero .cc-crumbs { margin-bottom: 22px; }
.cc-crumbs--light, .cc-crumbs--light a { color: rgba(251, 247, 240, .78); }
.cc-crumbs--light a:hover { color: var(--accent); }
.cc-crumbs--light .breadcrumb_last { color: var(--bg); }
.cc-arthero .cc-badge--ink { background: var(--bg); color: var(--ink); }
.cc-arthero .cc-badge--outline-ink { border-color: var(--bg); color: var(--bg); }
.cc-arthero .cc-badge--outline-yellow { color: var(--bg); }
.cc-arthero .cc-arthero__title { font-family: var(--fd); font-weight: 700; font-size: clamp(34px, 3.4vw + 12px, 56px); line-height: 1.06; letter-spacing: -0.025em; color: var(--bg); margin: 22px 0 18px; max-width: 920px; text-wrap: pretty; }
.cc-arthero .cc-em { background: none; color: var(--accent); padding: 0; }
.cc-arthero .cc-em--red { color: var(--alert-l); }
.cc-arthero__chapo { font-size: 20px; font-weight: 300; line-height: 1.65; color: var(--bg); opacity: .92; max-width: 740px; text-wrap: pretty; }
.cc-arthero__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; border-top: 1px solid rgba(251, 247, 240, .22); margin-top: 28px; padding-top: 22px; max-width: 920px; }
.cc-arthero__author { display: flex; align-items: center; gap: 12px; }
.cc-arthero__avatar { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 10px; background: var(--accent); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-family: var(--fd); font-weight: 700; font-size: 15px; letter-spacing: .04em; }
.cc-arthero__who strong { display: block; font-weight: 500; font-size: 15.5px; line-height: 1.3; color: var(--bg); }
.cc-arthero__who small { display: block; font-family: var(--fm); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--calm); line-height: 1.6; }
.cc-arthero__info { font-family: var(--fm); font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: rgba(251, 247, 240, .82); }
.cc-arthero__ok { color: var(--accent); }
.cc-arthero--cat { min-height: 540px; }
.cc-arthero--cat .cc-cathero__grid { margin-top: 0; align-items: end; }
.cc-arthero--cat .cc-arthero__meta { border-top: 1px solid rgba(251, 247, 240, .22); }
.cc-reperes--dark { background: rgba(29, 48, 68, .72); border-color: rgba(251, 247, 240, .18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cc-reperes--dark .cc-reperes__label { color: var(--accent); }
.cc-reperes--dark .cc-reperes__row span { color: #C9D2DA; }
.cc-reperes--dark .cc-reperes__row strong { color: var(--bg); }
.cc-reperes--dark .cc-reperes__src { color: var(--calm); border-top-color: rgba(251, 247, 240, .18); }

/* Sommaire : colonne gauche épurée */
.cc-art__layout .cc-toc__box { background: transparent; border: 0; padding: 0; }
.cc-ref .cc-h2 { margin-bottom: 28px; }
.cc-cadre h2.cc-cadre__label { font-weight: 400; letter-spacing: .1em; line-height: 1.6; color: var(--accent); }

/* Bloc contact de fin de page */
.cc-contactsec { padding: 0 0 88px; scroll-margin-top: 80px; }
.cc-section.cc-deep + .cc-contactsec, .cc-arthero + .cc-contactsec { padding-top: 72px; }
.cc-ctbox { position: relative; overflow: hidden; background: var(--ink); color: var(--bg); border-radius: var(--r); padding: 48px 44px; display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 36px; align-items: center; }
.cc-ctbox::after { content: ""; position: absolute; right: -80px; top: -110px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 184, 65, .2) 0%, rgba(245, 184, 65, 0) 70%); pointer-events: none; }
.cc-ctbox > * { position: relative; z-index: 1; }
.cc-ctbox .cc-ctbox__title { font-family: var(--fd); font-weight: 700; font-size: clamp(26px, 2vw + 10px, 36px); line-height: 1.15; letter-spacing: -0.022em; color: var(--bg); margin-bottom: 14px; text-wrap: pretty; }
.cc-ctbox .cc-em--red { color: var(--alert-l); }
.cc-ctbox__txt p { font-size: 17.5px; color: var(--bg); opacity: .9; max-width: 560px; }

/* Sections blog : « Nos catégories » + « Nos articles » */
.cc-blogcat + .cc-blogcat { margin-top: 60px; }
.cc-blogcat__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 20px; border-top: 3px solid var(--cat, var(--accent)); padding-top: 18px; margin-bottom: 24px; }
.cc-blogcat__head .cc-blogcat__title { font-family: var(--fd); font-weight: 600; font-size: clamp(22px, 1vw + 14px, 27px); line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); }

/* Accueil : fondatrice sur fond clair */
.cc-fondatrice--light .cc-fondatrice__q { color: var(--ink); }
.cc-fondatrice--light .cc-fondatrice__txt > p:not(.cc-fondatrice__q):not(.cc-fondatrice__sig) { color: var(--body); opacity: 1; }
.cc-fondatrice--light .cc-fondatrice__sig { color: var(--calm-d); }
.cc-fondatrice--light .cc-frame--portrait { border-color: var(--line); background: var(--deep); }
.cc-fondatrice .cc-h2, .cc-chiffres .cc-h2 { margin-bottom: 30px; }

/* Contact : formulaire centré */
.cc-contact__solo { max-width: 780px; }
.cc-contact__title { font-family: var(--fd); font-weight: 600; font-size: 24px; line-height: 1.3; color: var(--ink); margin-bottom: 20px; }

@media (max-width: 900px) {
  .cc-art__layout { padding-top: 44px; }
  .cc-art__layout .cc-toc__box { background: var(--deep); border: 1px solid var(--line); padding: 20px; }
  .cc-arthero, .cc-arthero--cat { min-height: 0; }
  .cc-arthero--cat .cc-cathero__grid { gap: 28px; }
  .cc-ctbox { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 720px) {
  .cc-arthero__inner { padding-top: 48px; padding-bottom: 40px; }
  .cc-arthero .cc-arthero__title { font-size: clamp(32px, 8.6vw, 40px); }
  .cc-arthero__chapo { font-size: 18px; }
  .cc-ctbox { padding: 32px 24px; }
  .cc-contactsec { padding-bottom: 64px; }
}

/* Accueil : parcours de lecture « Par où commencer ? » */
.cc-paths__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; margin-bottom: 40px; }
.cc-paths__head .cc-h2 { margin: 0; }
.cc-paths__lede { font-size: 18px; color: var(--bg); opacity: .88; max-width: 520px; }
.cc-paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cc-path { background: var(--surface); border: 1px solid rgba(251, 247, 240, .08); border-radius: var(--r); padding: 26px 22px 20px; display: flex; flex-direction: column; transition: border-color .18s ease; }
.cc-path:hover { border-color: var(--accent); }
.cc-path__n { display: inline-flex; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--ink); align-items: center; justify-content: center; font-family: var(--fm); font-size: 13px; font-weight: 500; margin-bottom: 18px; }
.cc-dark .cc-path__t { font-family: var(--fd); font-weight: 600; font-size: 20px; line-height: 1.3; letter-spacing: -0.015em; color: var(--bg); margin-bottom: 10px; }
.cc-path__q { font-size: 15.5px; line-height: 1.6; color: #C9D2DA; margin-bottom: 18px !important; }
.cc-path__list { list-style: none; margin: auto 0 0; padding: 0; counter-reset: ccpath; border-top: 1px solid rgba(251, 247, 240, .14); }
.cc-path__list li { counter-increment: ccpath; margin: 0; border-bottom: 1px solid rgba(251, 247, 240, .14); }
.cc-path__list li:last-child { border-bottom: 0; }
.cc-path__list a { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 2px 8px; padding: 12px 0; color: var(--bg); }
.cc-path__list a::before { content: counter(ccpath) "."; grid-row: 1 / span 2; font-family: var(--fm); font-size: 12px; color: var(--accent); padding-top: 3px; }
.cc-path__lt { font-size: 15px; line-height: 1.45; font-weight: 400; }
.cc-path__rt { font-family: var(--fm); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--calm); }
.cc-path__list a:hover .cc-path__lt { color: var(--accent); }
@media (max-width: 1024px) {
  .cc-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .cc-paths__head { grid-template-columns: minmax(0, 1fr); margin-bottom: 28px; }
  .cc-paths { grid-template-columns: minmax(0, 1fr); }
}

/* Accueil : bloc Annuaire */
.cc-annuaire__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.cc-annuaire .cc-h2 { margin-bottom: 20px; }
.cc-annuaire__lede { font-size: 18px; color: var(--body); max-width: 560px; margin-bottom: 18px !important; }
.cc-annuaire__stats { font-family: var(--fm); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--calm-d); margin-bottom: 26px !important; }
.cc-annuaire__txt .cc-btn { margin-top: 8px; }
.cc-annuaire__side { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: 0 8px 26px rgba(139, 133, 121, .09); }
.cc-annuaire__label { font-family: var(--fm); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--meta-d); margin-bottom: 14px !important; }
.cc-annuaire__cities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cc-annuaire__cities li { margin: 0; }
.cc-annuaire__cities a { display: flex; flex-direction: column; gap: 2px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-btn); padding: 12px 14px; color: var(--ink); transition: border-color .18s ease, transform .18s ease; }
.cc-annuaire__cities a:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--ink); }
.cc-annuaire__cities span { font-weight: 500; font-size: 15.5px; line-height: 1.35; }
.cc-annuaire__cities small { font-family: var(--fm); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--meta-d); }
.cc-annuaire__feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cc-annuaire__feats li { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 14px 0 14px 18px; border-top: 1px solid var(--line); position: relative; }
.cc-annuaire__feats li:first-child { border-top: 0; padding-top: 0; }
.cc-annuaire__feats li::before { content: ""; position: absolute; left: 0; top: 22px; width: 8px; height: 8px; border-radius: 3px; background: var(--accent); }
.cc-annuaire__feats li:first-child::before { top: 8px; }
.cc-annuaire__feats strong { font-family: var(--fd); font-weight: 600; font-size: 17px; color: var(--ink); }
.cc-annuaire__feats span { font-size: 15.5px; line-height: 1.55; color: var(--body); }
@media (max-width: 900px) {
  .cc-annuaire__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 420px) {
  .cc-annuaire__cities { grid-template-columns: minmax(0, 1fr); }
  .cc-annuaire__side { padding: 22px; }
}

/* Attente : aucun article publié */
.cc-soon { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: start; background: var(--card); border: 1px dashed var(--line); border-radius: var(--r); padding: 30px; max-width: 860px; }
.cc-soon__mark { width: 52px; height: 52px; border-radius: 12px; background: var(--deep); display: flex; align-items: center; justify-content: center; }
.cc-soon__title { font-family: var(--fd); font-weight: 600; font-size: clamp(22px, 1vw + 14px, 26px); line-height: 1.25; color: var(--ink); margin-bottom: 10px !important; }
.cc-soon__txt p:not(.cc-soon__title) { font-size: 17px; color: var(--body); margin-bottom: 18px !important; }
.cc-path__soon { margin-top: auto !important; border-top: 1px solid rgba(251, 247, 240, .14); padding-top: 14px; font-family: var(--fm); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 560px) {
  .cc-soon { grid-template-columns: minmax(0, 1fr); padding: 24px; }
}
