/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #1d1d1f;
  background-color: #ffffff;
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem;
}

/* Typographie */
h1 {
  font-weight: 600;
  font-size: 2.5rem;
  margin: 2rem 0 1.5rem;
  letter-spacing: -0.02em;
  color: #1d1d1f;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #333;
}

a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #004499;
}

code {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background-color: #f5f5f7;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9rem;
  color: #333;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
  transform: scale(1.01);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

/* Listes */
ul, ol {
  margin: 1.5rem 0 1.5rem 2rem;
}

li {
  margin-bottom: 0.8rem;
}

/* Conteneur principal */
.cTsUqU {
  background-color: #fff;
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding: 1.5rem;
  }
  
  .cTsUqU {
    padding: 1.5rem;
    border-radius: 12px;
  }
  
  h1 {
    font-size: 2rem;
    margin: 1rem 0 1rem;
  }
}

/* Animation subtile d'entrée */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.cTsUqU {
  animation: fadeIn 0.6s ease-out;
}

/* Style pour les paragraphes avec des images */
p[dir="auto"] {
  text-align: left;
  margin-bottom: 0.8rem;
}

p[dir="auto"] img {
  margin: 0.8rem 0;
}

/* Éléments supplémentaires */
blockquote {
  border-left: 3px solid #0066cc;
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #6e6e73;
}

/* Séparations visuelles */
p + h1, ul + h1, img + h1 {
  margin-top: 3rem;
}
