/* =========================================================
   ATELIER SAPIENCE — feuille de style
   Thème partagé (design system EVOLTECH) :
   anthracite + blanc cassé, accent ambré discret
   ========================================================= */

:root {
  --ink: #20252b;          /* anthracite logo */
  --ink-2: #2c333b;
  --ink-soft: #4a525c;
  --muted: #6b7480;
  --line: #e6e4df;
  --line-strong: #d7d4cd;
  --bg: #ffffff;
  --bg-soft: #f6f5f1;      /* blanc cassé chaud */
  --bg-dark: #1a1e23;
  --bg-dark-2: #23282f;
  --accent: #cf7a1c;       /* ambré — énergie, utilisé avec parcimonie */
  --accent-dark: #a85f10;
  --accent-soft: #f7ecdc;
  --white: #ffffff;

  --radius: 14px;
  --radius-sm: 10px;
  --container: 1160px;
  --pad: clamp(1.2rem, 4vw, 2rem);

  --shadow-sm: 0 1px 2px rgba(20, 24, 28, 0.05);
  --shadow: 0 12px 30px -12px rgba(20, 24, 28, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(20, 24, 28, 0.28);

  --t: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  --font-head: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 0.7rem 1.1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Typo ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; color: var(--ink); letter-spacing: -0.01em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-head); font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 1.1rem;
}
.eyebrow-tick { width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.eyebrow-light { color: var(--accent); }

.section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 800; max-width: 18ch;
}
.section-lead {
  margin-top: 1.1rem; color: var(--ink-soft); font-size: 1.08rem; max-width: 56ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  padding: 0.7rem 1.3rem; border-radius: 999px;
  transition: transform var(--t), background var(--t), color var(--t), box-shadow var(--t);
  white-space: nowrap;
}
.btn-lg { padding: 0.95rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(207, 122, 28, 0.6); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }

/* ---------- Brand / logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); }
.brand-mark { width: 30px; height: auto; fill: var(--accent); flex: none; }
.brand-word {
  font-family: var(--font-head); font-weight: 800; font-size: 1.35rem;
  letter-spacing: 0.06em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 74px; }
.main-nav { display: flex; gap: 1.9rem; margin-left: auto; margin-right: 1.6rem; }
.main-nav a {
  font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); position: relative; padding: 0.3rem 0;
  transition: color var(--t);
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--accent);
  transition: width var(--t);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }

.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 2px; width: 24px; background: var(--ink); margin-inline: auto; transition: var(--t); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: 0.4rem; padding: 0.8rem var(--pad) 1.4rem; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav:not([hidden]) { display: flex; }
.mobile-nav a { padding: 0.7rem 0.2rem; font-weight: 500; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.mobile-nav a.btn { margin-top: 0.7rem; border-bottom: none; color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg-soft); padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -200px;
  background: radial-gradient(circle, rgba(207, 122, 28, 0.10), transparent 62%);
}
.hero-bars { position: absolute; right: -40px; bottom: -40px; width: min(46vw, 540px); opacity: 0.06; fill: var(--ink); }
.hero-inner { position: relative; max-width: 760px; }
.hero-title {
  font-size: clamp(2.4rem, 6.4vw, 4.3rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.04;
  margin-bottom: 1.4rem;
}
.hero-lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--ink-soft); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.1rem; }
.hero-foot { margin-top: 1.7rem; font-size: 0.92rem; color: var(--muted); font-weight: 500; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--ink); color: #cfd3d8; }
.trustbar-inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 2.4rem;
  padding-block: 1.1rem; font-family: var(--font-head); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.trustbar-inner span { position: relative; }
.trustbar-inner span:not(:last-child)::after {
  content: ""; position: absolute; right: -1.2rem; top: 50%; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); transform: translateY(-50%);
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--bg-soft); }
.section-head { margin-bottom: 3rem; }
.section-head .section-lead { margin-inline: 0; }

/* ---------- Chain (le principe) ---------- */
.chain {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem;
  counter-reset: step;
}
.chain-step {
  position: relative; padding-top: 1.6rem; border-top: 2px solid var(--line-strong);
}
.chain-step::before {
  content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 38px; background: var(--accent);
}
.chain-num { font-family: var(--font-head); font-weight: 800; font-size: 0.9rem; color: var(--accent-dark); letter-spacing: 0.08em; }
.chain-step h3 { font-size: 1.12rem; font-weight: 700; margin: 0.5rem 0 0.5rem; }
.chain-step p { font-size: 0.96rem; color: var(--ink-soft); }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.3rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.6rem; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.section-alt .card { background: #fff; }
.card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 0.6rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card.card-cta { background: var(--ink); color: #fff; display: flex; flex-direction: column; }
.section-alt .card.card-cta { background: var(--ink); }
.card-cta h3 { color: #fff; }
.card-cta p { color: #c4c8ce; }
.card-cta .card-link { margin-top: auto; padding-top: 1rem; color: var(--accent); font-family: var(--font-head); font-weight: 700; }
.card-cta:hover { box-shadow: var(--shadow-lg); }

/* ---------- Méthode ---------- */
.methode-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.methode-intro .btn { margin-top: 1.8rem; }
.methode-list { display: flex; flex-direction: column; gap: 0.4rem; }
.feature { display: flex; gap: 1.2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.feature:first-child { padding-top: 0; }
.feature:last-child { border-bottom: none; }
.feature-bars { flex: none; width: 30px; height: 24px; margin-top: 0.25rem; }
.feature-bars {
  background:
    linear-gradient(var(--accent), var(--accent)) left 0 / 64% 5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) left 9px / 84% 5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) left 18px / 100% 5px no-repeat;
}
.feature h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.3rem; }
.feature p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Savoir-faire (dark) ---------- */
.section-dark { background: var(--bg-dark); color: #e7e9ec; }
.section-dark .section-title { color: #fff; }
.cards-work { margin-top: 0.5rem; }
.work {
  border: 1px solid rgba(255, 255, 255, 0.10); border-radius: var(--radius);
  padding: 1.7rem 1.6rem; background: var(--bg-dark-2);
  transition: transform var(--t), border-color var(--t), background var(--t);
}
.work-num { font-family: var(--font-head); font-weight: 800; font-size: 0.95rem; color: var(--accent); letter-spacing: 0.08em; }
.work h3 { color: #fff; font-size: 1.16rem; font-weight: 700; margin: 0.7rem 0 0.5rem; }
.work p { color: #aeb4bc; font-size: 0.96rem; }
.work:hover { transform: translateY(-4px); border-color: rgba(207, 122, 28, 0.5); background: #272d35; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.contact-list li { display: flex; flex-direction: column; gap: 0.15rem; }
.contact-label { font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list li > span:not(.contact-label) { font-size: 1.12rem; font-weight: 500; }
.contact-list a:hover { color: var(--accent-dark); }

.contact-form {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.field label span { color: var(--accent-dark); }
.field input, .field textarea {
  font: inherit; font-size: 0.98rem; padding: 0.75rem 0.9rem; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color var(--t), box-shadow var(--t);
  width: 100%;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(207, 122, 28, 0.15);
}
.field textarea { resize: vertical; }
.contact-form .btn { margin-top: 0.4rem; }
.form-note { text-align: center; font-size: 0.85rem; color: var(--muted); margin-top: 0.9rem; }
.hp-field { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #b8bdc4; padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.6rem; }
.brand-footer .brand-word { color: #fff; }
.brand-footer .brand-mark { fill: var(--accent); }
.footer-baseline { margin-top: 1rem; font-size: 0.95rem; color: #9097a0; max-width: 30ch; }
.footer-col h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 700; }
.footer-col a, .footer-col span { display: block; font-size: 0.96rem; color: #b8bdc4; padding: 0.28rem 0; transition: color var(--t); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.6rem;
  padding-block: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.09); font-size: 0.86rem; color: #868d96;
}
.footer-top:hover { color: var(--accent); }

/* ---------- Stats / chiffres clés ---------- */
.stats { background: var(--ink); color: #fff; }
.stats-inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; padding-block: 2.4rem; }
.stat { display: flex; flex-direction: column; gap: 0.35rem; text-align: center; position: relative; }
.stat:not(:last-child)::after { content: ""; position: absolute; right: -0.75rem; top: 12%; bottom: 12%; width: 1px; background: rgba(255, 255, 255, 0.12); }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.7rem, 4vw, 2.6rem); color: var(--accent); line-height: 1; letter-spacing: -0.01em; }
.stat-plus { color: rgba(255, 255, 255, 0.45); margin: 0 0.12em; font-weight: 600; }
.stat-label { font-size: 0.86rem; color: #b8bdc4; }

/* ---------- Prose (présentation) ---------- */
.prose { max-width: 64ch; }
.prose p { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 1rem; }
.inline-link { display: inline-block; margin-top: 0.6rem; font-family: var(--font-head); font-weight: 700; color: var(--accent-dark); }
.inline-link:hover { color: var(--accent); }

/* ---------- Chain delay badge ---------- */
.chain-delay { display: inline-block; margin-top: 0.8rem; font-size: 0.78rem; font-weight: 600; color: var(--accent-dark); background: var(--accent-soft); border-radius: 999px; padding: 0.25rem 0.7rem; }

/* ---------- Problème / solution ---------- */
.ps { margin-top: 0.5rem; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); overflow: hidden; }
.ps-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 1rem 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.ps-row:last-child { border-bottom: none; }
.ps-head { background: rgba(255, 255, 255, 0.04); font-family: var(--font-head); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: #9097a0; }
.ps-prob { color: #aeb4bc; }
.ps-sol { color: #fff; font-weight: 500; position: relative; padding-left: 1.5rem; }
.ps-sol::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ---------- Premium positioning ---------- */
.premium { margin-top: 2.5rem; padding: 2rem; border-left: 3px solid var(--accent); background: var(--bg-dark-2); border-radius: 0 var(--radius) var(--radius) 0; }
.premium h3 { color: #fff; font-size: 1.3rem; margin-bottom: 0.8rem; }
.premium p { color: #aeb4bc; margin-bottom: 0.7rem; }
.premium strong { color: #fff; }

/* ---------- Clients ---------- */
.clients { margin-top: 2.5rem; }
.clients-label { font-family: var(--font-head); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.clients-list { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1rem; }
.clients-list li { background: var(--bg-dark-2); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 999px; padding: 0.5rem 1.1rem; font-size: 0.95rem; color: #e7e9ec; }
.clients-list em { color: var(--accent); font-style: normal; }

/* ---------- Témoignage ---------- */
.quote-section { background: var(--bg-soft); padding: clamp(3rem, 7vw, 5rem) 0; }
.quote { max-width: 820px; margin: 0 auto; text-align: center; }
.quote p { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.2rem, 2.6vw, 1.7rem); line-height: 1.4; color: var(--ink); }
.quote cite { display: block; margin-top: 1.3rem; font-style: normal; font-size: 0.95rem; color: var(--muted); font-weight: 500; }

/* ---------- Select (formulaire) ---------- */
.field select {
  font: inherit; font-size: 0.98rem; padding: 0.75rem 0.9rem; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink); width: 100%; cursor: pointer;
  transition: border-color var(--t), box-shadow var(--t);
}
.field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(207, 122, 28, 0.15); }

/* ---------- Cards numérotées (problématiques) ---------- */
.card-num::before {
  content: attr(data-num); display: block; font-family: var(--font-head); font-weight: 800;
  font-size: 0.9rem; letter-spacing: 0.1em; color: var(--accent-dark); margin-bottom: 0.6rem;
}

/* ---------- Piliers (notre réponse) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pillar { background: var(--bg-dark-2); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); padding: 2rem 1.7rem; transition: transform var(--t), border-color var(--t); }
.pillar:hover { transform: translateY(-4px); border-color: rgba(207, 122, 28, 0.45); }
.pillar-num { font-family: var(--font-head); font-weight: 800; font-size: 0.95rem; color: var(--accent); letter-spacing: 0.08em; }
.pillar h3 { color: #fff; font-size: 1.32rem; margin: 0.6rem 0 0.5rem; }
.pillar-lead { color: #cfd3d8; font-weight: 500; margin-bottom: 1.2rem; }
.pillar-list { display: flex; flex-direction: column; gap: 0.75rem; }
.pillar-list li { position: relative; padding-left: 1.4rem; color: #aeb4bc; font-size: 0.95rem; line-height: 1.5; }
.pillar-list li::before { content: "›"; position: absolute; left: 0; top: -1px; color: var(--accent); font-weight: 700; font-size: 1.1rem; }

/* ---------- Méthode 10 étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.step { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.3rem 1.1rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.step-num { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--accent); }
.step-label { font-family: var(--font-head); font-weight: 700; font-size: 0.96rem; color: var(--ink); line-height: 1.2; }

/* ---------- Corps d'état ---------- */
.trades { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.trades-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.trades-title { font-size: 1.05rem; font-weight: 700; display: flex; align-items: center; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1.2rem; }
.trades-title em { font-style: normal; font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.trades-dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.trades-dot--in { background: var(--accent); }
.trades-dot--out { background: var(--ink); }
.trades-list { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.trades-list li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 1rem; font-size: 0.92rem; font-weight: 500; color: var(--ink); }

/* ---------- Garanties ---------- */
.guarantees { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem 1.8rem; margin-top: 2.4rem; }
.guarantees span { position: relative; font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); padding-left: 1.4rem; }
.guarantees span::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* ---------- 1. Votre quotidien (pains) ---------- */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; margin-bottom: 2.4rem; }
.pain { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.05rem 1.2rem 1.05rem 2.7rem; font-weight: 500; color: var(--ink-soft); }
.pain::before { content: "✕"; position: absolute; left: 1.1rem; top: 1.05rem; color: #bd5a4c; font-weight: 700; font-size: 0.88rem; }
.section-close { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: var(--ink); max-width: 42ch; line-height: 1.3; }

/* ---------- 2. Notre rôle (Vous / Nous) ---------- */
.role-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.role-col { border-radius: var(--radius); padding: 2rem 1.8rem; }
.role-you { background: var(--bg-soft); border: 1px solid var(--line); }
.role-us { background: var(--ink); color: #fff; }
.role-col h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.3rem; }
.role-you h3 { color: var(--muted); }
.role-us h3 { color: var(--accent); }
.role-col ul { display: flex; flex-direction: column; gap: 0.95rem; }
.role-col li { position: relative; padding-left: 1.6rem; font-size: 1.03rem; }
.role-you li { color: var(--ink-soft); }
.role-us li { color: #e7e9ec; }
.role-col li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border-radius: 50%; }
.role-you li::before { background: var(--line-strong); }
.role-us li::before { background: var(--accent); }

/* ---------- 3. Domaines ---------- */
.domains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.domain { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.1rem 1rem 2.4rem; font-family: var(--font-head); font-weight: 700; font-size: 0.97rem; color: var(--ink); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.domain::before { content: ""; position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 14px; height: 3px; background: var(--accent); }
.domain:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }

/* ---------- 4. Timeline (méthode 10) ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.8rem 1rem; }
.tl-step { display: flex; flex-direction: column; align-items: flex-start; gap: 0.8rem; }
.tl-num { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); font-family: var(--font-head); font-weight: 800; font-size: 1rem; flex: none; }
.tl-label { font-family: var(--font-head); font-weight: 700; font-size: 0.98rem; color: var(--ink); line-height: 1.25; }

/* ---------- 5. Ce que vous recevez (dark) ---------- */
.deliverables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem 1.5rem; }
.deliverables li { position: relative; padding: 0.5rem 0 0.5rem 2rem; color: #e7e9ec; font-size: 1.05rem; font-weight: 500; }
.deliverables li::before { content: "✓"; position: absolute; left: 0; top: 0.5rem; color: var(--accent); font-weight: 800; }

/* ---------- 6. Pourquoi (why) ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.why-item { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem 1.6rem 1.7rem; transition: transform var(--t), box-shadow var(--t); }
.why-item::before { content: ""; position: absolute; top: 0; left: 1.6rem; width: 32px; height: 3px; background: var(--accent); border-radius: 0 0 3px 3px; }
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-item h3 { font-size: 1.15rem; margin-bottom: 0.55rem; }
.why-item p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- 7. Références ---------- */
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.ref { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.ref-media { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #e8e6e1, #d7d4cc); display: grid; place-items: center; }
.ref-media span { font-family: var(--font-head); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; color: #9a968d; }
.ref-body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.ref-body h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.ref-meta { display: flex; flex-direction: column; gap: 0.55rem; }
.ref-meta > div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 0.7rem; font-size: 0.92rem; }
.ref-meta dt { font-family: var(--font-head); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 0.2rem; }
.ref-meta dd { color: var(--ink-soft); }
.ref-note { margin-top: auto; padding-top: 0.9rem; border-top: 1px dashed var(--line-strong); font-size: 0.8rem; font-style: italic; color: var(--muted); }

/* ---------- 8. Avis clients ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.testi { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; gap: 1.2rem; }
.testi blockquote { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; line-height: 1.45; color: var(--ink); }
.testi figcaption { margin-top: auto; font-size: 0.9rem; color: var(--muted); font-weight: 500; }
.testi-empty { border-style: dashed; background: transparent; }
.testi-empty blockquote { color: var(--muted); font-style: italic; font-weight: 500; font-size: 0.97rem; }

/* ---------- 9. FAQ ---------- */
.faq { max-width: 840px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: 0.7rem; overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.1rem 1.4rem; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-weight: 700; font-size: 1.35rem; line-height: 1; transition: transform var(--t); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 1.4rem 1.2rem; color: var(--ink-soft); }

/* ---------- CTA final ---------- */
.cta-final { background: var(--ink); color: #fff; text-align: center; padding: clamp(3.5rem, 8vw, 6rem) 0; }
.cta-final h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); color: #fff; margin-bottom: 0.8rem; }
.cta-final p { color: #b8bdc4; font-size: 1.15rem; margin-bottom: 2rem; }

/* ---------- Pages SEO (landing) ---------- */
.hero-lp { padding: clamp(2.4rem, 6vw, 4.2rem) 0 clamp(2rem, 5vw, 3.4rem); }
.hero-lp .hero-title { font-size: clamp(1.9rem, 5vw, 3.1rem); }
.breadcrumb { padding-top: 1.3rem; font-size: 0.85rem; color: var(--muted); }
.breadcrumb a { color: var(--accent-dark); font-weight: 500; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 0.45rem; color: var(--line-strong); }
.prose h2 + p, .prose p + p { margin-top: 0.2rem; }
.ticks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem 1.6rem; margin-top: 1.3rem; }
.ticks li { position: relative; padding: 0.15rem 0 0.15rem 1.8rem; color: var(--ink-soft); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0.15rem; color: var(--accent); font-weight: 800; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.related a { position: relative; display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 2.6rem 1.1rem 1.3rem; font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: var(--ink); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.related a::after { content: "→"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); color: var(--accent); }
.related a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.section-alt .related a { background: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .methode-grid, .contact-grid { grid-template-columns: 1fr; }
  .chain { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(3, 1fr); gap: 1.8rem 1rem; }
  .stat::after { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .trades { grid-template-columns: 1fr; }
  .pains { grid-template-columns: repeat(2, 1fr); }
  .role-split { grid-template-columns: 1fr; }
  .domains { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .deliverables { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .refs { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .chain { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1.7rem 1rem; }
  .stat::after { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .ps-row { grid-template-columns: 1fr; gap: 0.35rem; padding: 0.9rem 1.2rem; }
  .ps-head { display: none; }
  .pains { grid-template-columns: 1fr; }
  .domains { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .deliverables { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .refs { grid-template-columns: 1fr; }
  .ticks { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ================= FICHES PRATIQUES (guides) ================= */
.guide-meta{font-size:.9rem;color:var(--muted);margin-top:14px}
.guide-meta a{color:var(--accent-dark);font-weight:600}
.card-meta{font-size:.82rem;color:var(--muted);margin-top:6px}
.card-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:14px}
.card-dl{display:inline-flex;align-items:center;gap:7px;font-size:.88rem;font-weight:600;color:var(--accent-dark)}
.card-dl::before{content:"↓";font-weight:700;line-height:1}
.card-dl:hover{text-decoration:underline}
.guide-body{max-width:760px}
.guide-body h2{font-family:'Archivo',sans-serif;font-size:1.5rem;font-weight:800;color:var(--ink);margin:38px 0 12px;letter-spacing:-.01em}
.guide-body h3{font-family:'Archivo',sans-serif;font-size:1.08rem;font-weight:700;color:var(--ink-2);margin:24px 0 8px}
.guide-body p{color:var(--ink-soft);line-height:1.68;margin:0 0 14px}
.guide-points{margin:0 0 8px;padding-left:22px;list-style:decimal}
.guide-points li{list-style:decimal}
.guide-points li{color:var(--ink-soft);line-height:1.62;margin-bottom:10px}
.guide-check{list-style:none;margin:0 0 8px;padding:0}
.guide-check li{position:relative;padding-left:26px;margin-bottom:9px;color:var(--ink-soft);line-height:1.6}
.guide-check li::before{content:"";position:absolute;left:0;top:.55em;width:11px;height:11px;border:2px solid var(--accent);border-radius:2px}
.guide-warning{background:var(--bg-soft);border-left:3px solid var(--line-strong);padding:16px 20px;margin:32px 0;border-radius:4px}
.guide-warning p{font-size:.88rem;color:var(--muted);line-height:1.6;margin:0}
.guide-dl{margin:28px 0 8px}
@media (max-width:640px){.guide-body h2{font-size:1.3rem;margin-top:30px}}
