/* ============================================================
   TROUVAILLES DU JOUR — FEUILLE DE STYLES PARTAGÉE
   Utilisée sur toutes les pages du site éditeur.
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #2a2a2a;
  background: #fafaf7;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: #b8434a; text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* --------- MASTHEAD --------- */
.masthead {
  background: #ffffff;
  border-bottom: 1px solid #e7e4dc;
}
.masthead-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.wordmark {
  font-family: 'Georgia', serif;
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 0.5px;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1;
}
.wordmark:hover { text-decoration: none; }
.tagline {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #8a8880;
  margin-top: 8px;
}
.mainnav {
  border-top: 1px solid #e7e4dc;
  border-bottom: 1px solid #e7e4dc;
  background: #ffffff;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}
.mainnav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}
.mainnav a {
  color: #2a2a2a;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
  padding: 14px 0;
  display: inline-block;
  border-bottom: 2px solid transparent;
}
.mainnav a:hover {
  color: #b8434a;
  text-decoration: none;
  border-bottom-color: #b8434a;
}

/* --------- PAGE CONTAINER --------- */
.page {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
.page-wide {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.page h1 {
  font-size: 36px;
  line-height: 1.2;
  color: #1a1a1a;
  margin-bottom: 12px;
  font-weight: 700;
}
.page h2 {
  font-size: 22px;
  color: #1a1a1a;
  margin: 32px 0 12px;
  font-weight: 700;
}
.page h3 {
  font-size: 17px;
  color: #1a1a1a;
  margin: 24px 0 8px;
  font-weight: 700;
}
.page p { margin-bottom: 14px; font-size: 17px; }
.page ul, .page ol { margin: 8px 0 16px 24px; }
.page li { margin-bottom: 6px; font-size: 17px; }

.byline {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  color: #7a7870;
  padding-bottom: 20px;
  border-bottom: 1px solid #e7e4dc;
  margin-bottom: 28px;
}
.updated {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  color: #7a7870;
  font-style: italic;
  margin-bottom: 24px;
}

/* --------- HOMEPAGE HERO --------- */
.hero {
  background: #ffffff;
  border-bottom: 1px solid #e7e4dc;
  padding: 40px 24px;
}
.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  font-size: 32px;
  color: #1a1a1a;
  margin-bottom: 10px;
  font-weight: 700;
}
.hero p {
  font-size: 16px;
  color: #6a6860;
  max-width: 620px;
  margin: 0 auto;
  font-style: italic;
}

/* --------- ARTICLE GRID --------- */
.section-title {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
  color: #8a8880;
  border-bottom: 1px solid #d8d5cc;
  padding-bottom: 10px;
  margin: 40px 0 24px;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 760px) {
  .article-grid { grid-template-columns: 1fr; }
}
.article-card {
  background: #ffffff;
  border: 1px solid #e7e4dc;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.article-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.article-thumb {
  width: 100%;
  height: 170px;
  display: block;
}
.article-body { padding: 18px 20px 22px; }
.article-cat {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #b8434a;
  font-weight: 600;
  margin-bottom: 8px;
}
.article-card h3 {
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 8px;
  color: #1a1a1a;
}
.article-card h3 a {
  color: inherit;
  text-decoration: none;
}
.article-card h3 a:hover { color: #b8434a; }
.article-excerpt {
  font-size: 14px;
  color: #6a6860;
  line-height: 1.5;
}
.article-meta {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  color: #9a9890;
  margin-top: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --------- CONTACT --------- */
.contact-block {
  background: #ffffff;
  border: 1px solid #e7e4dc;
  padding: 28px 32px;
  margin: 24px 0;
}
.contact-block p { margin-bottom: 10px; }

/* --------- FOOTER --------- */
.site-footer {
  background: #1f1e1a;
  color: #c9c6bc;
  padding: 36px 24px 28px;
  margin-top: 60px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.footer-links a {
  color: #d9d6cc;
  font-size: 13px;
}
.footer-links a:hover { color: #ffffff; }
.footer-copyright {
  color: #8a8880;
  font-size: 12px;
  margin-top: 8px;
}
.footer-disclosure {
  color: #8a8880;
  font-size: 12px;
  font-style: italic;
  margin-top: 12px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
