:root {
  --paper: #f7f6f1;
  --ink: #111;
  --muted: #77736b;
  --line: #d8d5cd;
  --accent: #d94b2b;

  --reading-width: 720px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
}

body {
  margin: 0;

  background: var(--paper);
  color: var(--ink);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  line-height: 1.7;
}

a {
  color: inherit;
}

.site-header,
main,
.site-footer {
  width: min(
    calc(100% - 40px),
    var(--reading-width)
  );

  margin-inline: auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;

  padding-top: 32px;
  padding-bottom: 90px;

  font-family: Arial, sans-serif;
}

.site-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;

  text-decoration: none;
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  font-size: .75rem;
  text-decoration: none;
}

nav a:hover {
  color: var(--accent);
}

.intro {
  padding-bottom: 80px;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.post-date {
  margin: 0;

  color: var(--muted);

  font-family: Arial, sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.intro h1 {
  margin: 12px 0 20px;

  font-size: clamp(
    3.2rem,
    10vw,
    6.5rem
  );

  line-height: .9;
  letter-spacing: -.055em;
}

.posts {
  padding-bottom: 100px;
}

.post-item {
  padding: 34px 0;

  border-bottom: 1px solid var(--line);
}

.post-item h2 {
  margin: 7px 0;

  font-size: 1.8rem;
  line-height: 1.05;

  letter-spacing: -.035em;
}

.post-item h2 a {
  text-decoration: none;
}

.post-item h2 a:hover {
  color: var(--accent);
}

.post {
  padding-bottom: 100px;
}

.post-header {
  padding-bottom: 50px;
}

.post-header h1 {
  margin: 10px 0 20px;

  font-size: clamp(
    2.8rem,
    8vw,
    5rem
  );

  line-height: .95;
  letter-spacing: -.05em;
}

.post-description {
  color: var(--muted);
  font-size: 1.15rem;
}

.post-content {
  font-size: 1.08rem;
}

.post-content h2 {
  margin-top: 60px;

  font-size: 1.8rem;
  line-height: 1.1;
}

.post-content a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.post-content blockquote {
  margin-left: 0;
  padding-left: 25px;

  border-left: 2px solid var(--accent);

  color: var(--muted);
}

.post-content img {
  display: block;

  max-width: 100%;
  height: auto;
}

.site-footer {
  padding: 60px 0;

  color: var(--muted);

  font-family: Arial, sans-serif;
  font-size: .7rem;
}

@media (max-width: 600px) {

  .site-header {
    padding-bottom: 55px;
  }

  .site-header nav {
    gap: 12px;
  }

  .intro {
    padding-bottom: 60px;
  }

}




/* Bouton Google Translate */
.btn-translate {
  display: inline-block;
  background: #a5a5a5;
  color: white;
  padding: 1rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  margin: 1.5rem 0;
  transition: background 0.2s ease;
}

.btn-translate:hover {
  background: #5b3add;
}

/* Notice de traduction */
.translation-notice {
  border-left: 4px solid #797979;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: #fafafa;
}

.translation-notice h2 {
  margin-top: 0;
  color: #333;
}

.translation-notice p {
  line-height: 1.7;
  margin: 1rem 0;
}

/* Mode sombre (optionnel) */
@media (prefers-color-scheme: dark) {
  .translation-notice {
    background: #1a1a1a;
    border-color: #6d4aff;
  }
  
  .translation-notice h2 {
    color: #eee;
  }
  
  .btn-translate {
    background: #6d4aff;
  }
}

