/* Styles communs : accueil et page Influence (repris de la page Community management) */
html, body { margin: 0; }
:root {
  --encre: #081021; --creme: #fefacd; --blanc: #ffffff;
  --bg: #f7f5ee; --surface: #ffffff; --text: #081021; --muted: #4a5163; --line: rgba(8,16,33,.12);
  --btn-bg: #081021; --btn-text: #fefacd;
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #081021; --surface: #0f1a33; --text: #f4f2e6; --muted: #a9b0c2; --line: rgba(254,250,205,.14);
    --btn-bg: #fefacd; --btn-text: #081021; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #081021; --surface: #0f1a33; --text: #f4f2e6; --muted: #a9b0c2; --line: rgba(254,250,205,.14);
  --btn-bg: #fefacd; --btn-text: #081021; color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.hl { background: var(--creme); color: var(--encre); padding: 0 .06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.kicker { font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
h1, h2, h3 { letter-spacing: -.03em; line-height: 1.08; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.4vw, 46px); margin: 12px 0 16px; }
.lead { font-size: clamp(17px, 1.9vw, 19px); color: var(--muted); max-width: 600px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-text);
  font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }
section { padding-block: clamp(64px, 9vw, 104px); }

/* ---------- accroche */
.hero { position: relative; overflow: hidden; background: var(--encre); color: #f4f2e6; min-height: min(860px, 100svh); display: flex; flex-direction: column; }
.hero > .fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(270deg, rgba(8,16,33,.9) 0%, rgba(8,16,33,.62) 40%, rgba(8,16,33,.05) 66%),
              linear-gradient(180deg, rgba(8,16,33,.55) 0%, rgba(8,16,33,0) 22%); }
.hero .site-nav, .hero .contenu { position: relative; z-index: 2; }
.hero .contenu { margin-top: auto; padding-block: 48px clamp(56px, 9vh, 104px); }
.hero .contenu .texte { max-width: 560px; margin-left: auto; }
.hero .kicker { color: rgba(255,255,255,.82); }
.hero h1 { font-size: clamp(40px, 6.6vw, 84px); margin: 16px 0 20px; }
.hero p { font-size: clamp(17px, 1.9vw, 19px); max-width: 520px; color: rgba(255,255,255,.88); }
.hero .btn { margin-top: 28px; }

/* ---------- bande de logos */
.logos { background: var(--blanc); padding-block: 26px; border-bottom: 1px solid var(--line); overflow: hidden; }
.logos .kicker { display: block; text-align: center; color: #4a5163; margin-bottom: 18px; }
.defile { display: flex; width: max-content; animation: defile 60s linear infinite; }
.logos:hover .defile { animation-play-state: paused; }
.defile ul { list-style: none; padding: 0 28px 0 0; display: flex; align-items: center; gap: 56px; }
.defile img { height: 52px; width: auto; max-width: none; }
.defile img.large { height: 34px; }
@keyframes defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .defile { animation: none; width: auto; }
  .defile ul { flex-wrap: wrap; justify-content: center; gap: 24px 40px; padding: 0 16px; }
  .defile ul[aria-hidden] { display: none; }
}

/* ---------- blocs communs */
.apropos { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.apropos img { border-radius: 22px; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.apropos .corps { color: var(--muted); font-size: 17px; display: grid; gap: 14px; max-width: 560px; }
.apropos .corps strong { color: var(--text); }
footer { padding-block: 30px 40px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer em { font-style: normal; font-weight: 600; color: var(--text); }
footer a { font-weight: 600; text-underline-offset: 4px; }
.rassure { font-size: 14px; color: inherit; opacity: .85; }
.relance { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 24px 26px; border-radius: 20px; background: var(--encre); color: #f4f2e6; }
.relance p { font-size: 18px; font-weight: 600; letter-spacing: -.01em; flex: 1 1 260px; }
.relance .rassure { color: #c3c8d4; }

@media (max-width: 820px) {
  .apropos { grid-template-columns: 1fr; }
  .apropos img { max-width: 360px; }
  .hero > .fond { object-position: 35% center; }
  .hero .contenu .texte { margin-left: 0; }
  .hero::after { background: linear-gradient(180deg, rgba(8,16,33,.55) 0%, rgba(8,16,33,0) 25%, rgba(8,16,33,.35) 50%, rgba(8,16,33,.92) 100%); }
  .defile img { height: 42px; }
  .defile ul { gap: 40px; }
}
