/* =========================================================
   LePeuple Press Pro — CSS principal (magazine professionnel)
   Design inspiré des grands quotidiens internationaux
   Typographie raffinée, hiérarchie visuelle, interactions fluides
   ========================================================= */

/* ---------- Variables & base améliorées ---------- */
:root{
  --lp-primary: var(--wp--preset--color--primary, #1c3948);
  --lp-secondary: var(--wp--preset--color--secondary, #e0d01f);
  --lp-accent:  var(--wp--preset--color--accent,  #b44400);
  --lp-text:    var(--wp--preset--color--text,    #1f2937);
  --lp-muted:   var(--wp--preset--color--muted,   #6b7280);
  --lp-bg:      var(--wp--preset--color--bg,      #ffffff);
  --lp-surface: var(--wp--preset--color--surface, #f6f7f9);
  --lp-surface2:var(--wp--preset--color--surface-2, #eef1f4);

  --lp-radius-sm: 4px;
  --lp-radius-md: 8px;
  --lp-radius-lg: 12px;

  --lp-shadow-1: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
  --lp-shadow-2: 0 3px 6px rgba(0,0,0,.16), 0 3px 6px rgba(0,0,0,.23);
  --lp-shadow-3: 0 10px 20px rgba(0,0,0,.19), 0 6px 6px rgba(0,0,0,.23);

  --lp-max: var(--wp--style--global--wide-size, 1240px);
  
  /* Typographie pro */
  --lp-font-weight-light: 300;
  --lp-font-weight-normal: 400;
  --lp-font-weight-medium: 500;
  --lp-font-weight-semibold: 600;
  --lp-font-weight-bold: 700;
  --lp-font-weight-black: 900;
  
  /* Espacements harmonieux */
  --lp-space-xs: 0.25rem;
  --lp-space-sm: 0.5rem;
  --lp-space-md: 1rem;
  --lp-space-lg: 1.5rem;
  --lp-space-xl: 2rem;
  --lp-space-2xl: 3rem;
  --lp-space-3xl: 4rem;
}

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

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

body{
  margin:0;
  color:var(--lp-text);
  background:var(--lp-bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

img{
  max-width:100%;
  height:auto;
  display: block;
}

a{
  color:var(--lp-primary);
  text-decoration:none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover{
  color: var(--lp-accent);
  text-decoration:underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.u-container{
  max-width:var(--lp-max);
  margin-inline:auto;
  padding-inline:clamp(16px, 4vw, 24px);
}

.u-visually-hidden{
  position:absolute!important;
  clip:rect(1px,1px,1px,1px)!important;
  padding:0!important;
  border:0!important;
  height:1px!important;
  width:1px!important;
  overflow:hidden!important;
  white-space:nowrap!important;
}

/* ---------- Topbar professionnel ---------- */
.lp-topbar{
  background: linear-gradient(135deg, var(--lp-surface2) 0%, var(--lp-surface) 100%);
  color:var(--lp-muted);
  font-size:13px;
  font-weight: var(--lp-font-weight-medium);
  border-bottom:1px solid rgba(0,0,0,0.06);
  position: relative;
}

.lp-topbar::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--lp-primary) 0%, var(--lp-secondary) 50%, var(--lp-accent) 100%);
}

.lp-topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--lp-space-lg);
  padding:10px 0;
  min-height: 44px;
}

.lp-topbar a{
  color:inherit;
  text-decoration:none;
  padding: 4px 8px;
  border-radius: var(--lp-radius-sm);
  transition: all 0.2s ease;
}

.lp-topbar a:hover{
  background: rgba(0,0,0,0.05);
  color: var(--lp-primary);
  text-decoration:none;
  transform: translateY(-1px);
}

/* ---------- Header sophistiqué (sticky) ---------- */
.lp-header{
  position:sticky; 
  top:0; 
  z-index:50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom:1px solid rgba(0,0,0,0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-header.is-scrolled{
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 4px 32px rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.98);
}

.lp-header__inner{
  display:flex; 
  align-items:center; 
  justify-content:space-between;
  gap:var(--lp-space-xl); 
  padding:16px 0;
  min-height: 72px;
}

.lp-brand{
  display:flex; 
  align-items:center; 
  gap:var(--lp-space-md);
}

.lp-brand .site-logo{
  width:48px;
  height:48px;
  border-radius:var(--lp-radius-md);
  box-shadow: var(--lp-shadow-1);
  transition: transform 0.2s ease;
}

.lp-brand .site-logo:hover{
  transform: scale(1.05);
}

.lp-brand .wp-block-site-title{
  font-family:var(--wp--preset--font-family--news-serif);
  font-weight: var(--lp-font-weight-black);
  letter-spacing:-0.02em;
  font-size: 24px;
  line-height: 1.2;
  margin: 0;
}

.lp-brand .wp-block-site-title a{
  background: var(--lp-primary); /* linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-accent) 100%); */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation principale améliorée */
.wp-block-navigation{
  --_gap:var(--lp-space-lg);
}

.wp-block-navigation__container{
  gap:var(--_gap);
}

.wp-block-navigation a{
  color:var(--lp-text);
  text-decoration:none;
  font-weight: var(--lp-font-weight-semibold);
  font-size: 15px;
  padding: 8px 16px;
  border-radius: var(--lp-radius-md);
  position: relative;
  transition: all 0.2s ease;
}

.wp-block-navigation a::before{
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--lp-secondary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.wp-block-navigation a:hover{
  color:var(--lp-primary);
  background: rgba(28,57,72,0.05);
  text-decoration:none;
  transform: translateY(-1px);
}

.wp-block-navigation a:hover::before{
  width: 80%;
}

.wp-block-navigation .current-menu-item > a{
  color:var(--lp-primary);
  background: rgba(28,57,72,0.08);
}

.wp-block-navigation .current-menu-item > a::before{
  width: 80%;
}

/* Search sophistiquée */
.wp-block-search{
  position: relative;
}

.wp-block-search input[type="search"]{
  padding: 12px 16px 12px 44px;
  border: 2px solid transparent;
  border-radius: 24px;
  background: var(--lp-surface);
  font-size: 14px;
  width: 280px;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.wp-block-search input[type="search"]:focus{
  border-color: var(--lp-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(28,57,72,0.1);
  outline: none;
}

.wp-block-search button{
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--lp-muted);
  padding: 8px;
}

/* ---------- Ticker Dernière minute premium ---------- */
.lp-ticker{
  background: linear-gradient(135deg, rgba(224,208,31,0.08) 0%, rgba(180,68,0,0.05) 100%);
  border-bottom:1px solid rgba(224,208,31,0.2);
  overflow: hidden;
  position: relative;
}

.lp-ticker::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--lp-secondary) 50%, transparent 100%);
}

.lp-ticker__inner{
  display:flex;
  gap:var(--lp-space-lg);
  align-items:center;
  padding:12px 0;
  overflow:hidden;
}

.lp-ticker__label{
  font-weight: var(--lp-font-weight-bold); 
  color: var(--lp-accent); 
  text-transform:uppercase; 
  font-size:12px; 
  letter-spacing:0.1em;
  background: var(--lp-accent);
  color: white;
  padding: 6px 12px;
  border-radius: var(--lp-radius-sm);
  white-space: nowrap;
  position: relative;
}

.lp-ticker__label::before{
  content: '●';
  display: inline-block;
  margin-right: 6px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.lp-ticker__rail{
  display:flex; 
  gap:3rem; 
  min-width:100%; 
  animation:lp-ticker-marquee 40s linear infinite;
}

.lp-ticker__item{
  white-space:nowrap; 
  font-size:14px; 
  color:var(--lp-text);
  font-weight: var(--lp-font-weight-medium);
}

.lp-ticker__item a{
  color: inherit;
  transition: color 0.2s ease;
}

.lp-ticker__item a:hover{
  color: var(--lp-accent);
  text-decoration: none;
}

.lp-ticker:hover .lp-ticker__rail{
  animation-play-state:paused;
}

@keyframes lp-ticker-marquee{
  0%{transform:translateX(0)}
  100%{transform:translateX(-50%)}
}

/* ---------- Progress bar élégante ---------- */
#lp-progress{
  position:fixed; 
  top:0; 
  left:0; 
  height:3px; 
  width:0;
  background: linear-gradient(90deg, var(--lp-primary) 0%, var(--lp-secondary) 50%, var(--lp-accent) 100%);
  z-index:60;
  transition: width 0.1s ease;
}

/* ---------- Grille hero magazine sophistiquée ---------- */
.lp-hero{
  display:grid;
  grid-template-columns: 1.6fr 1fr;
  gap:24px; 
  margin:var(--lp-space-xl) 0 var(--lp-space-lg);
}

.lp-hero__lead{
  position:relative; 
  background:var(--lp-surface); 
  border-radius:var(--lp-radius-lg); 
  overflow:hidden;
  box-shadow: var(--lp-shadow-2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lp-hero__lead:hover{
  transform: translateY(-2px);
  box-shadow: var(--lp-shadow-3);
}

.lp-hero__lead .wp-block-post-featured-image img{
  display:block; 
  width:100%; 
  height:auto; 
  aspect-ratio:16/9; 
  object-fit:cover;
  transition: transform 0.3s ease;
}

.lp-hero__lead:hover .wp-block-post-featured-image img{
  transform: scale(1.02);
}

.lp-hero__lead .lp-overlay{
  position:absolute; 
  inset:auto 0 0 0; 
  padding:var(--lp-space-xl); 
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%); 
  color:#fff;
}

.lp-hero__lead .lp-overlay h2{
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.2;
  margin: 0 0 var(--lp-space-sm);
  font-weight: var(--lp-font-weight-black);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.lp-hero__lead .lp-overlay h2 a{
  color:#fff;
  text-decoration: none;
}

.lp-hero__lead .lp-overlay h2 a:hover{
  color: var(--lp-secondary);
  text-decoration: none;
}

.lp-hero__side{
  display:grid; 
  grid-template-columns:1fr; 
  gap:16px;
}

.lp-hero__mini{
  display:grid; 
  grid-template-columns:100px 1fr; 
  gap:var(--lp-space-md); 
  align-items:start;
  background:var(--lp-surface); 
  padding:14px; 
  border-radius:var(--lp-radius-md);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.2s ease;
  position: relative;
}

.lp-hero__mini::before{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--lp-secondary);
  border-radius: 0 var(--lp-radius-sm) var(--lp-radius-sm) 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lp-hero__mini:hover{
  background: #fff;
  box-shadow: var(--lp-shadow-1);
  transform: translateX(4px);
}

.lp-hero__mini:hover::before{
  opacity: 1;
}

.lp-hero__mini img{
  border-radius:var(--lp-radius-sm); 
  aspect-ratio:4/3; 
  object-fit:cover;
}

.lp-hero__mini h5{
  font-size: 15px;
  line-height: 1.3;
  margin: 0 0 var(--lp-space-xs);
  font-weight: var(--lp-font-weight-bold);
}

.lp-hero__mini .meta{
  font-size:12px; 
  color:var(--lp-muted);
  font-weight: var(--lp-font-weight-medium);
}

@media (max-width: 960px){
  .lp-hero{grid-template-columns:1fr}
  .lp-hero__side{grid-template-columns: repeat(2, 1fr);}
}

@media (max-width: 640px){
  .lp-hero__side{grid-template-columns: 1fr;}
}

/* ---------- Cartes article raffinées ---------- */
.lp-card{
  background:#fff; 
  border-radius:var(--lp-radius-md); 
  padding:18px; 
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.lp-card::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--lp-primary) 0%, var(--lp-secondary) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.lp-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.16);
  border-color: rgba(28,57,72,0.1);
}

.lp-card:hover::before{
  transform: scaleX(1);
}

.lp-card__thumb img{
  display:block; 
  width:100%; 
  border-radius:var(--lp-radius-md); 
  aspect-ratio:16/9; 
  object-fit:cover;
  transition: transform 0.3s ease;
}

.lp-card:hover .lp-card__thumb img{
  transform: scale(1.02);
}

.lp-card__kicker{
  color:var(--lp-accent); 
  text-transform:uppercase; 
  font-weight: var(--lp-font-weight-bold); 
  font-size:11px; 
  letter-spacing:0.08em;
  margin: var(--lp-space-sm) 0 var(--lp-space-xs);
  display: inline-block;
  background: rgba(180,68,0,0.1);
  padding: 4px 8px;
  border-radius: var(--lp-radius-sm);
}

.lp-card__title{
  font-family:var(--wp--preset--font-family--news-serif);
  font-weight: var(--lp-font-weight-bold); 
  line-height:1.25; 
  margin:var(--lp-space-sm) 0;
  font-size: 18px;
}

.lp-card__title a{
  color: var(--lp-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.lp-card__title a:hover{
  color: var(--lp-primary);
  text-decoration: none;
}

.lp-card__meta{
  font-size:12px; 
  color:var(--lp-muted);
  font-weight: var(--lp-font-weight-medium);
  display: flex;
  align-items: center;
  gap: var(--lp-space-sm);
}

.lp-grid{
  display:grid; 
  gap:20px; 
  grid-template-columns:repeat(3, 1fr);
  margin: var(--lp-space-xl) 0;
}

@media (max-width: 960px){ 
  .lp-grid{grid-template-columns:repeat(2, 1fr)} 
}

@media (max-width: 640px){ 
  .lp-grid{grid-template-columns:1fr} 
}

/* Badge paywall sophistiqué */
.lp-badge-paywall{
  display:inline-flex; 
  align-items:center; 
  gap:var(--lp-space-xs);
  background: var(--lp-primary); /* linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-accent) 100%); */ 
  color:#fff; 
  border-radius:999px;
  padding:6px 12px; 
  font-size:11px; 
  line-height:1;
  font-weight: var(--lp-font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--lp-shadow-1);
}

.lp-badge-paywall-inline{
  font-size:.85em;
  opacity: 0.8;
}

.lp-badge-paywall-overlay{
  position:absolute; 
  top:12px; 
  right:12px; 
  z-index:2;
  background: linear-gradient(135deg, rgba(28,57,72,0.9) 0%, rgba(180,68,0,0.9) 100%); 
  color:#fff; 
  border-radius:50%;
  width:32px; 
  height:32px; 
  display:grid; 
  place-items:center; 
  font-size:14px; 
  box-shadow: var(--lp-shadow-2);
  backdrop-filter: blur(4px);
}

/* ---------- Page article sophistiquée ---------- */
.lp-article{
  display:block; 
  margin:var(--lp-space-lg) 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.lp-article-header{
  margin:var(--lp-space-lg) 0 var(--lp-space-2xl);
  text-align: center;
}

.lp-article .lp-bc{
  color:var(--lp-muted); 
  font-size:13px; 
  margin:var(--lp-space-md) 0;
  font-weight: var(--lp-font-weight-medium);
}

.lp-article .lp-bc a{
  color:var(--lp-muted);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: var(--lp-radius-sm);
  transition: all 0.2s ease;
}

.lp-article .lp-bc a:hover{
  background: var(--lp-surface);
  color: var(--lp-primary);
}

.lp-article .lp-bc__sep{
  margin-inline:var(--lp-space-sm);
  opacity: 0.5;
}

.lp-article .standfirst{
  font-size: clamp(18px, 2.5vw, 22px); 
  line-height:1.6; 
  color:#111827; 
  margin:var(--lp-space-lg) 0 var(--lp-space-xl); 
  font-family:var(--wp--preset--font-family--news-serif);
  font-weight: var(--lp-font-weight-normal);
  text-align: left;
  border-left: 4px solid var(--lp-secondary);
  padding-left: var(--lp-space-lg);
  background: rgba(224,208,31,0.05);
  padding: var(--lp-space-lg);
  border-radius: var(--lp-radius-md);
}

.lp-article .meta-line{
  display:flex; 
  flex-wrap:wrap; 
  gap:var(--lp-space-lg); 
  color:var(--lp-muted); 
  font-size:14px;
  align-items: center;
  justify-content: space-between;
  padding: var(--lp-space-md) 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  margin-bottom: var(--lp-space-xl);
}

.lp-article .meta-line .lp-byline{
  font-weight: var(--lp-font-weight-semibold); 
  color:var(--lp-text);
}

.lp-article .wp-block-post-featured-image{
  margin: var(--lp-space-2xl) 0;
}

.lp-article .wp-block-post-featured-image img{
  width:100%; 
  border-radius:var(--lp-radius-lg); 
  aspect-ratio:16/9; 
  object-fit:cover;
  box-shadow: var(--lp-shadow-2);
}

.lp-article-body{
  font-size: clamp(16px, 2vw, 19px); 
  line-height:1.75; 
  hyphens:auto;
  color: #1f2937;
}

.lp-article-body p{
  margin:1.2em 0;
  text-align: justify;
}

.lp-article-body h2{
  margin:2em 0 0.8em;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: var(--lp-font-weight-bold);
  color: var(--lp-primary);
  line-height: 1.2;
}

.lp-article-body h3{
  margin:1.8em 0 0.6em;
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: var(--lp-font-weight-semibold);
  color: var(--lp-text);
}

.lp-article-body figure{
  margin:2em 0;
}

.lp-article-body figcaption{
  font-size:13px; 
  color:var(--lp-muted);
  font-style: italic;
  margin-top: var(--lp-space-sm);
  text-align: center;
}

.lp-article-body blockquote{
  border-left:4px solid var(--lp-primary); 
  padding-left:var(--lp-space-xl); 
  margin:2em 0; 
  font-style:italic;
  font-size: 1.1em;
  background: rgba(28,57,72,0.03);
  padding: var(--lp-space-xl);
  border-radius: var(--lp-radius-md);
  position: relative;
}

.lp-article-body blockquote::before{
  content: '"';
  font-size: 4em;
  color: var(--lp-primary);
  opacity: 0.3;
  position: absolute;
  top: 0;
  left: var(--lp-space-lg);
  line-height: 1;
}

/* Share floating sophistiqué */
.lp-share{
  position:sticky; 
  top:100px; 
  align-self:start;
}

.lp-share__list{
  display:flex; 
  flex-direction:column; 
  gap:12px;
}

.lp-share__btn{
  width:48px; 
  height:48px; 
  border-radius:50%; 
  display:grid; 
  place-items:center;
  background:#fff; 
  color:var(--lp-text); 
  text-decoration:none; 
  box-shadow: var(--lp-shadow-2);
  border: 1px solid rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  font-size: 18px;
}

.lp-share__btn:hover{
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--lp-shadow-3);
  background: var(--lp-primary);
  color: white;
  text-decoration: none;
}

@media (max-width: 960px){
  .lp-share{display:none}
}

/* ---------- Newsletter sophistiquée ---------- */
.lp-newsletter{
  margin-top:var(--lp-space-lg);
  background: linear-gradient(135deg, rgba(28,57,72,0.05) 0%, rgba(224,208,31,0.05) 100%);
  padding: var(--lp-space-xl);
  border-radius: var(--lp-radius-lg);
  border: 1px solid rgba(0,0,0,0.08);
}

.lp-newsletter-row{
  display:flex;
  gap:var(--lp-space-md);
  margin-top: var(--lp-space-md);
}

.lp-newsletter input{
  flex:1; 
  padding:14px 18px; 
  border:2px solid transparent; 
  border-radius:var(--lp-radius-md); 
  min-width:0;
  background: white;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  font-size: 15px;
}

.lp-newsletter input:focus{
  border-color: var(--lp-primary);
  box-shadow: 0 0 0 3px rgba(28,57,72,0.1);
  outline: none;
}

.lp-newsletter button{
  padding:14px 24px; 
  border-radius:var(--lp-radius-md); 
  border:none; 
  background: var(--lp-primary); /* linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-accent) 100%); */ 
  color:#fff; 
  font-weight: var(--lp-font-weight-semibold);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 15px;
  box-shadow: var(--lp-shadow-1);
}

.lp-newsletter button:hover{
  transform: translateY(-1px);
  box-shadow: var(--lp-shadow-2);
}

.lp-newsletter-hint{
  font-size: 12px;
  color: var(--lp-muted);
  margin-top: var(--lp-space-sm);
  text-align: center;
}

/* ---------- Footer sophistiqué ---------- */
.lp-footer{
  border-top:1px solid rgba(0,0,0,0.1); 
  margin-top:var(--lp-space-3xl); 
  padding:var(--lp-space-2xl) 0;
  background: linear-gradient(135deg, var(--lp-surface) 0%, var(--lp-surface2) 100%);
  position: relative;
}

.lp-footer::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--lp-primary) 0%, var(--lp-secondary) 50%, var(--lp-accent) 100%);
}

.lp-footer__cols{
  display:grid; 
  grid-template-columns:2fr 1fr 1fr; 
  gap:var(--lp-space-2xl);
}

.lp-footer h5{
  color: var(--lp-primary);
  font-weight: var(--lp-font-weight-bold);
  margin-bottom: var(--lp-space-md);
  font-size: 16px;
}

.lp-footer a{
  color: var(--lp-text);
  transition: color 0.2s ease;
}

.lp-footer a:hover{
  color: var(--lp-primary);
  text-decoration: none;
}

@media (max-width: 960px){ 
  .lp-footer__cols{grid-template-columns:1fr} 
}

/* ---------- WooCommerce professionnel ---------- */
.woocommerce .products .product{
  background:#fff; 
  padding:18px; 
  border-radius:var(--lp-radius-md);
  box-shadow: var(--lp-shadow-1);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.woocommerce .products .product:hover{
  transform: translateY(-2px);
  box-shadow: var(--lp-shadow-2);
}

.woocommerce ul.products li.product a img{
  border-radius:var(--lp-radius-md);
  transition: transform 0.3s ease;
}

.woocommerce ul.products li.product:hover a img{
  transform: scale(1.02);
}

.woocommerce div.product .product_title{
  font-family:var(--wp--preset--font-family--news-serif);
  font-weight: var(--lp-font-weight-bold);
}

/* Boutons WooCommerce */
.woocommerce .button, .woocommerce button{
  background: var(--lp-primary); /* linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-accent) 100%); */
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: var(--lp-radius-md);
  font-weight: var(--lp-font-weight-semibold);
  transition: all 0.3s ease;
  box-shadow: var(--lp-shadow-1);
}

.woocommerce .button:hover, .woocommerce button:hover{
  transform: translateY(-1px);
  box-shadow: var(--lp-shadow-2);
  text-decoration: none;
  color: white;
}

/* ---------- Paywall CTA premium ---------- */
.lp-paywall-cta{
  background: var(--lp-primary); /* linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-accent) 100%); */ 
  color:#fff; 
  padding:var(--lp-space-2xl); 
  border-radius:var(--lp-radius-lg); 
  margin-top:var(--lp-space-xl);
  text-align: center;
  box-shadow: var(--lp-shadow-2);
  position: relative;
  overflow: hidden;
}

.lp-paywall-cta::before{
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,0.05) 10px,
    rgba(255,255,255,0.05) 20px
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%); }
  100% { transform: translateX(100%) translateY(100%); }
}

.lp-paywall-cta h3{
  margin-bottom: var(--lp-space-md);
  font-size: 24px;
  font-weight: var(--lp-font-weight-bold);
}

.lp-paywall-cta .wp-block-button__link{
  color:#fff !important;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}

.lp-paywall-cta .wp-block-button__link:hover{
  background: rgba(255,255,255,0.3);
  transform: translateY(-1px);
}

/* ---------- Gutenberg améliorations ---------- */
.wp-block-cover{
  border-radius:var(--lp-radius-lg); 
  overflow:hidden;
  box-shadow: var(--lp-shadow-2);
}

.wp-block-buttons{
  gap:var(--lp-space-md);
}

.wp-block-button__link{
  background: var(--lp-primary); /* linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-accent) 100%); */
  color: white;
  padding: 12px 24px;
  border-radius: var(--lp-radius-md);
  font-weight: var(--lp-font-weight-semibold);
  transition: all 0.3s ease;
  box-shadow: var(--lp-shadow-1);
  text-decoration: none;
  display: inline-block;
}

.wp-block-button__link:hover{
  transform: translateY(-1px);
  box-shadow: var(--lp-shadow-2);
  text-decoration: none;
  color: white;
}

/* ---------- Dark mode sophistiqué ---------- */
@media (prefers-color-scheme: dark){
  :root{
    --lp-bg:#0f172a;
    --lp-text:#e2e8f0;
    --lp-muted:#94a3b8;
    --lp-surface:#1e293b;
    --lp-surface2:#0f172a;
  }
  
  .lp-header, .lp-topbar, .lp-ticker{
    border-color:#334155;
    background: rgba(15,23,42,0.95);
  }
  
  .lp-hero__mini, .lp-card, .lp-share__btn{
    background: var(--lp-surface);
    border-color: #334155;
  }
  
  .lp-newsletter{
    background: rgba(30,41,59,0.5);
    border-color: #334155;
  }
  
  .lp-newsletter input{
    background: var(--lp-surface);
    color: var(--lp-text);
    border-color: #334155;
  }
}

/* ---------- Toast notification ---------- */
#lp-toast{
  position:fixed;
  left:50%;
  bottom:24px;
  transform:translateX(-50%);
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color:#fff;
  padding:12px 20px;
  border-radius:999px;
  font-size:14px;
  z-index:70;
  opacity:0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--lp-shadow-3);
  backdrop-filter: blur(8px);
}

/* ---------- Responsive améliorations ---------- */
@media (max-width: 480px){
  .lp-hero__lead .lp-overlay{
    padding: var(--lp-space-lg);
  }
  
  .lp-card{
    padding: 14px;
  }
  
  .lp-article-body{
    font-size: 16px;
  }
  
  .lp-newsletter{
    padding: var(--lp-space-lg);
  }
  
  .lp-newsletter-row{
    flex-direction: column;
  }
}

/* ---------- Impression optimisée ---------- */
@media print{
  #lp-progress,.lp-topbar,.lp-header,.lp-ticker,.lp-share,.lp-newsletter{
    display:none !important;
  }
  
  .lp-card, .lp-hero__mini{
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  a[href]:after{
    content:" (" attr(href) ")"; 
    font-size:.8em;
    color: #666;
  }
  
  .lp-article-body{
    font-size: 12pt;
    line-height: 1.6;
  }
}