/* Refonte NewsPrk validée : blanc éditorial, noir profond et jaune signal. */
:root {
  --fond: #fff;
  --surface: #fff;
  --soft: #f5f5f5;
  --text: #111;
  --text-soft: #666;
  --accent: #f7b916;
  --accent-strong: #c78f00;
  --on-accent: #111;
  --accent-tint: #fff3c4;
  --score: #f7b916;
  --score-text: #111;
  --border: #dedede;
  --border-strong: #111;
  --footer-bg: #111;
  --footer-text: #c7c7c7;
  --on-dark: #fff;
  --on-dark-soft: #c7c7c7;
  --maxw: 1280px;
}

/* Le contenu reste immédiatement lisible, même sans défilement ou animation. */
.js .gh-rv,
.js .gh-rv.in {
  opacity: 1 !important;
  transform: none !important;
}

.php-newsroom .hl {
  color: inherit;
  box-shadow: inset 0 -.22em 0 var(--accent-tint);
}

.php-newsroom .btn--cta:hover,
.php-newsroom .gh-btn:hover {
  color: #111;
}

.newsline {
  background: #111;
  color: #fff;
  font-size: 12px;
}

.newsline-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.newsline strong {
  color: var(--accent);
}

.newsroom-header {
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(1.2) blur(14px);
}

.newsroom-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.newsroom-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: 1;
  white-space: nowrap;
}

.newsroom-brand span {
  color: #9a6d00;
}

.newsroom-nav {
  gap: 25px;
}

.newsroom-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  position: relative;
}

.newsroom-nav a[aria-current="page"]:not(.newsroom-nav-cta) {
  box-shadow: none;
}

.newsroom-nav a[aria-current="page"]:not(.newsroom-nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 3px;
  background: var(--accent);
}

.newsroom-nav-cta {
  min-height: 42px !important;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #111 !important;
  font-weight: 800;
}

.newsroom-nav-cta:hover {
  background: #111;
  color: #fff !important;
}

.newsroom-menu {
  display: none;
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: #111;
  font: inherit;
  font-weight: 700;
}

/* Accueil : le message existant reste intégralement présent, mais devient une une éditoriale. */
.php-newsroom .gh-hero {
  min-height: 590px;
  padding: 0;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.php-newsroom .gh-hero-visual {
  left: max(24px, calc((100vw - var(--maxw)) / 2 + 24px));
  top: 34px;
  width: min(720px, 54vw);
  height: 520px;
  aspect-ratio: auto;
  transform: none;
  background: var(--soft);
}

.php-newsroom .gh-hero-visual img {
  object-fit: cover;
  object-position: left center;
}

.php-newsroom .gh-hero-visual::before {
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.06) 46%, rgba(255,255,255,.96) 76%, #fff 100%);
}

.php-newsroom .gh-hero-visual::after {
  background: linear-gradient(180deg, rgba(255,255,255,.2), transparent 22%, transparent 80%, #fff 100%);
}

.php-newsroom .gh-hero-copy {
  width: min(610px, 48%);
  min-height: 590px;
  transform: none;
  padding: 52px 0;
}

.php-newsroom .gh-hero h1 {
  font-size: clamp(42px, 4.5vw, 66px);
  line-height: .98;
  max-width: 13ch;
}

.php-newsroom .gh-sub {
  max-width: 42ch;
}

.php-newsroom .gh-eyebrow {
  width: max-content;
  padding: 4px 9px;
  background: var(--accent-tint);
  color: #765300;
  letter-spacing: .08em;
}

.php-newsroom .gh-trust a {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* Bloc vivant : uniquement de vrais guides présents dans le registre actuel. */
.home-news {
  padding-block: 66px 74px;
}

.home-news-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 28px;
  padding-top: 22px;
  border-top: 3px solid var(--accent);
}

.home-news-head h2 {
  margin-top: 10px;
  font-size: clamp(34px, 4vw, 54px);
}

.home-news-head > a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  font-weight: 800;
}

.home-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, .75fr);
  gap: 42px;
}

.home-news-feature-media {
  position: relative;
  display: grid;
  min-height: 430px;
  overflow: hidden;
  background: var(--soft);
}

.home-news-feature-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-news-feature-media.is-duel {
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.home-news-feature-media.is-duel > img {
  object-fit: contain;
  background: #f5f5f5;
  padding: 26px;
}

.home-news-feature-media.is-duel > span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #111;
  font-family: var(--font-display);
  font-weight: 900;
  box-shadow: 0 0 0 8px #fff;
}

.home-news-meta {
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 650;
}

.home-news-meta strong {
  color: #936800;
}

.home-news-feature h3 {
  max-width: 22ch;
  margin-top: 9px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.02;
}

.home-news-feature h3 a:hover,
.home-news-list h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .16em;
}

.home-news-list {
  border-top: 4px solid #111;
}

.home-news-list article {
  display: grid;
  grid-template-columns: 150px minmax(0,1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.home-news-thumb {
  height: 112px;
  overflow: hidden;
  background: var(--soft);
}

.home-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-news-list .home-news-meta {
  margin-top: 0;
}

.home-news-list h3 {
  margin-top: 7px;
  font-size: 21px;
  line-height: 1.12;
}

/* Rythme éditorial commun aux sections existantes. */
.php-newsroom .home-needs,
.php-newsroom .gh-paths,
.php-newsroom .ha-guides {
  position: relative;
}

.php-newsroom .home-needs-head,
.php-newsroom .gh-paths .head,
.php-newsroom .ha-guides .head {
  padding-top: 22px;
  border-top: 2px solid var(--accent);
}

.php-newsroom .home-needs-grid {
  grid-template-columns: repeat(3, minmax(0,1fr));
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
  gap: 0;
}

.php-newsroom .home-needs-grid a {
  min-height: 142px;
  padding: 24px 20px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background .18s ease-out;
}

.php-newsroom .home-needs-grid a:nth-child(3n) {
  border-right: 0;
}

.php-newsroom .home-needs-grid a:hover {
  background: var(--accent-tint);
}

.php-newsroom .home-assistant {
  border-top: 7px solid var(--accent);
  background: #f5f5f5;
}

.php-newsroom .ha-form,
.php-newsroom .gh-path {
  border-radius: 14px;
  box-shadow: none;
}

.php-newsroom .ha-photo-card {
  border-radius: 10px;
}

.php-newsroom .home-decision-questions p {
  border-left-color: var(--accent);
}

.php-newsroom .gh-paths .head {
  text-align: left;
}

.php-newsroom .gh-paths .head > p {
  margin-left: 0;
}

.php-newsroom .gh-creed {
  border-top: 7px solid var(--accent);
  background: #111;
  color: #fff;
}

.php-newsroom .gh-creed p {
  color: #c7c7c7;
}

.php-newsroom .gh-creed a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #111;
  background: var(--accent);
  border-radius: 999px;
  padding: 0 18px;
}

.php-newsroom .ha-guide-grid .card {
  border-top: 4px solid var(--accent);
}

.php-newsroom .ha-offers {
  border-top: 7px solid var(--accent);
}

/* Grand pied de page noir inspiré de NewsPrk, avec les mentions existantes conservées. */
.php-newsroom .site-footer {
  margin-top: 84px;
  padding: 0;
  background: #151619;
  color: #fff;
}

.newsroom-footer-shell {
  padding: 54px 56px 28px;
  background: #0f0f0f;
  border-radius: 34px 34px 0 0;
}

.newsroom-footer-callout {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 48px;
  padding-bottom: 42px;
  border-bottom: 1px solid #555;
}

.newsroom-footer-callout h2 {
  max-width: 20ch;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 500;
  line-height: 1.05;
}

.newsroom-footer-action {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--accent);
  color: #111;
  font-weight: 800;
}

.newsroom-footer-grid {
  grid-template-columns: minmax(240px,1.35fr) repeat(3,minmax(130px,1fr));
  gap: 44px;
  padding: 42px 0;
}

.newsroom-footer-about .footer-note {
  max-width: 34ch;
  margin-top: 14px;
  padding: 0;
  border: 0;
  color: #c7c7c7;
}

.newsroom-footer-brand {
  color: #fff;
}

.newsroom-footer-brand span {
  color: var(--accent);
}

.newsroom-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.newsroom-footer-column h2 {
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 650;
}

.php-newsroom .newsroom-footer-column a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  color: #c7c7c7;
}

.php-newsroom .newsroom-footer-column a:hover {
  color: var(--accent);
}

.newsroom-footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid #555;
  color: #aaa;
  font-size: 12px;
}

.newsroom-footer-bottom > div {
  max-width: 78ch;
  text-align: right;
}

.newsroom-footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .newsroom-header-inner {
    flex-wrap: wrap;
    gap: 0;
  }

  .newsroom-menu {
    display: block;
  }

  .newsroom-nav {
    display: none;
    flex-basis: 100%;
    padding: 10px 0 20px;
    gap: 4px;
    flex-wrap: wrap;
  }

  .newsroom-nav.is-open {
    display: flex;
  }

  .newsroom-nav a {
    width: calc(33.333% - 4px);
    padding: 0 8px;
  }

  .newsroom-nav .newsroom-nav-cta {
    width: 100%;
    justify-content: center;
    margin-top: 7px;
  }

  .php-newsroom .gh-hero {
    min-height: 520px;
  }

  .php-newsroom .gh-hero-copy {
    min-height: 520px;
  }

  .home-news-layout {
    grid-template-columns: 1fr;
  }

  .home-news-list {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    border-top: 0;
  }

  .home-news-list article {
    display: block;
    border-top: 4px solid #111;
  }

  .home-news-thumb {
    height: 150px;
    margin-bottom: 14px;
  }

  .newsroom-footer-grid {
    grid-template-columns: repeat(3,1fr);
  }

  .newsroom-footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .newsline-inner {
    min-height: 34px;
  }

  .newsline p {
    font-size: 11px;
  }

  .newsline p:last-child {
    display: none;
  }

  .newsroom-header-inner {
    min-height: 72px;
  }

  .newsroom-brand {
    font-size: 28px;
  }

  .newsroom-nav a {
    width: calc(50% - 4px);
  }

  .php-newsroom .gh-hero {
    min-height: 0;
    padding-bottom: 30px;
  }

  .php-newsroom .gh-hero-visual {
    position: relative;
    left: auto;
    top: auto;
    width: calc(100% - 36px);
    height: 245px;
    margin-inline: auto;
  }

  .php-newsroom .gh-hero-visual::before {
    background: none;
  }

  .php-newsroom .gh-hero-visual::after {
    background: linear-gradient(180deg, transparent 70%, #fff 100%);
  }

  .php-newsroom .gh-hero-copy {
    width: 100%;
    min-height: 0;
    padding: 18px 24px 0;
  }

  .php-newsroom .gh-hero h1 {
    font-size: 38px;
    max-width: 12ch;
  }

  .php-newsroom .gh-ctas {
    align-items: stretch;
  }

  .php-newsroom .gh-ctas .gh-btn {
    width: 100%;
  }

  .home-news {
    padding-block: 50px 56px;
  }

  .home-news-head {
    display: block;
    padding-top: 18px;
  }

  .home-news-head > a {
    margin-top: 18px;
  }

  .home-news-feature-media {
    min-height: 280px;
  }

  .home-news-feature-media.is-duel > img {
    padding: 10px;
  }

  .home-news-feature-media.is-duel > span {
    width: 46px;
    height: 46px;
    box-shadow: 0 0 0 5px #fff;
  }

  .home-news-feature h3 {
    font-size: 31px;
  }

  .home-news-list {
    display: block;
    margin-top: 34px;
  }

  .home-news-list article {
    display: grid;
    grid-template-columns: 112px minmax(0,1fr);
    gap: 15px;
    padding: 18px 0;
    border-top: 1px solid var(--border);
  }

  .home-news-list article:first-child {
    border-top: 4px solid #111;
  }

  .home-news-thumb {
    height: 92px;
    margin-bottom: 0;
  }

  .home-news-list h3 {
    font-size: 18px;
  }

  .php-newsroom .home-needs-grid {
    display: block;
  }

  .php-newsroom .home-needs-grid a {
    min-height: 112px;
    border-right: 0;
    padding-inline: 8px;
  }

  .php-newsroom .ha-form {
    border-radius: 0;
    margin-inline: -6px;
  }

  .php-newsroom .gh-creed {
    text-align: left;
  }

  .newsroom-footer-shell {
    width: calc(100% - 20px);
    padding: 36px 22px 24px;
    border-radius: 24px 24px 0 0;
  }

  .newsroom-footer-callout {
    display: block;
    padding-bottom: 30px;
  }

  .newsroom-footer-callout h2 {
    max-width: 13ch;
    font-size: 32px;
  }

  .newsroom-footer-action {
    width: 100%;
    margin-top: 24px;
  }

  .newsroom-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
    padding: 34px 0;
  }

  .newsroom-footer-about {
    grid-column: 1 / -1;
  }

  .newsroom-footer-column h2 {
    font-size: 18px;
  }

  .newsroom-footer-bottom {
    display: block;
  }

  .newsroom-footer-bottom > div {
    margin-top: 12px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .php-newsroom *,
  .php-newsroom *::before,
  .php-newsroom *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* Accueil éditorial validé : une produit, nouveautés et guides en priorité. */
.php-newsroom-home .wrap:not(:where(.newsline-inner, .newsroom-header-inner)) {
  width: min(1280px, calc(100% - 80px));
  max-width: none;
  padding-inline: 0;
}

.php-newsroom-home .site-footer { background: #fff; }
.php-newsroom-home .wrap.newsroom-footer-shell { padding: 54px 56px 28px; background: #111; }
.php-newsroom-home .newsroom-footer-grid { grid-template-columns: minmax(280px, 1.45fr) 1fr 1fr; gap: 64px; }
.php-newsroom-home .newsroom-footer-grid .newsroom-footer-brand { display: inline-flex; min-height: 44px; padding: 0; font-size: 30px; color: #fff; }
.php-newsroom-home .newsroom-footer-about .footer-note { font-size: 17px; }
.php-newsroom-home .newsroom-footer-column a { font-size: 16px; min-height: 44px; }
.php-newsroom-home .editorial-section-head { position: relative; }
.php-newsroom-home .editorial-section-head::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #fff; }
.php-newsroom-home .editorial-adviser { border-top-color: var(--accent); }

@media (max-width: 900px) {
  .php-newsroom-home .wrap:not(:where(.newsline-inner, .newsroom-header-inner)) { width: calc(100% - 48px); }
  .php-newsroom-home .newsroom-footer-grid { gap: 34px; grid-template-columns: 1fr 1fr; }
  .php-newsroom-home .newsroom-footer-about { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .php-newsroom-home .wrap.newsroom-footer-shell { width: calc(100% - 20px); padding: 36px 22px 24px; }
  .php-newsroom-home .newsroom-footer-grid { gap: 34px 24px; }
  .php-newsroom-home .newsroom-footer-about .footer-note { font-size: 15px; }
  .php-newsroom-home .newsroom-footer-column a { font-size: 14px; }
}

@media (max-width: 620px) {
  .php-newsroom-home .wrap:not(:where(.newsline-inner, .newsroom-header-inner)) { width: calc(100% - 36px); }
}

@media (max-width: 360px) {
  .php-newsroom-home .wrap:not(:where(.newsline-inner, .newsroom-header-inner)) { width: calc(100% - 28px); }
}

.editorial-home {
  overflow: clip;
  background: #fff;
}

.editorial-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(300px, .8fr);
  gap: 34px;
  padding-top: 34px;
}

.editorial-lead-story {
  min-width: 0;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.editorial-lead-visual {
  position: relative;
  display: block;
  min-height: 430px;
  overflow: hidden;
  background: #f5f5f5;
}

.editorial-lead-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.editorial-story-status {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  padding: 9px 13px;
  border-radius: 4px;
  background: var(--accent);
  color: #111;
  font-size: 13px;
  font-weight: 800;
}

.editorial-lead-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding-top: 22px;
}

.editorial-story-meta {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 650;
}

.editorial-story-meta strong {
  color: #936800;
  font-weight: 800;
}

.editorial-lead-copy .editorial-story-meta {
  grid-column: 1 / -1;
}

.editorial-lead-copy h1 {
  max-width: none;
  font-size: clamp(38px, 4.1vw, 62px);
  font-weight: 650;
  line-height: .98;
  letter-spacing: -.035em;
}

.editorial-lead-copy h1 a,
.editorial-rail-story h2 a,
.editorial-guide-feature h3 a,
.editorial-guide-row h3 a {
  color: inherit;
  text-decoration: none;
}

.editorial-lead-copy h1 a:hover,
.editorial-rail-story h2 a:hover,
.editorial-guide-feature h3 a:hover,
.editorial-guide-row h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .15em;
}

.editorial-lead-deck {
  align-self: start;
  max-width: 65ch;
  color: #555;
  font-size: 17px;
}

.editorial-story-link {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  min-height: 44px;
  margin-top: 2px;
  color: #111;
  font-weight: 800;
  text-decoration: none;
}

.editorial-lead-rail {
  align-self: start;
}

.editorial-rail-title,
.editorial-pulse h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}

.editorial-rail-title::before,
.editorial-pulse h2::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.editorial-rail-title::after,
.editorial-pulse h2::after {
  height: 2px;
  flex: 1;
  background: var(--accent);
  content: "";
}

.editorial-rail-story {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.editorial-rail-story > a {
  display: block;
  height: 106px;
  overflow: hidden;
  background: #f5f5f5;
}

.editorial-rail-story img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.editorial-rail-story h2 {
  margin-top: 7px;
  font-size: 19px;
  line-height: 1.12;
}

.editorial-rail-story > .editorial-rail-duel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 3px;
}

.editorial-rail-duel span { color: #936800; font-size: 11px; font-weight: 800; }

.editorial-rail-all,
.editorial-section-head > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 38px;
  margin-top: 16px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  font-weight: 800;
  text-decoration: none;
}

.editorial-rail-all:hover,
.editorial-section-head > a:hover {
  background: #111;
  color: #fff;
}

.editorial-pulse {
  margin-top: 42px;
  border-block: 1px solid var(--border);
  background: #f5f5f5;
}

.editorial-pulse-grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 34px;
  padding-block: 26px;
}

.editorial-pulse-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.editorial-pulse-list li {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) max-content;
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.editorial-pulse-list li:first-child { padding-top: 0; }
.editorial-pulse-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.editorial-pulse-list a { font-weight: 700; text-decoration: none; }
.editorial-pulse-list a:hover { text-decoration: underline; text-underline-offset: .2em; }

.editorial-pulse-list time,
.editorial-pulse-list span {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.editorial-pulse-list li > span {
  white-space: nowrap;
}

.editorial-section {
  margin-top: 88px;
}

.editorial-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding-top: 24px;
  border-top: 2px solid var(--accent);
}

.editorial-section-head h2 {
  max-width: 18ch;
  font-size: clamp(36px, 4vw, 54px);
}

.editorial-section-head p {
  max-width: 50ch;
  margin-top: 12px;
  color: var(--text-soft);
}

.editorial-need-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid #111;
}

.editorial-need-grid a {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 152px;
  padding: 24px 20px 26px;
  border-right: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
}

.editorial-need-grid a:last-child { border-right: 0; }
.editorial-need-grid a:hover { background: var(--accent-tint); }

.editorial-need-grid span {
  width: max-content;
  padding: 3px 8px;
  background: var(--accent-tint);
  color: #111;
  font-size: 12px;
  font-weight: 800;
}

.editorial-need-grid strong {
  align-self: center;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.08;
}

.editorial-need-grid small {
  color: var(--text-soft);
  font-size: 13px;
}

.editorial-guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(370px, .85fr);
  gap: 42px;
}

.editorial-guide-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f5f5f5;
}

.editorial-guide-image img,
.editorial-guide-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-guide-feature .editorial-story-meta { margin-top: 17px; }

.editorial-guide-feature h3 {
  max-width: 19ch;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.03;
}

.editorial-guide-feature > p:last-child,
.editorial-guide-row div > p:last-child {
  margin-top: 12px;
  color: var(--text-soft);
}

.editorial-guide-stack {
  border-top: 4px solid var(--accent);
}

.editorial-guide-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.editorial-guide-row > a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f5f5f5;
}

.editorial-guide-row h3 {
  margin-top: 8px;
  font-size: 23px;
}

.editorial-compare {
  margin-top: 100px;
  padding: 64px 0;
  border-top: 7px solid var(--accent);
  background: #111;
  color: #fff;
}

.editorial-compare-inner {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(450px, 1.18fr);
  gap: 66px;
  align-items: center;
}

.editorial-compare-copy h2 {
  max-width: 13ch;
  font-size: clamp(40px, 4.5vw, 66px);
}

.editorial-compare-copy p {
  max-width: 48ch;
  margin-top: 20px;
  color: #c7c7c7;
}

.editorial-compare-copy > a,
.editorial-adviser > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 28px;
  padding: 0 22px;
  border-radius: 14px;
  background: var(--accent);
  color: #111;
  font-weight: 800;
  text-decoration: none;
}

.editorial-compare-cards {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 15px;
  align-items: center;
}

.editorial-compare-cards article {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 290px;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  color: #111;
}

.editorial-compare-cards img {
  width: 100%;
  height: 200px;
  object-fit: contain;
}

.editorial-compare-cards strong {
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.05;
}

.editorial-compare-cards > span {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
}

.editorial-adviser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
  align-items: end;
  padding-block: 35px;
  border-block: 1px solid #111;
}

.editorial-adviser h2 { font-size: clamp(34px, 4vw, 52px); }
.editorial-adviser p { max-width: 62ch; margin-top: 12px; color: var(--text-soft); }
.editorial-adviser > a { min-width: 210px; margin-top: 0; }

/* F-ASPI-01 : limiter seulement le visuel de une sur ordinateur, sans recadrage. */
@media (min-width: 761px) {
  .editorial-lead-visual { min-height: 0; height: clamp(180px, 34vh, 300px); }
  .editorial-lead-visual img { height: 100%; object-fit: contain; }
}

@media (max-width: 1040px) {
  .editorial-lead { grid-template-columns: minmax(0, 1.5fr) minmax(270px, .8fr); }
  .editorial-lead-visual { min-height: 0; }
  .editorial-lead-copy { display: block; }
  .editorial-lead-deck { margin-top: 16px; }
  .editorial-story-link { margin-top: 10px; }
  .editorial-need-grid { grid-template-columns: 1fr 1fr; }
  .editorial-need-grid a:nth-child(2) { border-right: 0; }
  .editorial-need-grid a:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .editorial-guide-layout { grid-template-columns: 1fr; }
  .editorial-guide-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 0; }
  .editorial-guide-row { border-top: 4px solid var(--accent); }
  .editorial-compare-inner { gap: 36px; }
}

@media (max-width: 760px) {
  .editorial-lead { display: block; padding-top: 18px; }
  .editorial-lead-visual { min-height: 0; aspect-ratio: 4 / 3; }
  .editorial-lead-visual img { height: 100%; object-fit: contain; }
  .editorial-story-status { left: 12px; bottom: 12px; }
  .editorial-lead-copy { padding-top: 16px; }
  .editorial-lead-copy h1 { max-width: none; font-size: 38px; }
  .editorial-lead-deck { font-size: 16px; }
  .editorial-lead-rail { margin-top: 36px; }
  .editorial-rail-story { grid-template-columns: 112px 1fr; }
  .editorial-rail-story > a { height: 96px; }
  .editorial-rail-story h2 { font-size: 18px; }
  .editorial-rail-all { width: 100%; }
  .editorial-pulse { margin-top: 32px; }
  .editorial-pulse-grid { display: block; padding-block: 22px; }
  .editorial-pulse h2 { margin-bottom: 18px; }
  .editorial-pulse-list li { grid-template-columns: 52px 1fr; }
  .editorial-pulse-list span { display: none; }
  .editorial-section { margin-top: 64px; }
  .editorial-section-head { display: block; padding-top: 20px; }
  .editorial-section-head h2 { font-size: 36px; }
  .editorial-need-grid { display: block; }
  .editorial-need-grid a { min-height: 122px; padding: 18px 8px; border-right: 0; border-bottom: 1px solid var(--border); }
  .editorial-need-grid a:last-child { border-bottom: 0; }
  .editorial-guide-layout { gap: 34px; }
  .editorial-guide-feature h3 { font-size: 31px; }
  .editorial-guide-stack { display: block; }
  .editorial-guide-row { grid-template-columns: 120px 1fr; gap: 15px; border-top: 1px solid var(--border); }
  .editorial-guide-row:first-child { border-top: 4px solid var(--accent); }
  .editorial-guide-row h3 { font-size: 20px; }
  .editorial-guide-row div > p:last-child { display: none; }
  .editorial-compare { margin-top: 64px; padding: 48px 0; }
  .editorial-compare-inner { display: block; }
  .editorial-compare-copy h2 { font-size: 42px; }
  .editorial-compare-cards { margin-top: 38px; gap: 8px; }
  .editorial-compare-cards article { min-height: 210px; padding: 10px; }
  .editorial-compare-cards img { height: 140px; }
  .editorial-compare-cards strong { font-size: 17px; }
  .editorial-compare-cards > span { font-size: 15px; }
  .editorial-adviser { display: block; padding-block: 28px; }
  .editorial-adviser > a { width: 100%; margin-top: 24px; }
}

@media (max-width: 380px) {
  .editorial-lead-copy h1 { font-size: 34px; }
  .editorial-rail-story { grid-template-columns: 96px 1fr; }
  .editorial-rail-story > a { height: 84px; }
  .editorial-guide-row { grid-template-columns: 100px 1fr; }
  .editorial-compare-cards img { height: 115px; }
}


/* Signature C choisie le 8 octobre : proportions conservées sur les deux fonds. */
.newsroom-brand .brand-mark { display: block; width: 202px; height: 40px; max-width: 100%; object-fit: contain; object-position: left center; }
.newsroom-footer-brand .brand-mark { width: 220px; height: 44px; }
@media (max-width: 480px) { .newsroom-brand .brand-mark { width: 190px; height: 38px; } }

/* Finition outils : même journal, mêmes réponses et mêmes calculs. */
.php-newsroom .tools-hero { background:var(--bg); background-image:none; }
.php-newsroom .tools-hero::before,.php-newsroom .tools-hero::after { background-image:none; }
.tools-hero + .home-assistant .ha-form { border-radius:14px; box-shadow:none; }
.tools-hero + .home-assistant .ha-fields > .ha-step { margin:0; }
.tools-hero + .home-assistant .ha-photo-option input:focus-visible + .ha-photo-card { outline:3px solid var(--text); outline-offset:4px; }
.tools-hero + .home-assistant .ha-edit-answers,
.tools-hero + .home-assistant .ha-maintenance a,
.tools-hero + .home-assistant .ha-housing-links a { display:inline-flex; align-items:center; min-height:44px; color:var(--text); text-decoration:underline; text-decoration-color:var(--accent); text-underline-offset:5px; }
.tools-panel .tools-optional,.tools-secondary .tools-optional { border-top:2px solid var(--accent); border-bottom:1px solid var(--border); }
.tools-optional > summary { position:relative; display:block; padding:22px 48px 22px 0; cursor:pointer; list-style:none; }
.tools-optional > summary::-webkit-details-marker { display:none; }
.tools-optional > summary::before,.tools-optional > summary::after { content:""; position:absolute; right:12px; top:32px; width:18px; height:2px; background:var(--text); }
.tools-optional > summary::after { transform:rotate(90deg); }
.tools-optional[open] > summary::after { transform:none; }
.tools-optional > summary h2 { margin:0; font-size:var(--fs-h3); line-height:1.15; }
.tools-optional > summary > span { display:block; margin-top:8px; color:var(--text-soft); }
.tools-optional-content { padding-bottom:28px; }
.tools-panel .cost-tool input,.tools-panel .cost-tool select,.tools-secondary .privacy-filters select { font-size:16px; caret-color:#936800; }
.tools-panel .cost-tool input::placeholder { color:var(--text-soft); opacity:1; }
.tools-panel .cost-totals p { font-family:var(--font-display); font-variant-numeric:tabular-nums; }
.tools-secondary .privacy-card > img { width:100%; height:160px; object-fit:contain; margin-bottom:18px; }
.tools-secondary .privacy-pages { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:16px; margin-top:24px; }
.tools-secondary .privacy-pages[hidden] { display:none; }
.tools-secondary .privacy-pages button:disabled { opacity:.55; cursor:default; }
.tools-evidence .card { border-left:1px solid var(--border); border-top:2px solid var(--accent); }
.tools-jump a:focus-visible,.tools-optional > summary:focus-visible,.tools-panel input:focus-visible,.tools-panel select:focus-visible,.tools-secondary select:focus-visible { outline:3px solid var(--text); outline-offset:4px; }
.tools-hero + .home-assistant ::selection,.tools-panel ::selection,.tools-secondary ::selection { background:var(--accent); color:var(--text); }
@media(max-width:700px) {
  .tools-hero + .home-assistant .ha-animal-choice .ha-photo-options { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tools-hero + .home-assistant .ha-animal-choice .ha-photo-caption { min-height:60px; }
  .tools-jump { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tools-jump > .gh-btn { grid-column:1/-1; justify-content:center; }
  .tools-jump .chip { width:100%; padding-inline:10px; font-size:14px; }
  .tools-optional > summary h2 { font-size:26px; }
}
