/* site.css — généré par build-css.sh le 2026-09-26 19:35, ne pas éditer : modifier les sources */

/* ===== src/port-generateperf-reset.css ===== */
/*--------------------------------------------------------------
# Règles reprises de plugins/generateperf/css/reset.css (GeneratePerf 3.1.3-beta.3), feuille retirée.
# Écartées : border-radius !important sur button/input/textarea, barre de progression (remplacée), légende
# d'image à la une (en-tête d'article en blocs), curseur du branding (logo inline).
--------------------------------------------------------------*/
:root {
  --spacing: 2rem;
  --spacer: 2rem;
}

html {
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6, figcaption, blockquote cite {
  text-wrap: balance;
}

h1 img {
  border-radius: 50%;
  margin-right: .75em;
}

.archive .page-header .page-title {
  display: flex;
  align-items: center;
}

.rounded {
  border-radius: 50%;
}

.paging-navigation,
.text-center {
  text-align: center;
}

@media (max-width: 768px) {
  .sidebar {
    margin-top: 40px;
  }
}

.sidebar,
.widget {
  contain: layout style;
}

body .wp-block-search__label {
  width: auto;
}

/* Réserve de place des insertions publicitaires et des contenus intégrés (CLS) */
.site-content ins:not([data-anchor-status]) {
  contain: content;
  display: block;
  height: 280px;
  width: 100%;
  margin-top: var(--spacing);
  margin-bottom: var(--spacing);
}

.instagram-media,
.twitter-tweet,
.tiktok-embed {
  contain: content;
  min-height: 300px;
}

.component {
  margin-top: var(--spacing);
  margin-bottom: var(--spacing);
}

body.overlayed {
  overflow: hidden;
  height: 100%;
}

@media (min-width: 769px) {
  .one-container.right-sidebar .site-main,
  .one-container.both-right .site-main {
    margin-right: 40px !important;
  }
}

svg.icon {
  vertical-align: top;
}

[data-goto]:hover,
[data-share-url]:hover,
[data-gpmodal-trigger]:hover,
.gb-query-loop-item:hover,
.gb-loop-item:hover {
  cursor: pointer;
}

[data-goto]:not(.button):not(.gb-button):hover {
  text-decoration: underline;
}

.o50 {
  opacity: 50%;
}

.entry-meta .o50 {
  margin: 0 .5em;
}

p[role="doc-subtitle"] {
  margin-top: 1em;
}

.wp-block-latest-posts__list:not(.is-grid) li {
  margin-bottom: 20px;
}

.entry-header .byline {
  display: inline-flex;
  column-gap: .5em;
  flex-wrap: wrap;
  align-items: baseline;
}

.entry-header .byline img {
  align-self: center;
}

/* ===== articles-reset.css ===== */
/* Reset CSS listings Block news natif + GeneratePress */

ul.wp-block-latest-posts__list {
  margin-left: 0;
}

@media screen and (max-width: 599px) {
  ul.wp-block-latest-posts__list li {
    margin-right: 0 !important;
  }
}

.generate-columns-container article {
  padding-bottom: 0 !important;
}

.wp-block-post,
.generate-columns-container .inside-article,
.wp-block-latest-posts__list li {
  contain: content;
  text-align: left;
}

.wp-block-post-featured-image,
.wp-block-latest-posts__featured-image,
.generate-columns-container .post-image {
  aspect-ratio: 3/2;
  overflow: hidden;
  margin-bottom: 0 !important;
  background-color: var(--base-2);
  border-radius: var(--radius-lg, 28px);
}

.wp-block-post-featured-image img,
.wp-block-latest-posts__featured-image img,
.generate-columns-container .post-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

@supports not (aspect-ratio: 16/9) {
  .wp-block-post-featured-image,
  .wp-block-latest-posts__featured-image,
  .generate-columns-container .post-image {
    position: relative;
    padding-top: 56.25%;
    /* 56.25% for 16/9, 62.5% for 16/10 */
  }

  .wp-block-post-featured-image img,
  .wp-block-latest-posts__featured-image img,
  .generate-columns-container .post-image img {
    position: absolute;
    top: 0;
    left: 0;
  }
}

@media (pointer: fine) {
  .wp-block-post-featured-image img,
  .wp-block-latest-posts__featured-image img,
  .generate-columns-container .post-image img {
    transition: transform 0.5s ease;
  }

  li.wp-block-post:hover img,
  .wp-block-latest-posts__list li:hover img,
  .generate-columns-container article:hover img {
    transform: scale(1.05);
  }
}

li.wp-block-post:hover,
.wp-block-latest-posts__list li:hover,
.generate-columns-container article:hover {
  cursor: pointer;
}

.generate-columns-container .entry-title {
  font-family: inherit;
  font-size: inherit !important;
  font-weight: inherit;
}

.wp-block-post a,
.wp-block-latest-posts__list a,
.generate-columns-container .entry-title a {
  text-wrap: balance;
  display: block;
  font-family: var(--serif);
  color: inherit;
  font-size: 22px !important;
  margin-top: 16px !important;
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: -.01em;
}

.wp-block-post a:hover,
.wp-block-latest-posts__list a:hover,
.generate-columns-container .entry-title a:hover {
  color: inherit;
}

.wp-block-post:hover a,
.wp-block-latest-posts__list li:hover a,
.generate-columns-container .inside-article:hover .entry-title a,
.gb-query-loop-wrapper .gb-grid-column:hover a {
  color: var(--orange) !important;
}

.wp-block-latest-posts__post-date,
.wp-block-latest-posts__post-author,
.generate-columns-container .entry-meta {
  display: inline-block;
  color: var(--contrast-2) !important;
  font-size: 13px !important;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: 10px !important;
  line-height: 1rem;
}

.wp-block-latest-posts__post-author+.wp-block-latest-posts__post-date {
  margin-left: .33em;
}

.generate-columns-container .entry-summary {
  display: none;
}
/* Grande carte en tête d'archive */
.generate-columns-container .featured-column .post-image {
  aspect-ratio: 16/10;
}

.generate-columns-container .featured-column .entry-title a {
  font-size: clamp(24px, 2.4vw, 32px) !important;
  line-height: 1.15;
}

@media (max-width: 767px) {
  .wp-block-post-featured-image,
  .wp-block-latest-posts__featured-image,
  .generate-columns-container .post-image {
    border-radius: var(--radius, 18px);
  }
}

/* ===== src/plugin/pause-offscreen.css ===== */
/* GeneratePerf — Pause des animations CSS hors viewport (option pause_offscreen).
   Le script js/pause-offscreen.js pose .playing tant que l'élément est visible.
   !important volontaire : le raccourci `animation:` d'un thème ou d'un bloc remet
   animation-play-state à running, et un sélecteur composé (.logos .marquee, #id…)
   battrait n'importe quelle spécificité raisonnable. Entre déclarations !important,
   la spécificité tranche : .pause-offscreen.playing l'emporte sur .pause-offscreen. */
.pause-offscreen {
    animation-play-state: paused !important;
}

.pause-offscreen.playing {
    animation-play-state: running !important;
}

/* Respect de prefers-reduced-motion (WCAG 2.3.3), limité aux éléments concernés :
   le bloc global du wiki (*, *::before, *::after) reste un choix du thème.
   Déclaré après les règles ci-dessus : à spécificité et importance égales, il gagne. */
@media (prefers-reduced-motion: reduce) {
    .pause-offscreen,
    .pause-offscreen.playing {
        animation: none !important;
    }
}

/* ===== src/plugin/overlay.css ===== */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  .overlay > iframe,
  .overlay > video {
    aspect-ratio: 16 / 9;
    width: 90%;
    height: auto;
    max-height: 90%;
    max-width: calc(90vh * (16 / 9));
  }
  .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
  }

  body.overlayed .generateperf-sticky-commentbox {
    display: none;
  }
/* ===== badges-pills.css ===== */
ul.pills {
    list-style-type: none;
    margin-left: 0;
    counter-reset: pills-number;
    line-height: 2.3em;
}

ul.pills li {
    display: inline-block;
    counter-increment: pills-number;
}

ul.pills a {
    margin-right: 5px;
    padding: 0.15em 0.66em;
    border-radius: 2rem;
    border: 2px solid rgba(255, 255, 255, .5);
    text-transform: capitalize;
    color: var(--base-3);
}

ul.pills a::before {
    content: counter(pills-number) ".";
    color: var(--darker);
    margin-right: 0.25em;
    font-weight: 500;
}

ul.pills a:hover {
    border-color: var(--darker);
}

.badges-container {
    font-size: 14.5px;
	line-height: 18px;
}

.entry-header .post-categories,
.entry-header .post-tags {
    display: inline;
    list-style-type: none;
    margin: 0 0 .33em !important;
}

.entry-header .post-categories > li,
.entry-header .post-tags > li {
    display: inline-block;
    margin-bottom: 1em;
}

.entry-header .post-categories > li > a,
.entry-header .post-tags > li > a {
    display: inline-block;
    background-color: transparent;
    padding: 5px 14px;
    margin-right: .33em;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 500;
}

.entry-header .post-categories > li > a {
    background-color: var(--darker);
    color: var(--contrast);
    border: 1px solid var(--darker);
    font-weight: 600;
}

.entry-header .post-tags > li > a {
    color: var(--contrast-2);
    border: 1px solid var(--base);
}

.entry-header .post-categories > li > a:hover,
.entry-header .post-tags > li > a:hover {
    background-color: var(--accent);
    color: var(--base-3);
    border-color: var(--accent);
}
/* ===== ratings.css ===== */
:root {
  --stars: var(--orange-vif);
}

.stars-rater {
  width: min(100%, 360px);
  margin: var(--spacing) auto;
  text-align: center;
  background-color: var(--lightbrown);
  border: 0;
  border-radius: var(--radius-lg, 28px);
  padding: 24px 24px 20px;
}

.star {
  cursor: pointer;
  font-size: 36px;
  color: var(--contrast-3);
}

.star.active {
  color: var(--stars);
}

.stars-rating,
.stars-rater > h2,
.vote-info {
  margin-bottom: 0;
}

.stars-rating:hover .star {
  color: var(--contrast) !important;
}

.stars-rating .star:hover ~ .star {
  color: var(--contrast-3) !important;
}

.vote-info {
  font-size: 1rem;
  color: var(--contrast-2);
}

.star-container {
  margin: 1em 0;
}

.star-position {
  display: inline-block;
}

.star-rating {
  display: flex;
  -webkit-box-orient: horizontal !important;
  -webkit-box-direction: reverse !important;
  flex-direction: row-reverse !important;
  font-size: 1.5em;
  justify-content: space-around;
  padding: 0 .2em;
  width: 6em;
}

.star-rating input {
  display: none !important;
}

.star-not-rated,
.star-rating label {
  color: var(--contrast-3);
  font-style: normal;
}

.star-rating label:hover {
  cursor: pointer;
}

.star-rating :checked~label,
.star-rated {
  color: var(--stars);
  font-style: normal;
}

.star-rating label:hover,
.star-rating label:hover~label {
  color: var(--contrast);
}
/* ===== related-articles.css ===== */
.related-article {
  display: flex;
  gap: 1em;
  flex-direction: row;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  padding: 0;
  align-items: center;
  justify-content: space-between;
}

.related-article:hover {
  color: var(--contrast);
}

.related-article .label {
  font-weight: 600;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  flex-shrink: 0;
}

.related-article:hover .label {
  background-color: var(--accent);
  color: var(--base-3);
}

.related-article .title {
  font-family: var(--serif);
  font-size: 1.05em;
  font-weight: 500;
}

.related-article .icon {
  flex-shrink: 0;
}
/* ===== social-share.css ===== */
.share-buttons-toggler + .social-share {
  display: none;
}

.share-buttons-toggler > button {
  padding-top: 12px;
  padding-bottom: 12px;
}

.social-share {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
  align-items: center;
  text-align: center;
  contain: content;
}

@media (max-width: 568px) {
  .social-share>.button>svg {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

.social-share>.button {
  color: var(--contrast-2);
  flex: 33%;
  flex-grow: 1;
  flex-basis: 0;
  font-size: .9em;
  padding: .75em !important;
  border-radius: 999px;
  border-style: solid;
  border-width: 1px;
  border-color: var(--base);
}

.button-twitter .icon {
  fill: #1da1f2 !important;
}

.button-twitter:hover {
  border-color: #1da1f2 !important;
  color: #1da1f2 !important;
}

.button-x .icon {
  fill: #000 !important;
}

.button-x:hover {
  border-color: #000 !important;
  color: #000 !important;
}

.button-facebook .icon {
  fill: #1777f2 !important;
}

.button-facebook:hover {
  border-color: #1777f2 !important;
  color: #1777f2 !important;
}

.button-flipboard .icon {
  fill: #f52828 !important;
}

.button-flipboard:hover {
  border-color: #f52828 !important;
  color: #f52828 !important;
}

.button-pinterest .icon {
  fill: #e60023 !important;
}

.button-pinterest:hover {
  border-color: #e60023 !important;
  color: #e60023 !important;
}

.button-whatsapp .icon {
  fill: #05cd51 !important;
}

.button-whatsapp:hover {
  border-color: #05cd51 !important;
  color: #05cd51 !important;
}

.button-reddit .icon {
  fill: #ff4500 !important;
}

.button-reddit:hover {
  border-color: #ff4500 !important;
  color: #ff4500 !important;
}

.button-linkedin .icon {
  fill: #0a66c2 !important;
}

.button-linkedin:hover {
  border-color: #0a66c2 !important;
  color: #0a66c2 !important;
}

.button-telegram .icon {
  fill: #24a1de !important;
}

.button-telegram:hover {
  border-color: #24a1de !important;
  color: #24a1de !important;
}

.button-threads .icon {
  fill: #000 !important;
}

.button-threads:hover {
  border-color: #000 !important;
  color: #000 !important;
}

.button-snapchat .icon {
  fill: rgba(0, 0, 0, .9) !important;
}

.button-snapchat:hover {
  border-color: #fffc00 !important;
  color: rgba(0, 0, 0, .9) !important;
}

.button-copy-link .icon {
  fill: var(--contrast) !important;
}

.button-copy-link:hover {
  border-color: var(--contrast) !important;
  color: var(--contrast) !important;
}
/* ===== toc.css ===== */
.toc {
  display: block;
  margin: var(--spacing) 0;
  background-color: var(--lightbrown);
  border-radius: var(--radius, 18px);
  border: 1px solid var(--base);
  contain: content;
}

.toc:not([open]) {
  width: fit-content;
}

.toc:not([open]):hover {
  border-color: var(--orange);
}

.toc:not([open]):hover summary {
  color: var(--orange);
}

.toc summary {
  padding: 14px 20px;
  color: var(--contrast);
  font-weight: 600;
}

.toc summary:hover {
  cursor: pointer;
}

.toc[open] summary .hide,
.toc summary .show {
  display: inline;
}

.toc summary .hide,
.toc[open] summary .show {
  display: none;
}

.intoc {
  padding: 0 20px 20px;
  margin: 0;
  list-style-type: none;
}

.intoc ul {
  margin-left: 1em;
}

.intoc > li {
  margin-bottom: .75em;
  padding-left: 18px;
  position: relative;
}

.intoc > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange-vif);
}

.intoc ul > li {
  margin-left: 1em;
  padding-left: .5em;
}

.intoc > li > a {
  font-weight: 600;
  margin-bottom: .75em;
}

.intoc a {
  text-wrap: balance;
}

.intoc ul > li::marker {
  content: "\22A2";
  color: var(--contrast-2);
}

.intoc ul > li:has(ul) > a {
  font-weight: 500;
}

@keyframes downarrow {
  0% {
    transform: translateY(0);
    opacity: 0.3;
  }

  100% {
    transform: translateY(0.2em);
    opacity: 1;
  }
}

@media (pointer: fine) {
  .toc a::after {
    content: "\2193";
    display: inline-block;
    margin-left: 0.66em;
    transform-origin: 50% 50%;
    animation: downarrow 0.6s infinite alternate ease-in-out;
    visibility: hidden;
    color: var(--orange);
  }

  .toc a:hover::after {
    visibility: visible;
  }
}

/* ===== authors.css ===== */
.author-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  contain: content;
  background-color: var(--lightbrown);
  border-radius: var(--radius-lg, 28px);
  padding: 32px;
}

.author-box .avatar {
  margin: 0 var(--spacing) var(--spacing);
}

.author-box .avatar img,
.author-box .avatar svg {
  width: 100px;
  height: 100px;
  max-width: 100px;
  border-radius: 50%;
}

.author-box .avatar img,
.author-box .avatar svg {
  outline: 6px solid var(--darker);
}

.author-box .avatar svg {
  fill: var(--lightbrown);
  background-color: var(--accent);
}

.author-box h2 {
  margin-bottom: 0 !important;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5em;
  text-align: center;
}

.author-box p[itemprop="description"] {
  margin: 1em 0;
}

p.user-title {
  color: var(--orange);
  font-weight: 500;
  font-size: .95em;
  margin-bottom: 1em;
}

@media (min-width: 769px) {
  .author-box {
    flex-direction: row;
  }
  .author-box h2 {
    text-align: left;
  }
  .authors-list {
    display: grid;
    grid-gap: 1.5em;
    grid-template-columns: 50% 50%;
    margin: 1.5em 0;
  }
  .authors-list .author-box {
    margin: 0;
  }
  .author-box .avatar {
    margin: 0 2rem 0 0;
  }
}

.social-links {
  margin-top: 1em;
  display: flex;
  column-gap: .75em;
  align-items: center;
}

.social-links .label {
  font-weight: 700;
  font-size: .9em;
}

.social-links a {
  color: var(--dark);
}

.social-links a:hover {
  color: var(--orange);
}
/* ===== src/plugin/splitted-list.css ===== */
.splitted-list[data-columns] {
  margin-bottom: 2.5em !important;
  column-count: 2;
  column-gap: 20px;
  margin-left: 1em;
}

@media(min-width: 768px) {
  .splitted-list[data-columns="3"],
  .splitted-list[data-columns="4"] {
    column-count: 3;
  }
}

@media(min-width: 1024px) {
  .splitted-list[data-columns="4"] {
    column-count: 4;
  }
}
/* ===== src/plugin/tags-list.css ===== */
ul.tags_list_summary {
  list-style-type: none;
  margin: 0 0 var(--spacing) !important;
  display: flex;
  column-gap: 10px;
  row-gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

ul.tags_list_summary a {
  border-radius: var(--border-radius);
}

ul.tags_list_summary a,
ul.tags_list_summary a:hover {
  text-decoration-line: none !important;
}
/* ===== ../style.css ===== */
/*
 Theme Name:   GeneratePerf Child Theme
 Theme URI:    https://agencewebperformance.fr/prestations/creation-site-performant/
 Author:       Agence Web Performance
 Author URI:   https://agencewebperformance.fr/
 Template:     generatepress
 Text Domain:  generateperf_child
 Version:      1.1.0
 License: GPLv3
 License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/**
 * Beautiful lists.
 */

li::marker {
  color: var(--primary);
}

/**
 * Beautiful inputs.
 */

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--primary);
}

/**
 * Beautiful Blockquotes.
 */

 blockquote cite {
  display: block;
  font-style: normal;
  font-size: 1rem;
  margin-top: 1rem;
  color: var(--dark);
}

blockquote .icon-quote {
	color: var(--orange);
	margin-bottom: 16px;
}

/**
 * Add missing space.
 */

.wp-block-image,
.wp-block-embed {
  margin-bottom: 1.5em;
}

/**
 * Prevent footer rendering on initial rendering.
 */

.site-footer {
  content-visibility: auto;
  contain-intrinsic-height: 400px;
}

@media(min-width: 768px) {
  .site-footer {
    contain-intrinsic-height: 300px;
  }
}

/**
 * Add external icons to _blank links.
 */

.entry-content p a[target="_blank"]::after,
.entry-content li a[target="_blank"]::after {
   display: inline-block;
   content: "";
   margin-left: .25em;
   width: .8em;
   height: .8em;
   mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M320 0a32 32 0 1 0 0 64h82.7L201.4 265.4a32 32 0 0 0 45.3 45.3L448 109.3V192a32 32 0 1 0 64 0V32a32 32 0 0 0-32-32H320zM80 32a80 80 0 0 0-80 80v320a80 80 0 0 0 80 80h320a80 80 0 0 0 80-80V320a32 32 0 1 0-64 0v112a16 16 0 0 1-16 16H80a16 16 0 0 1-16-16V112a16 16 0 0 1 16-16h112a32 32 0 1 0 0-64H80z"/></svg>') no-repeat 50% 50%;
   mask-size: cover;
   -webkit-mask-size: cover;
   vertical-align: -.075em;
   background-color: currentColor;
 }

/**
 * Improve default links style
 */

body:not(.home) .entry-content a:not(.simple):not(.wp-block-latest-posts__post-title) {
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--accent);
  text-underline-offset: .25em;
}

/**
 * Separator.
 */

.separator {
  margin-top: var(--spacing);
  margin-bottom: var(--spacing);
  display: flex;
  justify-content: center;
}

.separator > span {
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 114.94 16.03" fill="%23EE6A33" width="115" height="16"><path d="M56.48 3.64c-1.53 6.8-8.08 9.34-14.38 10.13a24 24 0 0 1-9.13-.44 14.77 14.77 0 0 1-4.35-1.73l-.05-.03c3.78-3.69 6.44-9.73-.13-11.55a.7.7 0 0 0-.32 0c-3.5.13-5.74 2.89-5.38 6.41a8.3 8.3 0 0 0 2.85 5.33 15.34 15.34 0 0 1-7.43 1.97c-4.25.12-10.43-1.09-12.65-5.29 2.39.12 4.73-.81 5.04-3.19a2.9 2.9 0 0 0-4.18-3.07 4.03 4.03 0 0 0-2.12 4.68C2.51 6.47.96 5.43.98 3.89c.01-.51-.78-.63-.9-.12-.55 2.34 1.65 4 4.17 4.52 1.67 8.04 14.88 8.48 20.82 5.8.63-.28 1.3-.7 1.97-1.2 1.41.94 3 1.63 4.56 2.11 8.94 2.74 24.93.33 26.67-10.86.19-1.16-1.52-1.69-1.79-.5zm-50.4.84c1.47-2.01 4.11-.19 2.27 1.68-.6.61-1.63.87-2.73.86a3.38 3.38 0 0 1 .46-2.54zm21.85-3.2c5.38 2.49 2.16 6.89-.61 9.24-2.59-2.54-5.34-7.56.61-9.24z" class="st0"></path><path d="M56.66 4.14C58.41 15.33 74.39 17.74 83.33 15a17.45 17.45 0 0 0 4.56-2.11c.67.5 1.34.91 1.97 1.2 5.94 2.68 19.15 2.25 20.82-5.8 2.53-.52 4.73-2.18 4.17-4.52-.12-.51-.9-.39-.9.12.03 1.54-1.53 2.59-3.27 2.97a4.01 4.01 0 0 0-2.13-4.67 2.91 2.91 0 0 0-4.18 3.07c.31 2.38 2.65 3.32 5.04 3.19-2.23 4.19-8.4 5.4-12.65 5.29a15.34 15.34 0 0 1-7.43-1.97 8.2 8.2 0 0 0 2.85-5.33C92.54 2.92 90.29.16 86.8.03a.5.5 0 0 0-.32 0c-6.57 1.82-3.91 7.86-.13 11.55l-.05.03a14.94 14.94 0 0 1-4.35 1.73 24.2 24.2 0 0 1-9.13.44C66.54 12.99 60 10.44 58.46 3.64c-.27-1.19-1.98-.66-1.8.5zm52.66 2.88c-1.1.02-2.14-.25-2.73-.86-1.85-1.87.8-3.69 2.27-1.68.55.75.59 1.66.46 2.54zm-21.7 3.5c-2.77-2.35-5.99-6.76-.61-9.24 5.95 1.68 3.2 6.7.61 9.24z"></path></svg>');
}

/**
 * Simple lists in footer.
 */

.site-footer ul {
	list-style-type: none;
	margin-left: 0;
}

/**
 * Beautiful SVGs in menus.
 */

.menu-item-icon {
  width: 22px;
  height: 22px;
  margin-right: .5em;
  fill: currentColor;
  vertical-align: sub;
}

/**
 * Featured images full width.
 */

.featured-image img {
	width: 100%;
}

/**
 * Custom design for main images captions.
 */

 .featured-image figcaption::before {
  content: "";
  display: block;
  position: absolute;
  top: -15px;
  right: 15px;
  height: 0px;
  width: 0px;
  border-right: solid 15px transparent;
  border-left: solid 15px transparent;
  border-bottom: solid 15px var(--lighter);
}

/**
 * Custom subtitles styling.
 */

p[role="doc-subtitle"] {
  font-weight: 550;
}

/**
 * Feuille h2.
 */

 .single .entry-content > h2::before {
  margin-right: 8px;
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 133.3 246.5" width="17" height="32"><path d="M74.7 86.8C73 77.9 72.3 69 72.5 60h1.8c1.5 33.4 16 64 39.1 87.3 18.8-9.7 24-42.2 16.8-63.2-7.1-21.1-23-35.6-38.8-50.3A97.8 97.8 0 0 1 68.2 0C58 16.3 45.5 36.4 40.2 55.1a76.8 76.8 0 0 0 8.4 59c9 15.1 23.1 27 39.5 33.4 6.2 2.3 11.7 3 16.5 2.5a140.2 140.2 0 0 1-30-63.2zM54.7 211c.3.2 1.1-.1 1.5-.2a88.4 88.4 0 0 0 13.8-3.4c6-2 11.8-4.5 17.4-7.4 10.8-5.8 20.2-13.4 30-20.5 1-.7 2.2-.8 3.3-1.2 0 1 .3 2.3 0 3.2A76.1 76.1 0 0 1 96 214.9c-13.2 10.1-29.8 15-45.6 19.4-15.7 4.3-31.2 9.7-47.4 11.9l-2.4.3c-3.4.4 6.4-32.4 7.3-34.3a80.9 80.9 0 0 1 28.5-32.6 86.2 86.2 0 0 1 74-7.8c1.2.4 2.6 1.2 3 2.2.2.6-1 2-1.9 2.9-11 10.9-24.7 19.6-38.7 26.2-5.6 2.6-11.4 4.6-17.2 6.8-.3 0-1.1.4-1 .8v.3z" fill="%23EE6A33"/></svg>');
}

/**
 * Éléments greffés avant et après le logo en position centrale
 */

 @media(min-width: 768px) {
  .header-aligned-center:not([class*=nav-float-]) .inside-header {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
  }
}

/**
 * Custom code.
 */

.inside-header > div {
  margin-top: 0 !important;
}

.featured-image {
  border-radius: var(--border-radius);
  overflow: hidden;
}

@media(min-width: 768px) {
  .menu-bar-items {
    display: none !important;
  }
}

blockquote cite {
  display: block;
  margin-top: 1em;
  font-size: 1rem;
  font-style: normal;
}

.wp-block-table figcaption {
  font-size: 13px;
  text-align: center;
}

.gb-block-image:has(.cover-image){
  aspect-ratio: 16/9;
}

.cat-label {
  position: absolute;
  left: 0;
  bottom: -1px;
}

.featured-image figcaption {
  background-color: var(--lighter) !important;
}
.meta-separator {opacity: .5;margin-inline: .15rem;}

.wp-block-embed figcaption {
    font-size: 13px;
    text-align: center;
}
table {
	font-size: .9em;
}

.entry-header .entry-meta {
  font-size: 14.5px !important;
}
/* ===== theme.css ===== */
/*
 * La charte des blocs GenerateBlocks vit dans les blocs (classes globales + styles locaux). Cette feuille ne style que
 * le non-bloc : balisage natif GeneratePress, contenu
 * des articles, composants GeneratePerf, plugins, sorties des codes courts. Contrôle : theme-css-audit.py → 0 violation.
 */

/**
 * Bien-être Mag — feuille du non-bloc.
 * Charte : crème, olive, citron, orange ; titres Newsreader, texte General Sans.
 * Couleurs = variables GeneratePress (Personnaliser > Couleurs), jamais d'hexadécimal ici.
 */

/*--------------------------------------------------------------
# Jetons
--------------------------------------------------------------*/

:root {
  --radius-lg: 28px;
  --radius: 18px;
  --radius-sm: 12px;
  --pill: 999px;
  --border-radius: 18px;
  --line: 1px solid var(--base);
  --serif: Newsreader, Newsreader-fallback, serif;
  --pulse: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 96 24\"><path d=\"M0 14h30l5-9 6 16 6-19 5 20 5-8h39\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>");
  --arrow: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M7 17 17 7M9 7h8v8\" fill=\"none\" stroke=\"black\" stroke-width=\"2.2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>");
}

body {
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .entry-title {
  letter-spacing: -.012em;
  text-wrap: balance;
}

li::marker {
  color: var(--orange-vif);
}

::selection {
  background-color: var(--darker);
  color: var(--contrast);
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/*--------------------------------------------------------------
# Boutons
--------------------------------------------------------------*/

button, .button, input[type="submit"], .wp-block-button__link {
  border-radius: var(--pill);
  font-weight: 600;
  padding: 12px 24px;
}

/* Décor « pouls » réutilisable (ligne orange) */

/*--------------------------------------------------------------
# En-tête : logo | navigation | recherche
--------------------------------------------------------------*/

.site-header {
  background: var(--lightbrown);
  border-bottom: var(--line);
  position: relative;
  z-index: 50;
}

.site-header .inside-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.site-header .site-logo {
  grid-column: 1;
  grid-row: 1;
  line-height: 0;
}

.site-header .site-logo svg {
  width: 180px;
  height: auto;
}

/* Logo : dessin inchangé, recoloré aux couleurs de la charte */

.site-header .site-logo path[fill="#005052"] {
  fill: var(--accent);
}

.site-header .site-logo path[fill="#e6f1e7"] {
  fill: var(--lightbrown);
}

.site-header .site-logo path.logo-accent {
  fill: var(--vert-clair);
}

.site-header .site-logo a {
  display: block;
  line-height: 0;
  border-radius: 8px;
}

.site-header .main-navigation {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  margin: 0;
  background: transparent;
}

/* Pilule de recherche (élément « After logo ») */

/* Liens de rubriques */

.main-navigation .main-nav ul li a {
  padding-left: 13px;
  padding-right: 13px;
  line-height: 44px;
  position: relative;
}

.main-navigation .main-nav > ul > li.current-menu-item > a::after, .main-navigation .main-nav > ul > li.current-menu-parent > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--orange-vif);
}

@media (min-width: 768px) {
  .main-navigation .menu-item-icon {
    display: none;
  }
}

@media (max-width: 1180px) and (min-width: 768px) {
  .main-navigation .main-nav ul li a {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 14px;
  }

  .site-header .site-logo svg {
    width: 150px;
  }
}

@media (max-width: 767px) {
  .site-header .inside-header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .site-header .site-logo svg {
    width: 140px;
  }

  .site-header .main-navigation {
    grid-column: 2;
    justify-self: end;
    position: static;
  }

  .site-header .main-navigation .inside-navigation {
    display: flex;
    align-items: center;
    column-gap: 8px;
    position: static;
  }

  .site-header .inside-header {
    position: static;
  }

  .site-header .menu-toggle, .site-header .menu-bar-item > a {
    width: 44px;
    height: 44px;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--contrast);
    background: transparent;
    color: var(--contrast);
    line-height: 1;
  }

  .site-header .menu-toggle {
    order: 2;
  }

  .main-navigation.toggled .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--lightbrown);
    border-bottom: var(--line);
    padding: 8px 16px 20px;
    box-shadow: 0 24px 40px -24px rgb(36 42 30 / .35);
  }

  .main-navigation.toggled .main-nav ul li a {
    line-height: 52px;
    border-bottom: var(--line);
    font-size: 17px;
  }

  .main-navigation.toggled .main-nav > ul > li:is(.current-menu-item, .current-menu-parent) > a::after {
    left: auto;
    right: 8px;
    bottom: 23px;
  }

  .main-navigation .menu-item-icon {
    color: var(--orange);
  }
}

/*--------------------------------------------------------------
# Fil d'Ariane (élément avant le pied de page)
--------------------------------------------------------------*/

.site-footer {
  content-visibility: visible;
}

/*--------------------------------------------------------------
# Archives : rubriques, étiquettes, recherche, auteurs
--------------------------------------------------------------*/

.archive .site-main, .search .site-main, .blog .site-main {
  margin-top: 0;
}

.archive .page-header, .search .page-header, .blog .page-header {
  background: var(--lightbrown);
  border-radius: var(--radius-lg);
  padding: 48px clamp(24px, 5vw, 64px);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.archive .page-header::after, .search .page-header::after {
  content: "";
  position: absolute;
  right: clamp(24px, 5vw, 64px);
  bottom: 40px;
  width: 140px;
  height: 36px;
  background-color: var(--orange-vif);
  mask: var(--pulse) no-repeat 50% 50% / contain;
  -webkit-mask: var(--pulse) no-repeat 50% 50% / contain;
  opacity: .8;
}

.category .page-header::before {
  content: "Rubrique";
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 14px;
  border-radius: var(--pill);
  background: var(--darker);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.tag .page-header::before {
  content: "Thème";
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 14px;
  border-radius: var(--pill);
  background: var(--darker);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.page-header .page-title {
  margin-bottom: 0;
  max-width: 22ch;
}

.page-header .taxonomy-description, .page-header .author-info {
  max-width: 62ch;
  margin-top: 16px;
  color: var(--contrast-2);
}

.page-header .taxonomy-description p:last-child {
  margin-bottom: 0;
}

/* Pagination */

.paging-navigation .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.paging-navigation .page-numbers {
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--pill);
  border: 1px solid var(--base);
  color: var(--contrast);
  font-weight: 600;
}

.paging-navigation .page-numbers.current, .paging-navigation a.page-numbers:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--base-3);
}

/*--------------------------------------------------------------
# Article
--------------------------------------------------------------*/

.single .entry-header .entry-title {
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08;
  font-weight: 400;
  margin-bottom: 20px;
}

.single .entry-header .entry-meta {
  color: var(--contrast-2);
  font-size: 14px !important;
}

.single .entry-header .entry-meta a {
  color: var(--contrast);
  text-decoration: underline;
  text-decoration-color: var(--orange-vif);
  text-underline-offset: .2em;
}

.single .entry-header p[role="doc-subtitle"] {
  font-size: 20px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--contrast);
  margin-top: 20px;
  padding-left: 20px;
  border-left: 3px solid var(--darker);
}

/* Image à la une */

.featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.featured-image figcaption {
  background: var(--lightbrown) !important;
  color: var(--contrast-2);
  font-size: 14px;
  padding: 12px 20px;
}

.featured-image figcaption::before {
  display: none;
}

/* Corps de texte */

.single .entry-content > h2 {
  font-size: clamp(26px, 2.6vw, 34px);
  margin-top: 1.6em;
}

.single .entry-content > h3 {
  margin-top: 1.4em;
}

body:not(.home) .entry-content a:not(.simple):not(.wp-block-latest-posts__post-title) {
  text-decoration-color: var(--orange-vif);
  text-decoration-thickness: 2px;
}

body:not(.home) .entry-content a:not(.simple):hover {
  color: var(--orange);
}

.entry-content blockquote {
  background: var(--lightgreen);
  border-left: 4px solid var(--orange-vif);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.5;
}

.entry-content blockquote cite {
  font-family: inherit;
  font-size: 15px;
  color: var(--contrast-2);
}

.entry-content table {
  border-collapse: separate;
  border-spacing: 0;
  border: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.entry-content table th, .entry-content thead td {
  background: var(--accent);
  color: var(--base-3);
  font-weight: 600;
}

.entry-content table td, .entry-content table th {
  border: 0;
  border-bottom: var(--line);
  padding: 12px 16px;
}

.entry-content table tbody tr:nth-child(even) {
  background: var(--lightbrown);
}

.entry-content .wp-block-image img {
  border-radius: var(--radius);
}

/* Colonne latérale « À ne pas manquer » */

.inside-right-sidebar .related-articles .entry-title a, .inside-right-sidebar .wp-block-latest-posts__list a {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px !important;
  line-height: 1.25;
}

/*--------------------------------------------------------------
# Mobile
--------------------------------------------------------------*/

@media (max-width: 767px) {
  .archive .page-header, .search .page-header {
    padding: 32px 22px;
    border-radius: var(--radius);
  }

  .archive .page-header::after, .search .page-header::after {
    display: none;
  }

  .single .entry-header p[role="doc-subtitle"] {
    font-size: 18px;
  }

  .featured-image {
    border-radius: var(--radius);
  }
}

/*--------------------------------------------------------------
# Accueil : briques communes
--------------------------------------------------------------*/

:root {
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 8vw, 112px);
}

.home .site-content, .home .inside-article, .home .entry-content {
  padding: 0;
  margin: 0;
}

/* Bouton pilule orange + pastille ronde à flèche */

/* Lien fléché */

/* Pastille de rubrique (tag {{term_list}}) et date */

/* Titres de cartes : lien étendu à toute la carte (un seul lien) */

/* Carte d'article */

/* Ligne d'article compacte */

/*--------------------------------------------------------------
# Accueil : 1. Hero
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Illustration animée (shortcode [bem_illustration])
--------------------------------------------------------------*/

.ill-wellness {
  justify-self: center;
  width: min(100%, 480px);
}

.ill-wellness svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.ill-orbit-line {
  fill: none;
  stroke: var(--contrast-3);
  stroke-width: 1.5;
  stroke-dasharray: 2 10;
  stroke-linecap: round;
}

.ill-breath {
  fill: var(--darker);
  opacity: .35;
  transform-box: fill-box;
  transform-origin: center;
  animation: ill-breath 6s ease-in-out infinite;
}

.ill-core {
  fill: var(--darker);
}

.ill-pulse {
  animation: ill-pulse 2.4s linear infinite;
}

.ill-pulse-path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ill-orbit {
  transform-origin: 240px 240px;
  animation: ill-spin 60s linear infinite;
}

.ill-upright {
  transform-box: fill-box;
  transform-origin: center;
  animation: ill-spin 60s linear infinite reverse;
}

.ill-bubble-bg {
  stroke: var(--base-3);
  stroke-width: 6;
}

.ill-tone-0 {
  fill: var(--accent);
}

.ill-tone-1 {
  fill: var(--orange-vif);
}

.ill-tone-2 {
  fill: var(--base-3);
  stroke: var(--base);
  stroke-width: 1.5;
}

.ill-icon {
  stroke: var(--base-3);
}

.ill-tone-2 + .ill-icon {
  stroke: var(--accent);
}

.ill-dot {
  fill: var(--orange-vif);
}

.ill-dot--lime {
  fill: var(--accent);
}

.ill-float {
  transform-box: fill-box;
  transform-origin: center;
  animation: ill-float 4.5s ease-in-out infinite;
}

.ill-float--late {
  animation-delay: -2s;
}

@keyframes ill-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ill-pulse {
  to {
    transform: translateX(-168px);
  }
}

@keyframes ill-breath {
  50% {
    transform: scale(1.1);
    opacity: .6;
  }
}

@keyframes ill-float {
  50% {
    transform: translateY(-14px);
  }
}

/*--------------------------------------------------------------
# Accueil : 2. Santé
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Accueil : 3. Section olive (Nutrition)
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Accueil : 4. Sport & loisirs
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Accueil : 5. Psychologie
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Accueil : 6. Section citron
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Accueil : tablette et mobile
--------------------------------------------------------------*/

@media (max-width: 1024px) {
  .ill-wellness {
    width: min(100%, 380px);
  }
}

@media (max-width: 767px) {
  .ill-wellness {
    width: min(100%, 300px);
  }
}

/*--------------------------------------------------------------
# Fil d'Ariane et pied de page (éléments GP)
--------------------------------------------------------------*/

.crumbs a {
  color: var(--contrast);
}

.crumbs a:hover {
  color: var(--orange);
}

.foot-tags ul.pills {
  margin: 0;
  line-height: 2.5em;
  font-size: 14px;
}

.foot-tags ul.pills a {
  border-width: 1px;
  border-color: rgb(251 246 230 / .3);
  color: var(--lightbrown);
  text-transform: none;
}

.foot-tags ul.pills a::before {
  content: none;
}

.foot-tags ul.pills li:nth-child(n/**/+13) {
  display: none;
}

.foot-tags ul.pills a:hover {
  border-color: var(--darker);
  color: var(--darker);
}

/* Mot-symbole décoratif en pseudo-élément : ce n'est pas du texte à lire (contraste volontairement faible) */

/*--------------------------------------------------------------
# Archives, pages, formulaires
--------------------------------------------------------------*/

/* Grille des archives : la carte à la une occupe 2 colonnes × 2 rangées, sans trou à droite */

.site-main .generate-columns-container:not(.masonry-container) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 48px;
  margin-left: 0;
}

.generate-columns-container > * {
  grid-column: 1 / -1;
  margin-left: 0 !important;
}

.generate-columns-container > article.generate-columns {
  grid-column: auto;
  width: auto !important;
  padding-left: 0;
  margin-bottom: 0;
}

.generate-columns-container > article.featured-column {
  grid-column: span 2;
  grid-row: span 2;
}

.generate-columns-container > .page-header {
  margin-bottom: 0;
}

.generate-columns-container > .paging-navigation {
  margin-top: 16px;
}

.paging-navigation .nav-previous, .paging-navigation .nav-next {
  display: none;
}

.paging-navigation .page-numbers.next, .paging-navigation .page-numbers.prev {
  white-space: nowrap;
  column-gap: 6px;
  display: inline-flex;
  padding: 0 20px;
}

/* Description de rubrique déplacée en bas d'archive (GeneratePerf) */

.archive .site-main > h2 {
  margin-top: 72px;
  padding-top: 40px;
  border-top: var(--line);
  font-size: clamp(26px, 2.6vw, 32px);
}

.archive .site-main > .taxonomy-description {
  max-width: 72ch;
  color: var(--contrast-2);
}

/* En-tête des pages, de la recherche vide et de la 404 : même bandeau que les archives */

body.page:not(.home) .entry-header, .search-no-results .entry-header, .error404 .entry-header {
  background: var(--lightbrown);
  border-radius: var(--radius-lg);
  padding: 48px clamp(24px, 5vw, 64px);
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}

body.page:not(.home) .entry-header::after, .search-no-results .entry-header::after, .error404 .entry-header::after {
  content: "";
  position: absolute;
  right: clamp(24px, 5vw, 64px);
  bottom: 40px;
  width: 140px;
  height: 36px;
  background-color: var(--orange-vif);
  mask: var(--pulse) no-repeat 50% 50% / contain;
  -webkit-mask: var(--pulse) no-repeat 50% 50% / contain;
  opacity: .8;
}

body.page:not(.home) .entry-header .entry-title, .search-no-results .entry-header .entry-title, .error404 .entry-header .entry-title {
  margin-bottom: 0;
  max-width: 20ch;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08;
}

/* Colonne de lecture des pages (hors page des thèmes, en colonnes) */

body.page:not(.home):not(.page-id-219) .entry-content, .search-no-results .entry-content, .error404 .entry-content {
  max-width: 760px;
}

body.page:not(.home) .entry-content > h2 {
  font-size: clamp(26px, 2.6vw, 32px);
  margin-top: 1.6em;
}

body.page:not(.home) .entry-content > h3 {
  margin-top: 1.4em;
}

/* Champs de formulaire unifiés */

input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="password"], textarea, select {
  border: 1px solid var(--base);
  border-radius: 14px;
  background-color: var(--base-3);
  color: var(--contrast);
  padding: 14px 18px;
  font-size: 16px;
  line-height: 1.4;
  transition: border-color .2s ease, box-shadow .2s ease;
}

input:is([type="text"], [type="email"], [type="url"], [type="search"], [type="tel"], [type="password"]):focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--lighter);
  outline: 0;
}

.entry-content form input:is([type="email"], [type="text"]), .entry-content form textarea, .comment-form input:is([type="text"], [type="email"], [type="url"]), .comment-form textarea {
  width: 100%;
}

.entry-content form label, .comment-form label {
  display: inline-block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
}

.entry-content form label + br {
  display: none;
}

.entry-content form .g-recaptcha:empty {
  min-height: 0 !important;
  margin: 0;
}

.comment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
}

.comment-form > * {
  grid-column: 1 / -1;
}

.comment-form > .comment-form-author {
  grid-column: 1;
}

.comment-form > .comment-form-email {
  grid-column: 2;
}

.comment-form .comment-form-cookies-consent label {
  font-weight: 400;
  font-size: 14px;
  color: var(--contrast-2);
}

/* Formulaire de recherche (page vide, 404) : champ + bouton rond */

.search-form {
  display: flex;
  align-items: stretch;
  column-gap: 8px;
  max-width: 480px;
}

.search-form label {
  flex: 1;
  margin: 0;
}

.search-form .search-field {
  width: 100%;
  border-radius: 999px;
  padding-left: 22px;
}

.search-form .search-submit {
  width: 52px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Pied de page : filet aligné sur la colonne de contenu */

/* Titres de la colonne latérale alignés sur ceux des sections */

.inside-right-sidebar .related-articles > h2, .inside-right-sidebar .widget-title {
  font-size: 30px;
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .site-main .generate-columns-container:not(.masonry-container) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .generate-columns-container > article.featured-column {
    grid-row: auto;
  }
}

@media (max-width: 767px) {
  .site-main .generate-columns-container:not(.masonry-container) {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 36px;
  }

  .generate-columns-container > article.featured-column {
    grid-column: auto;
  }

  body.page:not(.home) .entry-header, .search-no-results .entry-header, .error404 .entry-header {
    padding: 32px 22px;
    border-radius: var(--radius);
    margin-bottom: 32px;
  }

  body.page:not(.home) .entry-header::after, .search-no-results .entry-header::after, .error404 .entry-header::after {
    display: none;
  }

  .entry-content blockquote {
    padding: 20px;
    font-size: 19px;
  }

  .comment-form > .comment-form-author, .comment-form > .comment-form-email {
    grid-column: 1 / -1;
  }
}

/* Accessibilité */

.crumbs a, .author-box .author-name {
  text-decoration: underline;
  text-decoration-color: var(--orange-vif);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

/*--------------------------------------------------------------
# Gabarit des rubriques et thèmes (élément GP « loop-template » #1090)
--------------------------------------------------------------*/

/* Sur une rubrique, la pastille de rubrique est redondante */

/* Premier article de chaque page en grand, image à gauche (79 par page = 1 + 26 rangées de 3 / 39 de 2) */

/* Pagination GB */

/* Texte de présentation de la rubrique (GeneratePerf, après le contenu, page 1) */

.archive .site-main > h2, .archive .site-main > .taxonomy-description {
  max-width: calc(760px + 2 * var(--gutter));
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.archive .site-main > h2 {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 0;
  position: relative;
  text-align: center;
}

.archive .site-main > h2::before {
  content: "";
  display: block;
  width: 96px;
  height: 24px;
  margin: 0 auto 20px;
  background-color: var(--orange-vif);
  mask: var(--pulse) no-repeat 50% 50% / contain;
  -webkit-mask: var(--pulse) no-repeat 50% 50% / contain;
}

.archive .site-main > .taxonomy-description {
  text-align: center;
  margin-bottom: 24px;
  font-size: 17px;
}

/*--------------------------------------------------------------
# En-tête des articles (élément GP « page hero » #1092)
--------------------------------------------------------------*/

.post-hero-text p[role="doc-subtitle"] {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  font-weight: 500;
  color: var(--contrast-2);
  max-width: 64ch;
}

.post-hero-text .badges-container {
  margin: 0;
}

.post-hero-text .badges-container ul {
  margin: 0 !important;
}

.post-hero-text .badges-container li {
  margin-bottom: 6px;
}

/* Pastilles hors de .entry-header : on reprend le style des surcharges GeneratePerf */

.post-hero .post-categories, .post-hero .post-tags {
  display: inline;
  list-style: none;
}

.post-hero .post-categories > li, .post-hero .post-tags > li {
  display: inline-block;
}

.post-hero .post-categories > li > a, .post-hero .post-tags > li > a {
  display: inline-block;
  padding: 5px 14px;
  margin-right: 6px;
  border-radius: var(--pill);
  font-size: 13.5px;
  font-weight: 500;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.post-hero .post-categories > li > a {
  background: var(--darker);
  border: 1px solid var(--darker);
  color: var(--contrast);
  font-weight: 600;
}

.post-hero .post-tags > li > a {
  background: var(--base-3);
  border: 1px solid var(--base);
  color: var(--contrast-2);
}

.post-hero .post-categories > li > a:hover, .post-hero .post-tags > li > a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--base-3);
}

.post-hero-meta .entry-meta {
  margin: 0;
  font-size: 14.5px;
  color: var(--contrast-2);
}

.post-hero-meta .entry-meta a {
  color: var(--contrast);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--orange-vif);
  text-underline-offset: .2em;
}

/* Corps de l'article sous l'en-tête en blocs */

.single-post .inside-article > .entry-header {
  display: none;
}

.single-post .site-content {
  padding-top: 48px;
}

.single-post .entry-content {
  font-size: 18px;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .single-post .site-content {
    padding-top: 32px;
  }

  .single-post .entry-content {
    font-size: 17px;
  }
}

/* Corps de l'article aligné sur l'en-tête en blocs (même gouttière que .margin-main) */

.single-post .site-content {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

@media (min-width: 1281px) {
  .single-post .site-content {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Colonne « À ne pas manquer » : liste compacte, accompagne la lecture */

@media (min-width: 769px) {
  .single-post .inside-right-sidebar {
    position: sticky;
    top: 24px;
  }
}

.inside-right-sidebar .related-articles > h2 {
  font-size: 26px;
  margin-bottom: 8px;
}

.inside-right-sidebar .related-articles .wp-block-latest-posts__list {
  display: grid;
  margin: 0;
}

.inside-right-sidebar .related-articles .wp-block-latest-posts__list > li {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 16px;
  row-gap: 6px;
  padding: 16px 0;
  margin: 0 !important;
  border-bottom: var(--line);
  position: relative;
}

.inside-right-sidebar .related-articles .wp-block-latest-posts__featured-image {
  grid-row: 1 / span 2;
  aspect-ratio: 1;
  border-radius: 14px;
  margin: 0 !important;
}

.inside-right-sidebar .related-articles .wp-block-latest-posts__list > li > a {
  font-family: var(--serif);
  font-size: 17px !important;
  line-height: 1.25;
  font-weight: 500;
  margin: 0 !important;
  align-self: end;
}

.inside-right-sidebar .related-articles .wp-block-latest-posts__list > li > a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.inside-right-sidebar .related-articles .wp-block-latest-posts__post-date {
  margin: 0 !important;
  font-size: 12px !important;
  letter-spacing: .05em;
  text-transform: uppercase;
  align-self: start;
}

.post-hero-meta .entry-meta > span:not(.meta-separator) {
  white-space: nowrap;
}

/*--------------------------------------------------------------
# Confort de lecture des articles (inc/article-reading.php, js/reading.js)
--------------------------------------------------------------*/

/* Sommaire : colonne latérale sur grand écran, tête d'article ailleurs */

.toc-side {
  display: none;
}

@media (min-width: 1025px) {
  .toc-inline {
    display: none;
  }

  .single-post .inside-right-sidebar {
    position: static;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .single-post #right-sidebar {
    align-self: stretch;
  }

  .toc-side {
    display: block;
    order: 2;
    position: sticky;
    top: 24px;
    margin-top: 40px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }

  .single-post .inside-right-sidebar > .related-articles {
    order: 1;
  }

  .toc-side .toc {
    margin: 0;
    background: var(--lightbrown);
  }

  .toc-side .toc summary {
    pointer-events: none;
    list-style: none;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    padding-bottom: 8px;
  }

  .toc-side .toc summary::-webkit-details-marker {
    display: none;
  }

  .toc-side .toc summary .hide {
    display: none;
  }

  .toc-side .toc summary .show {
    display: inline;
    font-size: 0;
  }

  .toc-side .toc summary .show::before {
    content: "Dans cet article";
    font-size: 22px;
  }

  .toc-side .intoc > li {
    margin-bottom: 4px;
  }

  .toc-side .intoc a {
    display: block;
    padding: 6px 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--contrast-2);
    transition: color .2s ease;
  }

  .toc-side .intoc a:hover, .toc-side .intoc a[aria-current] {
    color: var(--contrast);
  }

  .toc-side .intoc > li:has(> a[aria-current])::before {
    background: var(--orange);
    transform: scale(1.5);
  }

  .toc-side .intoc > li::before {
    transition: transform .2s ease, background-color .2s ease;
    top: 1.05em;
  }

  .toc-side .toc a::after {
    content: none;
  }
}

/* Intertitres atteints par une ancre : pas collés au bord de l'écran */

.single-post .entry-content :is(h2, h3) {
  scroll-margin-top: 32px;
}

/* Barre de progression de lecture : CSS seul, transform uniquement */

.reading-progress {
  display: none;
}

@supports (animation-timeline: scroll()) {
  .reading-progress {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 100;
    background: var(--orange-vif);
    transform-origin: 0 50%;
    transform: scaleX(0);
    animation: reading-progress linear both;
    animation-timeline: scroll(root block);
  }

  .admin-bar .reading-progress {
    top: 32px;
  }

  @keyframes reading-progress {
    to {
      transform: scaleX(1);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .reading-progress {
    display: none;
  }
}

/* Bouton de retour en haut (GeneratePress) */

.generate-back-to-top {
  width: 52px;
  height: 52px;
  right: 24px;
  bottom: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--base-3);
  box-shadow: 0 14px 30px -12px rgb(36 42 30 / .5);
  transition: opacity .3s ease, transform .2s ease, background-color .2s ease;
}

.generate-back-to-top:is(:hover, :focus-visible) {
  background: var(--orange);
  color: var(--base-3);
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Modale de recherche (élément GP « search-modal » #1093)
--------------------------------------------------------------*/

.gp-search-modal .gp-modal__overlay {
  background: rgb(46 53 38 / .72);
  backdrop-filter: blur(6px);
  align-items: flex-start;
  padding-top: clamp(24px, 10vh, 120px);
}

.gp-search-modal .gp-modal__container {
  width: min(100% - 32px, 720px);
  max-width: none;
  background: var(--lightbrown);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / .5);
}

.bem-search-form .search-modal-fields {
  display: flex;
  align-items: center;
  background: var(--base-3);
  border: 1px solid var(--base);
  border-radius: var(--pill);
  padding: 6px 6px 6px 8px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.bem-search-form .search-modal-fields:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--lighter);
}

.bem-search-form .search-field {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent;
  font-size: 18px;
  padding: 12px 16px;
}

.bem-search-form button {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--base-3);
}

/* La modale GP impose au survol et au focus width: 60px et color: currentcolor (.search-modal-fields button:hover, 0,2,1) */
.bem-search-form .search-modal-fields button:is(:hover, :focus, :focus-visible, :active) {
  width: 52px;
  background: var(--accent);
  color: var(--base-3);
}

.search-suggest ul.pills {
  list-style: none;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  line-height: 1.4;
}

.search-suggest ul.pills li {
  margin: 0;
}

.search-suggest ul.pills a {
  display: inline-block;
  padding: 7px 14px;
  margin: 0;
  border-radius: var(--pill);
  border: 1px solid var(--base);
  background: var(--base-3);
  color: var(--contrast);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
}

.search-suggest ul.pills a::before {
  content: none;
}

.search-suggest ul.pills li:nth-child(n/**/+11) {
  display: none;
}

.search-suggest ul.pills a:is(:hover, :focus-visible) {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--base-3);
}

/* Bouton de partage natif (GeneratePerf) : icône espacée */

.share-buttons-toggler > button {
  display: inline-flex;
  align-items: center;
  column-gap: 10px;
}

.gp-search-modal .bem-search-form {
  width: 100%;
  max-width: none;
  margin: 0;
  background: transparent;
  padding: 0;
}

.bem-search-form .search-field:focus-visible {
  outline: 0;
}

/*--------------------------------------------------------------
# 404 : suggestions (élément GP #112, après le contenu)
--------------------------------------------------------------*/

.error404 .entry-content {
  max-width: none;
}

.error404 .entry-content > p, .error404 .entry-content > form {
  max-width: 560px;
}

/*--------------------------------------------------------------
# Focus clavier des cartes à lien étendu, en-tête collant sur mobile
--------------------------------------------------------------*/

.inside-right-sidebar .related-articles li:has(> a:focus-visible) {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
  border-radius: 12px;
}

.inside-right-sidebar .related-articles li > a:focus-visible {
  outline: 0;
}

@media (max-width: 767px) {
  .site-header {
    position: sticky;
    top: 0;
    box-shadow: 0 1px 0 var(--base);
  }

  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 767px) {
  .generate-back-to-top {
    width: 44px;
    height: 44px;
    right: 16px;
    bottom: 16px;
  }
}

/* Retour en haut lisible sur les fonds olive (liseré crème) */

.generate-back-to-top {
  box-shadow: 0 0 0 2px var(--lightbrown), 0 14px 30px -12px rgb(36 42 30 / .5);
}

/* Puces du sommaire centrées sur la première ligne du lien (mesure : 5 px trop bas) */

.intoc > li::before {
  top: calc(.5lh - 3.5px);
}

@media (min-width: 1025px) {
  .toc-side .intoc > li::before {
    top: 12.5px;
  }
}

/* Bouton de la modale de recherche : GeneratePerf impose border-radius en !important sur les boutons */

.bem-search-form button {
  border-radius: 50% !important;
  align-self: center;
}

/* Gras des contenus plus léger (General Sans variable) */

.entry-content :is(strong, b), .post-hero-text p[role="doc-subtitle"] :is(strong, b) {
  font-weight: 600;
}

/* Accueil : pastille de rubrique seulement sur l'article à la une (sections déjà propres à une rubrique) */

/* Carte « À la une » : pastilles côte à côte */

/* En-tête aligné sur la colonne de contenu et le pied de page (même règle que .margin-main) */

.site-header .inside-header {
  max-width: calc(var(--gb-container-width, 1200px) + 2 * var(--gutter));
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Menu centré entre logo et recherche : GP (nav-float-right) pose margin-left:auto, qui prime sur justify-self */

@media (min-width: 768px) {
  .site-header .main-navigation {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Boutons de l'en-tête mobile : ronds (reset.css GeneratePerf force border-radius en !important sur les boutons)
   et espacés (l'écart du conteneur ne s'appliquait pas entre la loupe et le menu) */

@media (max-width: 767px) {
  .site-header .menu-toggle, .site-header .menu-bar-item > a {
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    transition: background-color .2s ease, color .2s ease;
  }

  .site-header .menu-toggle {
    margin-left: 10px;
  }

  .site-header .menu-toggle:is(:hover, :focus-visible), .site-header .menu-bar-item > a:is(:hover, :focus-visible), .main-navigation.toggled .menu-toggle {
    background: var(--contrast);
    color: var(--lightbrown);
  }

  .site-header .menu-toggle .gp-icon svg, .site-header .menu-bar-item .gp-icon svg {
    width: 18px;
    height: 18px;
  }

  .site-header .menu-toggle .gp-icon, .site-header .menu-bar-item .gp-icon {
    display: grid;
    place-items: center;
    line-height: 0;
  }
}

/*==============================================================
# Gabarits d'interface unifiés (passe de cohérence finale)
# reset.css GeneratePerf : button, input, textarea { border-radius: var(--border-radius) !important }
# → on redéfinit la variable par élément plutôt que d'empiler des !important.
==============================================================*/

/* Pilule d'action : 48 px, 15 px / 600 */

button, input[type="submit"], .button, .wp-block-button__link {
  --border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  padding: 12px 24px;
}

/* Boutons ronds (icône seule) */

.menu-toggle, .search-form .search-submit, .bem-search-form button {
  --border-radius: 50%;
}

.search-form .search-submit {
  width: 52px;
  height: 52px;
  align-self: center;
}

/* Champs : 14 px ; champs de recherche en pilule */

input, textarea, select {
  --border-radius: 14px;
}

input[type="search"], .search-field {
  --border-radius: 999px;
}

.search-form .search-field {
  height: 52px;
}

/* Lettres de la page des thèmes : pastilles rondes régulières */

.page-id-219 .entry-content button {
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
}

/* Pastille d'information : 30 px — rubrique, étiquette, chip */

.post-categories > li > a, .post-tags > li > a, .site-foot ul.pills a {
  padding: 5px 12px !important;
  font-size: 12.5px;
  line-height: 1.4;
  border: 1px solid transparent;
  border-radius: 999px;
}

.post-categories > li > a {
  font-weight: 600;
  border-color: var(--darker);
}

.post-tags > li > a {
  font-weight: 500;
  border-color: var(--base);
}

.site-foot ul.pills {
  line-height: 1.4;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.site-foot ul.pills li {
  margin: 0;
}

.site-foot ul.pills a {
  display: inline-block;
  margin: 0;
  font-weight: 500;
  border-color: rgb(251 246 230 / .3);
}

/* Pastille de navigation : 40 px — barre de rubriques, modale, 404 */

.search-suggest ul.pills a {
  padding: 8px 16px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

/* Dates : 12,5 px capitales, même espacement partout */

.generate-columns-container .entry-meta, .wp-block-latest-posts__post-date, .inside-right-sidebar .related-articles .wp-block-latest-posts__post-date {
  font-size: 12.5px !important;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Lien fléché : 15 px partout */

/* Pagination : mêmes pastilles dans les deux systèmes (GP recherche/auteur, GB rubriques) */

.paging-navigation .page-numbers {
  padding: 0 16px;
  font-size: 15px;
  font-weight: 600;
}

/* Derniers écarts de l'inventaire */

button, input[type="submit"], .button {
  border-width: 0;
}

.post-hero .post-categories > li > a, .post-hero .post-tags > li > a {
  font-size: 12.5px;
  padding: 5px 12px;
}

.paging-navigation .page-numbers.current {
  font-weight: 600;
}

.paging-navigation .page-numbers.next, .paging-navigation .page-numbers.prev {
  padding: 0 16px;
}

/* Commentaires (balisage GP : champs directs, libellés masqués) : nom et e-mail côte à côte */

.comment-form > #author {
  grid-column: 1;
}

.comment-form > #email {
  grid-column: 2;
}

.comment-form > :is(#author, #email) {
  margin-bottom: 16px;
}

@media (max-width: 767px) {
  .comment-form > :is(#author, #email) {
    grid-column: 1 / -1;
  }
}

/* En-tête d'article : chapô sans la marge reprise de reset.css (l'écart vient de la grille) */

.post-hero-text p[role="doc-subtitle"] {
  margin-top: 0;
}

/* Barre d'information (Sport) : sans liseré partiel */

/* Cartes photo : titre lisible même sur une photo claire */
