/* =========================================================
   DENTY — FEUILLE DE STYLE GLOBALE
   Thème : jaune accessible #ffff00 — Police : Roboto (forcée !important)
   Direction : magazine informatif, grande lisibilité seniors
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,400&family=Roboto+Mono:wght@400;500;700&display=swap');

:root {
  --blue: #8a7600;
  --blue-dark: #6b5c00;
  --blue-deep: #2e2600;
  --navy2: #4a3d00;
  --mint: #15803d;
  --mint-deep: #166534;
  --amber: #ffff00;
  --sky: #fffbe0;
  --sky-pale: #fffef5;
  --paper: #ffffff;
  --offwhite: #fdfbf0;
  --ink: #16150a;
  --slate: #55503a;
  --slate-light: #7a744f;
  --border: #eee6c8;
  --border-dark: rgba(255,255,255,0.1);
  --radius: 16px;
  --radius-lg: 28px;
  --radius-sm: 10px;
  --font: 'Roboto', Arial, sans-serif;
  --font-mono: 'Roboto Mono', 'Roboto', monospace;
  --shadow: 0 4px 24px rgba(40,34,0,0.07);
  --shadow-md: 0 12px 32px rgba(40,34,0,0.1);
  --shadow-lg: 0 24px 64px rgba(40,34,0,0.16);
  --shadow-blue: 0 16px 40px rgba(255,255,0,0.28);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Roboto', Arial, sans-serif !important; }

html { scroll-behavior: smooth; font-size: 18px; }

body {
  font-family: 'Roboto', Arial, sans-serif !important;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.8;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHIE (grande lisibilité) ===== */
h1,h2,h3,h4,h5 { line-height: 1.2; color: var(--blue-deep); font-weight: 900; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }
p { font-size: 1.13rem; color: var(--slate); margin-bottom: 1.3rem; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 700; color: var(--ink); }
.mono { font-family: 'Roboto Mono', monospace !important; }
::selection { background: var(--blue); color: #fff; }
.eyebrow { font-size: 0.84rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.8rem; }
.eyebrow::before { content: ''; width: 18px; height: 3px; background: var(--blue); border-radius: 2px; }

/* ===== TRUST BAR ===== */
.trust-bar { background: var(--blue-deep); color: #f2e9b8; padding: 8px 0; font-size: 0.87rem; }
.trust-bar-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.trust-bar-inner span { display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.trust-bar-inner span::before { content: '✓'; color: var(--mint); font-weight: 700; }

/* ===== HEADER ===== */
.site-header { background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); border-top: 5px solid var(--amber); position: sticky; top: 0; z-index: 200; }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: 0.6rem; }
.logo-mark { width: 40px; height: 40px; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); border-radius: 11px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.3rem; color: #fff; flex-shrink: 0; box-shadow: var(--shadow-blue); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-weight: 900; font-size: 1.32rem; color: var(--blue-deep); letter-spacing: -0.02em; }
.logo-tagline { font-size: 0.84rem; color: var(--slate-light); letter-spacing: 0.04em; font-weight: 500; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 0.3rem; }
.nav-link { color: var(--slate); font-weight: 500; padding: 10px 14px; border-radius: 8px; font-size: 0.95rem; transition: all 0.18s; }
.nav-link:hover, .nav-link.active { color: var(--blue); background: var(--sky); }
.header-actions { display: flex; align-items: center; gap: 0.7rem; }
.nav-mobile-toggle { display: none; background: none; border: none; color: var(--blue-deep); cursor: pointer; padding: 8px; }

/* MEGA MENU */
.nav-item.has-mega { position: relative; }
.mega-trigger { background: none; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font-family: inherit; }
.mega-trigger .chev { font-size: 0.7rem; transition: transform 0.2s; }
.mega-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.mega-menu { display: none; position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); width: min(920px, 90vw); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1.6rem; z-index: 250; }
.nav-item.has-mega.open .mega-menu { display: block; }
.mega-menu-inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; }
.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-col-title { font-weight: 800; color: var(--blue-deep); font-size: 0.93rem; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 2px solid var(--sky); }
.mega-link { color: var(--slate); font-size: 0.95rem; padding: 6px 0; line-height: 1.4; transition: color 0.15s; }
.mega-link:hover { color: var(--blue); }
.mega-see-all { color: var(--blue); font-size: 0.87rem; font-weight: 700; margin-top: 8px; }

.btn { display: inline-flex; align-items: center; gap: 0.45rem; padding: 11px 22px; border-radius: 10px; font-size: 0.95rem; font-weight: 700; cursor: pointer; border: 2px solid transparent; transition: all 0.2s ease; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 6px 18px rgba(255,255,0,0.3); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255,255,0,0.4); }
.btn-outline { background: transparent; color: var(--blue-deep); border-color: var(--border); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--sky); }
.btn-ghost { background: transparent; color: var(--slate); padding: 8px 14px; }
.btn-ghost:hover { color: var(--blue); }
.btn-full { width: 100%; justify-content: center; background: var(--blue); color: #fff; border: none; border-radius: 12px; padding: 15px 28px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 0.5rem; box-shadow: 0 8px 22px rgba(255,255,0,0.3); }
.btn-full:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* ===== HERO (mockup produit) ===== */
.hero { max-width: 1280px; margin: 0 auto; padding: 4.5rem 2rem 3rem; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.hero-copy h1 { margin-bottom: 1.3rem; }
.hero-copy h1 em { color: var(--blue); font-style: normal; }
.hero-copy > p { font-size: 1.15rem; max-width: 480px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-proof { display: flex; align-items: center; gap: 0.8rem; }
.proof-avatars { display: flex; }
.proof-avatars span { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--mint)); border: 2px solid #fff; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; color: #fff; margin-left: -10px; }
.proof-avatars span:first-child { margin-left: 0; }
.hero-proof small { color: var(--slate); font-size: 0.84rem; }

/* Mockup carte animée */
.hero-mockup { position: relative; display: flex; justify-content: center; }
.mockup-card { background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1.8rem; width: 100%; max-width: 380px; border: 1px solid var(--border); animation: floatCard 5s ease-in-out infinite; position: relative; z-index: 2; }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.mockup-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.mockup-head .dot-group { display: flex; gap: 6px; }
.mockup-head .dot-group span { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.mockup-head .label { font-size: 0.82rem; color: var(--slate-light); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.mockup-row { display: flex; justify-content: space-between; align-items: center; padding: 0.7rem 0; border-bottom: 1px dashed var(--border); font-size: 0.95rem; color: var(--slate); }
.mockup-row strong { color: var(--ink); font-family: 'Roboto Mono', monospace !important; }
.mockup-total { margin-top: 1rem; background: linear-gradient(135deg, var(--sky), var(--sky-pale)); border-radius: var(--radius); padding: 1.2rem; display: flex; align-items: center; justify-content: space-between; }
.mockup-total .lbl { font-size: 0.82rem; color: var(--blue-deep); font-weight: 600; }
.mockup-total .val { font-family: 'Roboto Mono', monospace !important; font-size: 1.7rem; font-weight: 700; color: var(--mint-deep); }
.mockup-check { position: absolute; top: -14px; right: -14px; width: 46px; height: 46px; background: var(--mint); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.3rem; box-shadow: 0 8px 20px rgba(22,163,74,0.4); z-index: 3; animation: popIn 0.6s ease 0.3s both; }
@keyframes popIn { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
.hero-blob { position: absolute; width: 460px; height: 460px; background: radial-gradient(circle, rgba(255,255,0,0.13) 0%, transparent 70%); border-radius: 50%; top: -80px; right: -60px; z-index: 1; animation: blobPulse 8s ease-in-out infinite; }
@keyframes blobPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }

/* ===== SECTIONS GÉNÉRIQUES ===== */
.section { padding: 5rem 0; }
.section-tight { padding: 3rem 0; }
.section-sky { background: var(--sky-pale); }
.section-navy { background: var(--blue-deep); color: #f2e9b8; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: #ddd18a; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 2rem; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head.left { text-align: left; margin: 0 0 3rem; max-width: 640px; }

/* ===== ÉTAPES (comment ça marche) ===== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step-card { position: relative; padding: 2rem 1.8rem; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.step-num { font-family: 'Roboto Mono', monospace !important; font-size: 0.95rem; font-weight: 900; color: var(--blue-deep); background: var(--amber); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; box-shadow: 0 4px 14px rgba(255,255,0,0.4); }
.step-card h3 { margin-bottom: 0.6rem; }
.step-card p { font-size: 0.92rem; margin: 0; }

/* ===== STATS (compteurs animés) ===== */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-card { text-align: center; padding: 1.5rem 1rem; }
.stat-card .num { font-family: 'Roboto Mono', monospace !important; font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 700; color: var(--mint); display: block; }
.stat-card .lbl { font-size: 0.93rem; color: #ddd18a; margin-top: 0.4rem; }

/* ===== TUILES CATÉGORIES ===== */
.cat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cat-tile { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; transition: all 0.25s; display: flex; flex-direction: column; gap: 0.8rem; }
.cat-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.cat-tile .tile-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; background: var(--sky); }
.cat-tile h3 { font-size: 1.1rem; }
.cat-tile p { font-size: 0.95rem; margin: 0; }
.cat-tile .tile-count { font-size: 0.87rem; color: var(--blue); font-weight: 700; margin-top: auto; }

/* ===== LISTE D'ARTICLES (feed) ===== */
.feed-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); }
.feed-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 1.4rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--border); transition: opacity 0.2s; }
.feed-row:hover { opacity: 0.82; }
.feed-thumb { width: 96px; height: 72px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--sky); }
.feed-thumb img { width: 100%; height: 100%; object-fit: cover; }
.feed-body .feed-tag { font-size: 0.7rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.06em; }
.feed-body h3 { font-size: 1.02rem; margin: 0.3rem 0 0.3rem; line-height: 1.35; }
.feed-body p { font-size: 0.85rem; margin: 0; color: var(--slate); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feed-meta { text-align: right; font-size: 0.87rem; color: var(--slate-light); white-space: nowrap; }
.feed-meta .read-arrow { display: block; margin-top: 0.4rem; color: var(--blue); font-weight: 700; }

/* Filtres (pills) */
.filter-pills { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-pill { padding: 9px 18px; border-radius: 30px; border: 1.5px solid var(--border); font-size: 0.85rem; font-weight: 600; color: var(--slate); transition: all 0.2s; }
.filter-pill:hover, .filter-pill.active { border-color: var(--blue); color: var(--blue); background: var(--sky); }

/* ===== RAIL ASTUCES (scroll horizontal) ===== */
.astuce-rail { display: flex; gap: 1.4rem; overflow-x: auto; padding-bottom: 1rem; scrollbar-width: thin; }
.astuce-card { flex: 0 0 280px; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; transition: all 0.25s; }
.astuce-card:hover { border-color: var(--mint); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.astuce-card .astuce-badge { display: inline-flex; align-items: center; gap: 0.3rem; background: rgba(22,163,74,0.1); color: var(--mint-deep); font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.9rem; }
.astuce-card h4 { font-size: 0.96rem; line-height: 1.35; margin-bottom: 0.5rem; }
.astuce-card p { font-size: 0.84rem; margin: 0; }

/* ===== VALEURS (pourquoi nous) ===== */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.value-card { padding: 2rem; }
.value-card .v-icon { font-size: 1.8rem; margin-bottom: 1rem; display: block; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.value-card p { font-size: 0.9rem; margin: 0; }

/* ===== CTA NEWSLETTER ===== */
.cta-band { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); border-radius: var(--radius-lg); padding: 3rem; display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; width: 320px; height: 320px; background: rgba(255,255,255,0.08); border-radius: 50%; top: -100px; right: -80px; }
.cta-band h2 { color: #fff; margin-bottom: 0.6rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-form { display: flex; gap: 0.6rem; position: relative; z-index: 2; }
.cta-form input { flex: 1; padding: 13px 18px; border-radius: 10px; border: none; font-size: 0.92rem; outline: none; }
.cta-form button { padding: 13px 24px; background: var(--blue-deep); color: #fff; border: none; border-radius: 10px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background 0.2s; }
.cta-form button:hover { background: #1f1a00; }

/* ===== PAGE-HERO (catégories / pages statiques) ===== */
.page-hero { background: var(--blue-deep); padding: 3.5rem 2rem 3rem; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,255,0,0.2) 0%, transparent 70%); top: -200px; right: -100px; }
.page-hero-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin: 0.6rem 0 0.8rem; }
.page-hero p { color: #ddd18a; font-size: 1.05rem; max-width: 600px; margin: 0; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: #c2b571; flex-wrap: wrap; }
.breadcrumb a { color: #f2e9b8; }
.breadcrumb span.sep { color: #766a3f; }

/* ===== PAGE ARTICLE / ASTUCE ===== */
.article-shell { max-width: 1280px; margin: 0 auto; padding: 3rem 2rem 5rem; display: grid; grid-template-columns: 230px 1fr; gap: 3rem; }
.article-toc { position: sticky; top: 100px; align-self: start; }
.toc-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 1rem; }
.toc-list { display: flex; flex-direction: column; gap: 0.1rem; border-left: 2px solid var(--border); }
.toc-list a { font-size: 0.84rem; color: var(--slate); padding: 0.5rem 0 0.5rem 1rem; border-left: 2px solid transparent; margin-left: -2px; transition: all 0.2s; }
.toc-list a:hover, .toc-list a.active { color: var(--blue); border-left-color: var(--blue); font-weight: 600; }
.toc-share { display: flex; gap: 0.5rem; margin-top: 1.6rem; }

.article-main { max-width: 720px; }
.article-tagrow { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; flex-wrap: wrap; }
.cat-chip { background: var(--amber); color: var(--blue-deep); font-size: 0.84rem; font-weight: 800; padding: 5px 12px; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.cat-chip.astuce { background: rgba(22,163,74,0.1); color: var(--mint-deep); }
.article-title { margin-bottom: 1.1rem; }
.article-meta-row { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-bottom: 2rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--border); }
.meta-author { display: flex; align-items: center; gap: 0.6rem; }
.meta-author .av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--mint)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 0.87rem; }
.meta-author .info strong { display: block; font-size: 0.93rem; }
.meta-author .info span { font-size: 0.84rem; color: var(--slate-light); }
.meta-extra { display: flex; gap: 1.2rem; font-size: 0.8rem; color: var(--slate-light); margin-left: auto; }

.article-hero-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 2.2rem; box-shadow: var(--shadow-md); }
.article-lead { font-size: 1.2rem; font-weight: 400; color: var(--blue-deep); line-height: 1.75; margin-bottom: 2rem; }
.article-prose { font-size: 1.04rem; line-height: 1.9; }
.article-prose h2 { font-size: 1.5rem; margin: 2.6rem 0 1.1rem; scroll-margin-top: 100px; }
.article-prose h3 { font-size: 1.18rem; margin: 1.8rem 0 0.8rem; color: var(--ink); }
.article-prose p { color: var(--ink); margin-bottom: 1.4rem; }
.article-prose ul, .article-prose ol { margin: 1rem 0 1.6rem 1.4rem; color: var(--ink); }
.article-prose li { margin-bottom: 0.6rem; }

.conseil-box { background: var(--sky-pale); border: 1px solid var(--blue); border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.4rem 1.7rem; margin: 2rem 0; }
.conseil-box .cb-label { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--blue-deep); font-size: 0.9rem; margin-bottom: 0.6rem; }
.conseil-box p { margin: 0; font-size: 0.95rem; }

.data-card { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; margin: 2rem 0; }
.data-card .dc-item { background: var(--paper); padding: 1.3rem 1rem; text-align: center; }
.data-card .dc-item .dc-num { font-family: 'Roboto Mono', monospace !important; font-size: 1.5rem; font-weight: 700; color: var(--blue); display: block; }
.data-card .dc-item .dc-lbl { font-size: 0.85rem; color: var(--slate-light); margin-top: 0.3rem; }

.quote-pull { border-left: 4px solid var(--mint); background: var(--sky-pale); padding: 1.5rem 1.8rem; margin: 2rem 0; border-radius: 0 var(--radius) var(--radius) 0; }
.quote-pull p { font-style: italic; font-size: 1.08rem; color: var(--blue-deep); margin: 0; }

.faq-block { margin: 2.4rem 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0; cursor: pointer; font-weight: 700; font-size: 0.98rem; color: var(--ink); gap: 1rem; }
.faq-q .chevron { transition: transform 0.25s; color: var(--blue); flex-shrink: 0; }
.faq-item.open .faq-q .chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding-bottom: 1.1rem; font-size: 0.92rem; margin: 0; }

.article-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 2rem 0; }
.article-tag { background: var(--offwhite); border: 1px solid var(--border); color: var(--slate); font-size: 0.8rem; padding: 5px 14px; border-radius: 20px; }
.article-share-row { display: flex; align-items: center; gap: 0.8rem; padding: 1.5rem 0; border-top: 1px solid var(--border); margin: 1.5rem 0 2.5rem; }
.article-share-row span { font-size: 0.85rem; color: var(--slate); font-weight: 600; }
.share-btn { width: 38px; height: 38px; border-radius: 10px; background: var(--offwhite); display: flex; align-items: center; justify-content: center; color: var(--slate); border: 1px solid var(--border); transition: all 0.2s; cursor: pointer; }
.share-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.disclaimer-box { background: var(--offwhite); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem 1.5rem; margin: 2rem 0; font-size: 0.84rem; color: var(--slate-light); }

/* Rail "à lire aussi" en bas d'article */
.related-rail-wrap { background: var(--offwhite); padding: 3.5rem 0; margin-top: 1rem; }
.related-rail { display: flex; gap: 1.5rem; overflow-x: auto; padding-bottom: 0.5rem; }
.related-rail .feed-card { flex: 0 0 300px; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.25s; }
.related-rail .feed-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.related-rail .feed-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.related-rail .feed-card .fc-body { padding: 1.2rem; }
.related-rail .feed-card h4 { font-size: 0.92rem; line-height: 1.35; }

/* ===== FOOTER ===== */
.site-footer { background: var(--blue-deep); color: #ddd18a; padding: 4rem 0 0; }
.footer-grid { max-width: 1280px; margin: 0 auto; padding: 0 2rem 3rem; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 3rem; }
.footer-logo .logo-name { color: #fff; }
.footer-logo .logo-tagline { color: #a89a5c; }
.footer-desc { font-size: 0.95rem; line-height: 1.7; max-width: 300px; margin: 1rem 0 1.4rem; color: #c2b571; }
.trust-badges { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.trust-badge { font-size: 0.82rem; background: rgba(255,255,255,0.07); border: 1px solid var(--border-dark); padding: 5px 11px; border-radius: 20px; color: #ddd18a; }
.footer-col h4 { color: #fff; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a { color: #c2b571; font-size: 0.87rem; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--border-dark); max-width: 1280px; margin: 0 auto; padding: 1.5rem 2rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.87rem; color: #8f8250; flex-wrap: wrap; gap: 1rem; }
.footer-bottom a { color: #8f8250; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* ===== FORMULAIRES (contact / newsletter) ===== */
.form-card { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.6rem; max-width: 640px; margin: 0 auto; box-shadow: var(--shadow); }
.form-grid { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.form-field input, .form-field textarea, .form-field select { width: 100%; padding: 12px 16px; border-radius: 10px; border: 1.5px solid var(--border); font-size: 0.94rem; outline: none; transition: border-color 0.2s; background: var(--offwhite); color: var(--ink); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--blue); background: #fff; }
.form-field textarea { resize: vertical; min-height: 130px; }

/* ===== PAGES LÉGALES ===== */
.legal-prose { max-width: 760px; margin: 0 auto; }
.legal-prose h2 { font-size: 1.25rem; margin: 2.4rem 0 0.9rem; }
.legal-prose p { color: var(--ink); }
.legal-prose ul { margin: 1rem 0 1.5rem 1.5rem; color: var(--ink); }
.legal-prose li { margin-bottom: 0.5rem; }

/* ===== 404 ===== */
.error-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem 2rem; }
.error-code { font-family: 'Roboto Mono', monospace !important; font-size: clamp(4.5rem, 14vw, 8rem); font-weight: 700; color: var(--blue); line-height: 1; }

/* ===== TOAST ===== */
.toast { position: fixed; bottom: 2rem; right: 2rem; background: var(--blue-deep); color: #fff; padding: 1rem 1.5rem; border-radius: var(--radius); border-left: 4px solid var(--mint); box-shadow: var(--shadow-lg); font-size: 0.9rem; font-weight: 500; z-index: 9999; transform: translateX(120%); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); max-width: 300px; }
.toast.show { transform: translateX(0); }

/* ===== ANIMATIONS SCROLL ===== */
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.07s; }
.fade-up:nth-child(3) { transition-delay: 0.14s; }
.fade-up:nth-child(4) { transition-delay: 0.21s; }

.reading-progress { position: fixed; top: 0; left: 0; height: 4px; background: var(--amber); z-index: 999; width: 0; transition: width 0.1s; box-shadow: 0 0 8px rgba(255,255,0,0.6); }
.back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 48px; height: 48px; background: var(--blue); border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-blue); opacity: 0; pointer-events: none; transition: all 0.3s; z-index: 500; color: #fff; font-size: 1.2rem; }
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--blue-dark); transform: translateY(-3px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; padding-top: 3rem; }
  .hero-mockup { order: -1; }
  .article-shell { grid-template-columns: 1fr; }
  .article-toc { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid, .value-grid, .cat-tiles { grid-template-columns: repeat(2, 1fr); }
  .mega-menu-inner { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .cta-band { grid-template-columns: 1fr; text-align: center; }
  .cta-form { flex-direction: column; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .data-card { grid-template-columns: 1fr; }
  .mega-menu-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; position: fixed; top: 84px; left: 0; right: 0; bottom: 0; background: #fff; padding: 1rem 1.5rem 1.5rem; box-shadow: var(--shadow-md); z-index: 300; gap: 0.3rem; border-bottom: 1px solid var(--border); overflow-y: auto; }
  .nav-mobile-toggle { display: block; }
  .header-actions .btn-outline { display: none; }
  .feed-row { grid-template-columns: 64px 1fr; }
  .feed-meta { display: none; }
  .feed-thumb { width: 64px; height: 52px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row-2 { grid-template-columns: 1fr; }
  .form-card { padding: 1.8rem; }
  .section { padding: 3rem 0; }
  .container { padding: 0 1.2rem; }
  .steps-grid, .value-grid, .cat-tiles { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: 0.8rem 1.2rem; font-size: 0.82rem; }
  /* Mega menu becomes an inline accordion on mobile */
  .nav-item.has-mega { width: 100%; }
  .mega-trigger { width: 100%; justify-content: space-between; }
  .mega-menu { display: none; position: static; transform: none; width: 100%; box-shadow: none; border: none; border-radius: 0; padding: 0.2rem 0 0.4rem 0.8rem; margin-top: 4px; }
  .nav-item.has-mega.open .mega-menu { display: block; }
  .mega-menu-inner { grid-template-columns: 1fr; gap: 0.2rem; }
  .mega-col { border-left: 2px solid var(--sky); padding-left: 0.8rem; margin-bottom: 0.6rem; }
  .mega-col-title { border-bottom: none; margin-bottom: 4px; padding-bottom: 0; }
  .mega-link { padding: 7px 0; }
}
@media (max-width: 480px) {
  .hero-copy h1 { font-size: 2rem; }
  .mockup-card { padding: 1.3rem; }
}
