* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #1c1b1f;
  background: #f7f2ea;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:hover { color: #b8862b; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 6%;
  background: #16121c;
  color: white;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.logo {
  font-weight: 800;
  letter-spacing: 1px;
  color: white;
}

.logo span { color: #d6a84f; margin: 0 4px; }

nav a {
  margin-left: 22px;
  font-size: 14px;
  opacity: .92;
}

.menu-toggle {
  display: none;
  background: transparent;
  color: white;
  font-size: 24px;
  border: 0;
}

.hero {
  min-height: 560px;
  background:
    linear-gradient(90deg, rgba(19,14,25,.88), rgba(19,14,25,.45)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 0 6%;
  color: white;
}

.hero-content { max-width: 780px; }

.kicker {
  color: #d6a84f;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  margin: 14px 0;
}

.lead, .standfirst {
  font-size: 20px;
  color: #f2eadf;
  max-width: 780px;
}

.btn, button {
  display: inline-block;
  border: none;
  padding: 13px 20px;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
}

.primary { background: #d6a84f; color: #16121c; }
.secondary { border: 1px solid rgba(255,255,255,.45); color: white; margin-left: 10px; }

.container {
  width: 88%;
  max-width: 1180px;
  margin: 55px auto;
}

.featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 22px;
}

.feature-card, .article-card, .box {
  background: white;
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 10px 26px rgba(0,0,0,.07);
}

.feature-card.large { grid-row: span 2; min-height: 360px; }
.feature-card.large h2 { font-size: 40px; line-height: 1.1; }

.category {
  color: #9f6d1c;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.readmore {
  display: inline-block;
  margin-top: 18px;
  font-weight: 800;
  color: #9f6d1c;
}

.section-head {
  text-align: center;
  margin: 70px 0 25px;
}
.section-head.left { text-align: left; margin-top: 0; }

.rubrique-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.rubrique {
  display: block;
  background: #16121c;
  color: white;
  padding: 24px;
  border-radius: 12px;
  min-height: 145px;
}
.rubrique strong { display: block; font-size: 18px; margin: 10px 0 6px; }
.rubrique span { color: #d8d0c4; font-size: 14px; }

.content-layout {
  display: grid;
  grid-template-columns: 2fr .85fr;
  gap: 28px;
  margin-top: 70px;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.article-list.wide { grid-template-columns: repeat(3, 1fr); }

.sidebar .box { margin-bottom: 22px; }

.newsletter {
  margin-top: 70px;
  background: #16121c;
  color: white;
  padding: 42px;
  border-radius: 18px;
  text-align: center;
}
.newsletter input {
  padding: 13px;
  width: 310px;
  max-width: 100%;
  border: 0;
}
.newsletter button {
  background: #d6a84f;
  color: #16121c;
}
.form-msg { color: #d6a84f; font-weight: 700; }

.article-page {
  width: 88%;
  max-width: 1180px;
  margin: 55px auto;
  display: grid;
  grid-template-columns: 2fr .85fr;
  gap: 34px;
  align-items: start;
}
.article-page.single { grid-template-columns: 1fr; max-width: 860px; }

.article-full {
  background: white;
  padding: 44px;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,.07);
}
.article-full h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  margin-bottom: 10px;
}
.article-full h2 { margin-top: 34px; }
.article-full p { font-size: 18px; }
.article-full .standfirst { color: #4d4655; font-size: 22px; }
.meta { color: #777; font-size: 14px !important; }
.backlink { color: #9f6d1c; font-weight: 800; }
blockquote {
  border-left: 5px solid #d6a84f;
  margin: 30px 0;
  padding: 18px 24px;
  background: #f7f2ea;
  font-size: 21px;
  font-weight: 700;
}
.article-footer {
  margin-top: 40px;
  background: #f7f2ea;
  padding: 18px;
  border-radius: 10px;
}

.rubrique-header {
  background: white;
  padding: 42px;
  border-radius: 16px;
  margin-bottom: 28px;
}
.rubrique-header h1 { font-size: 48px; margin: 0; }

footer {
  text-align: center;
  padding: 34px;
  color: #777;
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .site-header nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #16121c;
    padding: 16px 6%;
  }
  .site-header nav.open { display: block; }
  .site-header nav a { display: block; margin: 12px 0; }

  .featured-grid,
  .rubrique-grid,
  .content-layout,
  .article-list,
  .article-list.wide,
  .article-page {
    grid-template-columns: 1fr;
  }

  .feature-card.large { min-height: auto; }
  .feature-card.large h2 { font-size: 30px; }
  .article-full { padding: 28px; }
  .secondary { margin-left: 0; margin-top: 10px; }
}
/* Pages dynamiques de la maquette */

.portrait-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 24px 70px;
}

.portrait-hero {
    margin-bottom: 30px;
    padding: 38px 42px;
    background: #f3f0e9;
    border: 1px solid #ded8ca;
    border-radius: 6px;
}

.portrait-text {
    max-width: 850px;
}

.portrait-text h1 {
    margin: 10px 0 20px;
    line-height: 1.15;
}

.portrait-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(250px, 0.8fr);
    gap: 35px;
    align-items: start;
}

.article-full {
    padding: 38px 42px;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 6px;
}

.article-full p {
    margin: 0 0 1.3em;
    line-height: 1.75;
}

.article-full .meta {
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ddd;
    font-size: 0.92rem;
}

.article-aside .box {
    margin-bottom: 22px;
}

.article-list.wide {
    display: grid;
    gap: 22px;
    margin-bottom: 60px;
}

.article-list.wide .article-card {
    padding: 28px 32px;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 6px;
}

.article-list.wide .article-card h3 {
    margin: 8px 0 12px;
}

@media (max-width: 800px) {
    .portrait-page {
        padding: 24px 16px 50px;
    }

    .portrait-hero,
    .article-full {
        padding: 25px 22px;
    }

    .portrait-layout {
        grid-template-columns: 1fr;
    }
}
/* Commentaires */

.comments-section {
    max-width: 1180px;
    margin: 40px auto 0;
    padding: 38px 42px;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 6px;
}

.comments-header {
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ddd;
}

.comments-header h2 {
    margin: 6px 0 0;
}

.comments-header h2 span {
    font-size: 0.8em;
    font-weight: normal;
}

.comment-success {
    padding: 14px 18px;
    margin-bottom: 24px;
    background: #eaf7ed;
    border: 1px solid #78aa82;
}

.no-comments {
    padding: 20px;
    background: #f5f3ee;
}

.comments-list {
    display: grid;
    gap: 22px;
}

.comment {
    padding: 22px;
    background: #f7f5f0;
    border: 1px solid #e0ddd5;
    border-radius: 5px;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}

.comment-meta time {
    color: #666;
    font-size: 0.9rem;
}

.comment-content {
    line-height: 1.65;
}

.reply-button {
    margin-top: 14px;
    padding: 0;
    background: none;
    border: 0;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.comment-replies {
    display: grid;
    gap: 14px;
    margin-top: 20px;
    margin-left: 45px;
}

.comment.reply {
    background: #fff;
}

.new-comment {
    margin-top: 38px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.comment-form {
    display: grid;
    gap: 18px;
    margin-top: 20px;
}

.comment-form label {
    display: grid;
    gap: 8px;
    font-weight: 700;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #bbb;
    font: inherit;
}

.reply-form {
    padding: 20px;
    margin-top: 18px;
    background: #fff;
    border: 1px solid #ddd;
}

.reply-form[hidden] {
    display: none;
}

@media (max-width: 800px) {
    .comments-section {
        padding: 25px 22px;
    }

    .comment-meta {
        display: grid;
        gap: 5px;
    }

    .comment-replies {
        margin-left: 18px;
    }
}
/* Amélioration de la lecture des articles */

.article-full {
    font-size: 1.08rem;
    line-height: 1.8;
}

.article-full > p:first-of-type:not(.meta) {
    font-size: 1.16rem;
}

.article-full h2 {
    margin: 2em 0 0.7em;
    padding-left: 16px;
    border-left: 4px solid currentColor;
    font-size: 1.55rem;
    line-height: 1.25;
}

.article-full blockquote {
    margin: 2em 0;
    padding: 22px 28px;
    background: #f4f1ea;
    border-left: 5px solid #333;
    font-size: 1.08rem;
    font-style: italic;
    line-height: 1.65;
}

.article-full a {
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* Réactions */

.reactions {
    margin-top: 38px;
    padding-top: 25px;
    border-top: 1px solid #ddd;
}

.reactions-title {
    margin-bottom: 14px;
    font-size: 0.95rem;
    font-weight: 700;
}

.reaction-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.reaction-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 8px 13px;
    background: #fff;
    border: 1px solid #d5d2ca;
    border-radius: 999px;
    font: inherit;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        background 0.15s ease,
        border-color 0.15s ease;
}

.reaction-button:hover {
    transform: translateY(-2px);
    background: #f5f2eb;
    border-color: #9e9a91;
}

.reaction-button.selected {
    background: #eee9dd;
    border-color: #555;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}

.reaction-button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.reaction-emoji {
    font-size: 1.2rem;
    line-height: 1;
}

.reaction-label {
    font-size: 0.88rem;
}

.reaction-count {
    min-width: 18px;
    padding: 1px 5px;
    background: #ece9e2;
    border-radius: 999px;
    font-size: 0.78rem;
    text-align: center;
}

/* Réactions plus discrètes sous les commentaires */

.reactions-small {
    margin-top: 15px;
    padding-top: 0;
    border-top: 0;
}

.reactions-small .reaction-buttons {
    gap: 6px;
}

.reactions-small .reaction-button {
    min-height: 32px;
    padding: 4px 8px;
}

.reactions-small .reaction-label {
    display: none;
}

.reactions-small .reaction-emoji {
    font-size: 1rem;
}

/* Commentaires plus conviviaux */

.comment {
    position: relative;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.035);
}

.comment-meta strong::before {
    content: "●";
    display: inline-block;
    margin-right: 8px;
    font-size: 0.65rem;
    vertical-align: middle;
}

.comment-content {
    font-size: 0.98rem;
}

.new-comment {
    padding: 28px;
    background: #f7f5f0;
    border-radius: 8px;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: 2px solid #333;
    outline-offset: 2px;
    border-color: #333;
}

@media (max-width: 650px) {
    .reaction-label {
        display: none;
    }

    .reaction-button {
        padding: 7px 10px;
    }

    .article-full {
        font-size: 1rem;
    }

    .new-comment {
        padding: 20px;
    }
}
.reaction-button.reaction-negative:hover {
	background: #f9e7e4;
	border-color: #b66b60;
}

.reaction-button.reaction-negative.selected {
    background: #f3d7d2;
    border-color: #9b493e;
}
/* ==========================================================
   CHARTE ÉDITORIALE — ARTICLES, COMMENTAIRES ET RÉACTIONS
   ========================================================== */

:root {
    --wm-noir: #171717;
    --wm-noir-doux: #292929;
    --wm-ivoire: #f4f0e7;
    --wm-ivoire-clair: #fbf9f5;
    --wm-sable: #e8dfd0;
    --wm-ocre: #b67a36;
    --wm-ocre-fonce: #8f5b23;
    --wm-rouge: #9b493e;
    --wm-vert: #58735d;
    --wm-texte: #2b2926;
    --wm-texte-secondaire: #716b63;
    --wm-bordure: #d8cdbd;
    --wm-ombre: 0 18px 45px rgba(30, 24, 17, 0.08);
}


/* ==========================================================
   FOND GÉNÉRAL DE LA PAGE ARTICLE
   ========================================================== */

body {
    background:
        linear-gradient(
            180deg,
            var(--wm-ivoire-clair) 0,
            var(--wm-ivoire) 100%
        );
    color: var(--wm-texte);
}

.portrait-page {
    max-width: 1240px;
    padding-top: 48px;
}


/* ==========================================================
   BANDEAU DE L’ARTICLE
   ========================================================== */

.portrait-hero {
    position: relative;
    overflow: hidden;
    padding: 54px 58px;
    background: var(--wm-noir);
    border: 0;
    border-radius: 3px;
    box-shadow: var(--wm-ombre);
    color: #fff;
}

.portrait-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 9px;
    height: 100%;
    background: var(--wm-ocre);
}

.portrait-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -125px;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.portrait-text {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.portrait-text .kicker {
    display: inline-block;
    margin: 0 0 18px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--wm-ocre);
    color: #d9b17f;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.portrait-text h1 {
    max-width: 900px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 4.3rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.portrait-text .standfirst {
    max-width: 780px;
    margin: 0;
    color: #ded9d1;
    font-size: 1.18rem;
    line-height: 1.65;
}


/* ==========================================================
   CORPS DE L’ARTICLE
   ========================================================== */

.portrait-layout {
    margin-top: 34px;
    gap: 32px;
}

.article-full {
    position: relative;
    padding: 48px 54px 55px;
    background: #fff;
    border: 1px solid var(--wm-bordure);
    border-radius: 3px;
    box-shadow: var(--wm-ombre);
    font-size: 1.08rem;
    line-height: 1.86;
}

.article-full::before {
    content: "";
    position: absolute;
    top: 0;
    left: 54px;
    width: 90px;
    height: 5px;
    background: var(--wm-ocre);
}

.article-full .meta {
    margin: 0 0 34px;
    padding: 18px 0 22px;
    border-bottom: 1px solid var(--wm-sable);
    color: var(--wm-texte-secondaire);
    font-size: 0.86rem;
    letter-spacing: 0.02em;
}

.article-full .meta strong {
    color: var(--wm-noir);
}

.article-full p {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

.article-full > p:not(.meta):first-of-type::first-letter {
    float: left;
    margin: 7px 10px 0 0;
    color: var(--wm-ocre-fonce);
    font-family: Georgia, serif;
    font-size: 4.4rem;
    font-weight: 700;
    line-height: 0.78;
}

.article-full h2 {
    max-width: 780px;
    margin: 2.4em auto 0.8em;
    padding: 0 0 10px;
    border: 0;
    border-bottom: 2px solid var(--wm-ocre);
    color: var(--wm-noir);
    font-size: 1.65rem;
    line-height: 1.25;
}

.article-full blockquote {
    max-width: 720px;
    margin: 2.2em auto;
    padding: 28px 34px;
    background: var(--wm-ivoire);
    border: 0;
    border-left: 6px solid var(--wm-ocre);
    color: var(--wm-noir-doux);
    font-family: Georgia, serif;
    font-size: 1.13rem;
    font-style: italic;
    line-height: 1.7;
}


/* ==========================================================
   COLONNE LATÉRALE
   ========================================================== */

.article-aside {
    position: sticky;
    top: 25px;
}

.article-aside .box {
    padding: 24px 25px;
    background: var(--wm-noir);
    border: 0;
    border-top: 5px solid var(--wm-ocre);
    border-radius: 3px;
    box-shadow: var(--wm-ombre);
    color: #ded9d1;
}

.article-aside .box:nth-child(even) {
    background: #fff;
    border: 1px solid var(--wm-bordure);
    border-top: 5px solid var(--wm-ocre);
    color: var(--wm-texte);
}

.article-aside .box h3 {
    margin: 0 0 18px;
    color: inherit;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.article-aside .box a {
    color: var(--wm-ocre-fonce);
    font-weight: 700;
}


/* ==========================================================
   RÉACTIONS SOUS L’ARTICLE
   ========================================================== */

.reactions {
    max-width: 760px;
    margin: 42px auto 0;
    padding: 26px 28px;
    background:
        linear-gradient(
            135deg,
            var(--wm-ivoire-clair),
            var(--wm-ivoire)
        );
    border: 1px solid var(--wm-bordure);
    border-radius: 10px;
}

.reactions-title {
    margin: 0 0 18px;
    color: var(--wm-noir);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.reactions-title::before {
    content: "◆";
    margin-right: 9px;
    color: var(--wm-ocre);
}

.reaction-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.reaction-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--wm-bordure);
    border-radius: 24px;
    color: var(--wm-texte);
    box-shadow: 0 3px 8px rgba(20, 15, 10, 0.05);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease;
}

.reaction-button:hover {
    transform: translateY(-3px);
    background: #fff;
    border-color: var(--wm-ocre);
    box-shadow: 0 8px 16px rgba(20, 15, 10, 0.10);
}

.reaction-button:active {
    transform: translateY(0) scale(0.97);
}

.reaction-button.selected {
    background: var(--wm-noir);
    border-color: var(--wm-noir);
    color: #fff;
    box-shadow: 0 8px 18px rgba(20, 15, 10, 0.18);
}

.reaction-button.selected .reaction-count {
    background: var(--wm-ocre);
    color: #fff;
}

.reaction-emoji {
    font-size: 1.24rem;
    transition: transform 0.18s ease;
}

.reaction-button:hover .reaction-emoji {
    transform: scale(1.22) rotate(-5deg);
}

.reaction-label {
    font-size: 0.83rem;
    font-weight: 700;
}

.reaction-count {
    min-width: 22px;
    padding: 2px 6px;
    background: var(--wm-sable);
    border-radius: 12px;
    color: var(--wm-noir);
    font-size: 0.75rem;
    font-weight: 800;
}

.reaction-button.reaction-negative:hover {
    background: #fff4f1;
    border-color: var(--wm-rouge);
}

.reaction-button.reaction-negative.selected {
    background: var(--wm-rouge);
    border-color: var(--wm-rouge);
}


/* ==========================================================
   SECTION COMMENTAIRES
   ========================================================== */

.comments-section {
    position: relative;
    max-width: 1160px;
    margin: 55px auto 0;
    padding: 46px 50px 52px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--wm-bordure);
    border-radius: 3px;
    box-shadow: var(--wm-ombre);
}

.comments-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background:
        linear-gradient(
            90deg,
            var(--wm-ocre) 0 34%,
            var(--wm-noir) 34% 100%
        );
}

.comments-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin: 0 0 34px;
    padding: 0 0 23px;
    border-bottom: 1px solid var(--wm-sable);
}

.comments-header .kicker {
    margin: 0 0 5px;
    color: var(--wm-ocre-fonce);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.comments-header h2 {
    margin: 0;
    color: var(--wm-noir);
    font-size: 2.1rem;
    line-height: 1.05;
}

.comments-header h2::before {
    content: "“";
    display: inline-block;
    margin-right: 8px;
    color: var(--wm-ocre);
    font-family: Georgia, serif;
    font-size: 2.5rem;
    line-height: 0;
}

.comments-header h2 span {
    color: var(--wm-texte-secondaire);
    font-size: 0.75em;
}


/* ==========================================================
   CARTES DE COMMENTAIRES
   ========================================================== */

.comments-list {
    gap: 22px;
}

.comment {
    position: relative;
    padding: 25px 27px 24px 31px;
    background: var(--wm-ivoire-clair);
    border: 1px solid var(--wm-bordure);
    border-left: 5px solid var(--wm-ocre);
    border-radius: 5px;
    box-shadow: 0 7px 18px rgba(35, 27, 18, 0.05);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.comment:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(35, 27, 18, 0.09);
}

.comment-meta {
    align-items: center;
    margin-bottom: 16px;
}

.comment-meta strong {
    display: inline-flex;
    align-items: center;
    color: var(--wm-noir);
    font-size: 1rem;
}

.comment-meta strong::before {
    content: "●";
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    background: var(--wm-noir);
    border-radius: 50%;
    color: var(--wm-ocre);
    font-size: 0.55rem;
}

.comment-meta time {
    color: var(--wm-texte-secondaire);
    font-size: 0.78rem;
    font-weight: 600;
}

.comment-content {
    padding-left: 40px;
    color: var(--wm-texte);
    font-size: 1rem;
    line-height: 1.7;
}

.reply-button {
    margin: 16px 0 0 40px;
    padding: 7px 14px;
    background: transparent;
    border: 1px solid var(--wm-ocre);
    border-radius: 20px;
    color: var(--wm-ocre-fonce);
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.reply-button:hover {
    background: var(--wm-ocre);
    color: #fff;
}


/* ==========================================================
   RÉACTIONS SOUS LES COMMENTAIRES
   ========================================================== */

.reactions-small {
    margin: 18px 0 0 40px;
    padding: 0;
    background: transparent;
    border: 0;
}

.reactions-small .reaction-buttons {
    gap: 7px;
}

.reactions-small .reaction-button {
    min-height: 34px;
    padding: 4px 9px;
    background: #fff;
    box-shadow: none;
}

.reactions-small .reaction-button:hover {
    transform: translateY(-2px);
    border-color: var(--wm-ocre);
}

.reactions-small .reaction-emoji {
    font-size: 1rem;
}

.reactions-small .reaction-count {
    min-width: 18px;
    padding: 1px 5px;
}


/* ==========================================================
   RÉPONSES AUX COMMENTAIRES
   ========================================================== */

.comment-replies {
    position: relative;
    gap: 13px;
    margin: 22px 0 0 54px;
    padding-left: 25px;
}

.comment-replies::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: var(--wm-sable);
}

.comment.reply {
    padding: 20px 22px;
    background: #fff;
    border-left: 4px solid var(--wm-vert);
    box-shadow: none;
}

.comment.reply:hover {
    transform: none;
    box-shadow: none;
}


/* ==========================================================
   FORMULAIRE DE COMMENTAIRE
   ========================================================== */

.new-comment {
    position: relative;
    margin-top: 42px;
    padding: 34px 36px;
    overflow: hidden;
    background: var(--wm-noir);
    border: 0;
    border-radius: 5px;
    color: #fff;
}

.new-comment::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
}

.new-comment h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 22px;
    color: #fff;
    font-size: 1.55rem;
}

.new-comment h3::after {
    content: "";
    display: block;
    width: 58px;
    height: 4px;
    margin-top: 12px;
    background: var(--wm-ocre);
}

.comment-form {
    position: relative;
    z-index: 1;
}

.comment-form label {
    color: inherit;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.comment-form input,
.comment-form textarea {
    padding: 14px 15px;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 3px;
    color: var(--wm-noir);
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--wm-ocre);
    box-shadow: 0 0 0 4px rgba(182, 122, 54, 0.18);
}

.comment-form textarea {
    min-height: 145px;
    resize: vertical;
}

.comment-form .btn.primary,
.comment-form button[type="submit"] {
    justify-self: start;
    padding: 12px 22px;
    background: var(--wm-ocre);
    border: 1px solid var(--wm-ocre);
    border-radius: 3px;
    color: #fff;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition:
        background 0.15s ease,
        transform 0.15s ease;
}

.comment-form .btn.primary:hover,
.comment-form button[type="submit"]:hover {
    transform: translateY(-2px);
    background: var(--wm-ocre-fonce);
}


/* Formulaire de réponse */

.reply-form {
    margin: 22px 0 0 40px;
    padding: 23px;
    background: #fff;
    border: 1px solid var(--wm-bordure);
    border-top: 4px solid var(--wm-ocre);
    color: var(--wm-texte);
}

.reply-form label {
    color: var(--wm-texte);
}


/* ==========================================================
   MESSAGES
   ========================================================== */

.comment-success {
    padding: 16px 20px;
    background: #edf4ee;
    border: 1px solid #adc0b0;
    border-left: 5px solid var(--wm-vert);
    border-radius: 3px;
    color: #314c37;
    font-weight: 700;
}

.no-comments {
    padding: 26px;
    background: var(--wm-ivoire);
    border: 1px dashed var(--wm-ocre);
    border-radius: 4px;
    color: var(--wm-texte-secondaire);
    text-align: center;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 800px) {
    .portrait-hero {
        padding: 38px 27px 38px 34px;
    }

    .portrait-text h1 {
        font-size: 2.35rem;
    }

    .article-full {
        padding: 36px 25px 42px;
    }

    .article-full::before {
        left: 25px;
    }

    .article-full p,
    .article-full h2,
    .article-full blockquote {
        max-width: none;
    }

    .article-aside {
        position: static;
    }

    .comments-section {
        padding: 38px 22px;
    }

    .comments-header {
        display: block;
    }

    .comment {
        padding: 22px 18px;
    }

    .comment-content,
    .reply-button,
    .reactions-small {
        margin-left: 0;
        padding-left: 0;
    }

    .comment-replies {
        margin-left: 15px;
        padding-left: 16px;
    }

    .new-comment {
        padding: 28px 22px;
    }

    .reply-form {
        margin-left: 0;
    }
}
/* ==========================================================
   PAGE ÉDITORIALE DE PRÉSENTATION DU WEBMÉDIA
   ========================================================== */

.editorial-page {
    padding-bottom: 70px;
    background:
        linear-gradient(
            180deg,
            var(--wm-ivoire-clair) 0,
            var(--wm-ivoire) 100%
        );
}

.editorial-hero {
    position: relative;
    overflow: hidden;
    padding: 78px 0 82px;
    background: var(--wm-noir);
    color: #fff;
}

.editorial-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background: var(--wm-ocre);
}

.editorial-hero::after {
    content: "";
    position: absolute;
    right: -140px;
    bottom: -220px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.editorial-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1040px;
}

.editorial-kicker {
    display: inline-block;
    margin: 0 0 20px;
    padding-bottom: 7px;
    border-bottom: 2px solid var(--wm-ocre);
    color: #d9b17f;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.editorial-hero h1 {
    max-width: 980px;
    margin: 0 0 26px;
    color: #fff;
    font-size: clamp(2.7rem, 6vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.editorial-introduction {
    max-width: 820px;
    margin: 0;
    color: #ded9d1;
    font-family: Georgia, serif;
    font-size: 1.28rem;
    line-height: 1.7;
}

.editorial-layout {
    max-width: 1050px;
    margin-top: -34px;
}

.editorial-content {
    position: relative;
    padding: 65px 82px 75px;
    background: #fff;
    border: 1px solid var(--wm-bordure);
    box-shadow: var(--wm-ombre);
    color: var(--wm-texte);
    font-size: 1.08rem;
    line-height: 1.86;
}

.editorial-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 82px;
    width: 110px;
    height: 6px;
    background: var(--wm-ocre);
}

.editorial-content p,
.editorial-content h2,
.editorial-content blockquote,
.editorial-content ul {
    max-width: 780px;
    margin-right: auto;
    margin-left: auto;
}

.editorial-lead {
    margin-top: 0;
    margin-bottom: 40px;
    color: var(--wm-noir);
    font-family: Georgia, serif;
    font-size: 1.3rem;
    line-height: 1.75;
}

.editorial-lead::first-letter {
    float: left;
    margin: 8px 11px 0 0;
    color: var(--wm-ocre-fonce);
    font-size: 4.7rem;
    font-weight: 700;
    line-height: 0.75;
}

.editorial-content h2 {
    margin-top: 2.4em;
    margin-bottom: 0.9em;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--wm-ocre);
    color: var(--wm-noir);
    font-size: 1.75rem;
    line-height: 1.25;
}

.editorial-content blockquote {
    margin-top: 2.2em;
    margin-bottom: 2.2em;
    padding: 27px 32px;
    background: var(--wm-ivoire);
    border-left: 6px solid var(--wm-ocre);
    color: var(--wm-noir);
    font-family: Georgia, serif;
    font-size: 1.18rem;
    font-style: italic;
    line-height: 1.7;
}

.editorial-highlight {
    max-width: 820px;
    margin: 40px auto;
    padding: 34px 38px;
    background: var(--wm-noir);
    border-top: 6px solid var(--wm-ocre);
    color: #fff;
}

.editorial-highlight p {
    margin: 0;
    color: #f2eee7;
    font-family: Georgia, serif;
    font-size: 1.15rem;
    line-height: 1.75;
}

.editorial-questions,
.editorial-principles {
    margin-top: 28px;
    margin-bottom: 34px;
    padding: 0;
    list-style: none;
}

.editorial-questions li,
.editorial-principles li {
    position: relative;
    margin-bottom: 13px;
    padding: 15px 18px 15px 47px;
    background: var(--wm-ivoire-clair);
    border: 1px solid var(--wm-bordure);
}

.editorial-questions li::before {
    content: "?";
    position: absolute;
    top: 14px;
    left: 17px;
    color: var(--wm-ocre-fonce);
    font-size: 1.08rem;
    font-weight: 900;
}

.editorial-principles {
    counter-reset: principe;
}

.editorial-principles li {
    counter-increment: principe;
}

.editorial-principles li::before {
    content: counter(principe);
    position: absolute;
    top: 13px;
    left: 16px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    background: var(--wm-ocre);
    border-radius: 50%;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
}

.editorial-conclusion {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--wm-sable);
    color: var(--wm-noir);
    font-family: Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.7;
}

@media (max-width: 800px) {
    .editorial-hero {
        padding: 55px 0 65px;
    }

    .editorial-hero-inner {
        padding-right: 25px;
        padding-left: 34px;
    }

    .editorial-hero h1 {
        font-size: 2.65rem;
    }

    .editorial-introduction {
        font-size: 1.08rem;
    }

    .editorial-layout {
        margin-top: -20px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .editorial-content {
        padding: 45px 25px 55px;
    }

    .editorial-content::before {
        left: 25px;
    }

    .editorial-content p,
    .editorial-content h2,
    .editorial-content blockquote,
    .editorial-content ul {
        max-width: none;
    }

    .editorial-highlight {
        padding: 27px 24px;
    }
}
cat >> /var/www/webmedia/maquette/assets/style.css <<'CSS'

/* ==========================================================
   ACCÈS TEMPORAIRE À L’ADMINISTRATION DE LA MAQUETTE
   ========================================================== */

.maquette-admin-link {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 1000;
    padding: 7px 11px;
    background: rgba(24, 24, 24, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    opacity: 0.55;
    transition:
        opacity 0.2s ease,
        background 0.2s ease;
}

.maquette-admin-link:hover {
    background: #181818;
    color: #fff;
    opacity: 1;
}

@media (max-width: 700px) {
    .maquette-admin-link {
        right: 8px;
        bottom: 8px;
        padding: 6px 8px;
        font-size: 0.65rem;
    }
}

/* Image d'en-tête des articles */

.article-header-image {
    max-width: 1180px;
    margin: 28px auto 34px;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--wm-bordure);
    box-shadow: var(--wm-ombre);
}

.article-header-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: cover;
}

@media (max-width: 800px) {
    .article-header-image {
        margin: 18px 0 25px;
        border-right: 0;
        border-left: 0;
    }

    .article-header-image img {
        max-height: 420px;
    }
}
