/* ============================================================
   Sillon · image - styles partagés des pages articles
   Reprend la charte du hub (Inter, palette Crème/Charbon/Terre)
   ============================================================ */

:root {
  --creme: #F2EBDD; --sand: #FAF6EC; --charbon: #1A1A1A;
  --soft: rgba(26,26,26,.62); --soft2: rgba(26,26,26,.46);
  --line: rgba(26,26,26,.12); --line2: rgba(26,26,26,.07);
  --terre: #C26543; --terre-d: #A9512F; --terre-soft: rgba(194,101,67,.10);
  --maxw: 1240px; --padx: clamp(20px,5vw,64px); --secy: clamp(76px,9.5vw,132px);
  --mono: ui-monospace,"SF Mono",Menlo,Consolas,monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, sans-serif; background: var(--creme); color: var(--charbon); font-size: 17px; line-height: 1.62; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font-family: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--padx); padding-right: var(--padx); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--terre); margin-bottom: 20px; }

/* boutons */
.btn { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: 15px; line-height: 1; padding: 15px 26px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; white-space: nowrap; }
.btn-primary { background: var(--terre); color: #fff; }
.btn-primary:hover { background: var(--terre-d); transform: translateY(-2px); box-shadow: 0 14px 26px -16px rgba(169,81,47,.9); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--charbon); }
.btn-ghost:hover { border-color: var(--terre); color: var(--terre); }

/* header */
.hd { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: rgba(242,235,221,.72); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: background .3s ease, border-color .3s ease, box-shadow .3s ease; }
.hd.scrolled { background: rgba(242,235,221,.94); border-bottom-color: var(--line); box-shadow: 0 18px 40px -34px rgba(0,0,0,.55); }
.hd-in { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; flex-direction: column; gap: 3px; }
.logo-lockup { display: flex; align-items: center; gap: 10px; }
.brand .wave { flex: none; width: 92px; height: auto; display: block; }
.brand .wm { font-size: 19px; font-weight: 700; letter-spacing: -.01em; line-height: 1; }
.brand .wm .dot { font-weight: 400; color: var(--soft); }
.brand .role { font-size: 11.5px; font-weight: 400; color: var(--soft2); letter-spacing: .01em; }
.nav-desktop { display: flex; align-items: center; gap: 34px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--soft); position: relative; padding: 4px 0; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px; background: var(--terre); transition: right .25s ease; }
.nav-links a:hover, .nav-links a.is-active { color: var(--charbon); }
.nav-links a:hover::after, .nav-links a.is-active::after { right: 0; }
.burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.4); cursor: pointer; }
.burger span { display: block; width: 18px; height: 1.8px; background: var(--charbon); margin: 0 auto; transition: .25s; }

/* mobile menu */
.mmenu { position: fixed; inset: 0; z-index: 55; background: var(--creme); display: none; flex-direction: column; padding: 96px var(--padx) 40px; }
.mmenu.is-open { display: flex; }
.mmenu a { font-size: 30px; font-weight: 600; padding: 16px 0; border-bottom: 1px solid var(--line2); letter-spacing: -.01em; }
.mmenu a:last-of-type { border-bottom: none; }
.mclose { position: absolute; top: 22px; right: var(--padx); width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; font-size: 22px; cursor: pointer; line-height: 1; }

/* breadcrumb */
.crumb { padding: 110px 0 0; font-size: 14px; color: var(--soft2); }
.crumb a { color: var(--soft); transition: color .2s; }
.crumb a:hover { color: var(--terre); }
.crumb span.sep { margin: 0 8px; color: var(--soft2); }

/* page header (hero compact pour articles index ou article) */
.page-head { padding: clamp(34px, 4vw, 56px) 0 clamp(28px, 3vw, 40px); }
.page-head h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; max-width: 22ch; text-wrap: balance; margin-top: 16px; }
.page-head .lead { color: var(--soft); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; max-width: 60ch; margin-top: 22px; text-wrap: pretty; }
.page-head .meta { color: var(--soft2); font-size: 14px; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; font-family: var(--mono); letter-spacing: .02em; }
.page-head .meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--soft2); display: inline-block; }

/* grille des articles (index blog) */
.articles-sec { padding-bottom: var(--secy); }
.articles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-top: clamp(28px, 4vw, 52px); }
.art-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line2); border-radius: 18px; overflow: hidden; transition: transform .35s cubic-bezier(.2,.65,.2,1), border-color .25s ease, box-shadow .35s ease; height: 100%; }
.art-card:hover { transform: translateY(-6px); border-color: rgba(194,101,67,.4); box-shadow: 0 30px 56px -28px rgba(58,40,28,.55); }
.art-cover { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.art-cover .gradient { position: absolute; inset: 0; }
.art-cover.terre .gradient { background: repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 1px, transparent 1px 22px), linear-gradient(155deg, #C26543 0%, #A9512F 70%, #6B3621 100%); }
.art-cover.sand .gradient { background: repeating-linear-gradient(125deg, rgba(255,255,255,.07) 0 1px, transparent 1px 18px), linear-gradient(160deg, #E8DAC2 0%, #C9B190 100%); }
.art-cover.dark .gradient { background: repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 1px, transparent 1px 24px), linear-gradient(155deg, #2a2622 0%, #1A1A1A 100%); }
.art-cover .tag { position: absolute; top: 18px; left: 18px; background: rgba(250,246,236,.94); color: var(--charbon); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; font-family: var(--mono); }
.art-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; gap: 14px; }
.art-meta { display: flex; align-items: center; gap: 12px; color: var(--soft2); font-size: 13px; font-family: var(--mono); letter-spacing: .02em; }
.art-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--soft2); display: inline-block; }
.art-body h3 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; text-wrap: balance; }
.art-body p { color: var(--soft); font-size: 15.5px; line-height: 1.6; flex: 1; }
.art-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--terre); font-size: 14px; margin-top: 4px; transition: gap .25s ease; }
.art-card:hover .art-link { gap: 14px; }
.art-link::after { content: "→"; transition: transform .25s ease; }

/* article body (page article individuelle) */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 0 var(--padx); }
.article-body { padding: clamp(28px, 4vw, 48px) 0 clamp(60px, 8vw, 100px); }
.article-body p { font-size: 18px; line-height: 1.75; color: var(--charbon); margin: 22px 0; }
.article-body p:first-of-type { font-size: 19.5px; color: var(--charbon); }
.article-body h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; letter-spacing: -.015em; line-height: 1.25; margin: 56px 0 16px; text-wrap: balance; }
.article-body h3 { font-size: clamp(19px, 2vw, 22px); font-weight: 600; letter-spacing: -.01em; margin: 42px 0 12px; }
.article-body ul, .article-body ol { padding-left: 22px; margin: 22px 0; }
.article-body li { font-size: 18px; line-height: 1.7; color: var(--charbon); margin: 10px 0; }
.article-body strong { font-weight: 600; }
.article-body blockquote { border-left: 3px solid var(--terre); padding: 8px 0 8px 22px; margin: 32px 0; font-style: italic; color: var(--soft); font-size: 19px; line-height: 1.6; }
.article-body a { color: var(--terre); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s; }
.article-body a:hover { color: var(--terre-d); }
.article-body img { border-radius: 14px; margin: 32px 0; }

/* article footer - CTA + articles liés */
.article-cta { background: var(--sand); border: 1px solid var(--line2); border-radius: 18px; padding: clamp(28px, 4vw, 40px); margin: 48px 0 56px; text-align: center; }
.article-cta h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; margin-bottom: 14px; }
.article-cta p { color: var(--soft); font-size: 17px; line-height: 1.55; max-width: 50ch; margin: 0 auto 24px; }
.article-cta .btn { margin: 0 6px; }

.related { padding-top: 56px; border-top: 1px solid var(--line); }
.related h2 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 28px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.related-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: #fff; border: 1px solid var(--line2); border-radius: 14px; transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.related-card:hover { transform: translateY(-3px); border-color: rgba(194,101,67,.4); box-shadow: 0 18px 38px -28px rgba(58,40,28,.5); }
.related-card .rk { font-family: var(--mono); font-size: 12px; color: var(--terre); text-transform: uppercase; letter-spacing: .05em; }
.related-card h3 { font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--charbon); }

/* footer */
.ft { background: var(--charbon); color: rgba(242,235,221,.85); }
.ft-in { padding-top: clamp(56px,6vw,80px); padding-bottom: 38px; }
.ft-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(242,235,221,.14); }
.ft .wm { font-size: 18px; font-weight: 700; color: var(--creme); }
.ft .wm .dot { font-weight: 400; color: rgba(242,235,221,.6); }
.ft .baseline { font-size: 14px; color: rgba(242,235,221,.6); margin-top: 8px; }
.ft-links { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.ft-links a { font-size: 15px; color: rgba(242,235,221,.78); transition: color .2s; }
.ft-links a:hover { color: var(--terre); }
.ft-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; color: rgba(242,235,221,.5); }
.ft-bottom a:hover { color: var(--terre); }

/* WhatsApp floating */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(37,211,102,.38); transition: transform .2s ease, box-shadow .2s ease; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 10px 32px rgba(37,211,102,.52); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.65,.2,1), transform .8s cubic-bezier(.2,.65,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* responsive */
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .burger { display: flex; }
  .articles-grid { grid-template-columns: 1fr; gap: 24px; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .brand .role { display: none; }
}
