/* Styles partages des pages Articles ReBuild */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --paper:   #F4F6F9;
  --white:   #FFFFFF;
  --ink:     #0E1720;
  --ink-2:   #47525E;
  --ink-3:   #97A2AE;
  --navy:    #0A1E33;
  --blue:    #2E6BFF;
  --blue-2:  #5BA3FF;
  --sky:     #DCE9FF;
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --dm: 'DM Sans', -apple-system, sans-serif;
  --syne: 'Syne', sans-serif;
  --skew: -8deg;
}
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--dm); background: var(--white); color: var(--ink); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--blue); color: #fff; }
img { max-width: 100%; display: block; }
.w { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.w-n { max-width: 780px; margin: 0 auto; padding: 0 28px; }

.d { font-family: var(--cond); font-weight: 800; text-transform: uppercase; line-height: .95; letter-spacing: .005em; }
.d em { font-style: italic; font-weight: 900; }
.kick { display: inline-flex; align-items: center; gap: 12px; font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); }
.kick::before { content: ''; width: 34px; height: 3px; background: var(--blue); }

.btn { display: inline-block; text-decoration: none; border: none; cursor: pointer; background: var(--blue); padding: 0; transition: transform .18s, box-shadow .18s; transform: skewX(var(--skew)); box-shadow: 6px 6px 0 rgba(14,23,32,0.12); }
.btn > span { display: inline-block; transform: skewX(calc(var(--skew) * -1)); font-family: var(--cond); font-weight: 800; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; color: #fff; padding: 15px 34px; }
.btn:hover { transform: skewX(var(--skew)) translate(-2px, -2px); box-shadow: 9px 9px 0 rgba(46,107,255,0.25); }
.btn.ghost { background: transparent; outline: 2px solid var(--ink); outline-offset: -2px; box-shadow: none; }
.btn.ghost > span { color: var(--ink); }
.btn.ghost:hover { background: var(--ink); }
.btn.ghost:hover > span { color: #fff; }
.btn.on-dark { box-shadow: 6px 6px 0 rgba(0,0,0,0.3); }

.tag { display: inline-block; background: var(--blue); transform: skewX(var(--skew)); }
.tag > span { display: inline-block; transform: skewX(calc(var(--skew) * -1)); font-family: var(--cond); font-weight: 800; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: #fff; padding: 6px 16px; }

/* NAV */
nav.site { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); height: 74px; display: flex; align-items: center; border-bottom: 1px solid rgba(14,23,32,0.07); }
.nav-in { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--syne); font-weight: 800; font-size: 27px; letter-spacing: -0.04em; text-decoration: none; line-height: 1; }
.logo b { color: var(--blue); } .logo span { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a:not(.btn) { font-family: var(--cond); font-weight: 700; font-size: 16.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none; transition: color .2s; }
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--blue); }
.nav-links .btn > span { font-size: 15px; padding: 10px 22px; }
.nav-links .btn { box-shadow: 4px 4px 0 rgba(14,23,32,0.12); }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 3px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .25s; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* EN-TETE DE PAGE */
.page-head { background: var(--navy); color: #fff; padding: 150px 0 70px; position: relative; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2.5vw), 0 100%); }
.page-head::before { content: ''; position: absolute; top: -160px; left: 50%; transform: translateX(-50%); width: 1100px; height: 620px; background: radial-gradient(ellipse, rgba(59,142,245,0.14) 0%, transparent 65%); pointer-events: none; }
.page-head .kick { color: var(--blue-2); position: relative; z-index: 1; }
.page-head .kick::before { background: var(--blue-2); }
.page-head h1 { font-size: clamp(38px, 6vw, 76px); margin-top: 18px; position: relative; z-index: 1; }
.page-head h1 .soft { color: rgba(255,255,255,0.42); }
.page-head h1 em { color: var(--blue-2); }
.page-head .head-sub { position: relative; z-index: 1; margin-top: 20px; max-width: 620px; color: rgba(236,243,252,0.75); font-size: 16px; }
.page-head .meta { position: relative; z-index: 1; margin-top: 22px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: rgba(236,243,252,0.55); }

/* LISTE D'ARTICLES */
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; padding: 70px 0 100px; }
.art-card { background: var(--white); border: 1px solid rgba(14,23,32,0.08); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .25s, box-shadow .25s; position: relative; }
.art-card:hover { border-color: var(--blue); box-shadow: 12px 12px 0 var(--sky); }
.art-card .art-zone { position: absolute; top: 18px; left: -6px; z-index: 3; }
.art-card .art-cover { background: var(--navy); aspect-ratio: 16/9; display: flex; align-items: flex-end; padding: 20px; position: relative; overflow: hidden; }
.art-card .art-cover::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 90% at 80% 10%, rgba(46,107,255,0.35) 0%, transparent 65%); }
.art-card .art-cover strong { position: relative; font-family: var(--cond); font-weight: 900; font-style: italic; font-size: 44px; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.35); text-transform: uppercase; }
.art-card .art-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.art-card h2, .art-card h3 { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: 24px; line-height: 1.05; }
.art-card p { font-size: 14px; color: var(--ink-2); line-height: 1.65; flex: 1; }
.art-card .art-lire { font-family: var(--cond); font-weight: 800; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }

/* CORPS D'ARTICLE */
article.post { padding: 64px 0 30px; }
article.post h2 { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 3vw, 34px); line-height: 1.05; margin: 44px 0 16px; }
article.post h2 em { font-style: italic; font-weight: 900; color: var(--blue); }
article.post h3 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 21px; margin: 30px 0 10px; }
article.post p { color: var(--ink-2); margin-bottom: 16px; font-size: 16px; }
article.post p strong { color: var(--ink); font-weight: 600; }
article.post ul, article.post ol { margin: 0 0 18px 22px; color: var(--ink-2); }
article.post li { margin-bottom: 8px; }
article.post li strong { color: var(--ink); font-weight: 600; }
.encart { background: var(--paper); border-left: 3px solid var(--blue); padding: 20px 24px; margin: 26px 0; font-size: 15px; color: var(--ink-2); }
.encart strong { color: var(--ink); }
.encart.alerte { border-left-color: #C0522B; }

/* CTA D'ARTICLE */
.post-cta { background: var(--navy); color: #fff; padding: 40px 44px; margin: 54px 0 40px; position: relative; overflow: hidden; box-shadow: 14px 14px 0 var(--sky); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.post-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 90% at 85% 20%, rgba(46,107,255,0.3) 0%, transparent 65%); pointer-events: none; }
.post-cta > div { position: relative; z-index: 1; max-width: 520px; }
.post-cta h2 { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(24px, 2.6vw, 32px); line-height: 1; margin: 0 0 10px; }
.post-cta p { font-size: 14.5px; color: rgba(236,243,252,0.75); margin: 0; }
.post-cta .btn { position: relative; z-index: 1; flex-shrink: 0; }
.post-note { font-size: 13px; color: var(--ink-3); font-style: italic; margin: 30px 0 60px; }

/* FOOTER */
footer.site { background: #071523; color: rgba(236,243,252,0.6); padding: 60px 0 40px; }
.foot { display: flex; justify-content: space-between; gap: 44px; flex-wrap: wrap; }
.foot-brand p { font-size: 13.5px; max-width: 300px; margin-top: 14px; line-height: 1.75; }
.foot .logo span { color: #fff; }
.foot-col h4 { font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: 15px; color: #fff; margin-bottom: 16px; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { color: rgba(236,243,252,0.6); text-decoration: none; font-size: 14px; transition: color .2s; }
.foot-col a:hover { color: var(--blue-2); }
.foot-bottom { margin-top: 50px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: rgba(236,243,252,0.4); }
.foot-bottom a { color: inherit; text-decoration: none; }
.foot-bottom a:hover { color: #fff; }

/* RESPONSIVE */
@media (max-width: 900px) { .art-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .nav-links { position: fixed; top: 74px; left: 0; right: 0; z-index: 999; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid rgba(14,23,32,0.1); max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 28px; }
  .nav-links.open { max-height: 460px; padding: 10px 28px 24px; }
  .nav-links a:not(.btn) { display: block; padding: 14px 0; font-size: 19px; }
  .nav-links .btn { margin-top: 10px; text-align: center; }
  .burger { display: block; }
  .art-grid { grid-template-columns: 1fr; }
  .post-cta { padding: 30px 26px; }
  .post-cta .btn { width: 100%; text-align: center; }
  .foot { flex-direction: column; }
}
