/* =====================================================================
   SLM Digital · Design v2 (21/10/2026)
   Couche commune appliquée à toutes les pages du site : en-tête, pied de
   page, typographie, couleurs et boutons alignés sur la page d'accueil.
   ===================================================================== */
:root {
  --slm-bg: #0e0d0b;
  --slm-surface: #171512;
  --slm-surface-2: #1e1b17;
  --slm-text: #f4efe6;
  --slm-muted: #a8a196;
  --slm-line: rgba(244, 239, 230, 0.09);
  --slm-accent: #cba76b;
  --slm-accent-soft: #e4c999;
  --slm-gold-deep: #a9844a;
  --slm-bronze: #8a6a35;
  --slm-light: #f6f2eb;
  --slm-ink: #1b1814;
  --slm-radius: 24px;
  --slm-gold: linear-gradient(135deg, #e4c999 0%, #cba76b 48%, #a9844a 100%);
  --main-color: #cba76b;
}

/* ---------- Base ---------- */
html, body { background: var(--slm-bg) !important; }
body {
  color: var(--slm-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  -webkit-font-smoothing: antialiased;
}
body p, body li, body td, body th, body span, body a, body input, body textarea, body select, body button, body label {
  font-family: inherit;
}
.main-bg, main { background-color: transparent; }
.cursor { display: none !important; }
::selection { background: rgba(203, 167, 107, 0.35); color: #fff; }

/* Titres : même signature que l'accueil */
main h1, main .fz-80, main .fz-70 {
  font-family: "Barlow Condensed", Inter, sans-serif !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: -0.01em !important;
  line-height: 0.95 !important;
  font-size: clamp(42px, 6vw, 84px) !important;
}
main h2 {
  font-family: "Barlow Condensed", Inter, sans-serif !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: -0.005em !important;
  line-height: 1 !important;
  font-size: clamp(30px, 3.6vw, 48px) !important;
}
main h3 {
  font-family: Inter, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  text-transform: none !important;
}
main h1 span, main h2 span { font-family: inherit !important; }

/* Liens et accents */
main a { text-underline-offset: 3px; }
.main-color, .text-main-color { color: var(--slm-accent) !important; }

/* Boutons du thème : pilules dorées comme l'accueil */
.butn {
  border-radius: 999px !important;
  font-family: Inter, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.butn:not(.butn-bord):not(.butn-border) {
  background: var(--slm-gold) !important;
  color: #17130d !important;
  border: 0 !important;
  box-shadow: 0 10px 30px rgba(203, 167, 107, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.butn:not(.butn-bord):not(.butn-border) span { color: #17130d !important; }
.butn.butn-bord, .butn.butn-border {
  background: rgba(203, 167, 107, 0.04) !important;
  border: 1px solid rgba(203, 167, 107, 0.35) !important;
  color: #fff !important;
}
.butn .icon img { width: 14px; height: 14px; }
.butn:not(.butn-bord):not(.butn-border) .icon img { filter: none !important; }
.butn.butn-bord .icon img, .butn.butn-border .icon img { filter: invert(1) !important; }

/* Retour en haut */
.progress-wrap { border-radius: 50%; }
.progress-wrap svg.progress-circle path { stroke: var(--slm-accent) !important; }

/* ---------- En-tête (identique à l'accueil) ---------- */
.slm-skip {
  position: fixed; left: 16px; top: 10px; z-index: 100001;
  transform: translateY(-150%); padding: 11px 16px; border-radius: 10px;
  background: var(--slm-accent); color: #17130d; font-weight: 800; text-decoration: none;
}
.slm-skip:focus { transform: translateY(0); }
.slm-v2-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.slm-nav-shell {
  position: fixed; inset: 0 0 auto; z-index: 100000;
  background: rgba(14, 13, 11, 0.86);
  border-bottom: 1px solid var(--slm-line);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  font-family: Inter, system-ui, sans-serif;
}
.slm-nav { min-height: 78px; display: flex; align-items: center; gap: 30px; position: relative; }
.slm-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: 0 0 auto; color: #fff; }
.slm-brand svg { width: 38px; height: 38px; }
.slm-brand-text { display: grid; line-height: 0.9; letter-spacing: 0.08em; color: #fff; }
.slm-brand-text strong { font-size: 18px; font-weight: 800; }
.slm-brand-text small { margin-top: 5px; color: var(--slm-muted); font-size: 9px; letter-spacing: 0.27em; }
.slm-menu { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.slm-menu a { color: #d9d3c8; font-size: 14px; font-weight: 600; text-decoration: none; }
.slm-menu a:hover, .slm-menu a[aria-current="page"] { color: #fff; }
.slm-nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 19px; border-radius: 999px;
  background: var(--slm-gold); color: #17130d !important; font-weight: 800 !important;
  box-shadow: 0 10px 30px rgba(203, 167, 107, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.slm-menu-toggle {
  display: none; width: 46px; height: 46px; margin-left: auto;
  border: 1px solid var(--slm-line); border-radius: 14px;
  background: var(--slm-surface); color: #fff; font-size: 22px; cursor: pointer;
}

/* ---------- Pied de page (identique à l'accueil) ---------- */
.slm-v2-footer {
  padding: 45px 0 105px; border-top: 1px solid var(--slm-line);
  color: #a8a196; background: var(--slm-bg); font-family: Inter, system-ui, sans-serif;
  position: relative; z-index: 5;
}
.slm-footer { display: grid; grid-template-columns: 1.2fr 1fr; gap: 45px; }
.slm-footer strong { color: #fff; }
.slm-footer p { max-width: 540px; line-height: 1.6; color: #a8a196; margin: 12px 0 0; }
.slm-footer a { color: #d9d3c8; text-decoration: none; }
.slm-footer a:hover { color: #fff; }
.slm-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; align-content: start; }
.slm-footer-meta {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 14px; padding-top: 25px; border-top: 1px solid var(--slm-line); font-size: 13px;
}
.slm-mobile-cta { display: none; }

@media (max-width: 980px) {
  .slm-menu-toggle { display: inline-grid; place-items: center; }
  .slm-menu {
    position: absolute; top: 77px; left: 0; right: 0; display: none;
    align-items: stretch; gap: 0; margin: 0; padding: 12px;
    border: 1px solid var(--slm-line); border-radius: 18px;
    background: #171512; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  }
  .slm-menu.is-open { display: grid; }
  .slm-menu a { padding: 13px 12px; border-radius: 10px; }
  .slm-nav-cta { margin-top: 6px; }
}
@media (max-width: 700px) {
  body { padding-bottom: 84px; }
  .slm-v2-container { width: min(100% - 28px, 1180px); }
  .slm-nav { min-height: 70px; }
  .slm-menu { top: 69px; }
  .slm-footer, .slm-footer-links { grid-template-columns: 1fr; }
  .slm-mobile-cta {
    position: fixed; z-index: 99999; left: 9px; right: 9px; bottom: 9px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px;
    border: 1px solid var(--slm-line); border-radius: 16px;
    background: rgba(14, 13, 11, 0.94); backdrop-filter: blur(14px);
  }
  .slm-mobile-cta a {
    display: grid; place-items: center; min-height: 46px; border-radius: 11px;
    font-size: 13px; font-weight: 800; text-decoration: none; font-family: Inter, sans-serif;
  }
  .slm-mobile-cta a:first-child { background: #f4efe6; color: #17130d; }
  .slm-mobile-cta a:last-child { background: var(--slm-gold); color: #17130d; }
  /* la bulle de chat remonte au-dessus de la barre mobile */
  .slm-bubble { bottom: 84px !important; }
}

/* ---------- Ajustements de mise en page ---------- */
/* Le contenu démarre sous l'en-tête fixe */
#smooth-content { padding-top: 78px; }
body:not(:has(#smooth-content)) > main,
body:not(:has(#smooth-content)) .main-bg:first-of-type { padding-top: 78px; }
/* Titres : pas de coupure au milieu d'un mot */
main h1, main h2, main h3 {
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: manual;
}
/* La bulle de chat reste au-dessus de la barre de contact mobile */
@media (max-width: 700px) {
  #smooth-content { padding-top: 70px; }
  .slm-chat { bottom: 88px !important; right: 12px !important; }
  main h1, main .fz-80, main .fz-70 { font-size: clamp(36px, 10.5vw, 56px) !important; }
  main h2 { font-size: clamp(28px, 8vw, 40px) !important; }
}

/* Pages création (Bouc-Bel-Air, Fuveau, Gréasque, Meyreuil) : titre d'accroche */
.header-cst h1 { transform: none !important; max-width: 1050px; margin-inline: auto !important; }
.header-cst .caption h2 {
  font-family: Inter, sans-serif !important;
  font-weight: 500 !important;
  text-transform: none !important;
  font-size: clamp(18px, 1.7vw, 22px) !important;
  line-height: 1.5 !important;
  color: #d9d3c8;
  max-width: 860px; margin-inline: auto;
}
main h1 { transform: none; }
.butn { display: inline-flex !important; align-items: center; justify-content: center; min-height: 48px; }
.butn:not(.butn-md):not(.butn-sm):not(.butn-lg):not(.butn-xs) { padding: 12px 24px !important; }

/* =====================================================================
   Composants v2 (pages réécrites : Prestations, À propos)
   ===================================================================== */
.v2 { padding-top: 78px; }
.v2 section { position: relative; }
.v2-section { padding: 88px 0; }
.v2-alt { background: #13110f; border-top: 1px solid var(--slm-line); border-bottom: 1px solid var(--slm-line); }
.v2-light { background: var(--slm-light); color: var(--slm-ink); }
.v2-kicker {
  display: flex; align-items: center; gap: 10px; margin: 0 0 14px;
  color: var(--slm-accent); font-size: 13px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.v2-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.v2-light .v2-kicker { color: #7a5d2c; }
.v2-head { max-width: 820px; margin-bottom: 38px; }
.v2-head p { margin: 18px 0 0; color: var(--slm-muted); font-size: 17px; line-height: 1.65; }
.v2-light .v2-head p { color: #5c554b; }
.v2-lead { max-width: 680px; margin: 22px 0 0; color: #cfc8bc; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.6; }
.v2-hero { padding: 72px 0 70px; background: radial-gradient(circle at 12% 18%, rgba(203,167,107,.10), transparent 34%), radial-gradient(circle at 85% 80%, rgba(203,167,107,.05), transparent 32%); }
.v2-hero h1 span { background: var(--slm-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v2-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; }
.v2-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.v2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 800;
  text-decoration: none !important; transition: transform .2s, border-color .2s;
}
.v2-btn:hover { transform: translateY(-2px); }
.v2-btn-primary { background: var(--slm-gold); color: #17130d !important; box-shadow: 0 10px 30px rgba(203,167,107,.18), inset 0 1px 0 rgba(255,255,255,.35); }
.v2-btn-secondary { border: 1px solid rgba(203,167,107,.35); background: rgba(203,167,107,.04); color: #fff !important; }
.v2-light .v2-btn-secondary { color: var(--slm-ink) !important; border-color: rgba(27,24,20,.22); }
.v2-mini { margin-top: 16px; color: #9b9489; font-size: 14px; }
.v2-mini strong { color: #f4efe6; }
.v2-grid { display: grid; gap: 16px; }
.v2-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v2-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v2-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v2-card {
  display: flex; flex-direction: column; padding: 28px; border-radius: 22px;
  border: 1px solid var(--slm-line);
  background: linear-gradient(180deg, rgba(244,239,230,.035), rgba(244,239,230,.012));
}
.v2-card h3 { margin: 0 0 10px; font-size: 21px; color: #fff; }
.v2-card p { margin: 0; color: var(--slm-muted); line-height: 1.6; }
.v2-card .v2-num { color: var(--slm-accent); font-size: 13px; font-weight: 800; letter-spacing: .12em; margin-bottom: 14px; }
.v2-card ul { margin: 16px 0 0; padding: 0; list-style: none; }
.v2-card li { position: relative; padding-left: 24px; margin: 9px 0; color: #d9d3c8; line-height: 1.5; }
.v2-card li::before { content: "✓"; position: absolute; left: 0; color: var(--slm-accent); font-weight: 800; }
.v2-card .v2-btn { margin-top: auto; }
.v2-card .v2-card-cta { padding-top: 22px; margin-top: auto; }
.v2-card.is-featured { border-color: rgba(203,167,107,.6); box-shadow: 0 24px 60px rgba(203,167,107,.1); }
.v2-price { margin: 4px 0 12px; font-family: "Barlow Condensed", Inter, sans-serif; font-size: 44px; font-weight: 900; line-height: 1; color: #fff; }
.v2-price small { font-family: Inter, sans-serif; font-size: 13px; font-weight: 700; color: var(--slm-muted); margin-left: 6px; }
.v2-badge { align-self: flex-start; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px; background: var(--slm-gold); color: #17130d; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.v2-light .v2-card { background: #fff; border-color: rgba(27,24,20,.1); box-shadow: 0 18px 40px rgba(27,24,20,.06); }
.v2-light .v2-card h3 { color: var(--slm-ink); }
.v2-light .v2-card p, .v2-light .v2-card li { color: #5c554b; }
.v2-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: step; }
.v2-step { padding: 22px; border-radius: 18px; border: 1px solid var(--slm-line); background: rgba(244,239,230,.025); }
.v2-step b { display: block; color: var(--slm-accent); font-size: 13px; letter-spacing: .12em; margin-bottom: 10px; }
.v2-step h3 { margin: 0 0 8px; font-size: 18px; color: #fff; }
.v2-step p { margin: 0; color: var(--slm-muted); font-size: 15px; line-height: 1.55; }
.v2-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.v2-pills a { padding: 11px 18px; border: 1px solid rgba(203,167,107,.3); border-radius: 999px; color: var(--slm-text); font-weight: 600; text-decoration: none; }
.v2-pills a:hover { border-color: var(--slm-accent); background: rgba(203,167,107,.06); }
.v2-faq details { border-bottom: 1px solid var(--slm-line); padding: 20px 0; }
.v2-faq summary { cursor: pointer; font-weight: 700; font-size: 17px; color: #fff; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.v2-faq summary::after { content: "+"; color: var(--slm-accent); font-size: 22px; line-height: 1; }
.v2-faq details[open] summary::after { content: "−"; }
.v2-faq details p { margin: 12px 0 0; color: var(--slm-muted); line-height: 1.65; max-width: 820px; }
.v2-closing { padding: 0 0 96px; }
.v2-closing-box { padding: clamp(32px, 5vw, 64px); border-radius: 30px; border: 1px solid rgba(203,167,107,.22); background: linear-gradient(135deg, #1e1a15, #100e0c); }
.v2-closing-box p { max-width: 640px; color: #cfc8bc; font-size: 17px; line-height: 1.6; }
.v2-photo { position: relative; justify-self: center; }
.v2-photo img { display: block; width: min(320px, 70vw); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid var(--slm-accent); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.v2-photo figcaption { margin-top: 16px; text-align: center; color: var(--slm-muted); font-size: 14px; }
.v2-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--slm-line); border-radius: 20px; overflow: hidden; }
.v2-stats div { padding: 24px; border-right: 1px solid var(--slm-line); }
.v2-stats div:last-child { border-right: 0; }
.v2-stats strong { display: block; font-family: "Barlow Condensed", Inter, sans-serif; font-size: 40px; font-weight: 900; line-height: 1; background: var(--slm-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v2-stats span { display: block; margin-top: 8px; color: var(--slm-muted); font-size: 14px; }
.v2-quote { margin: 0; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid rgba(27,24,20,.1); }
.v2-quote blockquote { margin: 10px 0 14px; color: var(--slm-ink); line-height: 1.6; }
.v2-quote figcaption { color: #5c554b; font-size: 14px; }
.v2-stars { color: #8a6a35; letter-spacing: 2px; }
.v2-prose p { color: #cfc8bc; font-size: 17px; line-height: 1.75; margin: 0 0 18px; max-width: 760px; }
.v2-prose strong { color: #fff; }
.v2-link-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.v2-link-list a { color: var(--slm-text); text-decoration: none; border-bottom: 1px solid rgba(203,167,107,.3); }
.v2-link-list a:hover { color: var(--slm-accent); }
@media (max-width: 980px) {
  .v2-hero-grid, .v2-grid-3, .v2-grid-4 { grid-template-columns: 1fr 1fr; }
  .v2-hero-grid { grid-template-columns: 1fr; }
  .v2-steps { grid-template-columns: 1fr 1fr; }
  .v2-stats { grid-template-columns: 1fr 1fr; }
  .v2-stats div:nth-child(2) { border-right: 0; }
  .v2-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--slm-line); }
}
@media (max-width: 700px) {
  .v2 { padding-top: 70px; }
  .v2-section { padding: 64px 0; }
  .v2-grid-2, .v2-grid-3, .v2-grid-4, .v2-steps { grid-template-columns: 1fr; }
  .v2-cta-row > a { width: 100%; }
}

/* ---------- En-tête des articles de blog : texte sur fond sombre, image en dessous ---------- */
.post-header { padding-top: 32px !important; }
.post-header .bg-img {
  height: auto !important; min-height: 0 !important; margin-top: 0 !important;
  padding: 40px 0 8px !important; border: 0 !important; border-radius: 0 !important;
  background-image: none !important; background-color: transparent !important; overflow: visible !important;
}
.post-header .bg-img::before, .post-header .bg-img::after { display: none !important; }
.post-header .bg-img .row { position: relative !important; bottom: auto !important; left: auto !important; z-index: 4; margin: 0; }
.post-header h1 { font-size: clamp(34px, 4.6vw, 64px) !important; max-width: 1000px; }
.post-header .caption .tags a {
  display: inline-block; margin: 0 6px 8px 0;
  border-color: rgba(203, 167, 107, 0.35) !important; background: rgba(203, 167, 107, 0.05);
  color: var(--slm-accent-soft) !important; font-size: 13px; font-weight: 700;
}
.post-header .caption .tags a:hover { background: var(--slm-accent) !important; color: #17130d !important; }
.post-header .circle-60 img, .post-header .circle-img { border: 2px solid var(--slm-accent); border-radius: 50%; object-fit: cover; }
.post-header .info { border-top: 1px solid var(--slm-line); padding-top: 22px; }
.v2-post-cover { margin: 28px auto 0 !important; padding-left: 27px; padding-right: 27px; }
.v2-post-cover img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--slm-radius); border: 1px solid rgba(203, 167, 107, 0.18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
@media (max-width: 700px) {
  .post-header { padding-top: 12px !important; }
  .post-header .bg-img { padding: 24px 0 4px !important; }
  .post-header h1 { font-size: clamp(30px, 8.6vw, 40px) !important; }
  .post-header .info .date { margin-left: 24px !important; }
  .v2-post-cover { padding-left: 12px; padding-right: 12px; }
  .v2-post-cover img { border-radius: 18px; }
}

/* Surtitres du thème (.sub-head, .sub-title) : même style que l'accueil */
.sub-head, .sub-title, .sec-head h6 {
  display: flex !important; align-items: center; gap: 10px;
  color: var(--slm-accent) !important; font-family: Inter, sans-serif !important;
  font-size: 13px !important; font-weight: 800 !important;
  letter-spacing: 0.16em !important; text-transform: uppercase !important;
}
.sub-head::before, .sub-title::before, .sec-head h6::before {
  content: "" !important; position: static !important; display: block !important;
  width: 28px !important; height: 1px !important; border-radius: 0 !important;
  background: currentColor !important; margin: 0 !important; transform: none !important;
}
.sub-head::after, .sub-title::after { display: none !important; }
/* Textes d'accroche trop petits dans certains modèles */
.audit-hero__sub { font-size: clamp(16px, 1.6vw, 18px) !important; color: #cfc8bc !important; }
