/*
Theme Name: GNY Impact
Author: Tidiane Abbé
Description: Thème sur mesure du site GNY Impact : recrutement humain et durable, Île-de-France.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Tous droits réservés
Text Domain: gny-impact
*/

/* ==========================================================================
   GNY Impact – feuille de style
   Même direction artistique que le design Figma (couleurs, typographies,
   logo) ; interface modernisée : ombres, relief, animations sobres.
   ========================================================================== */

:root {
  --navy: #132d43;
  --navy-deep: #0e2133;
  --orange: #f28a45;
  --rust: #a04c22;
  --muted: #536575;
  --soft: #d5e0e7;
  --card: #f3f6f7;
  --peach: #fff0e4;
  --white: #ffffff;

  --line: rgba(19, 45, 67, 0.1);
  --shadow-sm: 0 1px 2px rgba(19, 45, 67, 0.05), 0 6px 16px -8px rgba(19, 45, 67, 0.14);
  --shadow-md: 0 2px 6px rgba(19, 45, 67, 0.05), 0 22px 44px -20px rgba(19, 45, 67, 0.3);
  --shadow-lg: 0 34px 70px -30px rgba(6, 18, 28, 0.7);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 0.8, 0.3, 1);

  /* Marges latérales : 64 px comme dans le design, contenu centré au-delà de 1440 px */
  --pad-x: max(clamp(24px, 4.4vw, 64px), calc((100% - 1312px) / 2));
  --pad-y: clamp(56px, 6vw, 88px);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.55;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.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;
}

.skip-link {
  position: absolute;
  top: -64px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  background: var(--navy);
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

/* Apparition douce au défilement (activée par script.js) */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   En-tête et navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 24px;
  padding: 14px var(--pad-x);
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -20px rgba(19, 45, 67, 0.4);
}

.site-header__logo {
  display: block;
  justify-self: start;
  width: 177px;
  height: 88px;
}

.site-header__logo img {
  width: 100%;
  height: 100%;
  filter: brightness(1.01); /* efface le fond très légèrement grisé du fichier logo */
}

/* Sur ordinateur, le menu se fond dans la grille : la navigation reste centrée */
.site-header__menu {
  display: contents;
}

.site-nav {
  justify-self: center;
}

.site-nav__list {
  display: flex;
  gap: 4px;
}

.site-nav__link {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 4px;
  left: 14px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  background: rgba(19, 45, 67, 0.05);
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after,
.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav__link[aria-current="page"] {
  font-weight: 600;
}

/* Bouton + mention : la mention est centrée sous le bouton */
.site-header__cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-self: end;
  gap: 6px;
}

.site-header__note {
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--navy);
  cursor: pointer;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), background-color 0.2s ease;
}

.nav-toggle__bar {
  position: relative;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }

.site-header.is-open .nav-toggle__bar { background: transparent; }
.site-header.is-open .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Boutons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  background: linear-gradient(180deg, #f79a5d 0%, #f28a45 100%);
  border: 0;
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 1px 2px rgba(160, 76, 34, 0.3),
    0 12px 24px -12px rgba(242, 138, 69, 0.9);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s ease;
}

.btn--lg {
  min-height: 54px;
  padding: 16px 28px;
  font-size: 15px;
  white-space: normal;
}

.btn__icon {
  display: inline-block;
  font-weight: 500;
  transition: transform 0.25s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  filter: brightness(1.03);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 2px 4px rgba(160, 76, 34, 0.3),
    0 18px 32px -12px rgba(242, 138, 69, 1);
}

.btn:hover .btn__icon,
.btn:focus-visible .btn__icon {
  transform: translateX(3px);
}

.btn[target="_blank"]:hover .btn__icon,
.btn[target="_blank"]:focus-visible .btn__icon {
  transform: translate(2px, -2px);
}

.btn:active {
  transform: translateY(0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 12px -8px rgba(242, 138, 69, 0.9);
}

.btn:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.hero .btn:focus-visible,
.page-hero .btn:focus-visible {
  outline-color: var(--white);
}

/* Bouton + mention en dessous */
.action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.action__note {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.action__note--light {
  color: var(--soft);
}

.text-link {
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--rust);
}

/* ==========================================================================
   Briques de texte communes
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.08em;
  color: var(--rust);
}

.eyebrow::before {
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.eyebrow--light {
  color: var(--orange);
}

.h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.h2--sm { font-size: clamp(28px, 3.6vw, 36px); }
.h2--md { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; }

.h2 span {
  display: block;
}

.lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.lede--strong {
  font-weight: 600;
  color: var(--navy);
}

.fineprint {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.fineprint--light { color: var(--soft); }
.fineprint--lg { font-size: 16px; }

.quote {
  font-size: clamp(20px, 2.4vw, 25px);
  font-style: italic;
  line-height: 1.55;
  color: var(--navy);
}

.quote--sm {
  font-size: 18px;
  color: var(--muted);
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  padding: var(--pad-y) var(--pad-x);
}

.section--white { background: var(--white); }
.section--grey { background: var(--card); }
.section--peach { background: var(--peach); }

.section--stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 24px;
  width: 100%;
}

/* ==========================================================================
   Bandeaux d'en-tête (accueil, accompagnement, pages intérieures)
   ========================================================================== */

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(242, 138, 69, 0.2), transparent 70%),
    radial-gradient(50% 70% at 0% 100%, rgba(255, 255, 255, 0.07), transparent 70%),
    var(--navy);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  top: -240px;
  right: -160px;
  width: 560px;
  height: 560px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.hero > *,
.page-hero > * {
  position: relative;
  z-index: 1;
}

.hero {
  padding: clamp(40px, 5vw, 72px) var(--pad-x) var(--pad-y);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 48px 72px;
  align-items: center;
}

.hero__lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero__kicker {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.hero__sectors {
  font-size: 16px;
  line-height: 1.55;
  color: var(--orange);
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5.2vw, 60px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--white);
}

.hero__title--sm {
  font-size: clamp(34px, 4.8vw, 54px);
  line-height: 1.18;
}

.hero__title span {
  display: block;
}

.hero__intro {
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.6;
  color: var(--soft);
}

/* Portrait encadré (page d'accueil) : cadre à bordure translucide + pastille du nom */
.portrait {
  width: 100%;
  max-width: 360px;
  margin-left: auto;
}

.portrait__ring {
  padding: 5px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), var(--shadow-lg);
}

.portrait__frame {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #d9d4ce;
  border-radius: 25px;
}

/* Fond : la même photo, floutée, pour prolonger naturellement les bords quand elle est dézoomée */
.portrait__frame::before {
  content: "";
  position: absolute;
  top: -8%;
  right: -8%;
  bottom: -8%;
  left: -8%;
  background: url("assets/gladys-nkombo-yengo.jpg") center / cover no-repeat;
  filter: blur(14px);
}

.portrait__frame img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(0.96);
  transform-origin: 50% 0;
  /* Bords fondus : la photo se prolonge sans trait de séparation avec le fond flouté */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, #000 88%, transparent);
  mask-composite: intersect;
}

.portrait__caption {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: -20px;
  text-align: center;
}

.portrait__name {
  padding: 10px 22px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
  white-space: nowrap;
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.55);
}

.portrait__role {
  font-size: 13px;
  line-height: 1.45;
  color: var(--soft);
}

/* Les trois étapes sous le bandeau d'accueil */
.approach {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: clamp(40px, 4vw, 64px);
}

.approach__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.approach__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), background-color 0.35s ease, border-color 0.35s ease;
}

.approach__item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(242, 138, 69, 0.6);
  transform: translateY(-4px);
}

.approach__item--accent {
  background: rgba(242, 138, 69, 0.14);
  border-color: rgba(242, 138, 69, 0.45);
}

.approach__num {
  align-self: flex-start;
  padding: 3px 11px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: var(--orange);
  border-radius: 999px;
}

.approach__title {
  font-family: var(--font-head);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

.approach__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--soft);
}

.approach__note {
  font-size: 14px;
  line-height: 1.55;
  color: var(--soft);
}

/* Colonne de droite du bandeau « Accompagnement » */
.hero__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step {
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease;
}

.step:hover {
  border-color: rgba(242, 138, 69, 0.5);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.step__title {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

/* Bandeau à une colonne */
.page-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding: clamp(48px, 6vw, 80px) var(--pad-x);
}

.page-hero__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.page-hero__kicker {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.page-hero__top .page-hero__kicker {
  flex: 1 0 0;
  min-width: 1px;
}

.page-hero__title {
  font-family: var(--font-head);
  font-size: clamp(32px, 5.4vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--white);
}

.page-hero__title--md {
  font-size: clamp(32px, 5vw, 54px);
}

.page-hero__title span {
  display: block;
}

.page-hero__sectors {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.55;
  color: var(--white);
}

.page-hero .hero__intro {
  max-width: 780px;
}

.partner-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.partner-card__logo {
  flex-shrink: 0;
  width: 45px;
  height: 55px;
}

.partner-card__name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
}

/* ==========================================================================
   Nos engagements (accueil)
   ========================================================================== */

.engagements {
  padding: var(--pad-y) var(--pad-x);
  background: var(--peach);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 36px 28px;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(242, 138, 69, 0.2);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s ease;
}

.pillar:hover {
  border-color: rgba(242, 138, 69, 0.6);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.pillar__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 6px;
  color: var(--orange);
  background: var(--navy);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(19, 45, 67, 0.08);
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}

.pillar:hover .pillar__icon {
  box-shadow: 0 0 0 10px rgba(242, 138, 69, 0.2);
  transform: scale(1.08) rotate(-4deg);
}

.pillar__title {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

.pillar__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* ==========================================================================
   Cartes
   ========================================================================== */

.card {
  position: relative;
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: 16px;
  min-width: 280px;
  padding: 28px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(19, 45, 67, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s ease, border-color 0.35s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), #f7b27f);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease);
}

.card:hover {
  background: var(--white);
  border-color: rgba(242, 138, 69, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card:hover::before {
  transform: scaleX(1);
}

.card--white { background: var(--white); }

.row--tight .card,
.row--32 .card { min-width: 300px; }
.row--32 { gap: 24px 32px; }

.card__num {
  align-self: flex-start;
  padding: 3px 11px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--rust);
  background: rgba(242, 138, 69, 0.16);
  border-radius: 999px;
}

.card__title {
  font-family: var(--font-head);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.card__text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.card__aside {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.card--expertise .card__text { font-size: 18px; }
.card--faq .card__title { font-size: 24px; }

.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--rust);
  background: rgba(242, 138, 69, 0.16);
  border-radius: 14px;
  transition: transform 0.4s var(--ease), background-color 0.35s ease, color 0.35s ease;
}

.card:hover .card__icon {
  color: var(--navy);
  background: var(--orange);
  transform: scale(1.06) rotate(-4deg);
}

.card--sector {
  min-width: 210px;
}

.card--sector .card__title { font-size: 22px; }

/* ==========================================================================
   Blocs spécifiques aux pages
   ========================================================================== */

.callout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 32px;
  background: var(--peach);
  border: 1px solid rgba(242, 138, 69, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.callout__title {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.timeline__item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(242, 138, 69, 0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease;
}

.timeline__item:hover {
  border-color: rgba(242, 138, 69, 0.6);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}

.timeline__item .card__num { margin-bottom: 2px; }

.timeline__title {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

.timeline__text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

/* Recrutement : bloc « présenter un besoin » */
.lead-col {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-width: 340px;
  max-width: 480px;
}

.prep-card {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: 16px;
  min-width: 460px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 4px;
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(242, 138, 69, 0.2);
}

.checklist strong {
  display: block;
  font-weight: 600;
  color: var(--navy);
}

/* Puces (communes, services) */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-family: var(--font-head);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}

.chip:hover {
  border-color: rgba(242, 138, 69, 0.6);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.chip .icon {
  width: 20px;
  height: 20px;
  color: var(--orange);
}

.chip--dot::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

.chips--text .chip {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
}

/* Une indépendante à vos côtés (accueil) */
.about-card {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: 14px;
  min-width: 320px;
  max-width: 420px;
  padding: 32px;
  background: var(--white);
  border: 1px solid rgba(242, 138, 69, 0.25);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-card__title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.about-card__name {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}

.about-card__text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

.about {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-width: 1px;
}

/* À propos : frise du parcours */
.parcours {
  width: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.parcours img {
  width: 100%;
  height: auto;
}

/* Contact */
.booking {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: 24px;
  min-width: 300px;
}

.booking__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(242, 138, 69, 0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease;
}

.booking__card:hover {
  border-color: rgba(242, 138, 69, 0.6);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.booking__title {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

.booking__title--lg { font-size: clamp(22px, 2.5vw, 27px); }

.booking__text {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}

.contact-card {
  flex: 1 0 0;
  align-self: flex-start;
  gap: 12px;
  min-width: 300px;
  max-width: 400px;
  padding: 24px;
  background: var(--white);
}

.contact-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.contact-line__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--rust);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  word-break: break-word;
  transition: color 0.2s ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--rust);
}

.contact-link .icon {
  width: 20px;
  height: 20px;
  color: var(--orange);
}

/* ==========================================================================
   Pied de page
   ========================================================================== */

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: clamp(56px, 6vw, 80px) var(--pad-x) 32px;
  color: var(--soft);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(242, 138, 69, 0.12), transparent 70%),
    var(--navy-deep);
  border-top: 3px solid var(--orange);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr;
  gap: 40px 48px;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-logo {
  display: block;
  width: 188px;
  padding: 14px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.footer-logo img {
  width: 100%;
  height: auto;
  filter: brightness(1.01);
}

.site-footer__title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
}

.site-footer__baseline {
  font-size: 15px;
  font-weight: 600;
  color: var(--orange);
}

.site-footer__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--soft);
}

.social {
  display: flex;
  gap: 10px;
}

.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transition: transform 0.3s var(--ease), background-color 0.25s ease, color 0.25s ease;
}

.social a:hover,
.social a:focus-visible {
  color: var(--navy);
  background: var(--orange);
  transform: translateY(-3px);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-link {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--soft);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.25s var(--ease);
}

.footer-link small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: rgba(213, 224, 231, 0.7);
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--white);
  transform: translateX(4px);
}

.footer-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.footer-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}

.site-footer__legal .footer-link {
  padding: 4px 0;
  font-size: 13px;
}

.site-footer__copy {
  font-size: 13px;
  line-height: 1.5;
  color: var(--soft);
}

/* ==========================================================================
   Pages légales
   ========================================================================== */

.legal {
  padding: var(--pad-y) var(--pad-x);
  background: var(--white);
}

.legal__inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 820px;
}

.legal h2 {
  margin-bottom: 12px;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

.legal p,
.legal li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.legal p + p,
.legal p + ul,
.legal ul + p {
  margin-top: 12px;
}

.legal ul {
  padding-left: 22px;
  list-style: disc;
}

.legal li + li {
  margin-top: 6px;
}

.legal li::marker {
  color: var(--orange);
}

.legal a {
  font-weight: 600;
  color: var(--navy);
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.todo {
  padding: 1px 6px;
  font-weight: 500;
  color: #5b4a00;
  background: #fff3b0;
  border-radius: 4px;
}

/* ==========================================================================
   Adaptation aux écrans plus étroits
   ========================================================================== */

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header__logo {
    width: 142px;
    height: 70px;
  }

  .site-header__menu {
    display: flex;
    flex-direction: column;
    grid-column: 1 / -1;
    gap: 16px;
    padding-top: 12px;
  }

  .site-nav {
    justify-self: stretch;
  }

  .site-nav__list {
    flex-direction: column;
    gap: 0;
  }

  .site-nav__link {
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .site-nav__link::after {
    right: 8px;
    left: 8px;
    bottom: 6px;
  }

  .site-header__cta {
    justify-self: stretch;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .js .site-header__menu {
    display: none;
  }

  .js .site-header.is-open .site-header__menu {
    display: flex;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .portrait {
    max-width: 340px;
    margin: 8px auto 0;
  }
}

@media (max-width: 720px) {
  .card,
  .card--sector,
  .row--tight .card,
  .row--32 .card,
  .about-card,
  .lead-col,
  .prep-card,
  .booking,
  .contact-card {
    flex-basis: 100%;
    min-width: 0;
    max-width: none;
  }

  .prep-card,
  .about-card {
    padding: 24px;
  }

  .btn--lg {
    width: 100%;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .timeline__item:hover {
    transform: none;
  }
}

/* ==========================================================================
   Accessibilité : pas d'animation pour qui les a désactivées dans son système
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .btn:hover,
  .card:hover,
  .pillar:hover,
  .step:hover,
  .chip:hover,
  .approach__item:hover,
  .booking__card:hover,
  .timeline__item:hover,
  .social a:hover {
    transform: none;
  }
}

/* ==========================================================================
   WordPress : barre d'administration (visible uniquement pour les personnes connectées)
   ========================================================================== */

body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 600px) {
  body.admin-bar .site-header {
    top: 0;
  }
}

.contact-line + .contact-line {
  margin-top: 1rem;
}

.footer-block + .footer-block {
  margin-top: 1rem;
}