/* ==========================================================================
   Marketing CSS - Styles Premium pour les Articles de Blog
   ========================================================================== */

/* Structure principale de l'article */
.content-article {
  background: #ffffff;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0,0,0,0.02);
  border: 1px solid rgba(229, 231, 235, 0.5);
  font-family: 'Inter', sans-serif;
  color: #374151; /* gray-700 */
  line-height: 1.8;
  font-size: 1.125rem; /* 18px pour une lecture agréable */
  position: relative;
  overflow: hidden;
}

/* Micro-animation au survol de l'article complet */
.content-article {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.content-article:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0,0,0,0.02);
}

/* Titres */
.content-article h1,
.content-article h2,
.content-article h3,
.content-article h4 {
  font-family: 'Poppins', sans-serif;
  color: #111827; /* gray-900 */
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.content-article h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.content-article h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #16a34a, #4ade80); /* green-600 to green-400 */
  border-radius: 4px;
  transition: width 0.3s ease;
}

.content-article h2:hover::after {
  width: 100px;
}

.content-article h3 {
  font-size: 1.5rem;
  color: #1f2937; /* gray-800 */
}

/* Paragraphes */
.content-article p {
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}

/* Mise en gras */
.content-article strong {
  font-weight: 600;
  color: #111827;
  background: linear-gradient(120deg, rgba(74, 222, 128, 0.2) 0%, rgba(74, 222, 128, 0.2) 100%);
  background-repeat: no-repeat;
  background-size: 100% 30%;
  background-position: 0 88%;
}

/* Citations et blocs mis en avant (Socratic method, etc.) */
.content-article p.italic,
.content-article blockquote {
  font-style: italic;
  font-size: 1.25rem;
  color: #1f2937;
  background: linear-gradient(to right, #f0fdf4, #ffffff); /* green-50 to white */
  padding: 1.75rem 2rem;
  border-left: 5px solid #16a34a; /* green-600 */
  border-radius: 0 16px 16px 0;
  margin: 2.5rem 0;
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.05);
  position: relative;
}

/* Listes */
.content-article ul,
.content-article ol {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.content-article li {
  margin-bottom: 0.75rem;
  position: relative;
}

/* Custom bullets */
.content-article ul > li::marker {
  color: #16a34a;
}

/* Boutons intégrés dans l'article */
.content-article a.inline-block {
  display: inline-block;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: white !important;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 20px -5px rgba(22, 163, 74, 0.4);
  margin-top: 2rem;
}

.content-article a.inline-block:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 25px -5px rgba(22, 163, 74, 0.5);
}

/* Liens textuels normaux */
.content-article a:not(.inline-block) {
  color: #16a34a;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.content-article a:not(.inline-block)::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #16a34a;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.content-article a:not(.inline-block):hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Responsiveness */
@media (max-width: 768px) {
  .content-article {
    padding: 2rem 1.5rem;
    font-size: 1rem;
    border-radius: 16px;
  }
  
  .content-article h2 {
    font-size: 1.75rem;
  }
  
  .content-article p.italic,
  .content-article blockquote {
    font-size: 1.125rem;
    padding: 1.25rem 1.5rem;
  }
}
