:root {
    --font-1: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-2: "Lora", Georgia, serif;
    --font-3: "Lora", Georgia, serif;

    --ui-ink: #302f29;
    --ui-muted: #6e695f;
    --ui-line: #ddd6ca;
    --ui-surface: #f8f5ef;
    --ui-soft: #eee8dd;
    --ui-blue: #93a8bd;
    --ui-blue-dark: #934a33;
    --ui-backdrop: #e5dece;
    --ui-accent: #e8ebdf;

    --ui-radius-sm: 12px;
    --ui-radius: 22px;
    --ui-radius-lg: 30px;

    --ui-shadow:
            0 24px 70px rgba(38, 56, 76, 0.12);
}

html {
    width: 100%;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: var(--ui-ink);
    background: var(--ui-surface);
    font-family: var(--font-1);
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
    font-family: var(--font-1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
video,
iframe {
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--ui-ink);
    font-family: var(--font-1);
    letter-spacing: -0.045em;
}

a {
    transition:
            color 0.2s ease,
            background-color 0.2s ease,
            border-color 0.2s ease,
            transform 0.2s ease,
            opacity 0.2s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(38, 56, 76, 0.28);
    outline-offset: 3px;
}

.site-shell {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    overflow: clip;
    background: var(--ui-surface);
    box-shadow: none;
}

/* Accessibilité */

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 10000;
    padding: 1rem 1.4rem;
    color: #ffffff;
    background: var(--ui-blue-dark);
    border-radius: 8px;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

/* En-tête */

.s-header,
.s-header.s-header--opaque {
    --header-height: 7.6rem;
    --logo-width: 112px;
    --logo-height: auto;

    position: relative;
    inset: auto;
    width: 100%;
    height: var(--header-height);
    color: var(--ui-ink);
    background: #ffffff;
    border: 0;
    box-shadow: none;
}

.s-header__logo {
    top: 50%;
    left: clamp(1.8rem, 3.2vw, 5.6rem);
    transform: translateY(-50%);
}

.s-header__logo img {
    width: var(--logo-width);
    height: auto;
    filter: invert(1);
}

.s-header__navigation {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding:
            0 clamp(8rem, 9vw, 13rem)
            0 clamp(15rem, 15vw, 22rem);
}

.s-header__nav-wrap,
.s-header--opaque .s-header__nav-wrap {
    margin: 0;
}

.s-header__nav {
    font-size: 1.25rem;
    font-weight: 600;
}

.s-header__nav li {
    padding: 0 0.85rem;
}

.s-header__nav li.has-children {
    padding-right: 1.7rem;
}

.s-header__nav li a,
.s-header__nav li.current > a,
.s-header__nav li:hover > a,
.s-header__nav li:focus > a {
    color: var(--ui-ink);
    line-height: var(--header-height);
}

.s-header__nav li.current > a {
    font-weight: 800;
}

.s-header__nav li ul {
    top: calc(100% - 1rem);
    min-width: 190px;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-radius-sm);
    box-shadow:
            0 18px 40px rgba(38, 56, 76, 0.14);
}

.s-header__nav li ul li a {
    padding: 0.9rem 1.2rem;
    color: var(--ui-ink);
    line-height: 1.5;
    border-radius: 8px;
}

.s-header__nav li ul li a:hover {
    color: #ffffff;
    background: var(--ui-blue-dark);
}

.nav-submenu-toggle,
#logout-form button {
    display: inline-flex;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--ui-ink);
    background: transparent;
    border: 0;
    font: inherit;
    font-weight: inherit;
    line-height: var(--header-height);
    text-align: left;
    text-transform: none;
    cursor: pointer;
}

.nav-submenu-toggle::after {
    width: 0.55rem;
    height: 0.55rem;
    margin: -0.3rem 0 0 0.8rem;
    content: "";
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.nav-submenu-toggle[aria-expanded="true"]::after {
    transform: rotate(225deg);
}

.has-children.submenu-is-open > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

#logout-form {
    margin: 0;
}

#logout-form button {
    padding: 0.9rem 1.2rem;
    line-height: 1.5;
    border-radius: 8px;
}

#logout-form button:hover {
    color: #ffffff;
    background: var(--ui-blue-dark);
}

.s-header__search-trigger {
    right: clamp(1.8rem, 3.2vw, 5.6rem);
    width: 4.2rem;
    height: 4.2rem;
    padding: 0;
    border-radius: 999px;
    background: var(--ui-soft);
}

.s-header__search-trigger svg {
    width: 1.8rem;
    height: 1.8rem;
}

.s-header__search-trigger svg path {
    fill: var(--ui-ink);
}

.s-header__search-inner {
    background: var(--ui-blue-dark);
}

.s-header__toggle-menu,
.s-header__search-trigger,
.s-header__overlay-close {
    border: 0;
    cursor: pointer;
}

.s-header__toggle-menu span,
.s-header__toggle-menu span::before,
.s-header__toggle-menu span::after {
    background: var(--ui-ink);
}

/* Hero */

.s-hero {
    width: auto;
    height: clamp(520px, 58vw, 720px);
    min-height: 480px;
    margin:
            0 clamp(1.6rem, 3.2vw, 5.6rem);
    overflow: hidden;
    background: var(--ui-blue-dark);
    border-radius: var(--ui-radius-lg);
}

.hero-article {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.s-hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}

.s-hero__overlay {
    position: absolute;
    inset: 0;
    background:
            linear-gradient(
                    90deg,
                    rgba(9, 19, 28, 0.78) 0%,
                    rgba(9, 19, 28, 0.34) 58%,
                    rgba(9, 19, 28, 0.12) 100%
            );
}

.s-hero__slide-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    width: 100%;
    max-width: none;
    height: 100%;
    padding:
            4.5rem
            clamp(3rem, 8vw, 10rem)
            4rem;
}

.hero-content {
    width: min(720px, 72%);
    color: #ffffff;
}

.hero-category {
    display: inline-flex;
    margin-bottom: 1.4rem;
    padding: 0.7rem 1.1rem;
    color: var(--ui-ink);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    font-size: 1.3rem;
    font-weight: 800;
}

.hero-category:hover {
    color: #ffffff;
    background: var(--ui-blue-dark);
}

.hero-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(4rem, 7vw, 9rem);
    line-height: 0.98;
}

.hero-excerpt {
    max-width: 620px;
    margin: 2rem 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.35rem;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1.8rem;
}

.hero-actions time {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.4rem;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 4rem;
    padding: 0.8rem 1.7rem;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
    border: 1px solid transparent;
    border-radius: 999px;
}

.hero-button--light {
    color: var(--ui-ink);
    background: #ffffff;
}

.hero-button--light:hover {
    color: #ffffff;
    background: var(--ui-blue-dark);
}

/* Contenu */

.s-content,
.s-content.s-content--no-top-padding {
    width: 100%;
    min-height: 55vh;
    padding: 0;
    background: #ffffff;
}

.s-content > .row,
.s-content .row {
    width: 100%;
    max-width: none;
}

.section-kicker {
    display: block;
    margin-bottom: 1rem;
    color: var(--ui-blue-dark);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

/* Articles */

.home-page .editorial-section {
    margin-top:
            clamp(2rem, 3.2vw, 5.6rem);
}

.editorial-section {
    width: auto;
    margin:
            0 clamp(1.6rem, 3.2vw, 5.6rem);
    padding: clamp(4rem, 6vw, 8rem);
    background: var(--ui-soft);
    border-radius: var(--ui-radius-lg);
}

.editorial-section--archive {
    margin: 0;
}

.section-heading {
    display: grid;
    grid-template-columns:
        1fr minmax(280px, 0.75fr);
    gap: 4rem;
    align-items: end;
}

.section-heading h1 {
    margin: 0;
    font-size:
            clamp(2.8rem, 4vw, 4.6rem);
    line-height: 1.05;
}

.section-heading > p {
    margin: 0 0 0.5rem;
    color: var(--ui-muted);
    font-size: 1.2rem;
    line-height: 1.65;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2.8rem;
}

.category-pills a {
    padding: 0.75rem 1.25rem;
    color: var(--ui-ink);
    background:
            rgba(255, 255, 255, 0.72);
    border: 1px solid #d7dde1;
    border-radius: 999px;
    font-size: 1.4rem;
    font-weight: 700;
}

.category-pills a:hover {
    color: #ffffff;
    background: var(--ui-blue-dark);
    border-color: var(--ui-blue-dark);
}

.article-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: clamp(1.2rem, 1.8vw, 2.4rem);
    margin-top: 3rem;
}

.brick.entry {
    position: relative;
    min-width: 0;
    overflow: hidden;
    margin: 0;
    background: #ffffff;
    border: 0;
    border-radius: 18px;
    box-shadow: none;
}

.entry__thumb {
    position: relative;
    overflow: hidden;
}

.entry__thumb .thumb-link {
    display: block;
}

.entry__thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    margin: 0;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.entry__thumb:hover img {
    transform: scale(1.04);
}

.entry__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 4 / 5;
    padding: 2rem;
    color: var(--ui-blue-dark);
    background:
            linear-gradient(
                    145deg,
                    #dfe8eb,
                    #c8d5da
            );
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.entry__category {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    max-width: calc(100% - 2.4rem);
    padding: 0.55rem 0.9rem;
    overflow: hidden;
    color: var(--ui-ink);
    background:
            rgba(255, 255, 255, 0.88);
    border-radius: 999px;
    font-size: 1.3rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.entry__category:hover {
    color: #ffffff;
    background: var(--ui-blue-dark);
}

.entry__text {
    padding: 1.8rem;
}

.entry__date {
    display: block;
    margin-bottom: 0.9rem;
    color: var(--ui-muted);
    font-size: 1.3rem;
}

.entry__title {
    margin: 0;
    font-size: 1.55rem;
    line-height: 1.25;
}

.entry__title a {
    color: var(--ui-ink);
}

.entry__title a:hover {
    color: var(--ui-blue);
}

.entry__excerpt {
    display: -webkit-box;
    margin: 1.3rem 0 0;
    overflow: hidden;
    color: var(--ui-muted);
    font-size: 1.6rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.entry__more-link {
    display: inline-flex;
    margin-top: 1.5rem;
    color: var(--ui-blue-dark);
    font-size: 1rem;
    font-weight: 800;
}

.entry__more-link::after {
    margin-left: 0.7rem;
    content: "→";
    transition: transform 0.2s ease;
}

.entry__more-link:hover::after {
    transform: translateX(3px);
}

.editorial-empty {
    grid-column: 1 / -1;
    padding: 5rem 2rem;
    color: var(--ui-muted);
    text-align: center;
}

.editorial-empty h2 {
    margin: 0 0 1rem;
    font-size: 2.4rem;
}

.editorial-empty p {
    margin: 0 0 2rem;
}

.editorial-empty .hero-button {
    color: #ffffff;
    background: var(--ui-blue-dark);
}

.editorial-pagination {
    margin-top: 3rem;
}

/* Pagination */

.pgn {
    margin: 0;
}

.pgn ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
}

.pgn ul li {
    padding: 0;
}

.pgn ul li a,
.pgn ul li span {
    display: grid;
    place-items: center;
    min-width: 3.8rem;
    height: 3.8rem;
    padding: 0 1rem;
    color: var(--ui-ink);
    background: #ffffff;
    border-radius: 999px;
    font-size: 1rem;
}

.pgn ul li a:hover,
.pgn ul li .current {
    color: #ffffff;
    background: var(--ui-blue-dark);
}

.pgn__ellipsis {
    display: grid;
    place-items: center;
    min-width: 2.5rem;
    height: 3.8rem;
}

.pgn .inactive {
    color: #9ba5ad;
    cursor: not-allowed;
}

/* Pages internes */

.inner-page .s-content {
    width: 100%;
    padding:
            clamp(4rem, 8vw, 9rem)
            clamp(1.4rem, 3.2vw, 5.6rem);
    background: var(--ui-soft);
}

.inner-page .s-content > .row,
.inner-page .comments-wrap,
.inner-page .account-page {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}

.inner-page .editorial-section {
    margin: 0;
}

.s-content__entry.format-standard,
.account-card,
.s-content__form.account-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-radius-lg);
    box-shadow:
            0 18px 50px
            rgba(38, 56, 76, 0.08);
}

.s-content__entry.format-standard {
    padding-bottom: 0;
}

.inner-page
.s-content__entry:not(.format-standard) {
    padding:
            0 clamp(2rem, 6vw, 7rem)
            clamp(4rem, 7vw, 8rem);
    background: #ffffff;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-radius-lg);
    box-shadow:
            0 18px 50px
            rgba(38, 56, 76, 0.08);
}

.s-content__entry-header {
    margin: 0;
    padding:
            clamp(3rem, 6vw, 7rem)
            clamp(2rem, 7vw, 8rem)
            2rem;
}

.s-content__title {
    max-width: 900px;
    margin: 0 auto;
    font-size:
            clamp(3.5rem, 6vw, 7rem);
    line-height: 1.02;
    text-align: center;
}

.s-content__primary {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr);
    padding:
            0 clamp(2rem, 7vw, 8rem)
            clamp(4rem, 7vw, 8rem);
}

.s-content__page-content,
.s-content__entry-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    color: #354351;
    border: 0;
    font-size: 1.4rem;
    line-height: 1.8;
}

.reading-layout {
    width: 100%;
}

.article-header {
    max-width: 900px;
    margin: 0 auto;
    padding:
            clamp(4rem, 7vw, 8rem)
            clamp(2rem, 5vw, 5rem)
            clamp(3rem, 5vw, 5rem);
    text-align: center;
}

.article-category {
    display: inline-flex;
    margin-bottom: 1.6rem;
    color: var(--ui-blue-dark);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.article-lead {
    max-width: 760px;
    margin: 2rem auto 0;
    color: var(--ui-muted);
    font-size:
            clamp(1.3rem, 2vw, 1.7rem);
    line-height: 1.65;
}

.article-byline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 2rem;
    color: var(--ui-muted);
    font-size: 1.4rem;
}

.article-byline a {
    color: var(--ui-ink);
    font-weight: 700;
}

.s-content__media {
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 9;
    margin: 0;
    overflow: hidden;
}

.s-content__media img {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}

.prose {
    overflow-wrap: anywhere;
}

.prose > *:first-child {
    margin-top: 0;
}

.prose > *:last-child {
    margin-bottom: 0;
}

.prose h2 {
    margin: 2.4em 0 0.7em;
    font-size:
            clamp(2.4rem, 4vw, 3.6rem);
    line-height: 1.15;
}

.prose h3 {
    margin: 2em 0 0.65em;
    font-size:
            clamp(2rem, 3vw, 2.8rem);
    line-height: 1.2;
}

.prose p,
.prose ul,
.prose ol {
    margin: 0 0 1.5em;
}

.prose img {
    height: auto;
    border-radius: var(--ui-radius);
}

.prose a {
    color: #385f83;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.prose blockquote {
    margin: 2.2em 0;
    padding: 1.6rem 2rem;
    color: #354351;
    background: var(--ui-soft);
    border-left:
            4px solid var(--ui-blue);
    border-radius:
            0 var(--ui-radius-sm)
            var(--ui-radius-sm) 0;
}

.prose table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.prose iframe {
    width: 100%;
    border: 0;
}

.article-taxonomy {
    display: grid;
    gap: 2rem;
    width: 100%;
    max-width: 800px;
    margin: 4rem auto 0;
    padding-top: 2.5rem;
    border-top: 1px solid var(--ui-line);
}

.taxonomy-label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--ui-muted);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.taxonomy-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.taxonomy-links a {
    padding: 0.65rem 1rem;
    color: var(--ui-ink);
    background: var(--ui-soft);
    border-radius: 999px;
    font-size: 1.3rem;
    font-weight: 700;
}

.taxonomy-links a:hover {
    color: #ffffff;
    background: var(--ui-blue-dark);
}

.s-content__pagenav {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    width: 100%;
    max-width: 800px;
    margin: 4rem auto 0;
}

.s-content__pagenav--single {
    grid-template-columns: 1fr;
}

.s-content__pagenav > div {
    max-width: none;
    padding: 1.8rem;
    background: var(--ui-soft);
    border-radius: var(--ui-radius-sm);
}

.s-content__pagenav a {
    color: var(--ui-ink);
}

.s-content__pagenav strong {
    display: block;
    margin-top: 0.45rem;
}

/* Commentaires */

.comments-wrap {
    margin-top: 3rem;
    padding:
            clamp(2.5rem, 5vw, 5rem);
    background: #ffffff;
    border-radius: var(--ui-radius-lg);
}

.comments-header {
    margin-bottom: 2.5rem;
}

.comments-header h2 {
    margin: 0;
    font-size:
            clamp(2.6rem, 4vw, 4rem);
}

.comments-load {
    width: 100%;
    margin: 0;
    border-radius: 999px;
}

.comments-listing > h3 {
    margin-top: 0;
}

.comments-login {
    padding: 1.2rem 1.5rem;
    background: var(--ui-soft);
    border-radius: var(--ui-radius-sm);
}

.comment {
    border-color: var(--ui-line);
}

.comment__avatar {
    display: grid;
    place-items: center;
    width: 4.8rem;
    height: 4.8rem;
    color: #ffffff;
    background: var(--ui-blue-dark);
    border-radius: 50%;
    font-size: 1.35rem;
    font-weight: 800;
}

.comment__reply a {
    font-weight: 700;
}

.comment-respond {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--ui-line);
}

.comment-respond h3 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.comment-respond textarea {
    padding: 1.2rem;
    background: #f8fafb;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-radius-sm);
    resize: vertical;
}

.comment-respond button[disabled],
.comments-load[disabled] {
    opacity: 0.6;
    cursor: wait;
}

.text-button {
    margin: 0;
    padding: 0;
    color: var(--ui-muted);
    background: transparent;
    border: 0;
    font-size: 1rem;
    text-transform: none;
}

.deletecomment {
    color: #9a3e3e !important;
}

.children:empty {
    display: none;
}

/* Formulaires */

.account-card {
    margin-bottom: 2rem;
    padding:
            clamp(2.5rem, 5vw, 5rem);
}

.account-card h3 {
    margin-top: 0;
    font-size: 2.4rem;
}

.account-card--danger {
    border-color:
            rgba(177, 63, 63, 0.25);
}

.button-danger {
    background: #a44747 !important;
    border-color: #a44747 !important;
}

.inner-page
.s-styles > .column.large-6,
.inner-page
.s-styles > .column.large-7 {
    padding:
            clamp(2.5rem, 5vw, 5rem);
    background: #ffffff;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-radius-lg);
    box-shadow:
            0 18px 50px
            rgba(38, 56, 76, 0.08);
}

.s-content__form
input:not([type="checkbox"]):not([type="submit"]),
.s-content__form textarea,
.account-card
input:not([type="checkbox"]):not([type="submit"]),
.account-card textarea {
    width: 100%;
    max-width: 100%;
    background: #f8fafb;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-radius-sm);
}

.s-content__form input:focus,
.s-content__form textarea:focus,
.account-card input:focus,
.account-card textarea:focus {
    border-color: var(--ui-blue);
    box-shadow:
            0 0 0 4px
            rgba(147, 168, 189, 0.16);
}

.btn--primary,
input[type="submit"].btn--primary {
    color: #ffffff;
    background: var(--ui-blue-dark);
    border: 0;
    border-radius: 999px;
}

.btn--primary:hover,
input[type="submit"].btn--primary:hover {
    color: #ffffff;
    background: #101b25;
}

.notice {
    padding: 1.4rem 1.8rem;
    border-radius: var(--ui-radius-sm);
    font-weight: 700;
}

.notice--success {
    color: #355c43;
    background: #e3f0e5;
}

.notice--info {
    color: #35536b;
    background: #e4eef5;
}

.notice--error {
    color: #7b3434;
    background: #f8e3e3;
}

.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.content-page
.s-content__entry-header {
    text-align: center;
}

/* Pied de page */

.s-footer {
    width: 100%;
    margin: 0;
    padding:
            6rem clamp(2.4rem, 7vw, 10rem)
            3rem;
    color:
            rgba(255, 255, 255, 0.7);
    background: var(--ui-blue-dark);
    border: 0;
}

.s-footer .row {
    width: 100%;
    max-width: none;
}

.s-footer__title,
.s-footer__heading {
    margin: 0 0 1.5rem;
    color: #ffffff;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
}

.s-footer p {
    color:
            rgba(255, 255, 255, 0.72);
}

.s-footer a,
.s-footer__main ul a {
    color:
            rgba(255, 255, 255, 0.72);
}

.s-footer a:hover,
.s-footer__main ul a:hover {
    color: #ffffff;
}

.s-footer__bottom {
    border-color:
            rgba(255, 255, 255, 0.12);
}

.ss-copyright {
    color:
            rgba(255, 255, 255, 0.48);
}

.ss-go-top a {
    color: var(--ui-ink);
    background: #ffffff;
    border-radius: 50%;
}

/* Ordinateurs intermédiaires */

@media (max-width: 1200px) {
    .s-header__nav {
        font-size: 1.12rem;
    }

    .s-header__nav li {
        padding-right: 0.55rem;
        padding-left: 0.55rem;
    }

    .article-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}

/* Tablettes */

@media (max-width: 950px) {
    .s-header,
    .s-header.s-header--opaque {
        --header-height: 7rem;
    }

    .s-header__logo {
        left: 2.2rem;
    }

    .s-header__search-trigger {
        right: 7.2rem;
    }

    .s-header__toggle-menu {
        right: 1.5rem;
        display: block;
    }

    .s-header__navigation {
        position: static;
        display: block;
        width: auto;
        height: auto;
        padding: 0;
        background: transparent;
    }

    .s-header__nav-wrap {
        background: var(--ui-blue-dark);
    }

    .s-header__nav li,
    .s-header__nav li.has-children {
        display: block;
        padding: 0;
    }

    .s-header__nav li a,
    .s-header__nav li.current > a,
    .s-header__nav li:hover > a {
        color: #ffffff;
        line-height: 4.8rem;
    }

    .nav-submenu-toggle,
    #logout-form button {
        color: #ffffff;
        line-height: 4.8rem;
    }

    .nav-submenu-toggle {
        justify-content: space-between;
    }

    .s-header__nav li ul {
        position: static;
        display: none;
        padding: 0 0 1rem 1.5rem;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        transform: none;
    }

    .s-header__nav
    li.submenu-is-open > ul {
        display: block;
        visibility: visible;
        opacity: 1;
    }

    .s-header__nav li ul li a {
        color:
                rgba(255, 255, 255, 0.72);
        background: transparent;
    }

    .s-header__nav li ul li a:hover {
        color: #ffffff;
        background: transparent;
    }

    #logout-form button {
        color:
                rgba(255, 255, 255, 0.72);
    }

    .s-header__nav-wrap
    .s-header__nav-heading,
    .s-header__nav-wrap
    .close-mobile-menu {
        display: block;
        color: #ffffff;
    }

    .s-header__toggle-menu span,
    .s-header__toggle-menu span::before,
    .s-header__toggle-menu span::after {
        background: var(--ui-ink);
    }

    body.nav-wrap-is-visible
    .s-header__toggle-menu span {
        background: transparent;
    }

    .s-hero {
        height: clamp(520px, 75vw, 650px);
    }

    .hero-content {
        width: min(680px, 92%);
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

/* Mobiles */

@media (max-width: 650px) {
    .s-header__logo {
        left: 1.8rem;
    }

    .s-header__search-trigger {
        right: 6.5rem;
    }

    .s-hero {
        height: 540px;
        min-height: 0;
        margin: 0 1.2rem;
        border-radius: 22px;
    }

    .s-hero__slide-content {
        padding: 3.5rem 2rem 4rem;
    }

    .hero-content {
        width: 100%;
    }

    .hero-title {
        font-size:
                clamp(3.4rem, 13vw, 5.6rem);
    }

    .hero-excerpt {
        font-size: 1.1rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .hero-button {
        width: 100%;
    }

    .editorial-section {
        margin: 0 1.2rem;
        padding: 4rem 1.4rem;
        border-radius: 22px;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .entry__thumb img,
    .entry__placeholder {
        aspect-ratio: 16 / 11;
    }

    .inner-page .s-content {
        padding: 3rem 1.2rem;
    }

    .s-content__entry-header,
    .article-header {
        padding: 3.5rem 1.8rem 2.8rem;
    }

    .s-content__title {
        font-size:
                clamp(3rem, 11vw, 4rem);
    }

    .s-content__primary {
        padding: 0 1.8rem 3rem;
    }

    .s-content__entry-content,
    .s-content__page-content {
        font-size: 1.2rem;
    }

    .s-content__entry-meta,
    .s-content__pagenav {
        grid-template-columns: 1fr;
    }

    .article-byline {
        flex-direction: column;
        gap: 0.25rem;
    }

    .article-byline
    > span[aria-hidden="true"] {
        display: none;
    }

    .comments-wrap {
        padding: 2.2rem 1.6rem;
    }

    .account-card {
        padding: 2.3rem 1.8rem;
    }

    .s-footer {
        padding: 5rem 1.8rem 3rem;
    }
}

/* Très petits écrans */

@media (max-width: 380px) {
    .s-header__logo img {
        width: 96px;
    }

    .s-hero {
        height: 520px;
        margin-right: 0.8rem;
        margin-left: 0.8rem;
    }

    .s-hero__slide-content {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    .editorial-section {
        margin-right: 0.8rem;
        margin-left: 0.8rem;
    }
}

/* Mouvements réduits */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
/* Carnet — composition éditoriale */
body { font-size: 1.6rem; }
.site-shell, .s-content, .s-content.s-content--no-top-padding { background: var(--ui-surface); }
h1,h2,h3,h4 { font-family: var(--font-2); font-weight: 400; letter-spacing: -.035em; }
a { color: var(--ui-blue-dark); }
.s-header,.s-header.s-header--opaque { background: var(--ui-surface); --header-height: 10rem; border-bottom: 1px solid var(--ui-line); }
.s-header__logo .logo { display: flex; flex-direction: column; width: auto; text-decoration: none; }
.carnet-wordmark { font: 500 3.6rem/1 var(--font-2); color: var(--ui-ink); letter-spacing: -.07em; }
.carnet-wordmark > span { color: var(--ui-blue-dark); }
.carnet-signature { margin-top: .7rem; font: 500 1rem/1.2 var(--font-1); letter-spacing: .12em; text-transform: uppercase; color: var(--ui-muted); white-space: nowrap; }
.s-header__nav { font-size: 1.4rem; }
.carnet-intro,.s-hero,.editorial-section,.inner-page .editorial-section { width: calc(100% - 9.6rem); max-width: 1280px; margin-left: auto; margin-right: auto; }
.carnet-intro { padding: 6.4rem 0 4.4rem; }
.section-kicker { font-size: 1.1rem; letter-spacing: .18em; font-weight: 600; }
.carnet-intro h1 { margin: 2rem 0 2.6rem; font-size: clamp(4.8rem,6.5vw,8rem); line-height: 1.08; }
.carnet-intro h1 em { color: var(--ui-blue-dark); font-weight: 400; }
.carnet-intro-bottom { display: flex; justify-content: space-between; align-items: end; gap: 3rem; }
.carnet-intro p { margin: 0; color: var(--ui-muted); font-size: 1.6rem; line-height: 1.7; }
.carnet-explore { display: flex; gap: 3rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--ui-blue-dark); font-size: 1.4rem; white-space: nowrap; }
.carnet-explore span { font-size: 2.4rem; }
.s-hero { height: auto; min-height: 0; border-radius: 5px; background: var(--ui-soft); }
.hero-article { display: grid; grid-template-columns: 1.15fr 1fr; height: auto; }
.carnet-feature-image { display: block; position: relative; min-height: 420px; background: #e3ddce; }
.s-hero__media { position: absolute; inset: 0; object-fit: cover; }
.carnet-no-image { display: grid; place-items: center; height: 100%; padding: 4rem; font: italic 3.6rem var(--font-2); color: var(--ui-muted); }
.s-hero__slide-content { padding: clamp(3rem,4vw,6rem); align-items: center; }
.hero-content { width: 100%; color: var(--ui-ink); }
.hero-content .section-kicker { margin-bottom: 3rem; }
.hero-category { padding: 0; margin-bottom: 1.4rem; background: none; color: var(--ui-blue-dark); font-size: 1.3rem; font-weight: 500; border-radius: 0; }
.hero-title { font: 400 clamp(3rem,3.3vw,4.7rem)/1.15 var(--font-2); overflow-wrap: anywhere; }
.hero-title a { color: var(--ui-ink); }
.hero-excerpt { color: var(--ui-muted); font-size: 1.6rem; line-height: 1.7; }
.hero-actions { gap: 2rem; margin-top: 2.6rem; }
.hero-actions time { color: var(--ui-muted); font-size: 1.2rem; }
.hero-button { min-height: 44px; font-size: 1.4rem; border-radius: 4px; gap: 2rem; line-height: 1.4; }
.hero-button--light { background: var(--ui-blue-dark); color: #fff; padding: 1.2rem 1.8rem; }
.hero-button--light:hover { background: #753923; }
.editorial-section { padding: 5.6rem 0 7.2rem; background: none; border-radius: 0; }
.home-page .editorial-section { margin-top: 0; }
.section-heading { gap: 3rem; }
.section-heading h1,.section-heading h2 { margin: 0; font-size: clamp(3.2rem,4vw,4.4rem); line-height: 1.15; }
.section-heading > p { font-size: 1.5rem; }
.category-pills { gap: 1rem; margin: 2.8rem 0 3.6rem; }
.category-pills a { padding: 1rem 1.6rem; font-size: 1.3rem; background: transparent; border: 1px solid var(--ui-line); color: var(--ui-ink); }
.category-pills a[aria-current],.category-pills a:hover { color: #fff; border-color: var(--ui-ink); background: var(--ui-ink); }
.article-grid { gap: 4rem 2.8rem; }
.brick.entry { background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.entry__thumb { border-radius: 4px; overflow: hidden; }
.entry__thumb img { aspect-ratio: 4 / 3; }
.entry__text { padding: 2rem 0 0; }
.entry__title { font: 400 2.6rem/1.25 var(--font-2); margin: 1rem 0; }
.entry__excerpt { font-size: 1.5rem; line-height: 1.7; }
.entry__more-link { min-height: 44px; align-items: center; font-size: 1.3rem; }
.entry__category { font-size: 1.2rem; border-radius: 3px; color: var(--ui-ink); background: var(--ui-surface); }
.inner-page .s-content { padding: 3.2rem 0; }
.carnet-breadcrumb { max-width: 1120px; margin: 0 auto 1rem; padding: 0 2.4rem; font-size: 1.3rem; color: var(--ui-muted); display: flex; gap: 1rem; }
.carnet-breadcrumb span:last-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.s-content__entry.format-standard { background: none; border: 0; border-radius: 0; box-shadow: none; }
.article-header { max-width: 900px; padding: 4rem 2.4rem; }
.s-content__title { font-size: clamp(3.6rem,5vw,6rem); line-height: 1.15; }
.article-lead { font-size: 1.8rem; max-width: 660px; }
.article-byline { font-size: 1.3rem; }
.s-content__media { max-width: 1100px; margin: 0 auto 4.8rem; border-radius: 4px; }
.s-content__primary { padding: 0 2.4rem 5rem; }
.s-content__entry-content,.s-content__page-content { max-width: 680px; font-size: 1.9rem; line-height: 1.85; color: var(--ui-ink); }
.prose { font-family: var(--font-2); }
.prose a { text-decoration: underline; text-underline-offset: .2em; }
.prose blockquote { border-left: 2px solid var(--ui-blue-dark); background: var(--ui-soft); padding: 2.4rem; }
.article-taxonomy,.s-content__pagenav { width: 100%; max-width: 680px; margin-left: auto; margin-right: auto; }
.s-footer { background: #eae4d9; color: var(--ui-ink); border-top: 1px solid var(--ui-line); padding-top: 5rem; }
.s-footer a,.s-footer__title,.s-footer__heading { color: var(--ui-ink); }
.s-footer p,.s-footer__copyright { color: var(--ui-muted); font-size: 1.4rem; }
.s-footer__title { font-family: var(--font-2); }
@media(max-width: 1000px) {
 .s-header__nav-wrap { background: var(--ui-ink); }
 .hero-article { grid-template-columns: 1fr 1fr; }
 .carnet-feature-image { min-height: 380px; }
 .s-hero__slide-content { padding: 3rem; }
}
@media(max-width: 650px) {
 .s-header,.s-header.s-header--opaque { --header-height: 8rem; }
 .carnet-wordmark { font-size: 3rem; }
 .carnet-signature { font-size: .85rem; }
 .carnet-intro,.s-hero,.editorial-section,.inner-page .editorial-section { width: calc(100% - 4rem); margin-left: auto; margin-right: auto; }
 .carnet-intro { padding: 3.6rem 0 3rem; }
 .carnet-intro h1 { font-size: clamp(4rem,10.8vw,6rem); }
 .carnet-intro-bottom { display: block; }
 .carnet-intro p { font-size: 1.5rem; }
 .carnet-intro p br { display: none; }
 .carnet-explore { display: inline-flex; margin-top: 1.6rem; }
 .hero-article { grid-template-columns: 1fr; }
 .carnet-feature-image { min-height: 0; aspect-ratio: 4 / 3; }
 .s-hero { height: auto; min-height: 0; }
 .s-hero__slide-content { padding: 2.6rem; }
 .hero-title { font-size: 3rem; }
 .hero-content .section-kicker { margin-bottom: 1.8rem; }
 .hero-actions { align-items: start; }
 .hero-actions .hero-button { width: auto; }
 .hero-excerpt { font-size: 1.5rem; }
 .editorial-section { padding: 4rem 0; }
 .category-pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 1rem; }
 .category-pills a { flex: 0 0 auto; }
 .entry__title { font-size: 2.5rem; }
 .article-header { padding: 2.4rem 1rem 3rem; }
 .article-lead { font-size: 1.6rem; }
 .s-content__primary { padding: 0 1rem 4rem; }
 .s-content__entry-content,.s-content__page-content { font-size: 1.8rem; }
 .s-content__media { margin-bottom: 3rem; }
}

.article-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.carnet-account { max-width: 1280px; margin: 0 auto 2.4rem; padding: 0 2.4rem; text-align: right; font-size: 1.3rem; }
@media(max-width:1000px) { .article-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:650px) { .article-grid { grid-template-columns: minmax(0,1fr); } }

/* Navigation du carnet : composants indépendants du menu du thème historique. */
.journal-header { display: flex; flex-wrap: wrap; align-items: center; gap: 2.4rem 4rem; padding: 2.4rem max(2rem, calc((100vw - 1280px) / 2)); border-bottom: 1px solid var(--ui-line); background: var(--ui-surface); }
.journal-brand { display: flex; flex-direction: column; flex-shrink: 0; padding-right: 2rem; }
.journal-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2.8rem; margin-left: auto; }
.journal-nav > a,.journal-account summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--ui-muted); font: 500 1.4rem/1.4 var(--font-1); text-decoration: none; position: relative; }
.journal-nav > a:hover,.journal-nav > a[aria-current] { color: var(--ui-blue-dark); }
.journal-nav > a[aria-current]::after { content: ''; position: absolute; bottom: 2px; left: 0; right: 0; height: 2px; background: var(--ui-blue-dark); }
.journal-search { display: flex; align-items: center; width: 280px; margin: 0; border: 1px solid var(--ui-line); border-radius: 6px; background: #f0ebe2; }
.journal-search:focus-within { border-color: var(--ui-blue-dark); box-shadow: 0 0 0 2px #934a3318; }
.journal-search input[type=search] { display: block; flex: 1; min-width: 0; width: 100%; height: 44px; margin: 0; padding: 0 0 0 1.4rem; border: 0; background: transparent; box-shadow: none; color: var(--ui-ink); font: 400 1.3rem/1.5 var(--font-1); }
.journal-search input[type=search]::placeholder { color: #746b5f; opacity: 1; }
.journal-search button { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px; padding: 0; margin: 0; border: 0; background: transparent; color: var(--ui-blue-dark); border-radius: 5px; }
.journal-search button:hover { background: #e5ddcf; }
.journal-account { position: relative; }
.journal-account summary { cursor: pointer; gap: .7rem; }
.journal-account summary::after { content: '⌄'; }
.journal-account-links { position: absolute; right: 0; top: 100%; min-width: 180px; z-index: 20; padding: 1rem; background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 6px; box-shadow: 0 12px 30px #302f2912; }
.journal-account-links a,.journal-account-links button { display: block; width: 100%; margin: 0; padding: 1.2rem; font: 400 1.4rem/1.4 var(--font-1); color: var(--ui-ink); text-align: left; border: 0; background: none; letter-spacing: 0; text-transform: none; height: auto; }
.journal-account-links form { margin: 0; }
.journal-account-links a:hover,.journal-account-links button:hover { background: var(--ui-soft); }
.journal-filters { display: flex; flex-wrap: wrap; gap: 0 2.6rem; margin: 2.8rem 0 3.6rem; border-bottom: 1px solid var(--ui-line); }
.journal-filters a { display: inline-flex; align-items: center; position: relative; min-height: 48px; padding: 1.2rem 0; color: var(--ui-muted); font-size: 1.4rem; text-decoration: none; white-space: nowrap; }
.journal-filters a:hover { color: var(--ui-ink); }
.journal-filters a[aria-current] { color: var(--ui-blue-dark); font-weight: 600; }
.journal-filters a[aria-current]::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--ui-blue-dark); }
@media(max-width: 1100px) {
 .journal-header { padding: 2rem 3rem; gap: 2rem; }
 .journal-nav { gap: 2rem; }
 .journal-search { width: 240px; }
}
@media(max-width: 760px) {
 .journal-header { padding: 2rem; gap: 1.4rem 2rem; }
 .journal-brand { padding: 0; }
 .journal-nav { gap: 1.6rem; }
 .journal-nav > a,.journal-account summary { font-size: 1.3rem; }
 .journal-search { width: 100%; order: 3; }
 .journal-search input[type=search] { font-size: 16px; }
 .journal-filters { flex-wrap: nowrap; overflow-x: auto; gap: 2.4rem; scrollbar-width: thin; padding: 0 0 3px; margin: 2rem 0 2.8rem; }
 .journal-filters a { flex: 0 0 auto; }
}
@media(max-width: 410px) {
 .journal-nav { width: 100%; margin-left: 0; justify-content: space-between; }
}

.journal-header { gap: 1.6rem 2.4rem; }
.journal-nav { gap: 2rem; }
.journal-nav .journal-login { border: 1px solid var(--ui-line); padding: 0 1.4rem; border-radius: 5px; color: var(--ui-blue-dark); }
.journal-account summary:focus-visible { outline: 2px solid var(--ui-blue-dark); outline-offset: 4px; }
.journal-account-links a[aria-current] { color: var(--ui-blue-dark); background: var(--ui-soft); }
.catalog-filters { display: grid; grid-template-columns: 2fr 1.3fr 1.2fr auto; gap: 1.8rem; align-items: end; padding: 2.4rem; margin: 3.6rem 0 1.6rem; background: var(--ui-soft); border: 1px solid var(--ui-line); border-radius: 6px; }
.catalog-filters > div { min-width: 0; }
.catalog-filters label { display: block; font: 500 1.3rem/1.5 var(--font-1); margin-bottom: .8rem; }
.catalog-filters input[type=search],.catalog-filters select { width: 100%; min-width: 0; height: 48px; margin: 0; padding: 0 1.2rem; font: 400 1.5rem/1.5 var(--font-1); border: 1px solid var(--ui-line); border-radius: 4px; color: var(--ui-ink); background-color: var(--ui-surface); }
.catalog-filters button { height: 48px; margin: 0; padding: 0 2rem; background: var(--ui-blue-dark); color: white; font: 500 1.4rem/1.5 var(--font-1); letter-spacing: 0; text-transform: none; border: 0; border-radius: 4px; }
.catalog-results { display: flex; justify-content: space-between; gap: 2rem; align-items: center; font-size: 1.3rem; color: var(--ui-muted); }
.catalog-results p { margin: 0; }
.catalog-results a,.catalog-more { text-decoration: underline; text-underline-offset: .4em; }
.catalog-more { display: inline-flex; gap: 2rem; margin-top: 3rem; padding: 1rem 0; }
@media(max-width: 1100px) { .journal-search { width: 100%; } .journal-nav { flex: 1; justify-content: flex-end; } }
@media(max-width: 760px) { .journal-nav { width: 100%; flex-basis: 100%; justify-content: flex-start; gap: .8rem 2rem; } .catalog-filters { grid-template-columns: 1fr 1fr; padding: 1.6rem; } .catalog-filters > div:first-child { grid-column: 1 / -1; } .catalog-filters button { grid-column: 1 / -1; } .catalog-filters input[type=search],.catalog-filters select { font-size: 16px; } .journal-categories .journal-account-links { left: 0; right: auto; } }
@media(max-width: 400px) { .catalog-filters { grid-template-columns: 1fr; } }
@media(min-width:761px) and (max-width:1000px) { .catalog-filters { grid-template-columns: 1fr 1fr; } .catalog-filters > div:first-child { grid-column: 1 / -1; } .catalog-filters button { grid-column: 1 / -1; } }

/* Un accueil plus personnel, comme la première page d’un carnet. */
.journal-account-links .journal-all-posts { border-bottom: 1px solid var(--ui-line); margin-bottom: .5rem; padding-bottom: 1.6rem; font-weight: 600; }
.welcome-home { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(260px,1fr); align-items: center; gap: clamp(3rem,6vw,8rem); padding: 6rem 0 5rem; }
.welcome-home h1 { font-size: clamp(4.2rem,5.7vw,7.5rem); margin-bottom: 2.8rem; }
.welcome-home .welcome-hello { font-size: 1.9rem; color: var(--ui-ink); margin-bottom: 1.2rem; }
.welcome-copy > p { max-width: 570px; font-size: 1.6rem; }
.welcome-copy .carnet-explore { display: inline-flex; margin-top: 2rem; }
.welcome-note { position: relative; padding: 3.8rem 3rem 2.8rem; background: #f1dfc2; border: 1px solid #ddc7a6; box-shadow: 4px 7px 0 #e9dfcf; border-radius: 2px 2px 16px 2px; transform: rotate(2deg); }
.note-pin { position: absolute; top: -10px; left: 35%; width: 80px; height: 24px; background: #c7cbaaa6; transform: rotate(-7deg); }
.note-kicker { display: block; font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; color: #6b573e; }
.welcome-home .welcome-note p { font: 400 clamp(2rem,2.3vw,3rem)/1.5 var(--font-2); color: #493a2d; margin: 2.2rem 0; }
.welcome-note em { color: #904829; }
.note-signature { font: italic 3.2rem/1.3 var(--font-2); color: #904829; margin-bottom: 2rem; }
.note-signature span { padding-left: 2rem; }
.welcome-note a { display: inline-block; font-size: 1.3rem; line-height: 1.6; color: #71442e; text-decoration: underline; text-underline-offset: .25em; }
.curiosity-paths { max-width: 1280px; width: calc(100% - 9.6rem); margin: 0 auto 4rem; display: flex; gap: 2rem 4rem; align-items: center; padding: 1.8rem 0; border-top: 1px solid var(--ui-line); border-bottom: 1px solid var(--ui-line); }
.curiosity-paths > span { flex-shrink: 0; font: italic 1.7rem var(--font-2); color: var(--ui-muted); }
.curiosity-paths > div { display: flex; flex-wrap: wrap; gap: .5rem 2.8rem; }
.curiosity-paths a { display: inline-flex; gap: 1rem; align-items: center; min-height: 44px; font-size: 1.4rem; color: var(--ui-ink); }
.curiosity-paths a:hover { color: var(--ui-blue-dark); }
.curiosity-paths a span { color: var(--ui-blue-dark); }
@media(max-width:900px) { .welcome-home { grid-template-columns: minmax(0,1.4fr) minmax(230px,1fr); gap: 2.8rem; } .welcome-note { padding: 3rem 2rem 2rem; } .curiosity-paths { align-items: start; flex-direction: column; gap: .8rem; } }
@media(max-width:650px) { .welcome-home { grid-template-columns: 1fr; padding: 3.6rem 0; gap: 3.6rem; } .welcome-note { transform: rotate(1deg); margin: 0 1rem; padding: 3rem; } .welcome-home .welcome-note p { font-size: 2.4rem; } .welcome-note p br { display: none; } .curiosity-paths { width: calc(100% - 4rem); margin-bottom: 3rem; } .welcome-home h1 { font-size: clamp(3.8rem,10vw,5.8rem); } }

.catalog-filters.is-live { grid-template-columns: 2fr 1.3fr 1.2fr; }
.catalog-filters.is-live button { display: none; }
#catalog-status { min-height: 1.5em; margin: 0 0 .8rem; font-size: 1.3rem; color: var(--ui-muted); }
#catalog-content { transition: opacity .15s ease; }
#catalog-content[aria-busy=true] { opacity: .5; }
.reading-editorial .article-header { max-width: 940px; text-align: left; padding: 5rem 4rem 4rem; }
.reading-editorial .article-header > .section-kicker { margin-bottom: 2.4rem; }
.reading-editorial .article-category { background: #e8decd; padding: .6rem 1.2rem; font-size: 1.2rem; border-radius: 3px; letter-spacing: .04em; }
.reading-editorial .s-content__title { text-align: left; margin: 0; font-size: clamp(4rem,5.4vw,7rem); line-height: 1.12; }
.reading-editorial .article-lead { margin: 2.4rem 0; max-width: 720px; font-size: 2rem; line-height: 1.7; }
.reading-editorial .article-byline { justify-content: flex-start; align-items: center; padding-top: 2rem; border-top: 1px solid var(--ui-line); gap: 1.2rem; }
.author-seal { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #e7dcc9; color: #87462f; font: italic 2.2rem var(--font-2); }
.reading-editorial .s-content__media { max-width: 1120px; aspect-ratio: auto; overflow: visible; padding: 1rem; background: #fffaf2; border: 1px solid var(--ui-line); box-shadow: 0 8px 24px #493a2d0a; }
.reading-editorial .s-content__media img { height: auto; max-height: 720px; object-fit: contain; }
.reading-editorial .s-content__primary { max-width: 820px; margin: 0 auto; padding: 2rem 5rem 5rem; }
.reading-editorial .prose { font-size: 1.9rem; line-height: 1.9; }
.reading-editorial .prose > p:first-child::first-letter { float: left; font: 400 6.6rem/.9 var(--font-2); padding: .6rem 1rem .1rem 0; color: var(--ui-blue-dark); }
.reading-editorial .prose h2 { font-size: clamp(2.8rem,3.5vw,3.8rem); margin-top: 1.8em; }
.reading-editorial .prose blockquote { margin: 3.2rem 0; padding: 2.4rem 3rem; border: 0; border-left: 3px solid #ae7651; background: #eee4d3; font: italic 2.3rem/1.65 var(--font-2); color: #6c4a35; }
.reading-editorial .prose blockquote p { margin: 0; }
.reading-editorial .prose img { border-radius: 3px; }
.reading-end { text-align: center; padding: 4rem 0 2rem; margin-top: 4rem; border-top: 1px solid var(--ui-line); }
.reading-end > span { font-size: 2.8rem; color: var(--ui-blue-dark); }
.reading-end p { font: italic 2rem var(--font-2); margin: 1.5rem 0; }
.reading-end a { font-size: 1.4rem; text-decoration: underline; text-underline-offset: .3em; }
@media(max-width:1000px) { .catalog-filters.is-live { grid-template-columns: 1fr 1fr; } .catalog-filters.is-live > div:first-child { grid-column: 1 / -1; } }
@media(max-width:650px) {
 .reading-editorial .article-header { padding: 2.8rem 1rem; }
 .reading-editorial .s-content__title { font-size: 3.8rem; }
 .reading-editorial .article-lead { font-size: 1.7rem; }
 .reading-editorial .article-byline { flex-direction: row; gap: .8rem; font-size: 1.2rem; }
 .reading-editorial .s-content__primary { padding: 1rem 1rem 3rem; }
 .reading-editorial .prose { font-size: 1.8rem; }
 .reading-editorial .prose blockquote { padding: 2rem; font-size: 2rem; }
}
@media(max-width:400px) { .catalog-filters.is-live { grid-template-columns: 1fr; } }

/* Lecture — version sobre, septembre 2026. */
.reading-editorial { max-width: 960px !important; }
.reading-editorial .article-header { max-width: 740px; padding: 2.8rem 2.4rem 2.6rem; margin: 0 auto; }
.reading-editorial .article-category { background: transparent; padding: 0; margin-bottom: 1.4rem; font-size: 1.2rem; font-weight: 500; letter-spacing: .06em; }
.reading-editorial .s-content__title { font-size: clamp(3rem,3.4vw,4.4rem); line-height: 1.22; letter-spacing: -.035em; max-width: 700px; }
.reading-editorial .article-lead { margin: 1.6rem 0; font-family: var(--font-1); font-size: 1.7rem; line-height: 1.7; color: var(--ui-muted); }
.reading-editorial .article-byline { border: 0; padding: 0; margin-top: 1.8rem; font-size: 1.2rem; gap: .8rem; }
.reading-editorial .s-content__media { width: calc(100% - 4.8rem); max-width: 820px; margin: 0 auto 3.2rem; padding: 0; background: transparent; border: 0; box-shadow: none; border-radius: 4px; overflow: hidden; }
.reading-editorial .s-content__media img { display: block; width: 100%; height: auto; max-height: 380px; object-fit: contain; margin: 0; }
.reading-editorial .s-content__primary { max-width: 740px; margin: 0 auto; padding: 0 2.4rem 4rem; }
.reading-editorial .prose { font-family: var(--font-1); font-size: 1.7rem; line-height: 1.9; color: #403d36; }
.reading-editorial .prose > p:first-child::first-letter { float: none; font: inherit; padding: 0; color: inherit; }
.reading-editorial .prose h2 { font: 500 clamp(2.4rem,2.6vw,3rem)/1.35 var(--font-2); margin: 1.8em 0 .7em; }
.reading-editorial .prose h3 { font: 600 2rem/1.4 var(--font-1); }
.reading-editorial .prose blockquote { background: transparent; border-left: 2px solid #b88b70; margin: 2.8rem 0; padding: .4rem 0 .4rem 2.2rem; font: italic 1.9rem/1.8 var(--font-2); color: #6b5b4b; }
.reading-end { padding: 2rem 0 0; margin-top: 3rem; text-align: left; }
.reading-editorial .article-taxonomy { margin-top: 2.4rem; }
.reading-editorial .s-content__pagenav { margin-top: 3rem; }
@media(max-width:650px) {
 .reading-editorial .article-header { padding: 2rem 1rem 2.4rem; }
 .reading-editorial .s-content__title { font-size: 3.2rem; }
 .reading-editorial .article-lead { font-size: 1.6rem; }
 .reading-editorial .s-content__media { width: calc(100% - 2rem); margin-bottom: 2.8rem; }
 .reading-editorial .s-content__media img { max-height: 280px; }
 .reading-editorial .s-content__primary { padding: 0 1rem 3rem; }
 .reading-editorial .prose { font-size: 1.7rem; }
}

/* Carnet de lectures : l’expérience du lecteur passe avant le résumé. */
.reading-book { background: #faf6ec; border: 1px solid #e5dbc9; border-radius: 3px; margin-top: 2.4rem !important; }
.reading-book .article-header { position: relative; padding-top: 5rem; padding-bottom: 3.2rem; }
.book-eyebrow { display: block; font: italic 1.8rem var(--font-2); color: #85664d; margin-bottom: 3rem; }
.reading-book .article-category { display: none; }
.reading-book .s-content__title { font-size: clamp(3.6rem,4.4vw,5.6rem); line-height: 1.14; max-width: 620px; color: #47382b; }
.reading-book .article-lead { font-size: 1.8rem; color: #76604b; margin-top: 2rem; }
.reading-book .article-byline { margin-top: 2.4rem; color: #7e705f; }
.reading-book .prose { color: #493f35; font-family: var(--font-2); font-size: 1.8rem; line-height: 1.95; }
.reading-chapters { display: flex; flex-wrap: wrap; gap: .8rem 2.4rem; padding: 1.4rem 0; margin-bottom: 3.6rem; border-top: 1px solid #ded0bb; border-bottom: 1px solid #ded0bb; }
.reading-chapters a { font: 500 1.3rem/1.6 var(--font-1); padding: .8rem 0; color: #885134; text-decoration: none !important; }
.reading-chapters a:hover { text-decoration: underline !important; }
.reading-book .prose h2 { font-size: 2.7rem; color: #58412e; }
.reading-book .prose section:first-of-type h2 { margin-top: 0; }
.reading-book .prose blockquote { margin: 3.2rem -2rem; padding: 2rem 2.8rem; border-left: 2px solid #ab744c; font: italic 2.3rem/1.65 var(--font-2); background: #efe3cf; color: #775333; }
.reading-book .reading-verdict { padding: 2.8rem; margin: 4rem 0; background: #e9e9db; border-radius: 4px; }
.verdict-label { font: 600 1.1rem var(--font-1); text-transform: uppercase; letter-spacing: .14em; color: #646c4d; }
.reading-book .reading-verdict h2 { margin-top: 1.2rem; font-size: 2.5rem; }
.reading-book .reading-verdict p { margin-bottom: 0; }
.book-synopsis { border-top: 1px solid #ded0bb; border-bottom: 1px solid #ded0bb; margin: 3rem 0; }
.book-synopsis summary { padding: 2rem 0; cursor: pointer; font: 500 1.7rem/1.6 var(--font-1); color: #58412e; }
.book-synopsis summary span { display: block; font-size: 1.3rem; color: #80715f; font-weight: 400; }
.book-synopsis > div { font: 400 1.6rem/1.8 var(--font-1); padding-bottom: 1rem; }
.reading-book .prose .draft-note { font: 400 1.3rem/1.6 var(--font-1); padding: 1rem 1.4rem; border-left: 2px solid #b7966a; color: #76604b; background: #f1eadc; }
.reading-book section[id],.book-synopsis { scroll-margin-top: 2rem; }
@media(max-width:650px) {
 .reading-book { width: calc(100% - 2rem) !important; }
 .reading-book .article-header { padding-top: 3rem; }
 .reading-book .s-content__title { font-size: 3.6rem; }
 .reading-book .article-lead,.reading-book .prose { font-size: 1.7rem; }
 .reading-book .prose blockquote { margin: 2.6rem 0; padding: 1.8rem; font-size: 2rem; }
 .reading-book .reading-verdict { padding: 2rem; }
}

.reading-book .article-header { padding-bottom: 3rem; }
.reading-book .s-content__media { width: calc(100% - 6rem); max-width: 860px; margin-bottom: 3.6rem; border-radius: 3px; }
.reading-book .s-content__media img { width: 100%; height: auto; max-height: none; aspect-ratio: 16 / 9; object-fit: cover; }
.reading-book .personal-signoff { border-top: 1px solid #cdd0bd; padding-top: 2rem; margin-top: 2rem; font-style: italic; }
.personal-signoff span { display: block; margin-top: 1.2rem; font: italic 2.8rem var(--font-2); color: #80563c; }
@media(max-width:650px) { .reading-book .s-content__media { width: calc(100% - 2rem); } .reading-book .s-content__media img { aspect-ratio: 4 / 3; } }

/* Composition visuelle : une double page de carnet. */
.reading-editorial.reading-book { max-width: 1180px !important; width: calc(100% - 6rem); background: transparent; border: 0; margin-top: 3rem !important; }
.reading-book > .column { padding: 0; }
.reading-book .article-opening { position: relative; padding: 4.8rem; margin-bottom: 5rem; background: #e9d3b5; border-radius: 4px; }
.reading-book .article-opening.has-photo { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 4rem; align-items: center; }
.reading-book .article-opening::after { content: ''; position: absolute; left: 4rem; bottom: -10px; width: 110px; height: 22px; background: #a9ad8d99; transform: rotate(-4deg); pointer-events: none; }
.reading-book .article-opening .article-header { padding: 0; margin: 0; max-width: none; }
.reading-book .book-eyebrow { color: #7e4a30; font-size: 1.7rem; margin-bottom: 2.4rem; }
.reading-book .article-opening .s-content__title { color: #653921; font-size: clamp(3.6rem,4.4vw,5.7rem); line-height: 1.1; letter-spacing: -.04em; }
.reading-book .article-opening .article-lead { color: #67513e; font-size: 1.6rem; line-height: 1.8; margin-top: 2.2rem; }
.reading-book .article-opening .article-byline { color: #6e5845; font-size: 1.2rem; gap: .7rem; padding-top: 1.8rem; border-top: 1px solid #b9987266; }
.reading-book .article-opening .s-content__media { position: relative; width: 100%; margin: 0; padding: 1rem 1rem 3rem; background: #fffaf0; border-radius: 1px; transform: rotate(2deg); box-shadow: 0 12px 24px #69452224; }
.reading-book .article-opening .s-content__media::before { content: ''; position: absolute; width: 90px; height: 25px; background: #b6b99799; top: -10px; left: calc(50% - 45px); transform: rotate(-8deg); z-index: 1; }
.reading-book .article-opening .s-content__media img { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0; }
.reading-book .s-content__primary { position: relative; max-width: 830px; padding: 3rem 6rem 4rem; background: #fffaf1; border: 1px solid #e6dccb; border-radius: 2px; box-shadow: 6px 6px 0 #e7dfd0; }
.reading-book .reading-chapters { margin-top: 0; border-top: 0; }
.reading-book .prose h2 { color: #814f32; }
.reading-book .prose blockquote { position: relative; margin: 3.6rem -2rem; background: #f1e0c7; border: 0; border-radius: 2px 18px 2px 2px; padding: 2.4rem 3rem; box-shadow: 3px 3px 0 #e5cfad; }
.reading-book .reading-verdict { background: #e5e7d8; border-left: 3px solid #8e9674; }
@media(max-width:900px) {
 .reading-book .article-opening { padding: 3rem; }
 .reading-book .article-opening.has-photo { gap: 2.6rem; }
 .reading-book .article-opening .s-content__title { font-size: 3.8rem; }
 .reading-book .s-content__primary { padding: 2.8rem 3.4rem; }
}
@media(max-width:650px) {
 .reading-editorial.reading-book { width: calc(100% - 3rem) !important; }
 .reading-book .article-opening { padding: 2.6rem 2rem; margin-bottom: 3rem; }
 .reading-book .article-opening.has-photo { grid-template-columns: 1fr; gap: 2.8rem; }
 .reading-book .article-opening .s-content__title { font-size: 3.8rem; }
 .reading-book .article-opening .s-content__media { width: calc(100% - 1rem); margin: 0 auto; padding: .8rem .8rem 2rem; transform: rotate(1deg); }
 .reading-book .article-opening .s-content__media img { aspect-ratio: 4 / 3; }
 .reading-book .s-content__primary { padding: 2rem 1.8rem; box-shadow: 3px 3px 0 #e7dfd0; }
 .reading-book .prose blockquote { margin: 2.8rem 0; padding: 2rem; }
}

/* Le carnet est commun à tous les articles ; la couleur suit leur sujet. */
.reading-book .article-opening { background: var(--article-paper); }
.reading-book .article-opening .s-content__title,.reading-book .prose h2 { color: var(--article-ink); }
.reading-book .article-opening::after,.reading-book .article-opening .s-content__media::before { background: var(--article-tape); }
.reading-book .article-opening .article-category { display: inline-flex; font: 500 1.2rem/1.5 var(--font-1); color: var(--article-ink); padding: 0; margin-bottom: 2rem; background: transparent; }
.reading-book .article-opening:not(.has-photo) .article-header { max-width: 740px; margin: 0 auto; }

/* Une palette commune à tous les articles. */
.reading-editorial.reading-book { --article-paper: #e9d3b5; --article-ink: #653921; --article-tape: #a9ad8d99; }
