:root {
  --primary-color: #137C8B;
  --secondary-color: #344D59;
  --text-color: #1f1f1f;
  --background-color: #fdfdfd;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  margin: 0;
  background: var(--background-color);
  color: var(--text-color);
}

/* === Header du Blog === */
.blog-header {
  background-color: #137C8B;
  background: url('../images/heroblog.png') no-repeat center center/cover;
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.blog-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.blog-header p {
  font-size: 1.1rem;
  font-weight: 300;
}

.container {
  width: 90%;
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin: 1.5rem 0;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

img:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

h1 {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

h2 {
  color: var(--secondary-color);
  margin-top: 2rem;
  font-size: 1.6rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
}

p, ul {
  margin-bottom: 1.2rem;
}

ul {
  padding-left: 1.8rem;
}

li {
  margin-bottom: 0.5rem;
}

strong {
  color: var(--primary-color);
}

a.back-link {
  display: inline-flex;
  align-items: center;
  margin-top: 2rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid var(--primary-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

a.back-link:hover {
  background-color: var(--primary-color);
  color: white;
}

a.back-link::before {
  content: '←';
  margin-right: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  .container {
    width: 95%;
    padding: 0;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.container {
  animation: fadeIn 0.5s ease-out;
}

.share-buttons {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-share {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  text-decoration: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  transition: background-color 0.3s;
}

.btn-share.fb { background-color: #3b5998; }
.btn-share.li { background-color: #0077b5; }
.btn-share.wa { background-color: #25D366; }
.btn-share.copy { background-color: #6c757d; }

.btn-share:hover {
  opacity: 0.8;
}

/* === Footer === */
.footer {
  background-color: #344D59;
  color: white;
  text-align: center;
  padding: 0.3rem 0;
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
}

