/* Campus Stratégie — thème Grav
   Palette : --accent (rouge de marque, configurable), #242423 encre,
   #E7E5E1 traits, #F6F5F3 fond footer, #8a8782 texte discret. */

:root {
  --accent: #D7382C;
  --ink: #242423;
  --ink-soft: #44423f;
  --rule: #E7E5E1;
  --muted: #8a8782;
  --footer-bg: #F6F5F3;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: #ffffff;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

h1, h2, h3 { font-family: 'Source Serif 4', Georgia, serif; margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.eyebrow--accent { color: var(--accent); }
.eyebrow--muted { color: var(--muted); }

.link-underline { text-decoration: underline; text-underline-offset: 3px; }

/* page wrapper — footer collé en bas même si le contenu est court */
.site-wrap {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* bande du haut */
.top-strip { background: var(--accent); color: #fff; padding: 7px 0; flex: 0 0 auto; }
.top-strip__inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; padding-top: 0; padding-bottom: 0;
}

/* masthead */
.masthead { border-bottom: 3px solid var(--ink); flex: 0 0 auto; }
.masthead__inner {
  padding-top: 22px; padding-bottom: 22px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand__icon { height: 56px; width: auto; }
.brand__icon--sm { height: 32px; }
.brand__name {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 800;
  font-size: 27px;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.brand__name--sm { font-size: 17px; }

.nav-main { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.nav-main a { font-weight: 600; font-size: 15px; }
.btn {
  background: var(--accent); color: #fff; padding: 10px 18px;
  border-radius: 3px; font-weight: 700; font-size: 14px;
}
.btn:hover { opacity: 0.88; }
.btn--block { display: block; text-align: center; margin-top: 4px; }

/* main */
.main-content { flex: 1 1 auto; width: 100%; }

/* hero */
.hero {
  display: flex; gap: 48px; padding: 52px 0 44px;
  border-bottom: 1px solid var(--rule); flex-wrap: wrap;
}
.hero__story { flex: 999 1 420px; min-width: 0; }
.hero__title { font-size: 46px; line-height: 1.1; font-weight: 800; margin: 14px 0 16px; letter-spacing: -0.01em; }
.hero__excerpt { font-size: 18px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 18px; max-width: 54ch; }
.read-more { font-weight: 700; font-size: 15px; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.hero__media { flex: 1 1 320px; min-width: 260px; margin-top: 8px; }
.hero__media .thumb { aspect-ratio: 4 / 3; }

/* thematiques */
.themes { padding: 32px 0 36px; border-bottom: 1px solid var(--rule); }
.section-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--ink); padding: 8px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
}
.chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* grille d'articles — cassée, pas un 3x2 uniforme */
.latest { padding: 40px 0 8px; }
.article-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 32px 28px;
}
.card-link:hover .card__title,
.card-link:hover h3 { text-decoration: underline; text-underline-offset: 3px; }

.card--lead { grid-column: span 4; grid-row: span 2; }
.card--lead .thumb { aspect-ratio: 16 / 10; margin-bottom: 16px; }
.card__title--lg { font-size: 24px; font-weight: 700; font-family: 'Source Serif 4', serif; line-height: 1.25; margin: 10px 0 8px; }
.card__excerpt { font-size: 15px; line-height: 1.5; color: #55534f; margin: 0; max-width: 46ch; }
.card__date { font-size: 13px; color: var(--muted); display: block; margin-top: 10px; }

.card--brief { grid-column: span 2; }
.card--brief-divider { border-bottom: 1px solid var(--rule); padding-bottom: 20px; }
.card--brief .card__title { font-size: 17px; font-weight: 700; font-family: 'Inter', sans-serif; line-height: 1.35; margin: 8px 0 6px; }
.card--brief .card__date { display: inline; margin-top: 0; }

.card--block { grid-column: span 2; }
.card--block .thumb { aspect-ratio: 16 / 10; margin-bottom: 14px; }
.card__title--sm { font-size: 18px; font-weight: 700; font-family: 'Inter', sans-serif; line-height: 1.3; margin: 8px 0 6px; }
.card--block .card__date { display: inline; margin-top: 0; }

.empty-note { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }

/* aplats de couleur en guise de visuels (à remplacer par de vraies photos) */
.thumb { width: 100%; }
img.thumb { display: block; object-fit: cover; }
.thumb--1 { background: var(--accent); }
.thumb--2 { background: var(--ink); }
.thumb--3 { background: #B8863B; }
.thumb--4 { background: #2B5F57; }
.thumb--5 { background: #2E3A5C; }

/* produits : discret, pas une vitrine */
.products { padding: 24px 0 48px; border-top: 1px solid var(--rule); margin-top: 36px; }
.products__list { display: flex; flex-wrap: wrap; gap: 0; }
.prod-link {
  display: flex; align-items: baseline; gap: 10px;
  padding: 12px 24px; border-right: 1px solid var(--rule);
}
.prod-link:first-child { padding-left: 0; }
.prod-link:last-child { border-right: none; padding-right: 0; }
.prod-link:hover { color: var(--accent); }
.prod-link__title { font-weight: 700; font-size: 15px; }
.prod-link__price { font-size: 13px; color: var(--muted); }

/* footer */
.site-footer { border-top: 3px solid var(--ink); background: var(--footer-bg); flex: 0 0 auto; }
.footer__inner {
  padding: 40px 24px; display: flex; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.footer__brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.footer__tagline { font-size: 13px; color: #6a6865; line-height: 1.5; margin: 0; }
.footer__nav { display: flex; gap: 48px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 14px; }
.footer__bottom { border-top: 1px solid var(--rule); }
.footer__bottom .wrap { padding: 16px 24px; font-size: 13px; color: var(--muted); }

/* page article */
.back-link { padding: 20px 0 0; }
.back { font-size: 13px; font-weight: 700; color: #6a6865; }
.back:hover { text-decoration: underline; text-underline-offset: 3px; }

.article-layout { display: flex; gap: 56px; padding: 24px 0 56px; flex-wrap: wrap; }

.article { flex: 999 1 560px; min-width: 0; max-width: 72ch; }
.article__title { font-size: 40px; line-height: 1.14; font-weight: 800; margin: 14px 0 18px; letter-spacing: -0.01em; }
.article__meta {
  display: flex; gap: 16px; align-items: center; font-size: 13px; color: var(--muted);
  margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--rule);
}
.article__media.thumb { aspect-ratio: 16 / 9; margin-bottom: 28px; }
.article__body { font-size: 17px; line-height: 1.7; color: #2d2c2a; }
.article__body p { margin: 0 0 20px; }
.article__body h2 { font-size: 24px; font-weight: 700; font-family: 'Inter', sans-serif; margin: 12px 0 20px; }
.article__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.article__body a:hover { text-decoration: none; }
.article__body p:has(> a:only-child) { margin: 0 0 8px; }
.article__tags { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 10px; }
.tag { border: 1px solid var(--ink); padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; }

.article__sidebar { flex: 1 1 280px; min-width: 260px; max-width: 340px; display: flex; flex-direction: column; gap: 24px; }
.sidebar-card { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.sidebar-card--product { border: 1px solid var(--ink); }
.sidebar-card--links { border: 1px solid var(--rule); gap: 14px; }
.sidebar-card__title { font-size: 19px; font-weight: 700; font-family: 'Inter', sans-serif; }
.sidebar-card__text { font-size: 14px; line-height: 1.5; color: var(--ink-soft); margin: 0; }
.sidebar-link { font-size: 15px; font-weight: 600; line-height: 1.4; }

/* pages simples (mentions légales, contact, cgv...) */
.simple-page { padding: 40px 0 56px; max-width: 72ch; }
.simple-page__title { font-size: 34px; font-weight: 800; margin-bottom: 20px; }
.simple-page__body { font-size: 16px; line-height: 1.7; }

/* repli mobile */
@media (max-width: 720px) {
  .hero__title { font-size: 32px; }
  .article__title { font-size: 28px; }
  .card--lead, .card--brief, .card--block { grid-column: span 6; }
}

/* derniers articles : une à la une + 3 en bref à droite */
.latest-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px 40px; margin-bottom: 36px; }
.latest-top .card--lead { grid-column: auto; grid-row: auto; }
.latest-side { display: flex; flex-direction: column; gap: 0; }
.latest-side .card--brief { grid-column: auto; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.latest-side .card--brief:first-child { padding-top: 0; }
.latest-side .card--brief:last-child { border-bottom: none; }
.card--brief .card__excerpt, .card--block .card__excerpt { font-size: 14px; margin: 4px 0 8px; }
.card--lead .read-more, .card--brief .read-more, .card--block .read-more { display: inline-block; font-size: 14px; }

/* bandeau publicitaire (placeholder gris) */
.ad-banner {
  width: 100%; max-width: 728px; aspect-ratio: 728 / 90; margin: 0 auto 36px;
  background: #d9d8d5; color: #8a8883; display: flex; align-items: center; justify-content: center;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
}

/* produits avec visuel */
.products__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.products__list { gap: 28px; }
.prod-card { display: flex; flex-direction: column; gap: 6px; flex: 1 1 220px; max-width: 320px; }
.prod-card .thumb { aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 8px; }
.prod-card:hover .prod-link__title { color: var(--accent); }
.section-label a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 720px) {
  .latest-top { grid-template-columns: minmax(0, 1fr); }
}

/* accessibilité : texte lisible par les moteurs et lecteurs d'écran, invisible à l'écran */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* en-tête des pages thématiques */
.page-head { padding: 40px 0 28px; border-bottom: 1px solid var(--rule); }
.page-head .back { display: inline-block; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.page-head .back:hover { color: var(--accent); }
.page-head .hero__title { font-size: 40px; margin: 10px 0 12px; }
.page-head .hero__excerpt { margin-bottom: 12px; }
.page-head .chips { margin-top: 22px; }
.chip--active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* index des thématiques : cartes */
.theme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; padding: 36px 0 56px; }
.theme-card { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--rule); padding-bottom: 22px; background: #fff; transition: border-color .15s, transform .15s; }
.theme-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.theme-card .thumb { aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 8px; }
.theme-card > :not(.thumb) { margin-left: 20px; margin-right: 20px; }
.theme-card__title { font-size: 22px; font-weight: 800; line-height: 1.2; }
.theme-card__text { font-size: 15px; line-height: 1.5; color: var(--ink-soft); margin-top: 0; margin-bottom: 0; }
.theme-card__last { font-size: 13px; color: var(--muted); }
.theme-card .read-more { align-self: flex-start; font-size: 14px; margin-top: 6px; }

@media (max-width: 960px) { .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .theme-grid { grid-template-columns: minmax(0, 1fr); } .page-head .hero__title { font-size: 30px; } }

/* publicités (remplaçables par REVIVE) */
.ad { margin: 0 auto 36px; }
.ad img { display: block; width: 100%; height: auto; }
.ad--wide { max-width: 970px; aspect-ratio: 970 / 250; margin: 8px auto 40px; }
.ad--wide img { height: 100%; object-fit: cover; }
.ad--tall { width: 300px; max-width: 100%; aspect-ratio: 300 / 1050; margin: 0; }
.ad--tall img { height: 100%; object-fit: cover; }
.eyebrow a { color: inherit; }
.eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }
.products { margin-bottom: 8px; }
.latest .ad--wide { margin-top: 36px; }

/* page blog : liste + colonne pub */
.blog-list { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.blog-list__items { list-style: disc; padding-left: 20px; margin: 0; }
.blog-list__items li { margin: 0 0 16px; }
.blog-list__title { font-weight: 600; font-size: 17px; line-height: 1.35; }
.blog-list__title:hover { text-decoration: underline; text-underline-offset: 3px; }
.blog-list__items .card__date { margin-top: 2px; }
.blog-list__items .card__date a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .blog-list { grid-template-columns: 1fr; gap: 32px; }
  .blog-list__side { display: flex; justify-content: center; }
}

/* ===== refonte accueil (structure type presse : 2 colonnes, dense) ===== */
.tag-label {
  display: inline-block; background: var(--accent); color: #fff;
  font-family: 'Source Serif 4', Georgia, serif; font-weight: 800; font-size: 18px;
  padding: 7px 14px; margin: 0 0 18px; letter-spacing: 0; text-transform: none; line-height: 1.2;
}
.tag-label--sm { font-size: 14px; padding: 5px 10px; margin: 0 6px 0 0; }

.home-top { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 0 40px; padding: 36px 0 8px; }
.home-top__main { min-width: 0; padding-right: 40px; border-right: 1px solid var(--rule); }
.home-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.home-hero__title { font-size: 30px; line-height: 1.12; font-weight: 800; margin: 10px 0 12px; letter-spacing: -0.01em; }
.card-link:hover .home-hero__title { text-decoration: underline; text-underline-offset: 3px; }
.home-hero__excerpt { font-size: 15px; line-height: 1.5; color: var(--ink-soft); margin: 0 0 14px; }
.home-hero__more { list-style: none; margin: 0 0 16px; padding: 0; }
.home-hero__more li { border-top: 1px solid var(--rule); padding: 10px 0; font-family: 'Source Serif 4', Georgia, serif; font-size: 16px; line-height: 1.3; font-weight: 600; }
.home-hero__more a:hover { text-decoration: underline; text-underline-offset: 3px; }
.home-hero__media img, .home-hero__media .thumb { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.home-chips { padding: 20px 0 8px; align-items: center; }

.home-top__side { min-width: 0; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { border-bottom: 1px solid var(--rule); }
.side-list li:last-child { border-bottom: none; }
.side-list__item { display: flex; gap: 14px; justify-content: space-between; align-items: flex-start; padding: 14px 0; }
.side-list__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.side-list__title { font-family: 'Source Serif 4', Georgia, serif; font-size: 17px; line-height: 1.25; font-weight: 700; }
.side-list__item:hover .side-list__title { text-decoration: underline; text-underline-offset: 3px; }
.side-list__thumb { flex: 0 0 96px; width: 96px; height: 72px; object-fit: cover; }

.home-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0 56px; padding: 8px 0 24px; }
.home-body__main { min-width: 0; }
.article-grid--main { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.article-grid--main .card--block { grid-column: auto; }
.home-body__all { margin: 28px 0 0; }
.sticky-ad { position: sticky; top: 16px; }
.home-products { padding: 32px 0 56px; border-top: 1px solid var(--rule); }
.home-products .products__head { margin-bottom: 4px; }

@media (max-width: 960px) {
  .home-top { grid-template-columns: minmax(0, 1fr); }
  .home-top__main { padding-right: 0; border-right: none; }
  .home-top__side { margin-top: 24px; }
  .home-body { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .home-body__side { display: flex; justify-content: center; }
  .article-grid--main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .home-hero { grid-template-columns: minmax(0, 1fr); }
  .home-hero__media { order: -1; }
  .article-grid--main { grid-template-columns: minmax(0, 1fr); }
  .side-list__thumb { flex-basis: 84px; width: 84px; height: 64px; }
}

/* En bref / agenda */
.tag-label--gap { margin-top: 28px; }
.bref-side, .agenda-side { list-style: none; margin: 0 0 12px; padding: 0; }
.bref-side li, .agenda-side li { border-bottom: 1px solid var(--rule); padding: 10px 0; font-size: 15px; line-height: 1.35; }
.bref-side li a { font-family: 'Source Serif 4', Georgia, serif; font-weight: 700; display: block; }
.bref-side li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bref-side .card__date { margin-top: 3px; }
.agenda-side strong { display: block; color: var(--accent); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.bref-list { list-style: none; margin: 0; padding: 0; }
.bref-list__item { padding: 20px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 6px; }
.bref-list__item:first-child { padding-top: 0; }
.bref-list__title { font-family: 'Source Serif 4', Georgia, serif; font-size: 22px; font-weight: 800; line-height: 1.2; }
.bref-list__title:hover { text-decoration: underline; text-underline-offset: 3px; }
.bref-list .card__date a, .bref-source a { text-decoration: underline; text-underline-offset: 3px; }
.bref-source { margin-top: 28px; padding: 16px 18px; border: 1px solid var(--rule); background: var(--footer-bg); display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; }
.agenda { padding: 28px 0 56px; max-width: 900px; }
.agenda-list { list-style: none; margin: 0 0 32px; padding: 0; }
.agenda-list__item { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.agenda-list__date { font-family: 'Source Serif 4', Georgia, serif; font-weight: 800; font-size: 17px; }
.agenda-list__body { line-height: 1.45; }
.agenda-list__src { display: inline-block; margin-left: 6px; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.agenda-list--past { opacity: .7; }
@media (max-width: 640px) { .agenda-list__item { grid-template-columns: 1fr; gap: 4px; } }

/* publicité : format standard, mention "Publicité", dimensions fixes */
.ad { text-align: center; }
.ad__label { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; text-align: center; }
.ad--wide { width: 970px; max-width: 100%; aspect-ratio: auto; }
.ad--wide a { display: block; aspect-ratio: 970 / 250; }
.ad--wide img { width: 100%; height: 100%; object-fit: cover; }
.ad--tall { aspect-ratio: auto; }
.ad--tall a { display: block; aspect-ratio: 300 / 1050; }
.ad--tall img { width: 100%; height: 100%; object-fit: cover; }
.home-brefs { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 0 48px; padding: 8px 0 24px; }
.home-brefs__col { min-width: 0; }
@media (max-width: 800px) { .home-brefs { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* ===== accueil : 2 colonnes 70/30 sur toute la hauteur ===== */
.home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 0 40px; padding: 36px 0 56px; align-items: start; }
.home-main { min-width: 0; padding-right: 40px; border-right: 1px solid var(--rule); }
.home-side { min-width: 0; }
.home-side__ad { margin: 28px 0 8px; display: flex; justify-content: center; }
.home-block { padding-top: 12px; }
.home-block + .home-block { margin-top: 20px; padding-top: 28px; border-top: 1px solid var(--rule); }
.home-block__all { margin: 28px 0 0; }
.home-main .home-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.home-hero__excerpt, .article-grid--main .card__excerpt { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.home-hero__excerpt { -webkit-line-clamp: 5; line-clamp: 5; }
.article-grid--main .card__excerpt { -webkit-line-clamp: 4; line-clamp: 4; }
.ad--leader { margin: 4px auto 32px; max-width: 728px; }
.ad--leader .ad-banner { margin: 0 auto; }
.ad-banner { margin-bottom: 0; }
@media (max-width: 960px) {
  .home-layout { grid-template-columns: minmax(0, 1fr); }
  .home-main { padding-right: 0; border-right: none; }
  .home-side { margin-top: 32px; }
}

/* colonne latérale des articles : plus large, même rendu que l'accueil */
.article__sidebar { max-width: 340px; display: block; }
.article__sidebar .sidebar-card { margin-bottom: 24px; }

/* newsletter (Brevo) */
.newsletter { margin-top: 28px; padding-top: 4px; }
.newsletter .tag-label { margin-bottom: 10px; }
.newsletter__lead { font-size: 14px; line-height: 1.5; margin: 0 0 8px; color: var(--ink-soft); }
.newsletter__legal { font-size: 11.5px; line-height: 1.4; color: var(--muted); margin: 4px 0 0; }
.newsletter .sib-form { background: none; padding: 0; text-align: left; }
.newsletter .sib-form-container, .newsletter #sib-container { max-width: 100%; padding: 0; }
.newsletter .sib-form-message-panel { max-width: 100%; margin: 0 0 8px; }
.newsletter .sib-form-block__button { width: 100%; cursor: pointer; padding: 10px 18px; }
.newsletter a { text-decoration: underline; }
.newsletter .sib-form, .newsletter .sib-form-container, .newsletter #sib-container, .newsletter .sib-container--large { padding: 0 !important; margin: 0 !important; max-width: 100% !important; }
.newsletter .sib-form-block, .newsletter .form__entry { padding-left: 0 !important; padding-right: 0 !important; }
.newsletter .entry__field input.input { width: 100%; }
.contact-form { max-width: 560px; margin-top: 32px; }
.contact-form textarea.input { width: 100%; min-height: 140px; resize: vertical; }

/* accueil : grilles 2 et 3 colonnes, newsletter encadrée */
.home-main .article-grid--c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-main .article-grid--c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-main .article-grid + .article-grid { margin-top: 32px; }
.newsletter-box { background: #efeeeb; padding: 18px 18px 16px; margin: 28px 0 8px; }
.newsletter-box .newsletter { margin-top: 0; }
@media (max-width: 960px) { .home-main .article-grid--c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .home-main .article-grid--c2, .home-main .article-grid--c3 { grid-template-columns: minmax(0, 1fr); } }

/* bannière d'accueil HTML5 (micro-animations) */
.hbanner { position: relative; margin: 4px auto 32px; max-width: 728px; }
.hbanner__box { position: relative; display: block; aspect-ratio: 728 / 90; overflow: hidden; background: #f3d9c9; }
.hbanner__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hbanner__glow { position: absolute; width: 8%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255,214,150,.95) 0%, rgba(255,140,60,.45) 45%, rgba(255,140,60,0) 70%); opacity: 0; animation: hb-pulse 1.6s ease-in-out 3 both; pointer-events: none; }
.hbanner__glow--1 { left: 18%; top: 28%; animation-delay: .2s; }
.hbanner__glow--2 { left: 25%; top: 70%; animation-delay: .6s; }
.hbanner__glow--3 { left: 83%; top: 62%; animation-delay: 1s; }
.hbanner__glow--4 { left: 92%; top: 30%; animation-delay: 1.4s; }
.hbanner__flow { position: absolute; top: 50%; height: 2px; width: 14%; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,236,200,.95), rgba(255,255,255,0)); opacity: 0; pointer-events: none; }
.hbanner__flow--l { left: 28%; animation: hb-flow-r 1.6s ease-in-out 3 both; }
.hbanner__flow--r { right: 28%; animation: hb-flow-l 1.6s ease-in-out 3 both; animation-delay: .4s; }
.hbanner__shine { position: absolute; top: 0; bottom: 0; width: 22%; left: -30%; background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.35), rgba(255,255,255,0)); transform: skewX(-18deg); animation: hb-shine 1.6s ease-in-out 1.2s 3 both; pointer-events: none; }
.hbanner__chip { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); background: rgba(255,255,255,.92); color: #8a1f17; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 3px 10px; border-radius: 3px; white-space: nowrap; opacity: 0; animation: hb-chip .6s ease-out .3s both; }
@keyframes hb-pulse { 0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.6); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); } }
@keyframes hb-flow-r { 0% { opacity: 0; transform: translateX(-30%); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateX(120%); } }
@keyframes hb-flow-l { 0% { opacity: 0; transform: translateX(30%); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateX(-120%); } }
@keyframes hb-shine { 0% { left: -30%; } 100% { left: 130%; } }
@keyframes hb-chip { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) {
  .hbanner__glow, .hbanner__flow, .hbanner__shine { display: none; }
  .hbanner__chip { animation: none; opacity: 1; }
}
.home-side .read-more { display: block; width: fit-content; margin: 8px 0 30px; }

/* S5 SEO (097 ch.5) : réponse directe, bloc « En bref », « Pour aller plus loin » */
.seo-reponse { font-size: 19px; line-height: 1.55; font-weight: 600; color: var(--ink-soft); margin: 0 0 20px; }
.seo-enbref { border-left: 4px solid var(--accent); background: #f6f4f1; padding: 14px 18px; margin: 0 0 24px; font-size: 16px; line-height: 1.55; }
.seo-enbref__titre { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin: 0 0 6px; }
.seo-enbref ul { margin: 0; padding-left: 18px; }
.seo-enbref li { margin: 0 0 4px; }
.seo-voir-aussi { border-top: 1px solid #e3e0db; margin: 28px 0 8px; padding-top: 16px; }
.seo-voir-aussi__titre { font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 700; margin: 0 0 10px; }
.seo-voir-aussi ul { margin: 0; padding-left: 18px; }
.seo-voir-aussi li { margin: 0 0 6px; }
.seo-voir-aussi a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.home-intro { max-width: 760px; margin: 8px 0 24px; }
