:root {
      --primary: #3a7563;
      --primary-light: #6fb98f;
      --primary-dark: #2a5547;
      --accent: #e8c4a2;
      --light: #f8f9f4;
      --dark: #333333;
      --grey: #666666;
      --white: #FFFFFF;
      --shadow: rgba(0, 0, 0, 0.1);
      }
 
/* Reset de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--dark);
}
 
 /* Hero section du journal */
    .journal-hero {
      background: linear-gradient(135deg, #6fb98f 0%, #3a7563 100%);
      color: white;
      padding: 3rem 2rem;
      text-align: center;
      margin-bottom: 3rem;
      border-radius: 15px;
    }

    .journal-hero h1 {
      font-family: 'Playfair Display', serif;
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }

    .journal-hero p {
      font-size: 1.1rem;
      opacity: 0.95;
    }

    /* Container principal */
    .journal-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2rem;
    }

    /* Navigation et filtres */
    .journal-navigation {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 2rem;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .journal-categories {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .category-btn {
      background: white;
      border: 2px solid #6fb98f;
      padding: 0.5rem 1.5rem;
      border-radius: 25px;
      cursor: pointer;
      transition: all 0.3s ease;
      font-family: 'Quicksand', sans-serif;
      font-weight: 600;
      color: #3a7563;
    }

    .category-btn:hover,
    .category-btn.active {
      background: #3a7563;
      color: white;
      border-color: #3a7563;
    }

    .journal-search {
      padding: 0.5rem 1rem;
      border: 2px solid #e0e0e0;
      border-radius: 25px;
      width: 250px;
      font-family: 'Montserrat', sans-serif;
    }

    /* Article le plus lu */
    .featured-article {
      background: #f8f9f4;
      padding: 2rem;
      border-radius: 15px;
      margin-bottom: 3rem;
      display: grid;
      grid-template-columns: 1fr 2fr;
      gap: 2rem;
      align-items: center;
    }

    .featured-article img {
      width: 100%;
      height: 250px;
      object-fit: cover;
      border-radius: 10px;
    }

    .featured-content h2 {
      color: #3a7563;
      margin-bottom: 0.5rem;
      font-family: 'Libre Baskerville', serif;
    }

    .featured-badge {
      background: #e8c4a2;
      color: #333;
      padding: 0.3rem 0.8rem;
      border-radius: 20px;
      font-size: 0.85rem;
      display: inline-block;
      margin-bottom: 1rem;
      font-weight: 600;
    }

    /* Grille d'articles optimisée */
    .articles-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 2rem;
      margin-bottom: 3rem;
    }

    /* Cartes d'articles repensées */
    .article-card {
      background: white;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0,0,0,0.08);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
    }

    .article-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    }

    .article-excerpt {
      color: var(--grey);
      line-height: 1.6;
      margin-bottom: 1rem;
    }

    .article-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .article-card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }

    .article-card .content {
      padding: 1.5rem;
    }

    .article-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1rem;
      font-size: 0.9rem;
      color: #666;
    }

    .article-category {
      background: #6fb98f;
      color: white;
      padding: 0.2rem 0.8rem;
      border-radius: 15px;
      font-size: 0.8rem;
    }

    .article-card h2 {
      font-size: 1.2rem;
      margin-bottom: 0.8rem;
      line-height: 1.3;
      text-align: left;
    }

    .article-card p {
      font-size: 0.95rem;
      line-height: 1.6;
      margin-bottom: 1rem;
    }

    .read-more-btn {
      background-color: #3a7563;
      color: white;
      padding: 0.6rem 1.5rem;
      border-radius: 25px;
      text-decoration: none;
      display: inline-block;
      font-weight: 600;
      font-size: 0.9rem;
      transition: background-color 0.3s;
    }

    /* Pagination */
    .pagination {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 1rem;
      margin: 3rem 0;
    }

    .pagination-btn {
      padding: 0.8rem 1.5rem;
      background: white;
      border: 2px solid #6fb98f;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease;
      font-weight: 600;
      color: #3a7563;
    }

    .pagination-btn:hover:not(:disabled) {
      background: #3a7563;
      color: white;
      border-color: #3a7563;
    }

    .pagination-btn:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

    .page-numbers {
      display: flex;
      gap: 0.5rem;
    }

    .page-number {
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      cursor: pointer;
      transition: all 0.3s ease;
      color: #3a7563;
    }

    .page-number:hover,
    .page-number.active {
      background: #3a7563;
      color: white;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .featured-article {
        grid-template-columns: 1fr;
      }
      
      .journal-search {
        width: 100%;
      }
      
      .articles-grid {
        grid-template-columns: 1fr;
      }
    }
    /* Section articles populaires */
    .popular-articles {
      background: var(--light);
      padding: 3rem;
      border-radius: 15px;
      margin-bottom: 3rem;
    }

    .popular-articles h2 {
      font-family: 'Playfair Display', serif;
      color: var(--primary-dark);
      margin-bottom: 2rem;
      text-align: center;
    }

    .popular-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
    }

    /* Widget newsletter intégré */
    .blog-newsletter {
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      color: white;
      padding: 3rem;
      border-radius: 15px;
      text-align: center;
      margin: 3rem 0;
    }
    /* Structure du blog */
    .blog-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 2rem;
    }
    /* Filtres et navigation du blog */
    .blog-navigation {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 2rem;
      flex-wrap: wrap;
      gap: 1rem;
    }
   .blog-categories {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

    /* Sidebar pour blog */
    .blog-layout {
      display: grid;
      grid-template-columns: 1fr 300px;
      gap: 2rem;
      margin-top: 2rem;
    }

    .blog-sidebar {
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }

    .sidebar-widget {
      background: white;
      padding: 1.5rem;
      border-radius: 15px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    }

    .tags-cloud {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: 1rem;
    }

    .tag {
      background: var(--light);
      padding: 0.3rem 0.8rem;
      border-radius: 20px;
      font-size: 0.85rem;
      color: var(--primary-dark);
      text-decoration: none;
      transition: all 0.3s ease;
    }

    .tag:hover {
      background: var(--primary-light);
      color: white;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .blog-layout {
        grid-template-columns: 1fr;
      }
      
      .blog-hero h1 {
        font-size: 2rem;
      }
    }
    * HEADER PRINCIPAL */
/* ========== HEADER EFFET WAOUHHH ========== */

.site-header {
  background: linear-gradient(135deg, var(--white) 0%, var(--light) 100%);
  padding: 1rem 2rem;
  box-shadow: 0 2px 20px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end; /* ← Aligne tout en bas */
  gap: 2rem;
  transition: all 0.3s ease;
  overflow: hidden; /* Pour les effets qui débordent */
}

/* ========== TITRE Omaëa - EFFET WAOUHHH ========== */
.site-header h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: 2rem;
  color: var(--primary);
  font-weight: normal;
  letter-spacing: 1px;
  margin-left: 45px;
  margin-bottom: 1rem; /* Espace du bas au lieu de transform */
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   /* POSITION : Descendre et décaler */
  transform: translateY(35px) translateX(20px); /* ← Descend + décale à droite */
  transform-origin: left center; /* ← IMPORTANT : point de rotation à gauche */
  
  /* Effet de brillance au chargement */
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  animation: titleShine 3s ease-in-out infinite;
}

@keyframes titleShine {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}

.site-header h1:hover {
  transform: translateY(40px) scale(1.08) rotate(1deg); /* ← Garde la descente + effets */
  text-shadow: 0 8px 20px rgba(58, 117, 99, 0.4);
  letter-spacing: 2px;
}

/* ========== LOGO CENTRAL - EFFET ROTATION DOUCE ========== */
.header-center {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.logo {
  height: 200px;
  width: auto;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 4px 8px rgba(58, 117, 99, 0.2));
  position: relative;
  z-index: 1;
}

/* Effet de halo autour du logo */
.header-center::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(58, 117, 99, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transition: all 0.4s ease;
  opacity: 0;
  transform: scale(0.8);
}

.header-center:hover::before {
  opacity: 1;
  transform: scale(1.2);
}

.logo:hover {
  transform: translateY(-8px) scale(1.05) rotate(5deg);
  filter: drop-shadow(0 12px 25px rgba(58, 117, 99, 0.4));
}

/* ========== NAVIGATION - EFFET VAGUE ========== */
.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1rem; /* Aligné avec le titre */
  position: relative;
}

.site-nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transform: translateY(0);
  opacity: 0.9;
}

/* Animation d'apparition en vague */
.site-nav a:nth-child(1) { animation: navWave 0.6s ease-out 0.1s forwards; }
.site-nav a:nth-child(2) { animation: navWave 0.6s ease-out 0.2s forwards; }
.site-nav a:nth-child(3) { animation: navWave 0.6s ease-out 0.3s forwards; }
.site-nav a:nth-child(4) { animation: navWave 0.6s ease-out 0.4s forwards; }

@keyframes navWave {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Effet hover sophistiqué pour la navigation */
.site-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 25px;
  opacity: 0;
  transform: scale(0.3) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.site-nav a:hover::before {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.site-nav a:hover {
  color: var(--white);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(58, 117, 99, 0.4);
  letter-spacing: 1px;
}

/* État actif avec pulsation */
.site-nav a.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(58, 117, 99, 0.4);
  animation: activePulse 2s ease-in-out infinite;
}

@keyframes activePulse {
  0%, 100% { 
    box-shadow: 0 4px 15px rgba(58, 117, 99, 0.4);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 6px 20px rgba(58, 117, 99, 0.6);
    transform: scale(1.02);
  }
}

/* ========== EFFET PARALLAXE AU SCROLL ========== */
.site-header.scrolled {
  padding: 0.75rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(58, 117, 99, 0.1);
}

.site-header.scrolled .logo {
  height: 80px;
  transform: scale(0.9);
}

.site-header.scrolled h1 {
  font-size: 1.6rem;
  transform: scale(0.95);
}

.site-header.scrolled .site-nav a {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

/* ========== ANIMATION D'ENTRÉE AU CHARGEMENT ========== */
@keyframes headerLoad {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header {
  animation: headerLoad 0.8s ease-out;
}

/* ========== EFFET HOVER SUR TOUT LE HEADER ========== */
.site-header:hover .logo {
  transform: rotate(3deg) scale(1.02);
}

.site-header:hover h1 {
  color: var(--primary-light);
}

/* ========== RESPONSIVE AVEC EFFETS CONSERVÉS ========== */
@media (max-width: 768px) {
  .site-header {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
    align-items: center; /* Recentre en mobile */
  }
  
  .site-header h1 {
    font-size: 1.8rem;
    order: 2;
    margin-left: 0; /* Supprime le décalage en mobile */
    margin-bottom: 0;
  }
  
  .header-center {
    order: 1;
  }
  
  .logo {
    height: 120px;
  }
  
  .site-nav {
    order: 3;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0;
  }
  
  .site-nav a {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  /* Garde les effets même en mobile */
  .site-nav a:hover {
    transform: translateY(-3px) scale(1.02);
  }
}

/* ========== TRANSITION FLUIDE GLOBALE ========== */
.site-header * {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== EFFET SURPRISE - CLIC SUR LOGO ========== */
.logo:active {
  transform: rotate(360deg) scale(1.2);
  transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
/* BLOCS PREMIUM Omaëa - Ajouter dans journal.css */
.omaea-premium-section {
    margin: 30px 0;
    padding: 0;
}

.premium-content-block {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #4CAF50;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.15);
}

.premium-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.premium-icon { font-size: 1.5rem; }

.premium-header h3 {
    margin: 0;
    color: #2D7D32;
    font-size: 1.4rem;
}

.premium-badge {
    background: #4CAF50;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.premium-benefits {
    margin: 20px 0;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.premium-benefits h4 {
    text-align: center;
    color: #2D7D32;
    margin-bottom: 15px;
}

.premium-benefits ul {
    list-style: none;
    padding: 0;
}

.premium-benefits li {
    margin: 8px 0;
    padding-left: 0;
}

.premium-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 0;
}

.premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.premium-guarantee {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .premium-content-block { padding: 20px 15px; }
    .premium-btn { width: 100%; font-size: 1rem; }
}