/* ═══════════════════════════════════════════════
   SQUELETTE GROSBLIEDERSTROFF — SPIP
   Style principal
═══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:        #1b3d6e;
  --primary-light:  #2557a7;
  --accent:         #3ab7a5;
  --gold:           #e8a020;
  --light:          #f4f7fb;
  --text:           #1a2332;
  --muted:          #64748b;
  --white:          #ffffff;
  --border:         #e2e8f0;
  --radius:         14px;
  --shadow:         0 4px 24px rgba(27,61,110,.10);
  --shadow-lg:      0 12px 48px rgba(27,61,110,.16);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 70px;
  background: rgba(27,61,110,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: all .3s;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-badge {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--white); font-size: 14px;
}
.nav-logo-text { color: var(--white); }
.nav-logo-text strong { display: block; font-size: 15px; font-weight: 700; }
.nav-logo-text span  { display: block; font-size: 11px; opacity: .7; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,.85); text-decoration: none;
  font-size: 13.5px; font-weight: 500; padding: 7px 14px; border-radius: 8px; transition: all .2s;
}
.nav-links a:hover { background: rgba(255,255,255,.12); color: var(--white); }
.nav-cta { background: var(--accent) !important; color: var(--white) !important; }
.nav-cta:hover { background: #2fa090 !important; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: white; margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ── SÉLECTEUR DE LANGUE ── */
.lang-switcher {
  display: flex; align-items: center; gap: 2px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  padding: 4px;
  margin-left: 8px;
  flex-shrink: 0;
}
.lang-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 7px;
  text-decoration: none;
  color: rgba(255,255,255,.7);
  font-size: 12px; font-weight: 700; letter-spacing: .5px;
  transition: all .2s;
}
.lang-btn:hover {
  background: rgba(255,255,255,.15);
  color: var(--white);
}
.lang-btn.lang-active {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.lang-flag { font-size: 14px; line-height: 1; }
.lang-sep { width: 1px; height: 18px; background: rgba(255,255,255,.2); margin: 0 2px; }

@media (max-width:640px) {
  .lang-switcher { margin-left: 4px; }
  .lang-code { display: none; }
  .lang-btn { padding: 5px 7px; }
}

/* ── HERO ── */
.hero { min-height: 100vh; position: relative; display: flex; align-items: center; overflow: hidden; }

/* Hero avec photo réelle (gérée depuis l'admin SPIP — article "Image d'accueil") */
/* Calque photo : caché par défaut, activé par JS quand une photo existe */
.hero-photo-layer {
  display: none;
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,61,110,.75) 0%, rgba(37,87,167,.55) 50%, rgba(27,61,110,.30) 100%);
  z-index: 0;
}
/* Quand la classe hero-photo est ajoutée par JS : montrer photo, cacher l'animation CSS */
.hero.hero-photo .hero-photo-layer {
  display: block;
}
.hero.hero-photo .hero-bg,
.hero.hero-photo .sun,
.hero.hero-photo .hero-haze {
  display: none;
}
.hero.hero-photo .hero-content,
.hero.hero-photo .hero-stats,
.hero.hero-photo .scroll-hint { position: relative; z-index: 1; }

.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(175deg, #1b3d6e 0%, #2557a7 35%, #4e9fd4 60%, #a8d8ea 80%, #d8eef8 100%);
}
.hero-bg::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 55%;
  background: radial-gradient(ellipse 120% 80% at 30% 120%, #2d6a3f 0%, transparent 60%),
              radial-gradient(ellipse 90% 70% at 75% 115%, #1e4a2c 0%, transparent 55%),
              linear-gradient(180deg, transparent 20%, #3a7d52 55%, #2d6540 100%);
  clip-path: ellipse(110% 60% at 50% 100%);
}
.hero-bg::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 22%;
  background: linear-gradient(180deg, #4e9fd4 0%, #3891c8 40%, #2a7fb8 100%);
  clip-path: polygon(0 40%,12% 28%,28% 35%,44% 20%,60% 32%,76% 18%,90% 28%,100% 22%,100% 100%,0 100%);
  opacity: .82;
}
.hero-haze { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,61,110,.38) 0%, rgba(27,61,110,.05) 50%, rgba(0,0,0,.28) 100%); }
.sun { position: absolute; top: 12%; right: 18%; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle,#ffe566 0%,#f4a020 55%,transparent 75%); box-shadow: 0 0 80px 20px rgba(248,196,60,.3); animation: sunrise 3s ease-out forwards; }
@keyframes sunrise { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.cloud { position: absolute; border-radius: 50px; background: rgba(255,255,255,.22); filter: blur(8px); }
.cloud-1 { top:18%; left:8%; width:180px; height:40px; animation: drift 18s linear infinite; }
.cloud-2 { top:26%; left:25%; width:120px; height:28px; animation: drift 24s linear infinite 4s; }
.cloud-3 { top:14%; right:30%; width:150px; height:35px; animation: drift 20s linear infinite 8s; }
@keyframes drift { 0%,100%{transform:translateX(0)} 50%{transform:translateX(30px)} }
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 80px 5% 0; width: 100%; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25); color: var(--white);
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 28px;
  animation: fadeUp .8s ease-out .2s both;
}
.hero-eyebrow::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--gold); }
.hero-title { font-family:'Playfair Display',Georgia,serif; font-size:clamp(42px,7vw,88px); color:var(--white); line-height:1.05; margin-bottom:24px; animation:fadeUp .8s ease-out .4s both; }
.hero-title em { font-style:normal; color:var(--gold); }
.hero-desc { font-size:clamp(15px,2vw,18px); color:rgba(255,255,255,.85); max-width:520px; line-height:1.7; margin-bottom:40px; animation:fadeUp .8s ease-out .6s both; }
.hero-actions { display:flex; flex-wrap:wrap; gap:14px; animation:fadeUp .8s ease-out .8s both; }
.hero-stats { position:absolute; bottom:12%; right:5%; z-index:3; display:flex; flex-direction:column; gap:12px; animation:fadeLeft .8s ease-out 1s both; }
.stat-card { background:rgba(255,255,255,.12); backdrop-filter:blur(16px); border:1px solid rgba(255,255,255,.2); border-radius:12px; padding:14px 20px; display:flex; align-items:center; gap:14px; min-width:200px; }
.stat-icon { width:42px; height:42px; border-radius:10px; background:var(--gold); display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0; }
.stat-num { font-size:22px; font-weight:700; color:var(--white); line-height:1; }
.stat-label { font-size:11px; color:rgba(255,255,255,.7); margin-top:2px; }
.scroll-hint { position:absolute; bottom:28px; left:50%; transform:translateX(-50%); display:flex; flex-direction:column; align-items:center; gap:6px; color:rgba(255,255,255,.5); font-size:11px; letter-spacing:1px; text-transform:uppercase; animation:bob 2s ease-in-out infinite 1.5s; z-index:3; }
@keyframes bob { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeLeft { from{opacity:0;transform:translateX(30px)} to{opacity:1;transform:translateX(0)} }

/* ── BOUTONS ── */
.btn { display:inline-flex; align-items:center; gap:8px; padding:14px 28px; border-radius:10px; font-size:15px; font-weight:600; text-decoration:none; cursor:pointer; transition:all .25s; font-family:inherit; border:none; }
.btn-primary { background:var(--accent); color:var(--white); box-shadow:0 8px 24px rgba(58,183,165,.4); }
.btn-primary:hover { background:#2fa090; transform:translateY(-2px); }
.btn-outline { background:rgba(255,255,255,.1); color:var(--white); border:1.5px solid rgba(255,255,255,.4); backdrop-filter:blur(8px); }
.btn-outline:hover { background:rgba(255,255,255,.2); transform:translateY(-2px); }
.btn-outline-dark { background:transparent; color:var(--primary); border:1.5px solid var(--border); }
.btn-outline-dark:hover { border-color:var(--accent); color:var(--accent); }

/* ── SECTIONS COMMUNES ── */
section { padding: 96px 5%; }
.section-wrap { max-width: 1200px; margin: 0 auto; }
.section-eyebrow { display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--accent); margin-bottom:12px; }
.section-eyebrow::before { content:''; width:24px; height:2px; background:var(--accent); }
h2 { font-family:'Playfair Display',serif; font-size:clamp(28px,4vw,44px); color:var(--primary); line-height:1.15; }
h2 em { font-style:normal; color:var(--accent); }

/* ── DÉMARCHES ── */
.demarches { background:var(--light); }
.dem-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:16px; margin-top:48px; }
.dem-card { background:var(--white); border-radius:var(--radius); border:1.5px solid var(--border); padding:24px 20px; text-align:center; text-decoration:none; color:var(--text); transition:all .25s; display:flex; flex-direction:column; align-items:center; gap:12px; position:relative; overflow:hidden; }
.dem-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--accent),var(--primary-light)); transform:scaleX(0); transform-origin:left; transition:transform .3s; }
.dem-card:hover { border-color:var(--accent); box-shadow:var(--shadow); transform:translateY(-4px); }
.dem-card:hover::before { transform:scaleX(1); }
.dem-icon { width:56px; height:56px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:26px; }
.dem-title { font-weight:600; font-size:14px; line-height:1.3; }
.dem-arrow { font-size:12px; color:var(--accent); font-weight:700; opacity:0; transform:translateX(-6px); transition:all .25s; }
.dem-card:hover .dem-arrow { opacity:1; transform:translateX(0); }

/* ── ACTUALITÉS ── */
.news-header { display:flex; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; gap:16px; }
.news-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:24px; margin-top:48px; }
.news-card { border-radius:var(--radius); overflow:hidden; background:var(--white); border:1.5px solid var(--border); transition:all .25s; cursor:pointer; }
.news-card:hover { box-shadow:var(--shadow-lg); transform:translateY(-4px); border-color:transparent; }
.news-card-img { width:100%; aspect-ratio:16/9; display:flex; align-items:center; justify-content:center; font-size:48px; position:relative; overflow:hidden; }
.news-card-img.big { aspect-ratio:16/10; }
.news-badge { position:absolute; top:12px; left:12px; font-size:11px; font-weight:700; letter-spacing:.8px; text-transform:uppercase; padding:4px 10px; border-radius:100px; color:var(--white); }
.news-body { padding:20px; }
.news-date { font-size:11px; color:var(--muted); margin-bottom:8px; }
.news-title-text { font-size:16px; font-weight:600; line-height:1.4; margin-bottom:8px; }
.news-card:first-child .news-title-text { font-size:20px; }
.news-excerpt { font-size:13px; color:var(--muted); line-height:1.6; }
.news-link { display:inline-flex; align-items:center; gap:6px; margin-top:14px; color:var(--accent); font-size:13px; font-weight:600; text-decoration:none; }
.news-link:hover { gap:10px; }

/* ── VIE LOCALE ── */
.vie-locale { background:var(--primary); }
.vie-locale h2 { color:var(--white); }
.vie-locale .section-eyebrow { color:var(--gold); }
.vie-locale .section-eyebrow::before { background:var(--gold); }
.vie-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:48px; }
.vie-card { background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.12); border-radius:var(--radius); padding:32px 28px; transition:all .3s; cursor:pointer; }
.vie-card:hover { background:rgba(255,255,255,.12); transform:translateY(-4px); border-color:rgba(58,183,165,.5); }
.vie-card-icon { font-size:40px; margin-bottom:16px; }
.vie-card h3 { font-size:18px; font-weight:700; color:var(--white); margin-bottom:10px; }
.vie-card p { font-size:14px; color:rgba(255,255,255,.65); line-height:1.6; }
.vie-card-tag { display:inline-block; margin-top:16px; font-size:11px; font-weight:700; letter-spacing:.8px; text-transform:uppercase; color:var(--accent); padding:4px 10px; border:1px solid var(--accent); border-radius:100px; }

/* ── PATRIMOINE ── */
.patri-split { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; margin-top:48px; }
.patri-visual { border-radius:20px; overflow:hidden; aspect-ratio:4/3; position:relative; }
.patri-scene { width:100%; height:100%; background:linear-gradient(180deg,#b8d9f0 0%,#7ab8e0 30%,#4e9fd4 55%,#2a7fb8 70%,#1e5f9a 100%); position:relative; overflow:hidden; }
.patri-scene-hills { position:absolute; bottom:25%; left:0; right:0; height:55%; background:radial-gradient(ellipse 80% 70% at 20% 130%,#2d6a3f 0%,transparent 55%),radial-gradient(ellipse 70% 60% at 80% 120%,#1e4a2c 0%,transparent 50%),linear-gradient(180deg,transparent 30%,#3a7d52 70%,#2d6540 100%); }
.patri-scene-water { position:absolute; bottom:0; left:0; right:0; height:28%; background:linear-gradient(180deg,#4e9fd4 0%,#2a7fb8 100%); }
.patri-scene-water-shimmer { position:absolute; top:20%; left:0; right:0; height:4px; background:rgba(255,255,255,.25); border-radius:2px; animation:shimmer 3s ease-in-out infinite; }
.patri-scene-water-shimmer:nth-child(2) { top:40%; width:70%; animation-delay:1s; }
.patri-scene-water-shimmer:nth-child(3) { top:60%; left:15%; width:55%; animation-delay:2s; }
@keyframes shimmer { 0%,100%{opacity:.25} 50%{opacity:.6} }
.patri-bridge-scene { position:absolute; bottom:26%; left:50%; transform:translateX(-50%); width:240px; height:50px; }
.pbs-arch { position:absolute; bottom:8px; left:8%; width:84%; height:38px; border:4px solid rgba(255,255,255,.6); border-bottom:none; border-radius:200px 200px 0 0; }
.pbs-deck { position:absolute; bottom:6px; left:0; right:0; height:6px; background:rgba(255,255,255,.5); border-radius:3px; }
.pbs-pillar { position:absolute; bottom:0; width:5px; background:rgba(255,255,255,.4); border-radius:2px; }
.pbs-pillar:nth-child(1) { height:28px; left:28%; }
.pbs-pillar:nth-child(2) { height:28px; right:28%; }
.patri-label { position:absolute; bottom:14px; left:50%; transform:translateX(-50%); background:rgba(27,61,110,.75); backdrop-filter:blur(8px); color:white; font-size:12px; font-weight:600; padding:6px 14px; border-radius:100px; white-space:nowrap; }
.patri-text h2 { margin-bottom:20px; }
.patri-text p { color:var(--muted); line-height:1.75; margin-bottom:16px; font-size:15px; }
.patri-features { display:flex; flex-direction:column; gap:14px; margin:28px 0; }
.patri-feature { display:flex; align-items:flex-start; gap:14px; padding:16px; border-radius:10px; border:1.5px solid var(--border); transition:border-color .2s; }
.patri-feature:hover { border-color:var(--accent); }
.patri-feature-icon { font-size:22px; flex-shrink:0; margin-top:2px; }
.patri-feature h4 { font-size:14px; font-weight:700; margin-bottom:4px; }
.patri-feature p { font-size:13px; color:var(--muted); margin:0; }

/* ── INFOS PRATIQUES ── */
.infos { background:var(--light); }
.infos-grid { display:grid; grid-template-columns:1.3fr 1fr; gap:48px; margin-top:48px; }
.infos-contact { background:var(--white); border-radius:var(--radius); border:1.5px solid var(--border); padding:36px; }
.infos-contact h3 { font-size:20px; font-weight:700; margin-bottom:24px; color:var(--primary); }
.info-row { display:flex; align-items:flex-start; gap:14px; padding:14px 0; border-bottom:1px solid var(--border); }
.info-row:last-child { border-bottom:none; }
.info-row-icon { font-size:22px; flex-shrink:0; margin-top:2px; }
.info-row-label { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:var(--muted); margin-bottom:4px; }
.info-row-val { font-size:14px; font-weight:500; }
.info-row-val a { color:var(--primary-light); text-decoration:none; }
.info-row-val a:hover { color:var(--accent); }
.map-placeholder { border-radius:var(--radius); overflow:hidden; height:100%; min-height:300px; background:linear-gradient(180deg,#a8d5eb 0%,#7bbfd8 40%,#4e9fd4 70%,#2a7fb8 100%); position:relative; display:flex; align-items:center; justify-content:center; }
.map-placeholder-inner { text-align:center; color:white; z-index:2; position:relative; }
.map-pin { width:48px; height:48px; border-radius:50% 50% 50% 0; background:var(--gold); transform:rotate(-45deg); margin:0 auto 16px; display:flex; align-items:center; justify-content:center; box-shadow:0 8px 24px rgba(232,160,32,.5); animation:pinBounce 2s ease-in-out infinite; }
.map-pin::after { content:''; width:14px; height:14px; border-radius:50%; background:var(--white); transform:rotate(45deg); }
@keyframes pinBounce { 0%,100%{transform:rotate(-45deg) translateY(0)} 50%{transform:rotate(-45deg) translateY(-8px)} }
.map-street-h { position:absolute; top:50%; left:0; right:0; height:3px; background:rgba(255,255,255,.25); }
.map-street-v { position:absolute; left:50%; top:0; bottom:0; width:3px; background:rgba(255,255,255,.25); }
.map-grid-h,.map-grid-v { position:absolute; background:rgba(255,255,255,.1); }
.map-grid-h { height:1px; width:100%; }
.map-grid-h:nth-child(1){top:25%} .map-grid-h:nth-child(2){top:75%}
.map-grid-v { width:1px; height:100%; }
.map-grid-v:nth-child(1){left:25%} .map-grid-v:nth-child(2){right:25%}
.map-label { font-size:14px; font-weight:700; margin-top:8px; }
.map-sublabel { font-size:12px; opacity:.7; margin-top:4px; }

/* ── CTA NEWSLETTER ── */
.cta-band { background:linear-gradient(135deg,var(--accent) 0%,#2557a7 100%); padding:72px 5%; text-align:center; }
.cta-band h2 { font-family:'Playfair Display',serif; color:var(--white); font-size:clamp(24px,4vw,38px); margin-bottom:14px; }
.cta-band p { color:rgba(255,255,255,.8); font-size:16px; margin-bottom:32px; }
.cta-form { display:flex; gap:10px; max-width:440px; margin:0 auto; }
.cta-input { flex:1; padding:14px 18px; border-radius:10px; border:none; outline:none; font-size:14px; font-family:inherit; }
.btn-white { background:var(--white); color:var(--primary); font-weight:700; padding:14px 22px; border-radius:10px; border:none; cursor:pointer; font-family:inherit; white-space:nowrap; font-size:14px; transition:all .2s; }
.btn-white:hover { background:var(--light); transform:translateY(-1px); }

/* ── PAGE ARTICLE ── */
.page-hero { background:linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%); padding:120px 5% 64px; color:white; }
.page-hero .breadcrumb { font-size:13px; color:rgba(255,255,255,.6); margin-bottom:16px; }
.page-hero .breadcrumb a { color:rgba(255,255,255,.7); text-decoration:none; }
.page-hero .breadcrumb a:hover { color:white; }
.page-hero h1 { font-family:'Playfair Display',serif; font-size:clamp(28px,5vw,52px); line-height:1.15; margin-bottom:16px; }
.page-hero .meta { font-size:13px; color:rgba(255,255,255,.65); display:flex; gap:16px; flex-wrap:wrap; }
.article-body { max-width:760px; margin:0 auto; padding:64px 5%; }
/* Images dans le corps de l'article */
.article-body img {
  width: 100%; max-height: 520px;
  object-fit: cover; object-position: center;
  border-radius: 12px; margin: 24px 0;
  display: block;
}
/* Wrappers SPIP (spip_doc_centre, _left, _right) */
.article-body .spip_doc_centre,
.article-body .spip_doc_left,
.article-body .spip_doc_right { margin: 24px auto; }
.article-body .spip_doc_left  { float: left;  margin-right: 28px; max-width: 45%; }
.article-body .spip_doc_right { float: right; margin-left: 28px;  max-width: 45%; }
.article-body .spip_doc_left img,
.article-body .spip_doc_right img { max-height: 320px; width: auto; max-width: 100%; }
.article-body::after { content:''; display:table; clear:both; }
.article-body p { font-size:16px; line-height:1.8; color:var(--text); margin-bottom:20px; }
.article-body h2 { font-size:24px; margin:36px 0 16px; color:var(--primary); }
.article-body h3 { font-size:20px; margin:28px 0 12px; color:var(--primary); }

/* ── PAGE RUBRIQUE ── */
.rubrique-header { background:var(--light); padding:120px 5% 48px; border-bottom:1px solid var(--border); }
.rubrique-header h1 { font-family:'Playfair Display',serif; font-size:clamp(28px,5vw,48px); color:var(--primary); margin-bottom:12px; }
.rubrique-articles { max-width:1200px; margin:0 auto; padding:64px 5%; display:grid; grid-template-columns:repeat(auto-fill,minmax(340px,1fr)); gap:28px; }
.article-card { background:var(--white); border-radius:var(--radius); border:1.5px solid var(--border); overflow:hidden; transition:all .25s; text-decoration:none; color:var(--text); display:flex; flex-direction:column; }
.article-card:hover { box-shadow:var(--shadow-lg); transform:translateY(-4px); border-color:transparent; }
.article-card-img { aspect-ratio:16/9; background:linear-gradient(135deg,var(--primary),var(--accent)); display:flex; align-items:center; justify-content:center; font-size:40px; }
.article-card-body { padding:24px; flex:1; display:flex; flex-direction:column; }
.article-card-date { font-size:11px; color:var(--muted); margin-bottom:8px; }
.article-card-title { font-size:17px; font-weight:700; margin-bottom:10px; line-height:1.35; }
.article-card-desc { font-size:13px; color:var(--muted); line-height:1.6; flex:1; }
.article-card-link { display:inline-flex; align-items:center; gap:6px; margin-top:16px; color:var(--accent); font-size:13px; font-weight:600; }

/* ── FOOTER ── */
footer { background:#0f2340; color:rgba(255,255,255,.65); padding:64px 5% 32px; }
.footer-grid { max-width:1200px; margin:0 auto; display:grid; grid-template-columns:2fr 1fr 1fr 1.3fr; gap:48px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.08); }
.footer-brand h3 { font-family:'Playfair Display',serif; font-size:22px; color:var(--white); margin-bottom:12px; }
.footer-brand p { font-size:13px; line-height:1.7; max-width:240px; }
.footer-armoiries { width:56px; height:70px; margin-bottom:16px; background:linear-gradient(135deg,var(--gold) 0%,#c47a10 100%); border-radius:4px 4px 30px 30px; display:flex; align-items:center; justify-content:center; font-size:28px; }
.footer-col h4 { font-size:13px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:var(--white); margin-bottom:20px; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-col ul a { color:rgba(255,255,255,.6); text-decoration:none; font-size:13.5px; transition:color .2s; }
.footer-col ul a:hover { color:var(--accent); }
.footer-socials { display:flex; gap:10px; margin-top:16px; }
.social-btn { width:38px; height:38px; border-radius:9px; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; font-size:16px; cursor:pointer; transition:all .2s; text-decoration:none; color:white; }
.social-btn:hover { background:var(--accent); transform:translateY(-2px); }
.footer-bottom { max-width:1200px; margin:24px auto 0; display:flex; justify-content:space-between; align-items:center; font-size:12px; color:rgba(255,255,255,.35); flex-wrap:wrap; gap:12px; }
.footer-bottom a { color:rgba(255,255,255,.45); text-decoration:none; }
.footer-bottom a:hover { color:var(--accent); }

/* ── RESPONSIVE ── */
@media (max-width:900px) {
  .hero-stats { display:none; }
  .news-grid { grid-template-columns:1fr; }
  .vie-grid { grid-template-columns:1fr 1fr; }
  .patri-split { grid-template-columns:1fr; }
  .infos-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .rubrique-articles { grid-template-columns:1fr 1fr; }
}
@media (max-width:640px) {
  nav { padding:0 4%; }
  .nav-links { display:none; }
  .nav-hamburger { display:block; }
  section { padding:64px 4%; }
  .dem-grid { grid-template-columns:repeat(2,1fr); }
  .vie-grid { grid-template-columns:1fr; }
  .cta-form { flex-direction:column; }
  .footer-grid { grid-template-columns:1fr; }
  .rubrique-articles { grid-template-columns:1fr; }
}
