/* Geeb Services — refonte 2026-10 : header 2 étages, sections accueil, template article.
   Étend le système existant : rouge #ea0029, navy #201747, vert #2ebf2e, Branding + Source Sans Pro. */
:root {
  --geeb-red: #ea0029;
  --geeb-red-deep: #c4001f;
  --geeb-red-soft: #ff5a74;
  --geeb-navy: #201747;
  --geeb-ink: #231e46;
  --geeb-muted: #5b5779;
  --geeb-green: #2ebf2e;
  --geeb-mist: #f3f5f9;
  --geeb-line: #e4e6ef;
  --geeb-radius: 10px;
  --geeb-radius-lg: 16px;
  --geeb-shadow: 0 1px 2px rgba(32, 23, 71, .06), 0 10px 28px -14px rgba(32, 23, 71, .28);
  --geeb-shadow-pop: 0 2px 6px rgba(32, 23, 71, .06), 0 28px 56px -22px rgba(32, 23, 71, .38);
  --geeb-ease: cubic-bezier(.16, 1, .3, 1);
  --geeb-font-display: "Branding-bold", "Source Sans Pro", sans-serif;
  --geeb-font-text: "Branding-medium", "Source Sans Pro", sans-serif;
}

.geeb-rf ::selection { background: var(--geeb-red); color: #fff; }
.geeb-rf :focus-visible { outline: 3px solid rgba(234, 0, 41, .45); outline-offset: 3px; border-radius: 6px; }
.geeb-rf-ico { flex: none; display: inline-block; vertical-align: middle; }

/* ------------------------------------------------------------------ barre secondaire */
.geeb-ub { background: var(--geeb-navy); color: rgba(255, 255, 255, .82); font: 13px/1 var(--geeb-font-text); position: relative; z-index: 1002; }
.geeb-ub__in { max-width: 1140px; margin: 0 auto; padding: 0 15px; min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.geeb-ub__links, .geeb-ub__side { display: flex; align-items: center; gap: 22px; }
.geeb-ub__link { display: inline-flex; align-items: center; gap: 7px; color: inherit !important; text-decoration: none !important; padding: 10px 0; transition: color .2s; }
.geeb-ub__link:hover { color: #fff !important; }
.geeb-ub__link .geeb-rf-ico--pin { color: var(--geeb-red-soft); width: 16px; height: 16px; }
.geeb-ub__tel { font-variant-numeric: tabular-nums; }
.geeb-ub__lang:empty { display: none; }
.geeb-ub__lang { position: relative; display: flex; align-items: center; min-height: 38px; }
.geeb-ub__lang > div { position: relative !important; top: auto !important; left: auto !important; }
.geeb-ub__lang .gt_switcher { display: flex; align-items: center; gap: 6px; }
.geeb-ub__lang .gt_selector, .geeb-ub__lang select { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .25); border-radius: 6px; font-size: 12px; padding: 3px 6px; }
.geeb-ub__lang img { vertical-align: middle; }

/* ------------------------------------------------------------------ menu principal */
#header .main-menu > li.menu-item-gtranslate { display: none; }
#header .porto-hb-divider, #header .elementor-widget-porto_hb_divider { display: none !important; }
#header .main-menu { display: flex; align-items: center; gap: 4px; }
#header .main-menu > li { position: relative; }
#header .main-menu > li > a {
  font: 16px/1.2 var(--geeb-font-display) !important; color: var(--geeb-ink) !important; background: none !important;
  padding: 12px 14px !important; display: inline-flex; align-items: center; gap: 6px; position: relative; border-radius: 8px;
}
#header .main-menu > li:not(.geeb-cta) > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--geeb-red);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--geeb-ease);
}
#header .main-menu > li:not(.geeb-cta):hover > a::after,
#header .main-menu > li:not(.geeb-cta).is-open > a::after,
#header .main-menu > li.current-menu-item > a::after,
#header .main-menu > li.current-menu-ancestor > a::after { transform: scaleX(1); }
#header .main-menu > li.current-menu-item > a, #header .main-menu > li.current-menu-ancestor > a { color: var(--geeb-red) !important; }
#header .main-menu > li.has-sub > a::before, #header .main-menu > li > a .arrow { display: none !important; }
#header .main-menu > li.geeb-mega > a { padding-right: 30px !important; }
#header .main-menu > li.geeb-mega > a::before {
  content: ""; display: block !important; position: absolute; right: 13px; top: 50%; width: 7px; height: 7px; margin-top: -6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--geeb-ease);
}
#header .main-menu > li.geeb-mega.is-open > a::before, #header .main-menu > li.geeb-mega:hover > a::before { transform: translateY(4px) rotate(-135deg); }
#header .main-menu > li.geeb-mega > .popup,
#header .main-menu > li.geeb-mega::before, #header .main-menu > li.geeb-mega::after { display: none !important; }

/* CTA */
#header .main-menu > li.geeb-cta { margin-left: 10px; }
#header .main-menu > li.geeb-cta > a {
  background: var(--geeb-red) !important; color: #fff !important; flex-direction: column; align-items: flex-start; gap: 1px;
  padding: 9px 18px 10px !important; border-radius: var(--geeb-radius); box-shadow: 0 8px 18px -10px rgba(234, 0, 41, .7);
  transition: background .2s, transform .2s var(--geeb-ease), box-shadow .2s;
}
#header .main-menu > li.geeb-cta > a:hover { background: var(--geeb-red-deep) !important; transform: translateY(-1px); box-shadow: 0 12px 22px -12px rgba(234, 0, 41, .8); }
#header .main-menu > li.geeb-cta > a:active { transform: translateY(0); }
.geeb-cta__l1 { font: 15px/1.15 var(--geeb-font-display); letter-spacing: -.005em; }
.geeb-cta__l2 { font: 12px/1.2 var(--geeb-font-text); opacity: .88; }

/* Panneaux */
.geeb-mega-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; z-index: 1003; background: #fff; border-radius: var(--geeb-radius-lg);
  box-shadow: var(--geeb-shadow-pop); padding: 18px; text-align: left;
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .22s var(--geeb-ease), transform .32s var(--geeb-ease), visibility 0s .32s;
}
.geeb-mega-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* pont de survol */
#header .main-menu > li.geeb-mega:hover > .geeb-mega-panel,
#header .main-menu > li.geeb-mega:focus-within > .geeb-mega-panel,
#header .main-menu > li.geeb-mega.is-open > .geeb-mega-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
#header .main-menu > li.geeb-mega.is-closed > .geeb-mega-panel { opacity: 0; visibility: hidden; }
.geeb-mega-panel--solutions { width: 700px; }
.geeb-mega-panel--avantages { width: 480px; }
.geeb-mp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.geeb-mp-tile { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 12px; color: var(--geeb-ink) !important; text-decoration: none !important; transition: background .2s; }
.geeb-mp-tile:hover { background: var(--geeb-mist); }
.geeb-mp-tile__img { display: grid; place-items: center; height: 96px; border-radius: 10px; background: var(--geeb-mist); margin-bottom: 4px; transition: transform .35s var(--geeb-ease); }
.geeb-mp-tile:hover .geeb-mp-tile__img { transform: scale(1.02); background: #fff; }
.geeb-mp-tile__img img { max-height: 76px; width: auto; max-width: 86%; object-fit: contain; }
.geeb-mp-tile__name { font: 16px/1.2 var(--geeb-font-display); }
.geeb-mp-tile__txt { font: 14px/1.4 var(--geeb-font-text); color: var(--geeb-muted); }
.geeb-mp-foot {
  display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--geeb-mist);
  font: 14px/1.3 var(--geeb-font-display); color: var(--geeb-ink) !important; text-decoration: none !important;
}
.geeb-mp-foot .geeb-rf-ico--pin { color: var(--geeb-red); }
.geeb-mp-foot .geeb-rf-ico--arrow { margin-left: auto; transition: transform .3s var(--geeb-ease); }
.geeb-mp-foot:hover .geeb-rf-ico--arrow { transform: translateX(4px); color: var(--geeb-red); }
.geeb-mp-list { display: flex; flex-direction: column; }
.geeb-mp-row {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 16px; row-gap: 3px; align-items: center;
  padding: 12px 14px; border-radius: 12px; color: var(--geeb-ink) !important; text-decoration: none !important; transition: background .2s;
}
.geeb-mp-row + .geeb-mp-row { box-shadow: inset 0 1px 0 var(--geeb-line); }
.geeb-mp-row:hover { background: var(--geeb-mist); box-shadow: none; }
.geeb-mp-row:hover + .geeb-mp-row { box-shadow: none; }
.geeb-mp-row__t { font: 16px/1.25 var(--geeb-font-display); }
.geeb-mp-row__d { grid-column: 1; font: 14px/1.4 var(--geeb-font-text); color: var(--geeb-muted); }
.geeb-mp-row .geeb-rf-ico--arrow { grid-column: 2; grid-row: 1 / 3; color: var(--geeb-muted); transition: transform .3s var(--geeb-ease), color .2s; }
.geeb-mp-row:hover .geeb-rf-ico--arrow { transform: translateX(4px); color: var(--geeb-red); }

/* Header réduit au défilement */
.geeb-scrolled #header .main-menu > li > a { padding-top: 8px !important; padding-bottom: 8px !important; }
.geeb-scrolled #header .main-menu > li.geeb-cta > a { padding-top: 7px !important; padding-bottom: 8px !important; }

/* 1200–1279 : on resserre */
@media (min-width: 1200px) and (max-width: 1279px) {
  #header .main-menu > li > a { font-size: 15px !important; padding: 12px 10px !important; }
  #header .main-menu > li:not(.geeb-cta) > a::after { left: 10px; right: 10px; }
  #header .main-menu > li.geeb-mega > a { padding-right: 26px !important; }
  #header .main-menu > li.geeb-mega > a::before { right: 10px; }
}
/* 576–1199 : les 5 entrées ne tiennent plus à côté du logo → burger + bouton devis seul (devis à un tap) */
@media (min-width: 576px) and (max-width: 1199px) {
  #header .main-menu { display: flex !important; }
  #header .main-menu > li:not(.geeb-cta) { display: none !important; }
  #header .main-menu > li.geeb-cta { margin-left: 0; }
  #header .mobile-toggle { display: inline-flex !important; margin-left: 14px; }
}
/* < 576 : menu desktop masqué ; le devis est dans la barre du haut et en bas du panneau mobile */
@media (max-width: 575px) {
  #header .main-menu { display: none !important; }
}
/* Burger : cible 44 px, rouge de marque, états */
#header .mobile-toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; background-color: var(--geeb-red); border-radius: var(--geeb-radius); transition: background-color .2s; }
#header .mobile-toggle:hover { background-color: var(--geeb-red-deep); }
@media (min-width: 1200px) { #header .mobile-toggle { display: none !important; } }
@media (max-width: 991px) {
  .geeb-ub__links .geeb-ub__link:not(:first-child) { display: none; }
  .geeb-ub__in { padding: 0 16px; }
}
.geeb-ub__devis { display: none !important; }
@media (max-width: 575px) {
  .geeb-ub__tel span { display: none; }
  .geeb-ub__tel { min-width: 44px; justify-content: center; }
  .geeb-ub__links .geeb-ub__link span { white-space: nowrap; }
  .geeb-ub__devis { display: inline-flex !important; padding: 5px 12px; border-radius: 999px; background: var(--geeb-red); color: #fff !important; font-family: var(--geeb-font-display); }
  .geeb-ub__side { gap: 10px; }
}

/* ------------------------------------------------------------------ panneau mobile */
.geeb-mn { position: fixed; inset: 0; z-index: 100000; background: #fff; display: flex; flex-direction: column; opacity: 0; transform: translateY(12px); transition: opacity .25s var(--geeb-ease), transform .35s var(--geeb-ease); }
.geeb-mn[hidden] { display: none; }
.geeb-mn.is-open { opacity: 1; transform: none; }
.geeb-mn__top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--geeb-line); }
.geeb-mn__home { font: 16px var(--geeb-font-display); color: var(--geeb-ink) !important; text-decoration: none !important; }
.geeb-mn__close { width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--geeb-mist); color: var(--geeb-ink); display: grid; place-items: center; cursor: pointer; }
.geeb-mn__close .geeb-rf-ico { width: 22px; height: 22px; }
.geeb-mn__body { flex: 1; overflow-y: auto; padding: 8px 16px 24px; -webkit-overflow-scrolling: touch; }
.geeb-mn__item, .geeb-mn__acc {
  display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 4px; border: 0; background: none;
  border-bottom: 1px solid var(--geeb-line); font: 19px/1.2 var(--geeb-font-display); color: var(--geeb-ink) !important; text-decoration: none !important; text-align: left; cursor: pointer;
}
.geeb-mn__acc .geeb-rf-ico { transition: transform .3s var(--geeb-ease); }
.geeb-mn__acc[aria-expanded="true"] .geeb-rf-ico { transform: rotate(180deg); color: var(--geeb-red); }
.geeb-mn__sub { padding: 6px 0 10px; border-bottom: 1px solid var(--geeb-line); }
.geeb-mn__sub a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; color: var(--geeb-ink) !important; text-decoration: none !important; }
.geeb-mn__sub a:active { background: var(--geeb-mist); }
.geeb-mn__sub strong { font: 16px/1.25 var(--geeb-font-display); }
.geeb-mn__sub span { font: 14px/1.4 var(--geeb-font-text); color: var(--geeb-muted); }
.geeb-mn__sec { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; }
.geeb-mn__sec a { display: flex; align-items: center; gap: 8px; padding: 10px 4px; font: 15px var(--geeb-font-text); color: var(--geeb-muted) !important; text-decoration: none !important; }
.geeb-mn__cta { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--geeb-line); background: #fff; }
.geeb-mn-open { overflow: hidden; }
/* Neutralise les styles globaux de boutons du thème (fond vert, ombres) */
.geeb-mn button.geeb-mn__acc, .geeb-mn button.geeb-mn__acc:hover, .geeb-mn button.geeb-mn__acc:focus { background: transparent !important; color: var(--geeb-ink) !important; box-shadow: none !important; border-radius: 0; text-transform: none; letter-spacing: 0; }
.geeb-mn button.geeb-mn__close, .geeb-mn button.geeb-mn__close:hover, .geeb-mn button.geeb-mn__close:focus { background: var(--geeb-mist) !important; color: var(--geeb-ink) !important; box-shadow: none !important; padding: 0; }

/* ------------------------------------------------------------------ boutons, liens */
.geeb-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 12px 20px; border-radius: var(--geeb-radius); text-decoration: none !important; transition: background .2s, transform .2s var(--geeb-ease); }
.geeb-btn--red { background: var(--geeb-red); color: #fff !important; }
.geeb-btn--red:hover { background: var(--geeb-red-deep); transform: translateY(-1px); }
.geeb-btn--block { display: flex; width: 100%; }
.geeb-link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 16px var(--geeb-font-display); color: var(--geeb-red) !important; text-decoration: none !important; }
.geeb-link-arrow .geeb-rf-ico { transition: transform .3s var(--geeb-ease); }
.geeb-link-arrow:hover .geeb-rf-ico { transform: translateX(4px); }
.geeb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; font: 14px/1.5 var(--geeb-font-text); color: var(--geeb-muted); }
.geeb-meta__i { white-space: nowrap; }
.geeb-meta__i + .geeb-meta__i::before { content: "·"; margin: 0 8px; opacity: .6; }
.geeb-meta__cat { color: var(--geeb-red); font-family: var(--geeb-font-display); }
.geeb-meta__by { font-family: var(--geeb-font-display); color: var(--geeb-ink); }
/* Listes : la catégorie occupe sa ligne, pas de séparateur orphelin en début de ligne */
.geeb-news__item .geeb-meta__cat, .geeb-rel__item .geeb-meta__cat { flex-basis: 100%; }
.geeb-news__item .geeb-meta__cat + .geeb-meta__i::before, .geeb-rel__item .geeb-meta__cat + .geeb-meta__i::before { content: none; }
@media (max-width: 1199px) {
  .geeb-news__item .geeb-meta { column-gap: 14px; }
  .geeb-news__item .geeb-meta__i + .geeb-meta__i::before { content: none; }
}
@media (max-width: 575px) {
  .geeb-meta__cat { flex-basis: 100%; }
  .geeb-meta__cat + .geeb-meta__i::before { content: none; }
  .geeb-meta__by { flex-basis: 100%; }
  .geeb-meta__by::before { content: none !important; }
}

/* Visuel de secours */
.geeb-rf-fallback { position: relative; display: block; overflow: hidden; background: var(--geeb-navy); aspect-ratio: 16 / 10; width: 100%; height: 100%; }
.geeb-rf-fallback__map { position: absolute; right: 6%; top: 50%; height: 118%; width: auto; max-width: none; transform: translateY(-50%); opacity: .95; }
.geeb-rf-fallback__brand { position: absolute; left: 18px; bottom: 14px; font: 18px var(--geeb-font-display); color: #fff; letter-spacing: -.01em; }

/* ------------------------------------------------------------------ accueil : avantages */
.geeb-av { max-width: 1200px; margin: 0 auto; padding: 72px 20px 88px; }
.geeb-av__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: 36px; }
.geeb-av__h { margin: 0; font: clamp(30px, 2.2vw + 14px, 44px)/1.08 var(--geeb-font-display); color: var(--geeb-green); letter-spacing: -.015em; text-wrap: balance; }
.geeb-av__intro { margin: 0; font: 18px/1.55 var(--geeb-font-text); color: var(--geeb-ink); max-width: 52ch; }
.geeb-av__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); gap: 18px; }
.geeb-av__card {
  position: relative; display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 18px; align-items: center; grid-column: 8 / 13;
  padding: 14px 18px 14px 14px; border-radius: var(--geeb-radius-lg); background: #fff; border: 1px solid var(--geeb-line);
  color: var(--geeb-ink) !important; text-decoration: none !important; transition: transform .35s var(--geeb-ease), box-shadow .35s var(--geeb-ease), border-color .2s;
}
.geeb-av__card:hover { transform: translateY(-3px); box-shadow: var(--geeb-shadow); border-color: transparent; }
.geeb-av__media { display: block; height: 100%; min-height: 112px; border-radius: 12px; overflow: hidden; background: var(--geeb-mist); }
.geeb-av__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--geeb-ease); }
.geeb-av__card:hover .geeb-av__media img { transform: scale(1.05); }
.geeb-av__body { display: flex; flex-direction: column; gap: 6px; padding-right: 40px; }
.geeb-av__titre { font: 20px/1.2 var(--geeb-font-display); letter-spacing: -.01em; }
.geeb-av__promesse { font: 15px/1.45 var(--geeb-font-text); color: var(--geeb-muted); }
.geeb-av__go { position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 8px; }
.geeb-av__go .geeb-rf-ico { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--geeb-mist); color: var(--geeb-red); transition: transform .35s var(--geeb-ease), background .2s, color .2s; }
.geeb-av__card:hover .geeb-av__go .geeb-rf-ico { transform: translateX(3px); background: var(--geeb-red); color: #fff; }
.geeb-av__card--lead { grid-column: 1 / 8; grid-row: 1 / 4; display: block; padding: 0; overflow: hidden; border: 0; min-height: 520px; background: var(--geeb-navy); color: #fff !important; }
.geeb-av__card--lead .geeb-av__media { position: absolute; inset: 0; border-radius: 0; min-height: 0; }
.geeb-av__card--lead .geeb-av__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(32, 23, 71, 0) 30%, rgba(32, 23, 71, .88) 78%); }
.geeb-av__card--lead .geeb-av__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 36px 34px; gap: 10px; }
.geeb-av__card--lead .geeb-av__titre { font-size: clamp(26px, 1.6vw + 12px, 34px); line-height: 1.1; }
.geeb-av__card--lead .geeb-av__promesse { color: rgba(255, 255, 255, .88); font-size: 17px; max-width: 44ch; }
.geeb-av__card--lead .geeb-av__go { position: static; margin-top: 8px; font: 16px var(--geeb-font-display); }
.geeb-av__card--lead .geeb-av__go .geeb-rf-ico { background: var(--geeb-red); color: #fff; }
.geeb-av__card--lead:hover .geeb-av__go .geeb-rf-ico { background: #fff; color: var(--geeb-red); }
@media (max-width: 991px) {
  .geeb-av { padding: 56px 16px 64px; }
  .geeb-av__head { grid-template-columns: 1fr; }
  .geeb-av__grid { grid-template-columns: 1fr; }
  .geeb-av__card, .geeb-av__card--lead { grid-column: 1 / -1; grid-row: auto; }
  .geeb-av__card--lead { min-height: 400px; }
}
@media (max-width: 575px) {
  .geeb-av__card { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 12px 14px 12px 12px; }
  .geeb-av__media { min-height: 84px; }
  .geeb-av__body { padding-right: 0; }
  .geeb-av__titre { font-size: 18px; }
  .geeb-av__card:not(.geeb-av__card--lead) .geeb-av__go { display: none; }
  .geeb-av__card--lead { min-height: 360px; }
  .geeb-av__card--lead .geeb-av__body { padding: 22px 20px 24px; }
}

/* ------------------------------------------------------------------ accueil : actualités */
.elementor-section.geeb-rf-host--actualites { background: var(--geeb-mist); }
.geeb-news { max-width: 1200px; margin: 0 auto; padding: 72px 20px 80px; }
.geeb-news__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.geeb-news__h { margin: 0; font: clamp(28px, 2vw + 12px, 40px)/1.1 var(--geeb-font-display); color: var(--geeb-green); letter-spacing: -.015em; }
.geeb-news__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.geeb-news__lead-media { display: block; border-radius: var(--geeb-radius-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--geeb-navy); box-shadow: var(--geeb-shadow); }
.geeb-news .geeb-news__img, .geeb-rel .geeb-news__img, .geeb-news__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--geeb-ease); }
.geeb-news__lead:hover .geeb-news__img, .geeb-news__item:hover .geeb-news__img, .geeb-rel__item:hover .geeb-news__img { transform: scale(1.04); }
.geeb-news__lead-body { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; }
.geeb-news__lead-title { margin: 0; font: clamp(22px, 1vw + 14px, 30px)/1.18 var(--geeb-font-display); letter-spacing: -.01em; text-wrap: balance; }
.geeb-news__lead-title a, .geeb-news__item-title a { color: var(--geeb-ink) !important; text-decoration: none !important; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .45s var(--geeb-ease); }
.geeb-news__lead-title a:hover, .geeb-news__item-title a:hover { background-size: 100% 1.5px; }
.geeb-news__excerpt { margin: 0; font: 17px/1.55 var(--geeb-font-text); color: var(--geeb-muted); max-width: 62ch; }
.geeb-news__list { display: flex; flex-direction: column; }
.geeb-news__item { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 18px; align-items: start; padding: 22px 0; }
.geeb-news__item:first-child { padding-top: 0; }
.geeb-news__item + .geeb-news__item { border-top: 1px solid var(--geeb-line); }
.geeb-news__thumb { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--geeb-navy); }
.geeb-news__thumb .geeb-rf-fallback__brand, .geeb-rel__media .geeb-rf-fallback__brand { font-size: 13px; left: 10px; bottom: 8px; }
.geeb-news__item-title { margin: 0 0 8px; font: 19px/1.25 var(--geeb-font-display); letter-spacing: -.005em; }
@media (max-width: 991px) {
  .geeb-news { padding: 56px 16px 64px; }
  .geeb-news__grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 575px) {
  .geeb-news__head { flex-direction: column; align-items: flex-start; }
  .geeb-news__item { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; }
  .geeb-news__item-title { font-size: 17px; }
}

/* ------------------------------------------------------------------ article */
.single-post .page-top .page-title { text-wrap: balance; }
@media (max-width: 575px) { .single-post .page-top .breadcrumb > li:last-child { display: none; } }
.geeb-art { max-width: 1200px; margin: 0 auto; padding: 28px 20px 72px; }
.geeb-art__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font: 15px var(--geeb-font-text); color: var(--geeb-muted); margin-bottom: 22px; }
.geeb-art__hero { margin: 0 0 44px; border-radius: 18px; overflow: hidden; aspect-ratio: 21 / 9; background: var(--geeb-navy); box-shadow: var(--geeb-shadow); }
.geeb-art__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.geeb-art__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.geeb-art__main { min-width: 0; max-width: 740px; }
.geeb-art__content { font: 18px/1.72 var(--geeb-font-text); color: var(--geeb-ink); }
.geeb-art__content > :first-child { margin-top: 0; }
.geeb-art__content p, .geeb-art__content ul, .geeb-art__content ol { margin: 0 0 1.15em; }
.geeb-art__content h2 { font: 28px/1.2 var(--geeb-font-display); color: var(--geeb-ink); letter-spacing: -.012em; margin: 2em 0 .6em; scroll-margin-top: 120px; text-wrap: pretty; }
.geeb-art__content h3 { font: 21px/1.3 var(--geeb-font-display); color: var(--geeb-ink); margin: 1.6em 0 .5em; }
.geeb-art__content a { color: var(--geeb-red); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.geeb-art__content a:hover { color: var(--geeb-red-deep); }
.geeb-art__content ul li, .geeb-art__content ol li { margin-bottom: .45em; }
.geeb-art__content ul li::marker { color: var(--geeb-red); }
.geeb-art__content strong { font-family: var(--geeb-font-display); font-weight: normal; }
.geeb-art__content blockquote { margin: 1.6em 0; padding: 20px 24px; background: var(--geeb-mist); border-radius: 12px; font-size: 19px; }
.geeb-art__content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 16px; font-variant-numeric: tabular-nums; }
.geeb-art__content th, .geeb-art__content td { padding: 10px 12px; border-bottom: 1px solid var(--geeb-line); text-align: left; vertical-align: top; }
.geeb-art__content th { font-family: var(--geeb-font-display); background: var(--geeb-mist); }
.geeb-art__content img { max-width: 100%; height: auto; border-radius: 12px; }
.geeb-art__content > hr:last-child, .geeb-art__content > :last-child:empty { display: none; }
.geeb-art__aside { position: relative; height: 100%; }
.geeb-art__sticky { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 20px; }
.geeb-toc { font: 15px/1.4 var(--geeb-font-text); }
.geeb-toc__d { padding: 18px 20px; border-radius: var(--geeb-radius-lg); background: var(--geeb-mist); }
.geeb-toc__h { font: 16px var(--geeb-font-display); color: var(--geeb-ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.geeb-toc__h::-webkit-details-marker { display: none; }
.geeb-toc__h::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--geeb-ease); }
.geeb-toc__d[open] .geeb-toc__h::after { transform: translateY(2px) rotate(-135deg); }
.geeb-toc__list { list-style: none; counter-reset: geebtoc; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.geeb-toc__list li { counter-increment: geebtoc; }
.geeb-toc__list a { display: grid; grid-template-columns: 22px 1fr; gap: 6px; padding: 6px 8px; margin: 0 -8px; border-radius: 8px; color: var(--geeb-muted) !important; text-decoration: none !important; transition: color .2s, background .2s; }
.geeb-toc__list a::before { content: counter(geebtoc); font: 13px/1.6 var(--geeb-font-display); font-variant-numeric: tabular-nums; color: var(--geeb-muted); }
.geeb-toc__list a:hover { color: var(--geeb-ink) !important; background: rgba(255, 255, 255, .7); }
.geeb-toc__list a.is-active { color: var(--geeb-ink) !important; background: #fff; }
.geeb-toc__list a.is-active::before { color: var(--geeb-red); }
.geeb-quote { padding: 24px; border-radius: var(--geeb-radius-lg); background: var(--geeb-navy); color: #fff; }
.geeb-quote__t { margin: 0 0 6px; font: 20px/1.2 var(--geeb-font-display); color: #fff; }
.geeb-quote__d { margin: 0 0 18px; font: 15px/1.5 var(--geeb-font-text); color: rgba(255, 255, 255, .8); }
.geeb-toc--inline, .geeb-quote--inline { display: none; }
.geeb-art__share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--geeb-line); }
.geeb-art__share-l { font: 15px var(--geeb-font-display); color: var(--geeb-ink); margin-right: 6px; }
.geeb-art__share-a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--geeb-line); font: 14px var(--geeb-font-text); color: var(--geeb-ink) !important; text-decoration: none !important; transition: border-color .2s, color .2s, background .2s; }
.geeb-art__share-a:hover { border-color: var(--geeb-red); color: var(--geeb-red) !important; }
.geeb-rel { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--geeb-line); }
.geeb-rel__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.geeb-rel__item { display: flex; flex-direction: column; gap: 12px; }
.geeb-rel__media { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--geeb-navy); }
@media (max-width: 1023px) {
  .geeb-art__grid { grid-template-columns: 1fr; gap: 0; }
  .geeb-art__aside { display: none; }
  .geeb-toc--inline, .geeb-quote--inline { display: block; }
  .geeb-toc--inline { margin-bottom: 28px; }
  .geeb-quote--inline { margin-top: 32px; }
  .geeb-art__main { max-width: none; }
  .geeb-art__hero { aspect-ratio: 16 / 9; margin-bottom: 28px; }
  .geeb-rel__grid { grid-template-columns: 1fr; gap: 22px; }
  .geeb-rel__item { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 14px; }
  .geeb-rel__media { grid-row: 1 / 3; aspect-ratio: 4 / 3; }
}
@media (max-width: 575px) {
  .geeb-art { padding: 20px 16px 56px; }
  .geeb-art__content { font-size: 17px; }
  .geeb-art__content h2 { font-size: 24px; }
  .geeb-art__hero { border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .geeb-rf *, .geeb-rf *::before, .geeb-rf *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ------------------------------------------------------------------ Le Magazine (liste, catégories) */
.geeb-mag { max-width: 1200px; margin: 0 auto; padding: 40px 20px 80px; }
.geeb-mag__intro { margin: 0 0 36px; max-width: 62ch; font: 19px/1.5 var(--geeb-font-text); color: var(--geeb-muted); text-wrap: pretty; }
.geeb-mag__media { display: block; overflow: hidden; border-radius: var(--geeb-radius-lg); aspect-ratio: 16 / 10; background: var(--geeb-navy); }
.geeb-mag__media .geeb-rf-fallback__brand { font-size: 14px; left: 12px; bottom: 10px; }
.geeb-mag__title { margin: 0; font: 21px/1.25 var(--geeb-font-display); letter-spacing: -.01em; text-wrap: balance; }
.geeb-mag__title a { color: var(--geeb-ink) !important; text-decoration: none !important; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .45s var(--geeb-ease); }
.geeb-mag__title a:hover { background-size: 100% 1.5px; }
.geeb-mag__excerpt { margin: 0; font: 16px/1.55 var(--geeb-font-text); color: var(--geeb-muted); }
.geeb-mag__body { display: flex; flex-direction: column; gap: 10px; }
.geeb-mag__lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 44px; align-items: center; padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--geeb-line); }
.geeb-mag__lead .geeb-mag__media { box-shadow: var(--geeb-shadow); }
.geeb-mag__lead .geeb-mag__title { font-size: clamp(26px, 1.6vw + 14px, 38px); line-height: 1.12; letter-spacing: -.015em; }
.geeb-mag__lead .geeb-mag__excerpt { font-size: 18px; }
.geeb-mag__lead .geeb-mag__body { gap: 14px; }
.geeb-mag__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; }
.geeb-mag__card { display: flex; flex-direction: column; gap: 16px; }
.geeb-mag__card .geeb-mag__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.geeb-mag__lead:hover .geeb-news__img, .geeb-mag__card:hover .geeb-news__img { transform: scale(1.04); }
.geeb-mag__pager { margin-top: 56px; }
.geeb-mag__pager ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.geeb-mag__pager .page-numbers:not(ul) { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--geeb-radius); border: 1px solid var(--geeb-line); font: 16px var(--geeb-font-display); font-variant-numeric: tabular-nums; color: var(--geeb-ink) !important; text-decoration: none !important; transition: border-color .2s, background-color .2s, color .2s; }
.geeb-mag__pager a.page-numbers:hover { border-color: var(--geeb-red); color: var(--geeb-red) !important; }
.geeb-mag__pager .page-numbers.current { background: var(--geeb-navy); border-color: var(--geeb-navy); color: #fff !important; }
.geeb-mag__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-top: 72px; padding: 32px 36px; border-radius: var(--geeb-radius-lg); background: var(--geeb-navy); color: #fff; }
.geeb-mag__cta-t { margin: 0 0 6px; font: 24px/1.2 var(--geeb-font-display); color: #fff; }
.geeb-mag__cta-d { margin: 0; font: 16px/1.5 var(--geeb-font-text); color: rgba(255, 255, 255, .8); max-width: 56ch; }
.geeb-mag__cta .geeb-btn { align-items: flex-start; padding: 12px 24px; }
.geeb-mag__empty { font: 18px/1.5 var(--geeb-font-text); color: var(--geeb-ink); }
@media (max-width: 991px) {
  .geeb-mag__lead { grid-template-columns: 1fr; gap: 22px; padding-bottom: 36px; margin-bottom: 36px; }
  .geeb-mag__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
}
@media (max-width: 575px) {
  .geeb-mag { padding: 28px 16px 56px; }
  .geeb-mag__intro { font-size: 17px; margin-bottom: 26px; }
  .geeb-mag__grid { grid-template-columns: 1fr; gap: 32px; }
  .geeb-mag__cta { padding: 24px 20px; margin-top: 48px; }
  .geeb-mag__cta .geeb-btn { width: 100%; align-items: center; }
}
