/* =============================================
   passerelledepaiement.com — DA Premium v2
   Palette : #1C7AE6 · #FFFFFF · #000000
   Icons   : Lucide (CDN)
   ============================================= */

:root {
  --blue:        #1C7AE6;
  --blue-dark:   #1463c0;
  --blue-light:  #e8f1fd;
  --black:       #000000;
  --off-black:   #111111;
  --gray-900:    #1a1a1a;
  --gray-700:    #333333;
  --gray-500:    #666666;
  --gray-300:    #cccccc;
  --gray-100:    #f5f5f5;
  --gray-50:     #fafafa;
  --white:       #ffffff;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 12px;

  --max-w: 1200px;
  --content-w: 740px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow:    0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);

  --transition: .18s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }
::selection { background: var(--blue); color: var(--white); }

/* ── Typography scale ── */
h1, h2, h3, h4, h5 {
  color: var(--black);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.02em;
}

/* ── Top bar ── */
.topbar {
  background: var(--black);
  color: var(--gray-300);
  font-size: .78rem;
  padding: .4rem 0;
  border-bottom: 1px solid #222;
}
.topbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: var(--gray-300); font-size: .78rem; }
.topbar a:hover { color: var(--white); }

/* ── Header ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-mark svg { color: var(--white); }
.logo-text {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -.03em;
}
.logo-text span { color: var(--blue); }

.nav {
  display: flex;
  gap: .25rem;
  list-style: none;
  align-items: center;
}
.nav a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: .35rem;
}
.nav a:hover, .nav a.active {
  color: var(--blue);
  background: var(--blue-light);
}
.nav a svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: background var(--transition), transform .1s, box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); text-decoration: none; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: var(--gray-900); color: var(--white); }
.btn-outline { border: 1.5px solid var(--black); color: var(--black); background: transparent; }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-outline-white { border: 1.5px solid rgba(255,255,255,.6); color: var(--white); background: transparent; }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.1); color: var(--white); }
.btn-sm { padding: .4rem 1rem; font-size: .82rem; }

/* ── Hero plein écran ── */
.hero {
  position: relative;
  height: 540px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1563013544-824ae1b704d3?w=1600&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: .38;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem 3.5rem;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--blue);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .3rem .8rem;
  border-radius: 2px;
  margin-bottom: 1.1rem;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  max-width: 700px;
  margin-bottom: 1rem;
  line-height: 1.15;
  letter-spacing: -.03em;
}
.hero p {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  max-width: 540px;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ── Category strip ── */
.cat-strip {
  border-bottom: 1px solid var(--gray-100);
  background: var(--white);
}
.cat-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 0;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.cat-strip-inner::-webkit-scrollbar { display: none; }
.cat-pill {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .9rem 1.1rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-500);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  text-decoration: none;
}
.cat-pill:hover, .cat-pill.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.cat-pill svg { width: 15px; height: 15px; }

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 3.5rem 0; }
.section-alt { background: var(--gray-50); }
.section-dark { background: var(--black); }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -.03em;
}
.section-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: .25rem;
  white-space: nowrap;
}
.section-link svg { width: 14px; height: 14px; }

/* ── Grilles ── */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px)  { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ── Article card ── */
.article-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.article-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--gray-100);
  position: relative;
}
.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.article-card:hover .article-card-img img { transform: scale(1.04); }
.article-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.article-card-category {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue);
  margin-bottom: .5rem;
}
.article-card h3 {
  font-size: .975rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: .5rem;
  letter-spacing: -.01em;
}
.article-card h3 a { color: var(--black); }
.article-card h3 a:hover { color: var(--blue); }
.article-card p {
  font-size: .875rem;
  color: var(--gray-500);
  line-height: 1.55;
  flex: 1;
}
.article-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: .9rem;
  padding-top: .9rem;
  border-top: 1px solid var(--gray-100);
  font-size: .78rem;
  color: var(--gray-500);
}
.article-card-meta span { display: flex; align-items: center; gap: .25rem; }
.article-card-meta svg { width: 13px; height: 13px; }

/* Featured article (grand format) */
.article-card-featured {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--black);
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  transition: box-shadow var(--transition), transform var(--transition);
}
.article-card-featured:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.article-card-featured-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .45;
  transition: opacity .3s;
}
.article-card-featured:hover .article-card-featured-bg { opacity: .5; }
.article-card-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
}
.article-card-featured-body {
  position: relative;
  z-index: 1;
  padding: 2rem;
  width: 100%;
}
.article-card-featured-body .article-card-category {
  color: var(--white);
  opacity: .8;
}
.article-card-featured-body h2, .article-card-featured-body h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: .5rem;
}
.article-card-featured-body h2 a, .article-card-featured-body h3 a { color: var(--white); }
.article-card-featured-body p { color: rgba(255,255,255,.7); font-size: .88rem; }
.article-card-featured-body .article-card-meta { border-top-color: rgba(255,255,255,.15); color: rgba(255,255,255,.6); }
.article-card-featured-body .article-card-meta svg { color: rgba(255,255,255,.6); }

/* ── Feature strip (categories cards) ── */
.cat-card {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--white);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
  display: block;
}
.cat-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
  transform: translateY(-2px);
}
.cat-card-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--blue);
}
.cat-card-icon svg { width: 20px; height: 20px; }
.cat-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: .4rem;
}
.cat-card p { font-size: .875rem; color: var(--gray-500); line-height: 1.55; }
.cat-card-arrow {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-top: 1rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue);
}
.cat-card-arrow svg { width: 14px; height: 14px; }

/* ── Stat strip ── */
.stat-strip {
  background: var(--black);
  padding: 2.5rem 0;
}
.stat-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (max-width: 768px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: .3rem;
}
.stat-num span { color: var(--blue); }
.stat-label { font-size: .82rem; color: #777; font-weight: 500; }

/* ── AD ZONE ── */
.ad-zone {
  border: 1.5px dashed var(--gray-300);
  border-radius: var(--radius);
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .4rem;
  color: var(--gray-300);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.ad-zone::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(0,0,0,.018) 8px,
    rgba(0,0,0,.018) 16px
  );
}
.ad-zone-label {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
}
.ad-zone-label svg { width: 18px; height: 18px; color: var(--gray-300); }
.ad-leaderboard { height: 90px; width: 100%; }
.ad-rectangle  { height: 250px; width: 100%; max-width: 300px; margin: 0 auto; }
.ad-sidebar    { height: 600px; width: 100%; }

/* ── Breadcrumb ── */
.breadcrumb-bar { background: var(--gray-50); border-bottom: 1px solid var(--gray-100); }
.breadcrumb {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: .65rem 1.5rem;
  font-size: .82rem;
  color: var(--gray-500);
  display: flex;
  gap: .4rem;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb-sep { color: var(--gray-300); }
.breadcrumb svg { width: 13px; height: 13px; }

/* ── Article layout ── */
.article-hero {
  width: 100%;
  aspect-ratio: 21/9;
  max-height: 480px;
  overflow: hidden;
  background: var(--gray-100);
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }

.article-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3.5rem;
  align-items: start;
}
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } }

.article-header { margin-bottom: 2rem; }
.article-category-tag {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .25rem .7rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}
.article-header h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.article-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}
.article-meta span { display: flex; align-items: center; gap: .3rem; }
.article-meta svg { width: 14px; height: 14px; }
.article-intro {
  font-size: 1.1rem;
  color: var(--gray-700);
  line-height: 1.7;
  border-left: 3px solid var(--blue);
  padding-left: 1.1rem;
  margin-bottom: 2.5rem;
}

/* Prose */
.prose h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 2.5rem 0 .9rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--gray-100);
  letter-spacing: -.025em;
}
.prose h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 2rem 0 .7rem;
  letter-spacing: -.02em;
}
.prose p { margin-bottom: 1.3rem; color: var(--gray-700); font-size: 1.02rem; line-height: 1.72; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1.3rem; }
.prose li { margin-bottom: .4rem; color: var(--gray-700); font-size: 1.02rem; line-height: 1.65; }
.prose strong { color: var(--black); font-weight: 700; }
.prose a { color: var(--blue); border-bottom: 1px solid transparent; }
.prose a:hover { border-bottom-color: var(--blue); }
.prose blockquote {
  border-left: 3px solid var(--blue);
  padding: .9rem 1.3rem;
  background: var(--blue-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.75rem 0;
}
.prose blockquote p { color: var(--gray-700); margin: 0; font-style: normal; font-size: 1rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.75rem 0; font-size: .9rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-100); }
.prose th { background: var(--black); color: var(--white); font-weight: 600; text-align: left; padding: .7rem 1rem; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.prose td { padding: .7rem 1rem; border-bottom: 1px solid var(--gray-100); color: var(--gray-700); }
.prose tr:last-child td { border-bottom: none; }
.prose tr:nth-child(even) td { background: var(--gray-50); }

/* ── Sidebar ── */
.sidebar { position: sticky; top: 88px; }
.sidebar-widget {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  background: var(--white);
}
.sidebar-widget-title {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-500);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.sidebar-widget-title svg { width: 13px; height: 13px; }
.toc-list { list-style: none; }
.toc-list li { margin-bottom: .2rem; }
.toc-list a {
  font-size: .875rem;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem 0;
  border-bottom: 1px solid transparent;
}
.toc-list a:hover { color: var(--blue); }
.toc-list svg { width: 12px; height: 12px; color: var(--gray-300); flex-shrink: 0; }

/* CTA sidebar */
.cta-sidebar {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.cta-sidebar h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: .5rem;
  letter-spacing: -.02em;
}
.cta-sidebar p { font-size: .875rem; color: #888; margin-bottom: 1.1rem; line-height: 1.55; }

/* ── Tags ── */
.tag {
  display: inline-block;
  padding: .25rem .75rem;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: 2px;
  font-size: .78rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.tag:hover { background: var(--blue-light); color: var(--blue); }
.tag-blue { background: var(--blue-light); color: var(--blue); }

/* ── Footer ── */
.site-footer {
  background: var(--black);
  color: #555;
  padding: 4rem 1.5rem 1.5rem;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #1a1a1a;
}
@media (max-width: 900px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-text span { color: var(--blue); }
.footer-brand p { font-size: .875rem; color: #555; line-height: 1.65; margin-top: .75rem; max-width: 280px; }
.footer-col h5 {
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a { font-size: .875rem; color: #555; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  font-size: .8rem;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom a { color: #444; }
.footer-bottom a:hover { color: #777; }

/* ── Misc ── */
.divider { height: 1px; background: var(--gray-100); margin: 2rem 0; }
.text-muted { color: var(--gray-500); }
.text-blue { color: var(--blue); }
.mt-4 { margin-top: 2rem; }
.related-tags { display: flex; flex-wrap: wrap; gap: .4rem; }

/* ── Featured grid responsive ── */
@media screen and (max-width: 768px) {
  /* Grille 2x2 sur mobile */
  .featured-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* La colonne de droite redevient un élément de grille normal */
  .featured-col-right {
    display: contents !important;
  }
  /* Toutes les cards à hauteur uniforme */
  .featured-card-main,
  .featured-card-small {
    min-height: 220px !important;
  }
  /* Texte adapté mobile */
  .featured-card-main .article-card-featured-body,
  .featured-card-small .article-card-featured-body {
    padding: 1rem !important;
  }
  .featured-card-main .article-card-category,
  .featured-card-small .article-card-category {
    font-size: .65rem !important;
  }
  .featured-card-main h2,
  .featured-card-small h3 {
    font-size: .95rem !important;
    line-height: 1.3 !important;
    margin-bottom: .5rem !important;
  }
  .featured-card-main p { display: none !important; }
  .featured-card-main .article-card-meta,
  .featured-card-small .article-card-meta {
    font-size: .75rem !important;
  }
  .featured-card-main .article-card-meta svg,
  .featured-card-small .article-card-meta svg {
    width: 12px !important;
    height: 12px !important;
  }
  /* Cacher la date sur mobile, garder seulement la durée */
  .featured-card-main .article-card-meta span:last-child { display: none !important; }
}

/* ── Mobile bottom nav — masqué par défaut ── */
.mobile-nav {
  display: none !important;
}

/* ── Responsive header ── */
@media screen and (max-width: 768px) {
  .topbar { display: none; }
  .nav { display: none; }
  .hero { height: 440px; }
  .hero h1 { font-size: 1.8rem; }
  .article-hero { aspect-ratio: 16/9; }
  body { padding-bottom: 64px; }

  .mobile-nav {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    z-index: 9999 !important;
    background: #ffffff !important;
    border-top: 1px solid #f0f0f0;
    box-shadow: 0 -2px 12px rgba(0,0,0,.10);
    height: 64px;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  .mobile-nav a {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 3px;
    font-size: .68rem;
    font-weight: 500;
    color: #666666;
    text-decoration: none;
    padding: 8px 4px;
  }
  .mobile-nav a svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke-width: 1.8;
  }
  .mobile-nav a:hover,
  .mobile-nav a.active {
    color: #1C7AE6;
    background: #e8f1fd;
  }
}
