/* ============================================================
   VivAccess — Theme (sections, inspiré "Direction B — Humain")
   Toutes les mises en scène colorées passent par les hooks
   d'ambiance (--hero-bg, --impact-bg, --cta-bg, --photo-tint…).
   ============================================================ */

/* ============ HERO (accueil) ============ */
.hero {
  position: relative; overflow: hidden;
  background: var(--hero-bg); color: var(--hero-fg);
  padding: 104px 0 96px;
}
.hero__decor { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__decor span { position: absolute; border-radius: 50%; }
.hero__decor span:nth-child(1) { width: 620px; height: 620px; top: -280px; right: -180px; background: radial-gradient(circle, rgba(255,255,255,0.16) 0%, transparent 62%); }
.hero__decor span:nth-child(2) { width: 460px; height: 460px; bottom: -220px; left: -150px; background: radial-gradient(circle, rgba(0,181,223,0.30) 0%, transparent 62%); }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 64px; align-items: center; }
.hero .eyebrow { color: var(--hero-eyebrow); }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.5rem); line-height: 1.0; letter-spacing: -0.03em; margin: 22px 0; max-width: 16ch; color: var(--hero-fg); }
.hero h1 em { font-style: normal; color: var(--hero-accent, #00B5DF); }
.hero p { font-size: 19px; line-height: 1.62; color: var(--hero-muted); max-width: 52ch; margin: 0 0 34px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__media { position: relative; }
.hero__photo { aspect-ratio: 4/5; }
/* Illustration avec son propre cadre : pas de recadrage, ni voile, ni ombre.
   L'image est rognée à son contour violet (coins transparents) : le conteneur
   ne doit ni arrondir ni ombrer par-dessus. */
.hero__photo--illu { aspect-ratio: 823/1019; background: none; box-shadow: none; border-radius: 0; }
.hero__photo--illu img { object-fit: contain; }
.hero__photo--illu::after { content: none; }
/* Variante AssistEvent (visuel téléphone, ratio propre) */
.hero__photo--event { aspect-ratio: 1000/1155; }
/* Contenu semé en base avec un pattern antérieur (figure sans --illu) :
   mêmes règles, ciblées par l'image elle-même. Spécificité volontairement
   haute pour passer devant l'ombre d'ambiance. */
.figure.hero__photo:has(img[src*="hero-accueil"]) {
  aspect-ratio: 823/1019; background: none; box-shadow: none; border-radius: 0;
}
.figure.hero__photo:has(img[src*="hero-accueil"])::after { content: none; }
.figure.hero__photo:has(img[src*="hero-accueil"]) img { object-fit: contain; }
/* Duotone violet→bleu optionnel (intègre une photo à la palette du site) */
.hero__photo--duo { isolation: isolate; }
.hero__photo--duo img { filter: grayscale(1) contrast(1.06) brightness(1.04); z-index: 0; }
.hero__photo--duo::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(150deg, #2c0a63 0%, #0b2a78 100%); mix-blend-mode: screen; }
.hero__photo--duo::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  opacity: 1; mix-blend-mode: multiply;
  background: linear-gradient(150deg, rgba(96,0,217,0.90) 0%, rgba(0,94,255,0.60) 55%, rgba(0,181,223,0.68) 100%); }
.hero__tag {
  position: absolute; left: 22px; bottom: 22px; z-index: 3;
  background: rgba(255,255,255,0.96); color: var(--violet);
  padding: 10px 16px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.hero__tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }
.hero__floating {
  position: absolute; right: -18px; bottom: 56px; z-index: 3;
  background: #fff; color: var(--noir); padding: 18px 22px; border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.22); max-width: 210px; line-height: 1.4; font-size: 14px;
}
.hero__floating strong { display: block; font-size: 30px; color: var(--violet); letter-spacing: -0.02em; margin-bottom: 2px; }

/* ============ BANDEAU LOGOS (carrousel) ============ */
.trust { padding: 38px 0; border-bottom: 1px solid var(--border); background: var(--blanc); }
.trust__inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; }
.trust__label { font-size: 15px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet); flex-shrink: 0; }
.trust__carousel { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; justify-content: center; }
.trust__logos {
  display: flex; gap: 44px; align-items: center;
  overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none;
  scroll-snap-type: x proximity; padding: 4px 2px;
}
.trust__logos::-webkit-scrollbar { display: none; }
.trust__logos span { font-size: 19px; font-weight: 700; color: var(--ink-700); letter-spacing: -0.01em; white-space: nowrap; scroll-snap-align: start; }
.trust__nav {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: #fff; border: 1.5px solid var(--ink-300); color: var(--ink-700);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--dur) var(--ease);
}
.trust__nav:hover { border-color: var(--violet); color: var(--violet); }
.trust__nav svg { width: 18px; height: 18px; }
.trust__carousel.no-overflow .trust__nav { display: none; }

/* ============ MISSION (texte + photo) ============ */
.mission { padding: 84px 0; }
.mission__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
/* Illustration avec cadre violet intégré : mêmes règles que hero__photo--illu */
.mission__photo { aspect-ratio: 1100/863; background: none; box-shadow: none; border-radius: 0; }
.mission__photo::after { content: none; }
.mission__text h2 { margin: 16px 0 20px; max-width: 17ch; }
.mission__text p:not(.eyebrow) { font-size: 18px; line-height: 1.66; color: var(--ink-700); max-width: 58ch; margin: 0 0 18px; }
.mission__text p strong { font-weight: 700; color: var(--violet); }
.mission__sig { margin-top: 30px; display: flex; gap: 16px; align-items: center; }
.mission__sig-avatar { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--bleu-2)); flex-shrink: 0; overflow: hidden; }
.mission__sig-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mission__sig strong { display: block; font-size: 16px; color: var(--noir); }
.mission__sig span { font-size: 14px; color: var(--ink-500); }
/* Mockup application (page AssistEvent) : image détourée, sans cadre */
.mission__app { display: flex; justify-content: center; }
.mission__app img { max-width: 420px; width: 100%; height: auto; }
/* Liste à coches (avantages participants) */
.check-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 34px; font-size: 17px; line-height: 1.55; color: var(--ink-700); }
.check-list strong { font-weight: 700; color: var(--violet); }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px;
  border-radius: 50%; background: rgba(96,0,217,0.10);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236000D9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}

/* ============ ENGAGEMENTS (cartes photo) ============ */
.engage { padding: 84px 0; background: var(--blanc); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { margin-top: 16px; }
.engage__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* Tuile : photo pleine carte, texte posé en bas sur un voile dégradé
   (design de la maquette de référence — la photo reste bien lisible) */
.engage-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 3/4; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; color: #fff; background: var(--noir);
  transition: transform var(--dur) var(--ease);
}
.engage-card:hover { transform: translateY(-5px); }
.engage-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
/* Voile : opaque (≥0.82, contraste AA vérifié même sur image blanche)
   sous TOUTE la zone de texte (RGAA). Le chip démarre à ~35 % de
   hauteur (plus haut selon les textes traduits et la largeur d'écran) :
   le palier opaque est atteint avant, dès 34 %. */
.engage-card::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(61,0,136,0.03) 0%, rgba(61,0,136,0.10) 22%, rgba(32,16,60,0.82) 34%, rgba(28,14,54,0.90) 100%); }
.engage-card > * { position: relative; z-index: 2; }
.engage-card h3 { font-size: 25px; font-weight: 700; line-height: 1.16; margin: 0 0 12px; letter-spacing: -0.015em; }
.engage-card p { font-size: 15px; line-height: 1.55; margin: 0 0 16px; opacity: 0.94; }
.engage-card .link-arrow { color: #fff; border: 1.5px solid #fff; border-radius: 999px; padding: 9px 18px; align-self: flex-start; transition: gap var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease); }
.engage-card .link-arrow a { color: inherit; }
.engage-card .link-arrow:hover { background: #fff; color: var(--violet); }
/* Nuage de tags (domaines d'intervention, SEO) sous les cartes */
.engage__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 0; margin: 44px 0 0; }
.engage__tags a,
.engage__tags li > span {
  display: inline-block; padding: 8px 16px; border: 1.5px solid var(--ink-300); border-radius: 999px;
  font-size: 14px; font-weight: 700; color: var(--ink-700); background: var(--blanc);
  transition: all var(--dur) var(--ease);
}
.engage__tags a:hover { border-color: var(--violet); color: var(--violet); background: rgba(96,0,217,0.06); }

/* ============ IMPACT (chiffres) ============ */
.impact { background: var(--impact-bg); color: #fff; padding: 84px 0; }
.impact__inner { display: grid; grid-template-columns: 1fr 1.9fr; column-gap: 72px; row-gap: 20px; align-items: center; }
.impact__head .eyebrow { color: rgba(255,255,255,0.82); }
.impact__head h2 { color: #fff; font-size: clamp(2rem, 3.2vw, 2.7rem); letter-spacing: -0.025em; line-height: 1.12; margin: 16px 0 0; }
.impact__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.impact__nums--2 { grid-template-columns: repeat(2, 1fr); }
.impact__num { padding: 22px 24px; border-left: 2px solid rgba(255,255,255,0.32); }
.impact__num strong { display: block; font-size: 54px; font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.impact__num span { display: block; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,0.92); margin-top: 12px; }
.impact__more { grid-column: 1 / -1; display: flex; justify-content: flex-end; margin: 0 0 -28px; }

/* ============ TÉMOIGNAGES ============ */
.testi { padding: 104px 0; background: var(--section-alt); }
.testi__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 52px; }
.testi-card { background: var(--blanc); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-sm); }
.testi-card__quote { font-size: 19px; line-height: 1.55; color: var(--noir); margin: 0 0 26px; font-weight: 500; text-wrap: pretty; }
.testi-card__quote::before { content: '\201C'; font-size: 60px; color: var(--violet); line-height: 0.6; vertical-align: -0.35em; margin-right: 6px; font-weight: 700; }
.testi-card__person { display: flex; gap: 15px; align-items: center; padding-top: 22px; border-top: 1px solid var(--border); }
.testi-card__avatar { width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0; overflow: hidden; background: linear-gradient(135deg, var(--violet), var(--violet-2)); }
.testi-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-card__person strong { display: block; font-size: 16px; color: var(--noir); }
.testi-card__person span { font-size: 13px; color: var(--ink-500); }

/* ============ EXPERTISE (domaines) ============ */
.domain { padding: 60px 0; border-bottom: 1px solid var(--border); }
.domain:last-of-type { border-bottom: none; }
.domain--alt { background: var(--section-alt); }
.domain__head { display: grid; grid-template-columns: 110px 1fr; gap: 30px; align-items: start; margin-bottom: 36px; }
.domain__num { font-size: 58px; font-weight: 700; color: var(--violet); letter-spacing: -0.05em; line-height: 0.85; }
.domain__title h2 { margin: 12px 0 12px; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.025em; line-height: 1.1; }
.domain__title p:not(.eyebrow) { margin: 0; color: var(--ink-700); font-size: 17px; line-height: 1.56; max-width: 68ch; }
.domain__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-left: 140px; }
.service { position: relative; overflow: hidden; padding: 26px 24px 26px 30px; background: var(--blanc); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; gap: 8px; transition: all var(--dur) var(--ease); box-shadow: var(--shadow-sm); }
.service::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 9px; background: var(--violet); }
.service:hover { border-color: rgba(96,0,217,0.3); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.service strong { font-size: 20px; font-weight: 700; color: var(--noir); letter-spacing: -0.01em; }
.service span { font-size: 15px; color: var(--ink-700); line-height: 1.55; }

/* ============ ÉQUIPE ============ */
.person { display: grid; grid-template-columns: 340px 1fr; gap: 56px; padding: 60px 0; border-bottom: 1px solid var(--border); align-items: start; }
.person:last-of-type { border-bottom: none; }
.person__photo { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; position: relative; background: linear-gradient(135deg, var(--violet), var(--violet-2)); box-shadow: var(--shadow-md); display: flex; align-items: flex-end; }
.person__photo--2 { background: linear-gradient(135deg, var(--bleu), var(--bleu-2)); }
.person__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.person__photo .person__mono { position: relative; z-index: 2; font-size: 92px; font-weight: 700; color: rgba(255,255,255,0.92); letter-spacing: -0.03em; padding: 0 0 18px 26px; }
/* Portrait circulaire (dirigeants) sur fond doux */
.person__photo--avatar { display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg, #f0e8fa, #e7eefb 60%, #e9f5fb); }
.person__photo--avatar.person__photo--2 { background: linear-gradient(150deg, #e6f0fb, #eaf6fb 60%, #f0e9fa); }
.person__photo--avatar img { position: static; inset: auto; width: clamp(168px, 46vw, 232px); height: clamp(168px, 46vw, 232px); max-width: none; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 14px 34px rgba(96,0,217,0.20); }
.person__role { font-size: 16px; font-weight: 700; color: var(--violet); letter-spacing: 0.16em; text-transform: uppercase; }
.person h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin: 12px 0 6px; letter-spacing: -0.025em; line-height: 1.04; }
.person .person__expertise { font-size: 21px; color: var(--violet); font-weight: 600; margin: 0 0 22px; }
.person p { font-size: 17px; line-height: 1.68; color: var(--ink-900); margin: 0 0 18px; }
.person__linkedin { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--violet); font-size: 15px; padding-top: 16px; }
.person__linkedin::before {
  content: ''; width: 20px; height: 20px; border-radius: 4px; flex-shrink: 0;
  background: var(--violet);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M20.45 20.45h-3.55v-5.57c0-1.33-.03-3.04-1.85-3.04-1.86 0-2.14 1.45-2.14 2.94v5.67H9.35V9h3.41v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46zM5.34 7.43a2.06 2.06 0 1 1 0-4.12 2.06 2.06 0 0 1 0 4.12zM7.12 20.45H3.56V9h3.56zM22.22 0H1.77C.79 0 0 .77 0 1.73v20.54C0 23.23.79 24 1.77 24h20.45c.98 0 1.78-.77 1.78-1.73V1.73C24 .77 23.2 0 22.22 0z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M20.45 20.45h-3.55v-5.57c0-1.33-.03-3.04-1.85-3.04-1.86 0-2.14 1.45-2.14 2.94v5.67H9.35V9h3.41v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46zM5.34 7.43a2.06 2.06 0 1 1 0-4.12 2.06 2.06 0 0 1 0 4.12zM7.12 20.45H3.56V9h3.56zM22.22 0H1.77C.79 0 0 .77 0 1.73v20.54C0 23.23.79 24 1.77 24h20.45c.98 0 1.78-.77 1.78-1.73V1.73C24 .77 23.2 0 22.22 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ============ BENEFICES (AssistEvent) ============ */
.benefits { background: var(--violet); color: #fff; padding: 76px 0; }
.benefits + .benefits { box-shadow: inset 0 1px 0 rgba(255,255,255,0.3); }
.benefits__inner { display: grid; grid-template-columns: 240px 1fr; gap: 44px; align-items: center; }
.benefits__head .eyebrow { color: #fff; }
.benefits__head h2 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.15; margin: 14px 0 0; }
.benefits__cols { display: grid; grid-template-columns: repeat(3, 1fr); }
.benefits__col { padding: 6px 22px; border-left: 1px solid rgba(255,255,255,0.4); }
.benefits__col h3 { font-size: 18px; color: #fff; margin: 0 0 12px; letter-spacing: -0.01em; }
.benefits__col p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.92); }

/* ============ PARTENAIRES ============ */
.partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.partner { height: 150px; background: var(--blanc); border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; padding: 22px; text-align: center; transition: all var(--dur) var(--ease); }
.partner:hover { border-color: rgba(96,0,217,0.3); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.partner strong { font-size: 15px; color: var(--noir); letter-spacing: -0.005em; }
.partner img { max-height: 68px; max-width: 78%; width: auto; object-fit: contain; }
.partner em { display: block; font-style: normal; font-size: 12px; color: var(--ink-500); margin-top: 5px; letter-spacing: 0.03em; text-transform: uppercase; }
.testimonial-big { padding: 52px 56px; background: var(--blanc); border-left: 5px solid var(--violet); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; box-shadow: var(--shadow-sm); margin-top: 56px; }
.testimonial-big p { font-size: 23px; line-height: 1.45; color: var(--ink-900); font-weight: 500; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
.testimonial-big cite { display: block; margin-top: 24px; font-style: normal; font-size: 13px; letter-spacing: 0.06em; color: var(--ink-500); text-transform: uppercase; font-weight: 700; }

/* ============ BLOG ============ */
.filters { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 26px; }
.filter { padding: 8px 15px; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-700); background: var(--blanc); transition: all var(--dur) var(--ease); }
.filter:hover, .filter--active { background: var(--violet); color: var(--blanc); border-color: var(--violet); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.article-card {
  position: relative;
  background: var(--blanc); border: 1px solid var(--border); border-left-width: 4px; border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: all var(--dur) var(--ease);
}
/* Toute la tuile cliquable : le lien du titre est étiré sur la carte */
.article-card h3 a::after,
.featured h2 a::after { content: ''; position: absolute; inset: 0; }
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.article-card--cat-conformite { border-left-color: var(--bleu); }
.article-card--cat-rse        { border-left-color: #006e3f; }
.article-card--cat-expertise  { border-left-color: var(--violet); }
.article-card--cat-orange     { border-left-color: #b85a00; }
.article-card__media { aspect-ratio: 16/10; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--violet), var(--violet-2)); }
.article-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.article-card__body h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; margin: 0; line-height: 1.25; color: var(--noir); text-wrap: balance; }
.article-card__body h3 a:hover { color: var(--violet); }
.article-card__body p { margin: 0; color: var(--ink-700); font-size: 15px; line-height: 1.55; flex: 1; }
.article-card__meta { font-size: 13px; color: var(--ink-500); padding-top: 10px; border-top: 1px solid var(--border); }

/* ============ FEATURED (article à la une) ============ */
.featured { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: var(--blanc); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.featured:hover { box-shadow: var(--shadow-md); }
.featured__media { position: relative; min-height: 360px; background: linear-gradient(135deg, var(--violet), var(--bleu)); }
.featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured__body { padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.featured__body h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); letter-spacing: -0.025em; line-height: 1.12; margin: 0; }
.featured__body p { font-size: 17px; color: var(--ink-700); line-height: 1.6; margin: 0; }
.featured__meta { font-size: 13px; color: var(--ink-500); }

/* ============ ARTICLE (détail) ============ */
.article-hero { padding: 56px 0 0; }
.article-hero__media { aspect-ratio: 21/9; margin-top: 36px; position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--violet), var(--bleu)); }
.article-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: var(--width-reading); margin: 0 auto; padding: 56px 0 0; }
.article-body p { font-size: 18px; line-height: 1.75; color: var(--ink-900); margin: 0 0 26px; }
.article-body h2 { font-size: 28px; letter-spacing: -0.02em; margin: 44px 0 16px; }
/* !important requis : les articles rédigés sous l'ancien thème Jadro portent
   des marges/paddings inline (var --wp--preset--spacing-*) sur ul et li. */
.article-body ul { padding-left: 1.3em !important; margin: 0 0 26px !important; }
.article-body li { font-size: 18px; line-height: 1.6 !important; margin: 0 0 8px !important; padding: 0 0 0 6px !important; }
.article-body li::marker { color: var(--violet); }
.article-body li > p { margin: 0; }
.article-body ul ul { margin: 10px 0 0 !important; }
.article-body blockquote { margin: 36px 0; padding: 24px 30px; border-left: 4px solid var(--violet); background: var(--ink-100); border-radius: 0 var(--radius) var(--radius) 0; font-size: 20px; font-weight: 500; line-height: 1.5; color: var(--ink-900); }
.article-body .table-wrap { overflow-x: auto; margin: 0 0 26px; border-radius: var(--radius-sm); }
.article-body table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
.article-body th, .article-body td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; vertical-align: top; line-height: 1.5; }
.article-body thead th { background: var(--ink-100); font-weight: 700; color: var(--noir); }
.article-body table a { color: var(--violet); font-weight: 600; }
.article-body h3 { font-size: 21px; letter-spacing: -0.015em; margin: 32px 0 12px; }
/* Échelle typographique complète H2→H5 : la hiérarchie sémantique correcte
   (pas de saut de niveau, RGAA 9.1) reste toujours la plus naturelle visuellement. */
.article-body h4 { font-size: 18px; letter-spacing: -0.01em; margin: 28px 0 10px; }
.article-body h5 { font-size: 16px; letter-spacing: 0; text-transform: uppercase; color: var(--ink-500); margin: 24px 0 10px; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 64px; align-items: start; }
.contact-info { padding: 34px; background: var(--blanc); border: 1px solid var(--border); border-left: 5px solid var(--violet); border-radius: 0 var(--radius) var(--radius) 0; }
.contact-info h3 { margin: 0 0 6px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500); font-weight: 700; }
.contact-info p { margin: 0 0 22px; font-size: 17px; color: var(--ink-900); font-weight: 500; }
.contact-info p:last-child { margin-bottom: 0; }
.contact-info a { color: var(--violet); font-weight: 700; }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: 0.03em; color: var(--ink-700); }
.field input, .field textarea, .field select { padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: inherit; font-size: 16px; background: var(--blanc); color: var(--ink-900); transition: border-color var(--dur) var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--violet); outline-offset: 2px; border-color: var(--violet); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__rgpd { font-size: 13px; color: var(--ink-500); line-height: 1.55; }
.form__rgpd a { color: var(--violet); font-weight: 700; }
.form__note { font-size: 14px; color: var(--ink-500); margin: 0; }
.form__note span { color: var(--violet); font-weight: 700; }
.form__status { font-size: 15px; font-weight: 700; color: #006e3f; margin: 0; min-height: 1.2em; }
.form__status:empty { display: none; }

/* ---------- WPForms : harmonisation avec les champs du thème ---------- */
.form--wpforms { display: grid; gap: 20px; }
.contact-grid .wpforms-container {
  /* Variables du rendu moderne WPForms : héritées par tous les champs. */
  --wpforms-field-border-radius: var(--radius-sm);
  --wpforms-field-background-color: var(--blanc);
  --wpforms-field-border-color: var(--border);
  --wpforms-field-text-color: var(--ink-900);
  --wpforms-label-color: var(--ink-700);
  --wpforms-label-sublabel-color: var(--ink-500);
  --wpforms-label-error-color: #b3261e;
  --wpforms-button-background-color: var(--violet);
  --wpforms-button-text-color: var(--blanc);
  --wpforms-button-border-radius: 999px;
  --wpforms-field-size-medium: 100%;
  --wpforms-field-size-large: 100%;
}
.contact-grid div.wpforms-container-full { margin: 0 !important; width: 100% !important; max-width: 100% !important; }
.contact-grid div.wpforms-container-full .wpforms-form { width: 100% !important; max-width: 100% !important; }
.contact-grid div.wpforms-container-full .wpforms-form .wpforms-field-medium,
.contact-grid div.wpforms-container-full .wpforms-form .wpforms-field-large,
.contact-grid div.wpforms-container-full .wpforms-form .wpforms-field-small { max-width: 100% !important; width: 100% !important; }
.contact-grid div.wpforms-container-full .wpforms-form .wpforms-field-container { display: grid; gap: 20px; }
.contact-grid div.wpforms-container-full .wpforms-form .wpforms-field { padding: 0; margin: 0; display: grid; gap: 8px; }
.contact-grid div.wpforms-container-full .wpforms-form .wpforms-field-label {
  display: block; float: none; margin: 0;
  font-size: 13px; font-weight: 700; letter-spacing: 0.03em; color: var(--ink-700);
}
.contact-grid div.wpforms-container-full .wpforms-form .wpforms-field-sublabel { font-size: 12px; color: var(--ink-500); }
.contact-grid div.wpforms-container-full .wpforms-form .wpforms-required-label { color: var(--violet); }
.contact-grid div.wpforms-container-full .wpforms-form input[type=text],
.contact-grid div.wpforms-container-full .wpforms-form input[type=email],
.contact-grid div.wpforms-container-full .wpforms-form input[type=tel],
.contact-grid div.wpforms-container-full .wpforms-form input[type=url],
.contact-grid div.wpforms-container-full .wpforms-form input[type=number],
.contact-grid div.wpforms-container-full .wpforms-form select,
.contact-grid div.wpforms-container-full .wpforms-form textarea {
  width: 100% !important; max-width: 100% !important; height: auto;
  padding: 14px 16px !important; border: 1px solid var(--border) !important; border-radius: var(--radius-sm) !important;
  font-family: inherit !important; font-size: 16px !important; background: var(--blanc) !important; color: var(--ink-900) !important;
  transition: border-color var(--dur) var(--ease); box-shadow: none !important;
}
.contact-grid div.wpforms-container-full .wpforms-form input:focus,
.contact-grid div.wpforms-container-full .wpforms-form select:focus,
.contact-grid div.wpforms-container-full .wpforms-form textarea:focus {
  outline: 2px solid var(--violet); outline-offset: 2px; border-color: var(--violet); box-shadow: none;
}
.contact-grid div.wpforms-container-full .wpforms-form button[type=submit] {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-sans) !important; font-weight: 700; font-size: 16px !important; letter-spacing: 0.01em;
  padding: 16px 30px !important; min-height: 54px; height: auto !important; border-radius: var(--radius-pill) !important;
  border: 1.5px solid var(--violet) !important; background: var(--violet) !important; color: var(--blanc) !important;
  white-space: nowrap; cursor: pointer; transition: all var(--dur) var(--ease); justify-self: start;
}
.contact-grid div.wpforms-container-full .wpforms-form button[type=submit]:hover {
  background: var(--violet-deep) !important; border-color: var(--violet-deep) !important;
  transform: translateY(-2px); box-shadow: 0 10px 26px rgba(96,0,217,0.28);
}
.contact-grid div.wpforms-container-full .wpforms-form .wpforms-submit-container { padding: 0; }
.contact-grid div.wpforms-container-full label.wpforms-error {
  display: block; float: none; margin: 4px 0 0; font-size: 13px; font-weight: 700; color: #b3261e;
}
.contact-grid div.wpforms-container-full .wpforms-field.wpforms-has-error input,
.contact-grid div.wpforms-container-full .wpforms-field.wpforms-has-error textarea,
.contact-grid div.wpforms-container-full .wpforms-field.wpforms-has-error select { border-color: #b3261e; }
.contact-grid div.wpforms-container-full .wpforms-confirmation-container-full {
  margin: 0; padding: 18px 20px; border: 1px solid #006e3f; border-radius: var(--radius-sm);
  background: #eef7f1; color: #006e3f; font-weight: 700;
}

/* ============ ABOUT cards / page-nav ============ */
.about-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about-cards--2 { grid-template-columns: repeat(2, 1fr); max-width: 920px; margin: 0 auto; }
.about-card { background: var(--blanc); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: all var(--dur) var(--ease); display: flex; flex-direction: column; gap: 14px; }
.about-card:hover { border-color: rgba(96,0,217,0.3); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.about-card__icon { width: 54px; height: 54px; border-radius: 14px; background: rgba(96,0,217,0.09); display: flex; align-items: center; justify-content: center; color: var(--violet); }
.about-card__icon svg { width: 26px; height: 26px; }
/* Variantes colorées (services AssistEvent : un service = une couleur) */
.about-card__icon--vert   { background: rgba(0,150,90,0.12);  color: #006e3f; }
.about-card__icon--orange { background: rgba(220,120,0,0.12); color: #b85a00; }
.about-card__icon--bleu   { background: rgba(0,94,255,0.10);  color: var(--bleu); }
.about-card h3 { font-size: 21px; margin: 0; letter-spacing: -0.015em; }
.about-card p { margin: 0; color: var(--ink-700); font-size: 15px; line-height: 1.55; flex: 1; }
.two-col { display: grid; grid-template-columns: 1fr 2fr; gap: 72px; align-items: start; }
.two-col__aside { position: sticky; top: 100px; }
.two-col__main p { font-size: 18px; line-height: 1.72; color: var(--ink-900); margin: 0 0 20px; }
.two-col__main p strong { font-weight: 700; color: var(--violet); }
.page-nav { display: flex; justify-content: space-between; gap: 16px; padding: 60px 0; flex-wrap: wrap; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { padding: 30px; background: var(--blanc); border: 1px solid var(--border); border-radius: var(--radius); }
.value__icon { width: 50px; height: 50px; border-radius: 13px; background: rgba(96,0,217,0.09); display: flex; align-items: center; justify-content: center; color: var(--violet); margin-bottom: 18px; }
.value__icon svg { width: 24px; height: 24px; }
.value h3 { font-size: 19px; margin: 0 0 8px; letter-spacing: -0.01em; }
.value p { margin: 0; font-size: 15px; line-height: 1.56; color: var(--ink-700); }

/* ============ BANNIÈRES PROMO (AssistEvent / VivAcademy) ============ */
.promo-banners { display: grid; gap: 18px; margin-top: 28px; }
.promo-banner {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  padding: 26px 36px; border-radius: 20px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.promo-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.promo-banner--cyan   { background: #DFF6FB; }
.promo-banner--violet { background: #EDE6FB; }
.promo-banner__brand { flex: 0 0 200px; font-size: 22px; font-weight: 700; color: var(--violet-deep); letter-spacing: -0.01em; }
.promo-banner--cyan .promo-banner__brand { text-transform: uppercase; letter-spacing: 0.16em; font-size: 19px; }
.promo-banner__body { flex: 1; min-width: 240px; }
.promo-banner__body strong { display: block; font-size: 20px; color: var(--noir); letter-spacing: -0.01em; }
.promo-banner__body span { font-size: 15px; color: var(--ink-700); }
.promo-banner .link-arrow { flex-shrink: 0; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1120px) {
  /* En-tête « Un gain pour chacun » au-dessus des 3 colonnes : garde
     chaque titre de colonne sur une seule ligne aux largeurs intermédiaires. */
  .benefits__inner { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 940px) {
  .hero { padding: 72px 0 64px; }
  .hero__media--hide-mobile { display: none; }
  .hero__inner, .mission__inner, .impact__inner { grid-template-columns: 1fr; gap: 44px; }
  /* Une chaîne insécable (eyebrow avec &nbsp;) ne doit jamais élargir la
     colonne 1fr au-delà de l'écran : min auto → 0 sur les enfants directs. */
  .hero__inner > * { min-width: 0; }
  .hero .eyebrow { font-size: 12px; letter-spacing: 0.12em; }
  .hero__photo { aspect-ratio: 16/10; max-height: 300px; max-width: 540px; margin: 0 auto; }
  .hero__photo--illu { aspect-ratio: 823/1019; max-height: 360px; max-width: min(291px, 100%); }
  .figure.hero__photo:has(img[src*="hero-accueil"]) { aspect-ratio: 823/1019; max-height: 360px; max-width: min(291px, 100%); }
  .hero__floating { right: 16px; }
  .engage__grid, .testi__grid, .impact__nums, .impact__nums--2, .blog-grid, .about-cards, .about-cards--2, .values { grid-template-columns: 1fr; }
  .trust__inner { flex-direction: column; gap: 20px; }
  .trust__carousel { width: 100%; }
  .promo-banner { gap: 14px; }
  .promo-banner__brand { flex-basis: 100%; }
  .domain__head { grid-template-columns: 1fr; gap: 8px; }
  .benefits__inner { grid-template-columns: 1fr; gap: 30px; }
  .benefits__cols { grid-template-columns: 1fr; gap: 22px; }
  .benefits__col { border-left: none; border-top: 1px solid rgba(255,255,255,0.4); padding: 20px 0 0; }
  .domain__grid { grid-template-columns: 1fr; margin-left: 0; }
  .person { grid-template-columns: 1fr; gap: 24px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .featured { grid-template-columns: 1fr; }
  .featured__media { min-height: 240px; }
  .contact-grid, .two-col { grid-template-columns: 1fr; gap: 36px; }
  .two-col__aside { position: static; }
}
@media (max-width: 600px) {
  .impact__num strong { font-size: 44px; }
  .field--row { grid-template-columns: 1fr; }
  .featured__body, .testimonial-big { padding: 30px; }
}
