/* ==========================================================================
   strategiepme.fr : feuille de style
   Format « notation méthodique » : titres serif Fraunces, corps Inter, fond
   ivoire, accent ambre et ardoise, cartes de score. Aucun JavaScript.
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("https://strategiepme.fr/assets/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("https://strategiepme.fr/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------- Variables */
:root {
  --paper:   #fbf9f4;
  --card:    #ffffff;
  --shell:   #f2efe6;
  --ink:     #23201a;
  --ink-2:   #565147;
  --ink-3:   #8a8478;
  --line:    #e6e0d2;
  --line-2:  #d2cab7;
  --ambre:   #b8741a;
  --ambre-d: #935a10;
  --ambre-l: #fbeed9;
  --ardoise: #33475b;
  --ardoise-l:#e8eef3;
  --vert:    #3f7d4f;
  --vert-l:  #e9f3ea;
  --rouge:   #b5443f;
  --rouge-l: #fbeae9;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --col: 74rem;
  --read: 44rem;
  --r: 10px;
  --shadow: 0 1px 2px rgba(35,32,26,.05), 0 20px 40px -30px rgba(35,32,26,.5);
}

/* ------------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }

body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans);
  font-size: 1.05rem; line-height: 1.75; overflow-x: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ambre-d); text-underline-offset: 3px; }
a:hover { color: var(--ambre); }
:focus-visible { outline: 3px solid var(--ambre); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); margin: 0 0 .5em; line-height: 1.18; letter-spacing: -.01em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 1.5rem + 2.9vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 1.08rem + .55vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.15em; color: var(--ink-2); }
strong, b { font-weight: 700; color: var(--ink); }

.wrap { width: min(100% - 2.5rem, var(--col)); margin-inline: auto; }
.narrow { max-width: var(--read); margin-inline: auto; }

.kicker { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ambre-d); margin: 0 0 1rem; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1.2rem; border-radius: var(--r); }
.skip:focus { left: .75rem; top: .75rem; }

/* --------------------------------------------------------------- En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,249,244,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4rem; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand span { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; letter-spacing: -.01em; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 1.35rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { font-family: var(--sans); color: var(--ink-2); text-decoration: none; font-size: .88rem; font-weight: 500; padding: .25rem 0; border-bottom: 2px solid transparent; display: block; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ambre-d); border-bottom-color: var(--ambre); }
.age { font-family: var(--sans); font-size: .72rem; font-weight: 700; color: #fff; background: var(--rouge); border-radius: 999px; padding: .18rem .55rem; }
@media (max-width: 1020px) {
  .site-nav { display: none; }
  .site-header .wrap { justify-content: space-between; }
  .age { margin-left: auto; }
}

/* ----------------------------------------------------------- Fil d'Ariane */
.crumbs { font-family: var(--sans); font-size: .8rem; color: var(--ink-3); padding: .9rem 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line-2); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ambre-d); text-decoration: underline; }

/* ------------------------------------------------------------- Ouverture */
.hero { padding: 2.75rem 0 1rem; }
.hero .kicker { text-align: center; }
.hero h1 { text-align: center; max-width: 24ch; margin-inline: auto; }
.hero .chapo { font-size: 1.18rem; color: var(--ink-2); max-width: 46rem; margin: 1.2rem auto 0; text-align: center; line-height: 1.7; }
.byline { font-family: var(--sans); text-align: center; color: var(--ink-3); font-size: .86rem; margin: 1.5rem 0 0; }
.byline strong { color: var(--ink-2); }

/* ------------------------------------------------ Carte de verdict / score */
.verdict { border: 1px solid var(--line-2); border-radius: 16px; background: var(--card); box-shadow: var(--shadow);
  margin: 2.5rem auto 0; max-width: 62rem; overflow: hidden; }
.verdict-top { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; padding: 1.75rem 2rem; border-bottom: 1px solid var(--line); }
@media (max-width: 720px) { .verdict-top { grid-template-columns: 1fr; text-align: center; gap: 1rem; } }
.verdict-logo { width: 76px; height: 76px; border-radius: 16px; }
@media (max-width: 720px) { .verdict-logo { margin: 0 auto; } }
.verdict-id h2 { font-size: 1.5rem; margin: 0 0 .15rem; }
.verdict-id p { font-family: var(--sans); font-size: .88rem; color: var(--ink-3); margin: 0; }
.score-big { text-align: center; }
.score-big .num { font-family: var(--serif); font-size: 3.4rem; font-weight: 600; line-height: 1; color: var(--ambre-d); }
.score-big .num span { font-size: 1.4rem; color: var(--ink-3); }
.score-big .lbl { font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: .3rem; }
.verdict-body { padding: 1.5rem 2rem 1.75rem; }
.verdict-body .lead { font-size: 1.05rem; color: var(--ink-2); }
.verdict-body .lead:last-child { margin-bottom: 0; }
.verdict-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.3rem; }

/* -------------------------------------------------------- Barres de score */
.scores { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 2.5rem; padding: 0 2rem 1.75rem; }
@media (max-width: 720px) { .scores { grid-template-columns: 1fr; padding: 0 1.25rem 1.5rem; } }
.score-row { display: grid; grid-template-columns: 1fr auto; gap: .5rem; align-items: center; padding: .5rem 0; border-top: 1px solid var(--line); font-family: var(--sans); font-size: .92rem; }
.score-row .bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--shell); overflow: hidden; }
.score-row .bar span { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--ambre), var(--ambre-d)); }
.score-row .val { font-weight: 700; color: var(--ink); }

/* -------------------------------------------------------------- Boutons */
.btn {
  --bg: var(--ambre-d); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: .94rem; line-height: 1.3;
  text-decoration: none; cursor: pointer; text-align: center;
  padding: .8rem 1.5rem; border: 1px solid transparent; border-radius: 8px;
  color: var(--fg); background: var(--bg); transition: background .12s linear, transform .1s ease;
}
.btn:hover { background: var(--ambre); color: #fff; transform: translateY(-1px); }
.btn-ink { --bg: var(--ink); }
.btn-ink:hover { background: #3a352c; }
.btn-line { --bg: transparent; --fg: var(--ink); border-color: var(--line-2); }
.btn-line:hover { background: var(--shell); color: var(--ambre-d); }
.btn-wide { width: 100%; }
.btn-sm { padding: .5rem 1rem; font-size: .84rem; }

/* -------------------------------------------------------- Corps de page */
.layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 3rem; padding: 3rem 0 4rem; align-items: start; }
@media (max-width: 1020px) { .layout { grid-template-columns: 1fr; gap: 1.5rem; } }

.toc { position: sticky; top: 5rem; border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem; background: var(--card); }
@media (max-width: 1020px) { .toc { position: static; } }
.toc h2 { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .8rem; }
.toc ol { list-style: none; margin: 0; padding: 0; font-family: var(--sans); font-size: .9rem; counter-reset: toc; }
.toc li { counter-increment: toc; margin-bottom: .4rem; }
.toc a { color: var(--ink-2); text-decoration: none; display: flex; gap: .5rem; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--ambre); font-weight: 700; font-size: .78rem; }
.toc a:hover { color: var(--ambre-d); }
.toc .cta { margin-top: 1rem; }

.prose section { scroll-margin-top: 5rem; }
.prose section + section { margin-top: 3rem; }
.prose > section > h2 { padding-bottom: .4rem; border-bottom: 2px solid var(--line-2); }
.prose h3 { margin-top: 2rem; }
.prose p { max-width: var(--read); }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.3em; max-width: var(--read); }
.prose ul li { position: relative; padding-left: 1.5rem; margin-bottom: .5em; color: var(--ink-2); }
.prose ul li::before { content: ""; position: absolute; left: .1rem; top: .72em; width: .5rem; height: .5rem; background: var(--ambre); border-radius: 50%; }
.prose ol { padding-left: 1.3rem; margin: 0 0 1.3em; max-width: var(--read); }
.prose ol li { margin-bottom: .5em; color: var(--ink-2); }
.prose ol li::marker { font-family: var(--serif); font-weight: 600; color: var(--ambre-d); }

/* --------------------------------------------- En-tête de critère noté */
.crit-head { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; border-bottom: 2px solid var(--line-2); padding-bottom: .5rem; margin-bottom: 1.2rem; }
.crit-head h2 { border: 0; padding: 0; margin: 0; }
.crit-head .grade { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--ambre-d); margin-left: auto; white-space: nowrap; }
.crit-head .grade span { font-size: .9rem; color: var(--ink-3); }
.crit-verdict { font-family: var(--sans); font-size: .95rem; color: var(--ardoise); background: var(--ardoise-l);
  border-radius: 8px; padding: .8rem 1.1rem; margin: 0 0 1.3rem; border-left: 3px solid var(--ardoise); max-width: none; }
.crit-verdict strong { color: var(--ardoise); }

figure { margin: 1.7rem 0; }
figure img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); }
figcaption { font-family: var(--sans); font-size: .82rem; color: var(--ink-3); padding-top: .5rem; }

/* ------------------------------------------------------------- Tableaux */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); margin: 0 0 1.7rem; background: var(--card); }
table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: .92rem; }
caption { text-align: left; font-family: var(--serif); font-size: 1.05rem; color: var(--ink); padding: .85rem 1rem .3rem; }
th, td { padding: .7rem 1rem; text-align: left; border-top: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
thead th { background: var(--ink); color: #fff; font-size: .71rem; letter-spacing: .08em; text-transform: uppercase; border-top: 0; }
tbody th { font-weight: 700; color: var(--ink); }
tbody tr:nth-child(even) td { background: #fdfcf9; }
.table-key tbody th { width: 40%; background: var(--shell); white-space: normal; }
td.oui { color: var(--vert); font-weight: 700; }
td.non { color: var(--rouge); font-weight: 700; }

/* ------------------------------------------------------- Deux colonnes */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0 0 1.7rem; max-width: none; }
@media (max-width: 720px) { .duo { grid-template-columns: 1fr; } }
.duo > div { border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.25rem; background: var(--card); }
.duo h3 { font-family: var(--sans); font-size: .95rem; font-weight: 700; margin: 0 0 .7rem; text-transform: uppercase; letter-spacing: .04em; }
.duo .pro { color: var(--vert); }
.duo .con { color: var(--rouge); }
.duo ul { margin: 0; }

/* -------------------------------------------------- Barème de notation */
.bareme { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 0 0 1.7rem; }
.bareme div { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: .85rem 1.1rem; border-top: 1px solid var(--line); background: var(--card); align-items: center; }
.bareme div:first-child { border-top: 0; }
.bareme .poids { font-family: var(--sans); font-weight: 700; color: var(--ambre-d); font-size: .95rem; white-space: nowrap; }
.bareme .lbl { font-family: var(--sans); }
.bareme .lbl strong { display: block; }
.bareme .lbl span { font-size: .86rem; color: var(--ink-3); }

/* --------------------------------------------------------------- Étapes */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 1.7rem; display: grid; gap: .8rem; max-width: none; }
.steps li { counter-increment: step; position: relative; padding: 1rem 1.2rem 1rem 3.3rem;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--card); color: var(--ink-2); margin: 0; }
.steps li::before { content: counter(step); position: absolute; left: 1rem; top: 1rem;
  width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ambre-l); color: var(--ambre-d);
  font-family: var(--serif); font-weight: 600; font-size: .9rem; display: grid; place-items: center; }

/* ------------------------------------------------- Calendrier des tours */
.spins { display: grid; grid-template-columns: repeat(5, 1fr); gap: .7rem; margin: 0 0 1.7rem; max-width: none; }
@media (max-width: 780px) { .spins { grid-template-columns: repeat(2, 1fr); } }
.spins div { border: 1px solid var(--line); border-top: 3px solid var(--ambre); border-radius: 10px; background: var(--card); padding: .9rem; text-align: center; }
.spins b { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .3rem; }
.spins .nb { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ambre-d); line-height: 1.1; }
.spins span { display: block; font-family: var(--sans); font-size: .81rem; color: var(--ink-2); margin-top: .2rem; }

/* ------------------------------------------------------------- Encadrés */
.box { border: 1px solid var(--line); border-left: 4px solid var(--ambre); background: var(--card); border-radius: 8px; padding: 1rem 1.25rem; margin: 0 0 1.6rem; max-width: none; }
.box p { max-width: none; }
.box p:last-child { margin-bottom: 0; }
.box .kicker { margin-bottom: .35rem; }
.box-ardoise { border-left-color: var(--ardoise); }
.box-ardoise .kicker { color: var(--ardoise); }
.box-vert { border-left-color: var(--vert); }
.box-vert .kicker { color: var(--vert); }
.box-rouge { border-left-color: var(--rouge); }
.box-rouge .kicker { color: var(--rouge); }

/* --------------------------------------------------------- Fournisseurs */
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.6rem; padding: 0; list-style: none; max-width: none; }
.tags li { font-family: var(--sans); background: var(--shell); border: 1px solid var(--line); border-radius: 6px; padding: .4rem .85rem; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.tags li::before { display: none; }

/* ------------------------------------------------------------------ FAQ */
.faq details { border: 1px solid var(--line); border-radius: 10px; margin-bottom: .6rem; background: var(--card); }
.faq summary { cursor: pointer; padding: .9rem 1.1rem; font-family: var(--serif); font-weight: 600; color: var(--ink); list-style: none; display: flex; gap: .7rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--ambre); font-size: 1.35rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 1.1rem 1rem; color: var(--ink-2); }
.faq details > div p { max-width: none; }
.faq details > div p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------- Appel final */
.final { border: 1px solid var(--ambre); border-radius: 16px; background: var(--ambre-l); padding: 2rem 1.75rem; text-align: center; margin-top: 2.5rem; }
.final h2 { border: 0; padding: 0; font-size: 1.6rem; margin-bottom: .5rem; }
.final p { max-width: 42rem; margin-inline: auto; }

/* --------------------------------------------------------------- Équipe */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0; max-width: none; }
@media (max-width: 820px) { .team { grid-template-columns: 1fr; } }
.member { border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem; background: var(--card); text-align: center; }
.member img { width: 5rem; height: 5rem; border-radius: 50%; margin: 0 auto .7rem; }
.member h3 { font-size: 1.05rem; margin-bottom: .1rem; }
.member .role { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ambre-d); margin-bottom: .5rem; }
.member p { font-family: var(--sans); font-size: .87rem; color: var(--ink-2); margin: 0; }

/* ----------------------------------------------------- Barre CTA mobile */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: .5rem; padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom)); background: rgba(251,249,244,.97); border-top: 1px solid var(--line-2); }
.sticky-cta .btn { flex: 1 1 0; min-width: 0; font-size: .84rem; padding: .72rem .5rem; }
@media (max-width: 780px) { .sticky-cta { display: flex; } body { padding-bottom: 4.4rem; } }

/* ---------------------------------------------------------- Pied de page */
.site-footer { background: var(--ink); color: #b3ac9d; padding: 3rem 0; font-family: var(--sans); font-size: .9rem; }
.site-footer img { margin-bottom: 1rem; border-radius: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-family: var(--sans); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: #d4cdbe; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p { color: #b3ac9d; }
.site-footer strong { color: #fff; }
.legal { margin-top: 1.9rem; padding-top: 1.4rem; border-top: 1px solid #3d3830; font-size: .81rem; }
.legal p { color: #928c7e; }
.legal strong { color: #e6a19c; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
