/* ============================================================
   LA COURONNE v2 — Style Les Échos / Le Monde
   Navy #0D1B3E · Or #C9A84C · Off-white #F7F5F0
   ============================================================ */

/* ── TOKENS ── */
:root{
  --navy:     #0D1B3E;
  --navy-mid: #1A2D5A;
  --navy-lgt: #243A72;
  --gold:     #C9A84C;
  --gold-pl:  #F5E9C8;
  --off:      #F7F5F0;
  --white:    #FFFFFF;
  --text:     #1A1A2E;
  --sec:      #4A5568;
  --muted:    #718096;
  --border:   rgba(13,27,62,.10);
  --r:        4px;
  --sh:       0 1px 4px rgba(13,27,62,.07);
  --sh-md:    0 4px 20px rgba(13,27,62,.09);
  --w:        1200px;
}

/* ── RESET ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:'Inter',sans-serif;background:var(--off);color:var(--text);font-size:16px;line-height:1.65}
img{max-width:100%;height:auto;display:block}
a{color:var(--navy);text-decoration:none;transition:color .15s}
a:hover{color:var(--gold)}
ul{list-style:none}
button{cursor:pointer;border:none;background:none;font-family:inherit}
.lc-container{width:100%;max-width:var(--w);margin:0 auto;padding:0 24px}

/* ── TOPBAR ── */
.lc-topbar{background:var(--navy-mid);border-bottom:1px solid rgba(255,255,255,.05);padding:7px 0}
.lc-topbar-inner{display:flex;justify-content:space-between;align-items:center}
.lc-topbar-left,.lc-topbar-right{font-size:11px;color:rgba(255,255,255,.50);letter-spacing:.3px}
.lc-topbar-left strong,.lc-topbar-right strong{color:var(--gold)}

/* ── HEADER ── */
#lc-header{background:var(--navy)}
.lc-header-inner{display:flex;align-items:center;gap:20px;padding:16px 24px}

/* Logo */
.lc-logo{display:flex;align-items:center;gap:12px;text-decoration:none;flex-shrink:0}
.lc-logo svg{flex-shrink:0}
.lc-logo-text{display:flex;flex-direction:column;gap:3px}
.lc-logo-name{font-family:'Playfair Display',serif;font-size:20px;font-weight:700;color:#fff;letter-spacing:4px;line-height:1}
.lc-logo-tag{font-size:8px;font-weight:300;color:var(--gold);letter-spacing:3.5px;text-transform:uppercase}

/* Séparateur vertical */
.lc-logo::after{content:'';width:1px;height:44px;background:rgba(201,168,76,.3);margin-left:16px;flex-shrink:0}

/* Recherche */
.lc-search{display:flex;align-items:center;background:rgba(255,255,255,.08);border:1px solid rgba(201,168,76,.25);border-radius:var(--r);padding:0 14px;gap:8px;height:36px;flex:1;max-width:280px}
.lc-search svg{color:rgba(255,255,255,.35);flex-shrink:0}
.lc-search input{background:none;border:none;outline:none;color:rgba(255,255,255,.7);font-size:12px;width:100%;font-family:'Inter',sans-serif}
.lc-search input::placeholder{color:rgba(255,255,255,.30)}

/* Bouton s'abonner */
.lc-btn-subscribe{background:var(--gold);color:var(--navy);font-size:12px;font-weight:700;padding:9px 20px;border-radius:var(--r);letter-spacing:.5px;white-space:nowrap;transition:background .2s;margin-left:auto}
.lc-btn-subscribe:hover{background:#e0b94f;color:var(--navy)}

/* Toggle mobile */
.lc-toggle{display:none;flex-direction:column;gap:5px;padding:8px;flex-shrink:0}
.lc-toggle span{display:block;width:22px;height:2px;background:rgba(255,255,255,.7);border-radius:1px;transition:all .25s}
.lc-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.lc-toggle.is-open span:nth-child(2){opacity:0}
.lc-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ── NAV ── */
#lc-nav{background:var(--navy);border-top:1px solid rgba(255,255,255,.06);border-bottom:2px solid var(--gold)}
#lc-nav .lc-container{display:flex;align-items:stretch}
.lc-menu{display:flex;list-style:none;gap:0}
.lc-menu > li > a{display:block;font-size:11px;font-weight:500;letter-spacing:1px;text-transform:uppercase;color:rgba(255,255,255,.60);padding:13px 16px;border-bottom:2px solid transparent;margin-bottom:-2px;transition:color .2s,border-color .2s;white-space:nowrap}
.lc-menu > li > a:hover{color:#fff;border-bottom-color:rgba(201,168,76,.4)}
.lc-menu > li.current-menu-item > a,.lc-menu > li.current-menu-ancestor > a{color:var(--gold);border-bottom-color:var(--gold)}
/* Dropdown */
.lc-menu ul{position:absolute;top:100%;left:0;background:var(--navy);border-top:2px solid var(--gold);min-width:200px;z-index:200;list-style:none;box-shadow:var(--sh-md);opacity:0;visibility:hidden;transform:translateY(-4px);transition:all .2s}
.lc-menu li{position:relative}
.lc-menu li:hover > ul{opacity:1;visibility:visible;transform:none}
.lc-menu ul li a{display:block;font-size:12px;color:rgba(255,255,255,.65);padding:10px 20px;border-bottom:1px solid rgba(255,255,255,.05)}
.lc-menu ul li a:hover{color:var(--gold);background:rgba(201,168,76,.08)}

/* ── BREAKING NEWS ── */
.lc-breaking{background:var(--gold);padding:10px 0}
.lc-breaking-inner{display:flex;align-items:center;gap:16px}
.lc-breaking-label{background:var(--navy);color:var(--gold);font-size:10px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;padding:6px 12px;border-radius:2px;line-height:1.2;text-align:center;white-space:nowrap;flex-shrink:0}
.lc-breaking-text{font-size:13px;font-weight:500;color:var(--navy);flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lc-breaking-text:hover{color:var(--navy-mid)}
.lc-breaking-link{font-size:12px;font-weight:700;color:var(--navy);white-space:nowrap;margin-left:auto}

/* ── HERO SPLIT ── */
.lc-hero{background:var(--white);border-bottom:1px solid var(--border);padding:40px 0}
.lc-hero-inner{display:grid;grid-template-columns:1fr 340px;gap:48px;align-items:center}
.lc-hero-main{}
.lc-hero-main .lc-cat-badge{margin-bottom:16px}
.lc-hero-title{font-family:'Playfair Display',serif;font-size:38px;font-weight:700;color:var(--navy);line-height:1.2;margin-bottom:16px}
.lc-hero-title a{color:inherit}
.lc-hero-title a:hover{color:var(--navy-mid)}
.lc-hero-excerpt{font-size:15px;color:var(--sec);line-height:1.7;margin-bottom:20px}
.lc-hero-meta{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px}
.lc-meta-dot{opacity:.4}

/* Dashboard taux */
.lc-hero-dashboard{display:flex;flex-direction:column;gap:12px}
.lc-rate-card{background:var(--navy);border:1px solid rgba(201,168,76,.2);border-radius:var(--r);padding:16px 20px}
.lc-rate-label{font-size:9px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:rgba(255,255,255,.4);margin-bottom:8px}
.lc-rate-value{font-family:'Playfair Display',serif;font-size:28px;font-weight:700;color:var(--gold);line-height:1}
.lc-rate-change{font-size:11px;margin-top:5px}
.lc-up{color:#4ade80}
.lc-down{color:#f87171}
.lc-rate-source{font-size:10px;color:rgba(255,255,255,.25);margin-top:4px}

/* ── LAYOUT GRILLE ── */
.lc-layout{display:grid;grid-template-columns:1fr 300px;gap:40px;padding-top:36px;padding-bottom:60px;align-items:start}

/* Section header */
.lc-section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;padding-bottom:12px;border-bottom:2px solid var(--navy)}
.lc-section-title{font-family:'Playfair Display',serif;font-size:20px;font-weight:700;color:var(--navy);display:flex;align-items:center;gap:10px}
.lc-section-title::after{content:'';width:6px;height:6px;background:var(--gold);border-radius:50%;display:inline-block;flex-shrink:0}

/* ── GRILLE POSTS ── */
.lc-posts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.lc-post{background:var(--white);border:1px solid var(--border);border-radius:var(--r);overflow:hidden;transition:box-shadow .2s}
.lc-post:hover{box-shadow:var(--sh-md)}
.lc-post-thumb{display:block;aspect-ratio:16/9;overflow:hidden;background:var(--navy-mid)}
.lc-post-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.lc-post:hover .lc-post-thumb img{transform:scale(1.04)}
.lc-post-body{padding:14px}

/* ── BADGE CAT ── */
.lc-cat-badge{display:inline-block;font-size:9px;font-weight:700;letter-spacing:1.8px;text-transform:uppercase;background:var(--navy);color:var(--gold);padding:3px 10px;border-radius:2px;margin-bottom:8px;text-decoration:none}
.lc-cat-badge:hover{opacity:.82;color:var(--gold)}

/* ── TITRES POST ── */
.lc-post-title{font-family:'Playfair Display',serif;font-size:15px;font-weight:700;line-height:1.35;color:var(--navy);margin-bottom:8px}
.lc-post-title a{color:inherit}
.lc-post-title a:hover{color:var(--gold)}
.lc-post-meta{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px}
.lc-post-excerpt{font-size:13px;color:var(--sec);line-height:1.6;margin-bottom:10px}

/* ── PAGINATION ── */
.lc-pagination{display:flex;gap:6px;flex-wrap:wrap;margin-top:36px}
.lc-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 10px;font-size:13px;color:var(--muted);border:1px solid var(--border);border-radius:var(--r);background:var(--white);transition:all .15s}
.lc-pagination .page-numbers:hover{border-color:var(--navy);color:var(--navy)}
.lc-pagination .page-numbers.current{background:var(--navy);color:#fff;border-color:var(--navy)}

/* ── SIDEBAR ── */
.lc-sidebar{position:sticky;top:24px;display:flex;flex-direction:column;gap:20px}
.lc-widget{background:var(--white);border:1px solid var(--border);border-radius:var(--r);padding:18px 20px;box-shadow:var(--sh)}
.lc-widget-title{font-family:'Playfair Display',serif;font-size:15px;font-weight:700;color:var(--navy);border-bottom:2px solid var(--navy);padding-bottom:10px;margin-bottom:14px;display:flex;align-items:center;gap:7px}
.lc-widget-title::after{content:'';width:5px;height:5px;background:var(--gold);border-radius:50%;flex-shrink:0}

/* Articles récents */
.lc-recent-posts{display:flex;flex-direction:column;gap:0}
.lc-recent-posts li{padding:10px 0;border-bottom:1px solid var(--border);display:flex;flex-direction:column;gap:3px}
.lc-recent-posts li:last-child{border-bottom:none;padding-bottom:0}
.lc-recent-posts a{font-size:13px;font-weight:500;color:var(--navy);line-height:1.4}
.lc-recent-posts a:hover{color:var(--gold)}
.lc-rp-date{font-size:11px;color:var(--muted)}

/* Catégories */
.lc-cat-list{display:flex;flex-direction:column;gap:0}
.lc-cat-list li{border-bottom:1px solid var(--border)}
.lc-cat-list li:last-child{border-bottom:none}
.lc-cat-list li a{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--sec);padding:8px 0;transition:color .15s}
.lc-cat-list li a:hover{color:var(--gold)}
.lc-cat-list .count{font-size:10px;color:var(--muted);background:var(--off);padding:1px 7px;border-radius:10px}

/* ── ARCHIVE ── */
.lc-archive-header{margin-bottom:28px;padding-bottom:12px;border-bottom:2px solid var(--navy)}
.lc-archive-title{font-family:'Playfair Display',serif;font-size:26px;font-weight:700;color:var(--navy)}
.lc-no-results{font-size:15px;color:var(--muted);grid-column:1/-1}

/* ── ARTICLE SINGLE ── */
.lc-article{background:var(--white);border:1px solid var(--border);border-radius:var(--r);overflow:hidden;margin-bottom:36px}
.lc-article-header{padding:30px 36px 22px}
.lc-article-title{font-family:'Playfair Display',serif;font-size:34px;font-weight:700;color:var(--navy);line-height:1.22;margin:12px 0 16px}
.lc-article-meta{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.lc-article-thumb{max-height:440px;overflow:hidden}
.lc-article-thumb img{width:100%;height:100%;object-fit:cover}
.lc-article-content{padding:32px 36px;font-size:16px;line-height:1.78;color:#374151}
.lc-article-content h2{font-family:'Playfair Display',serif;font-size:22px;font-weight:700;color:var(--navy);margin:32px 0 14px;padding-bottom:8px;border-bottom:2px solid var(--navy)}
.lc-article-content h3{font-family:'Playfair Display',serif;font-size:18px;font-weight:600;color:var(--navy);margin:24px 0 10px}
.lc-article-content h4{font-family:'Playfair Display',serif;font-size:15px;font-weight:600;color:var(--navy);margin:18px 0 8px}
.lc-article-content p{margin-bottom:18px}
.lc-article-content a{color:var(--navy-mid);text-decoration:underline;text-decoration-color:rgba(13,27,62,.2);text-underline-offset:2px}
.lc-article-content a:hover{color:var(--gold);text-decoration-color:var(--gold)}
.lc-article-content ul,.lc-article-content ol{padding-left:22px;margin-bottom:18px}
.lc-article-content li{margin-bottom:5px;list-style:disc}
.lc-article-content ol li{list-style:decimal}
.lc-article-content strong{font-weight:600;color:var(--navy)}
/* Tables */
.lc-article-content table{border-collapse:collapse;width:100%;font-size:14px;margin:24px 0;overflow:hidden;border-radius:var(--r)}
.lc-article-content th{background:var(--navy);color:#fff;font-size:10px;font-weight:700;letter-spacing:.8px;padding:11px 14px;text-align:left;text-transform:uppercase}
.lc-article-content td{padding:9px 14px;border-bottom:1px solid var(--border)}
.lc-article-content tr:nth-child(even) td{background:rgba(13,27,62,.02)}
/* Details FAQ */
.lc-article-content details{border:1px solid var(--border);border-radius:var(--r);padding:13px 16px;margin:8px 0}
.lc-article-content summary{font-size:14px;font-weight:500;color:var(--navy);cursor:pointer;list-style:none;padding-right:22px;position:relative;user-select:none}
.lc-article-content summary::-webkit-details-marker{display:none}
.lc-article-content summary::after{content:'+';position:absolute;right:0;top:0;color:var(--gold);font-size:17px;font-weight:300;line-height:1}
.lc-article-content details[open] summary::after{content:'−'}
.lc-article-content details[open] summary{margin-bottom:8px}
.lc-article-content details p{font-size:14px;color:var(--sec);margin:0}
/* Blockquote */
.lc-article-content blockquote{border-left:3px solid var(--gold);margin:24px 0;padding:14px 18px;background:var(--gold-pl);border-radius:0 var(--r) var(--r) 0;font-family:'Playfair Display',serif;font-style:italic;font-size:16px;color:var(--navy)}
/* SVG Finance */
.lc-article-content svg{max-width:100%;height:auto;margin:20px 0}

/* Tags */
.lc-article-tags{padding:18px 36px;border-top:1px solid var(--border);display:flex;flex-wrap:wrap;gap:8px}
.lc-tag{font-size:11px;color:var(--sec);background:var(--off);border:1px solid var(--border);padding:3px 12px;border-radius:20px;transition:all .15s}
.lc-tag:hover{border-color:var(--navy);color:var(--navy)}

/* Nav prev/next */
.lc-post-nav{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:20px 36px;border-top:1px solid var(--border)}
.lc-post-nav a{font-size:13px;color:var(--sec);transition:color .15s}
.lc-post-nav a:hover{color:var(--gold)}
.lc-post-nav-next{text-align:right}

/* Articles liés */
.lc-related{margin-top:36px}
.lc-related-title{font-family:'Playfair Display',serif;font-size:20px;font-weight:700;color:var(--navy);margin-bottom:18px;padding-bottom:10px;border-bottom:2px solid var(--navy);display:flex;align-items:center;gap:8px}
.lc-related-title::after{content:'';width:6px;height:6px;background:var(--gold);border-radius:50%;display:inline-block}
.lc-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.lc-related-post{background:var(--white);border:1px solid var(--border);border-radius:var(--r);overflow:hidden}
.lc-related-thumb{display:block;aspect-ratio:16/9;overflow:hidden}
.lc-related-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.lc-related-post:hover .lc-related-thumb img{transform:scale(1.04)}
.lc-related-body{padding:12px 14px}
.lc-related-body h3{font-family:'Playfair Display',serif;font-size:13px;font-weight:600;color:var(--navy);margin:5px 0 5px;line-height:1.35}
.lc-related-body h3 a{color:inherit}
.lc-related-body h3 a:hover{color:var(--gold)}
.lc-related-body time{font-size:11px;color:var(--muted)}

/* ── FOOTER ── */
#lc-footer{background:var(--navy);border-top:2px solid var(--gold);margin-top:60px}
.lc-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;padding:44px 24px 36px}
.lc-footer-logo{display:flex;align-items:center;gap:10px;margin-bottom:14px;text-decoration:none}
.lc-footer-logo span{font-family:'Playfair Display',serif;font-size:15px;font-weight:700;color:#fff;letter-spacing:3px}
.lc-footer-desc{font-size:12px;color:rgba(255,255,255,.40);line-height:1.65}
#lc-footer .lc-widget-title{color:#fff;border-bottom-color:rgba(201,168,76,.3);font-size:14px}
#lc-footer .lc-widget-title::after{display:none}
#lc-footer a{color:rgba(255,255,255,.50)}
#lc-footer a:hover{color:var(--gold)}
.lc-footer-bottom{background:var(--navy-mid);border-top:1px solid rgba(255,255,255,.06);padding:13px 0}
.lc-footer-bottom .lc-container{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.lc-footer-bottom span,.lc-footer-nav a{font-size:11px;color:rgba(255,255,255,.28)}
.lc-footer-nav{display:flex;gap:18px;list-style:none}
.lc-footer-nav a:hover{color:var(--gold)}

/* ── SCROLLBAR ── */
::-webkit-scrollbar{width:5px;height:5px}
::-webkit-scrollbar-track{background:var(--off)}
::-webkit-scrollbar-thumb{background:var(--navy-mid);border-radius:3px}
::-webkit-scrollbar-thumb:hover{background:var(--gold)}

/* ── MOBILE ── */
@media(max-width:960px){
  .lc-hero-inner{grid-template-columns:1fr}
  .lc-hero-dashboard{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
  .lc-layout{grid-template-columns:1fr}
  .lc-sidebar{position:static}
  .lc-posts-grid{grid-template-columns:repeat(2,1fr)}
  .lc-related-grid{grid-template-columns:repeat(2,1fr)}
  .lc-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .lc-header-inner{flex-wrap:wrap;gap:12px;padding:12px 16px}
  .lc-search{display:none}
  .lc-btn-subscribe{display:none}
  .lc-toggle{display:flex}
  #lc-nav{display:none}
  #lc-nav.is-open{display:block}
  .lc-menu{flex-direction:column}
  .lc-menu > li > a{padding:11px 0;border-bottom:1px solid rgba(255,255,255,.06);border-bottom-width:1px!important;margin:0}
  .lc-logo-name{font-size:17px;letter-spacing:3px}
  .lc-hero{padding:24px 0}
  .lc-hero-title{font-size:26px}
  .lc-hero-dashboard{grid-template-columns:1fr}
  .lc-posts-grid{grid-template-columns:1fr}
  .lc-article-header{padding:18px 18px 14px}
  .lc-article-title{font-size:24px}
  .lc-article-content{padding:18px}
  .lc-post-nav{padding:14px 18px}
  .lc-related-grid{grid-template-columns:1fr}
  .lc-footer-grid{grid-template-columns:1fr;padding:28px 16px 20px;gap:24px}
  .lc-topbar-right{display:none}
}

/* ── FOOTER V2 ── */
.lc-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;padding:44px 24px 36px}
.lc-footer-brand{}
.lc-footer-logo{display:flex;align-items:center;gap:10px;margin-bottom:14px;text-decoration:none}
.lc-footer-logo span{font-family:'Playfair Display',serif;font-size:15px;font-weight:700;color:#fff;letter-spacing:3px}
.lc-footer-desc{font-size:12px;color:rgba(255,255,255,.40);line-height:1.65;margin-bottom:14px}
.lc-footer-tickers{display:flex;flex-direction:column;gap:6px}
.lc-footer-tickers span{font-size:11px;color:rgba(255,255,255,.35)}
.lc-footer-tickers strong{color:var(--gold);font-weight:600}
.lc-footer-col h3,.lc-footer-col-title{font-family:'Playfair Display',serif;font-size:14px;font-weight:700;color:#fff;margin-bottom:14px;padding-bottom:8px;border-bottom:1px solid rgba(201,168,76,.25)}
.lc-footer-col ul{display:flex;flex-direction:column;gap:8px}
.lc-footer-col ul li a{font-size:12px;color:rgba(255,255,255,.45);transition:color .15s}
.lc-footer-col ul li a:hover{color:var(--gold)}
.lc-footer-bottom-inner{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}
@media(max-width:900px){.lc-footer-grid{grid-template-columns:1fr 1fr;gap:28px}}
@media(max-width:560px){.lc-footer-grid{grid-template-columns:1fr;padding:24px 16px 20px;gap:20px}}

/* ── CATÉGORIES SIDEBAR : compteur en badge ── */
.lc-cat-list .cat-item a { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--sec); padding: 8px 0; transition: color .15s; border-bottom: 1px solid var(--border); text-decoration: none; }
.lc-cat-list .cat-item:last-child a { border-bottom: none; }
.lc-cat-list .cat-item a:hover { color: var(--gold); }
/* Le compteur (N) généré par WP est un texte après le lien — on le stylise */
.lc-cat-list .cat-item { font-size: 11px; color: var(--muted); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); padding: 0; }
.lc-cat-list .cat-item:last-child { border-bottom: none; }
.lc-cat-list .cat-item a { flex: 1; border-bottom: none; }

/* ── OUTILS ── */
.lc-tool-embed { max-width: 860px; }
.lc-tool-header { margin-bottom: 28px; padding-bottom: 16px; border-bottom: 2px solid var(--navy); }
.lc-tool-title { font-family: "Playfair Display", serif; font-size: 28px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.lc-tool-desc { font-size: 14px; color: var(--muted); }
.lc-tool-container { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; }
.lc-outils-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.lc-outil-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 20px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; transition: box-shadow .2s, border-color .2s; }
.lc-outil-card:hover { box-shadow: var(--sh-md); border-color: var(--gold); color: inherit; }
.lc-outil-icon { font-size: 24px; }
.lc-outil-name { font-family: "Playfair Display", serif; font-size: 16px; font-weight: 700; color: var(--navy); margin: 0; }
.lc-outil-desc { font-size: 13px; color: var(--sec); line-height: 1.5; flex: 1; }
.lc-outil-cta { font-size: 12px; font-weight: 600; color: var(--gold); letter-spacing: .3px; }

/* ── PAGE NOS OUTILS : grille de cartes dans le contenu d'article ── */
.lc-article-content .lc-outils-intro{font-size:15px;color:var(--sec);line-height:1.7;margin:0 0 10px}
.lc-article-content .lc-outils-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin:26px 0}
.lc-article-content .lc-outil-card{background:var(--white);border:1px solid var(--border);border-radius:var(--r);padding:22px;display:flex;flex-direction:column;gap:7px;text-decoration:none;transition:box-shadow .2s,border-color .2s}
.lc-article-content .lc-outil-card:hover{box-shadow:var(--sh-md);border-color:var(--gold)}
.lc-article-content .lc-outil-card .lc-outil-icon{font-size:26px;line-height:1}
.lc-article-content .lc-outil-card .lc-outil-name{font-family:"Playfair Display",serif;font-size:17px;font-weight:700;color:var(--navy);line-height:1.25;margin:0}
.lc-article-content .lc-outil-card .lc-outil-desc{font-size:13px;color:var(--sec);line-height:1.55;flex:1;margin:0;text-decoration:none}
.lc-article-content .lc-outil-card .lc-outil-cta{font-size:12px;font-weight:600;color:var(--gold);letter-spacing:.3px;text-decoration:none}

/* ── HERO HOME : eyebrow "À la une" ── */
.lc-hero-eyebrow{display:inline-block;font-size:11px;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:var(--gold);margin-bottom:12px}
.lc-hero-title a{color:inherit}
.lc-hero-title a:hover{color:var(--navy-mid)}

/* ============================================================
   v3.8 — Cartes de taux modernisées + header mobile
   ============================================================ */

/* ── CARTES TAUX : plus compactes, radius, dégradé, animations ── */
.lc-hero-dashboard{display:flex;flex-direction:column;gap:10px}
.lc-rate-card{
  position:relative;overflow:hidden;
  background:linear-gradient(145deg,var(--navy-mid) 0%,var(--navy) 100%);
  border:1px solid rgba(201,168,76,.18);
  border-radius:14px;
  padding:13px 18px;
  box-shadow:0 2px 12px rgba(13,27,62,.18);
  transition:transform .28s cubic-bezier(.16,.8,.3,1),box-shadow .28s ease,border-color .28s ease;
  opacity:0;transform:translateY(14px);
  animation:lc-card-in .55s cubic-bezier(.16,.8,.3,1) forwards;
}
.lc-rate-card:nth-child(1){animation-delay:.05s}
.lc-rate-card:nth-child(2){animation-delay:.14s}
.lc-rate-card:nth-child(3){animation-delay:.23s}
.lc-rate-card::after{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(var(--gold),rgba(201,168,76,.15))}
.lc-rate-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(13,27,62,.34);border-color:rgba(201,168,76,.5)}
@keyframes lc-card-in{to{opacity:1;transform:none}}
.lc-rate-label{font-size:9px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:rgba(255,255,255,.45);margin-bottom:6px}
.lc-rate-value{font-family:"Playfair Display",serif;font-size:23px;font-weight:700;color:var(--gold);line-height:1}
.lc-rate-change{font-size:10px;margin-top:5px}
.lc-rate-source{font-size:9px;color:rgba(255,255,255,.28);margin-top:3px}

/* Sur tablette : 3 colonnes compactes plutôt que pleine largeur */
@media(max-width:960px){
  .lc-hero-dashboard{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
  .lc-rate-value{font-size:20px}
}

/* ── HEADER MOBILE ── */
@media(max-width:640px){
  .lc-header-inner{flex-wrap:nowrap;padding:11px 16px;gap:10px;align-items:center}
  .lc-logo{gap:10px}
  .lc-logo::after{display:none}            /* séparateur vertical retiré */
  .lc-logo svg{width:34px;height:22px}
  .lc-logo-name{font-size:16px;letter-spacing:2.5px}
  .lc-logo-tag{font-size:7px;letter-spacing:1.8px}
  .lc-toggle{margin-left:auto;padding:6px}  /* burger calé à droite */
  .lc-topbar{padding:6px 0}
  .lc-topbar-left{font-size:10px;letter-spacing:.2px}
  .lc-hero-dashboard{grid-template-columns:1fr;gap:9px}
  #lc-nav.is-open{animation:lc-nav-down .25s ease}
}
@keyframes lc-nav-down{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:none}}

/* ── Accessibilité : désactive les animations si l'utilisateur le demande ── */
@media(prefers-reduced-motion:reduce){
  .lc-rate-card{animation:none;opacity:1;transform:none}
  .lc-rate-card:hover{transform:none}
  #lc-nav.is-open{animation:none}
}
