/* ============================================================
   ARTERE — Page « L'Agence »
   Styles spécifiques (réutilise styles.css + agence.css)
   ============================================================ */

/* ---------- Hero : illustration en fond plein cadre, sans bordure ---------- */
.agence-hero {
  background:
    linear-gradient(
      100deg,
      #f4f4f5 0%,
      #f4f4f5 48%,
      rgba(245, 245, 246, 0.96) 56%,
      rgba(250, 250, 251, 0.5) 66%,
      rgba(255, 255, 255, 0) 76%
    ),
    url("../agence-hero.png") no-repeat right center / auto 90%,
    #ffffff;
}
.agence-hero .hero-grid {
  grid-template-columns: 1fr;
  min-height: clamp(440px, 42vw, 600px);
  align-items: center;
}
.agence-hero .hero-copy {
  max-width: 540px;
  position: relative;
  z-index: 2;
}
@media (max-width: 1000px) {
  .agence-hero {
    background:
      linear-gradient(
        180deg,
        #f5f5f6 0%,
        rgba(247, 247, 248, 0.55) 30%,
        rgba(255, 255, 255, 0) 56%
      ),
      url("../agence-hero.png") no-repeat center bottom / min(580px, 98%) auto,
      #ffffff;
  }
  .agence-hero .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: 0;
    padding: 52px 28px min(62vw, 380px);
  }
  .agence-hero .hero-copy {
    max-width: none;
    margin: 0 auto;
  }
  .agence-hero .hero-cta {
    justify-content: center;
  }
}

/* ---------- Notre histoire — layout éditorial ---------- */
.story {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: start;
  margin-top: 8px;
}
.story-aside {
  position: sticky;
  top: 108px;
}
.story-aside .eyebrow {
  display: block;
}
.story-aside h2 {
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-top: 0.55rem;
}
.story-aside .rule {
  width: 54px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand);
  margin: 1.1rem 0 0;
}
.story-since {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}
.story-since .yr {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand);
  line-height: 1;
}
.story-since .yr-lbl {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.4;
  font-weight: 600;
}
.story-body {
  max-width: 62ch;
}
.story-body .story-lead {
  font-size: 1.28rem;
  line-height: 1.55;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.story-body .story-lead .brand-em {
  color: var(--brand);
}
.story-body p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.78;
  margin-top: 1.15rem;
}
.story-body .story-kicker {
  margin-top: 1.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
}
.story-body .story-kicker strong {
  color: var(--brand);
  font-weight: 800;
}

/* variante centrée */
.story--center {
  display: block;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.story--center .story-aside {
  position: static;
}
.story--center .story-aside .rule {
  margin-left: auto;
  margin-right: auto;
}
.story--center .story-since {
  display: inline-flex;
  margin-top: 26px;
  text-align: left;
}
.story--center .story-body {
  max-width: 740px;
  margin: 40px auto 0;
}
.story--center .story-body .story-kicker {
  border-top: 1px solid var(--line);
  display: inline-block;
  margin-top: 1.8rem;
  padding-top: 1.6rem;
}

/* ---------- Expertise à votre service + clients ---------- */
.serve-intro {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.serve-intro p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
  margin-top: 1.05rem;
}
.serve-intro p strong {
  color: var(--ink);
  font-weight: 700;
}
.trust {
  margin-top: 50px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px 30px 36px;
}
.trust-head {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 26px;
}
.trust-head b {
  color: var(--brand);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.trust-logo {
  display: grid;
  place-items: center;
  height: 84px;
  padding: 14px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.trust-logo:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #dcdcdf;
}
.trust-logo img {
  max-height: 46px;
  max-width: 118px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.74;
  transition:
    filter 0.25s ease,
    opacity 0.25s ease;
}
.trust-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* ---------- Nos compétences (3 cartes) ---------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.skill-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 34px 30px;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #dcdcdf;
}
/* sur section grise : cartes blanches, badges d'icônes sur fond blanc */
.section--alt .skill-card {
  background: #fff;
}
.skill-card .s-badge {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #f0f1f3;
  color: var(--brand);
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
}
.skill-card .s-badge svg {
  width: 32px;
  height: 32px;
}
.skill-card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.skill-card p {
  color: var(--muted);
  font-size: 0.98rem;
  margin-top: 0.55rem;
  line-height: 1.6;
}

/* ---------- Notre vision + philosophie — bloc gris unifié ---------- */
.vp-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 64px 0;
}
@media (max-width: 1000px) {
  .vp-divider {
    margin: 48px 0;
  }
}

/* ---------- Notre vision — miroir de « Notre philosophie » ---------- */
.vision {
  padding: 64px 0;
}
.philo.philo--mirror {
  grid-template-columns: 2fr 0.7fr;
}
.philo-aside--right {
  text-align: left;
}
.philo-aside--right .eyebrow {
  display: block;
}
.philo-aside--right h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-top: 0.55rem;
  text-wrap: balance;
}
.philo-aside--right .rule {
  width: 54px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand);
  margin: 1.1rem 0 0;
}
.vision-eye {
  margin-top: 26px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--brand);
  display: grid;
  place-items: center;
}
.vision-eye svg {
  width: 30px;
  height: 30px;
}
@media (max-width: 1000px) {
  .philo.philo--mirror {
    grid-template-columns: 1fr;
  }
}

/* ---------- Notre philosophie ---------- */
.philo {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
}
.philo-aside .eyebrow {
  display: block;
}
.philo-aside h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin-top: 0.55rem;
}
.philo-aside .rule {
  width: 54px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand);
  margin: 1.1rem 0 0;
}
.philo-aside .quote-mark {
  margin-top: 26px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 3rem;
  font-weight: 800;
  font-family: Georgia, serif;
  line-height: 1;
}
.philo-body p {
  color: var(--ink-soft);
  font-size: 1.12rem;
  line-height: 1.78;
}
.philo-body p + p {
  margin-top: 1.2rem;
}
.philo-body strong {
  color: var(--ink);
  font-weight: 700;
}
.philo-body .brand-em {
  color: var(--brand);
  font-weight: 700;
}

/* ---------- Ambition + Promesse ---------- */
.ap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}
.ap-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.ap-card .ap-ic {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
}
.ap-card .ap-ic svg {
  width: 30px;
  height: 30px;
}
.ap-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.ap-card p {
  font-size: 1.04rem;
  line-height: 1.7;
  margin-top: 0.7rem;
}
.ap-card.ambition {
  background: #fff;
}
.ap-card.ambition .ap-ic {
  background: #f0f1f3;
  color: var(--brand);
}
.ap-card.ambition p {
  color: var(--ink-soft);
}
.ap-card.promesse {
  background: #fff;
  color: var(--ink);
}
.ap-card.promesse .ap-ic {
  background: #f0f1f3;
  color: var(--brand);
}
.ap-card.promesse h3 {
  color: var(--ink);
}
.ap-card.promesse p {
  color: var(--ink-soft);
}
.ap-card.promesse .ap-no {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.3rem;
  justify-content: center;
}
.ap-card.promesse .ap-no span {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  line-height: 1;
}

/* ---------- Nos valeurs ---------- */
.values-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 6px;
}
.values-creed {
  text-align: center;
  margin-top: 1.3rem;
  line-height: 1.7;
}
.values-creed span {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.values-creed span + span {
  margin-left: 0.4em;
}
.values-creed .accent {
  color: var(--brand);
  font-weight: 800;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 46px;
}
.value-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px 26px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.section--alt .value-card {
  background: #fff;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #dcdcdf;
}
.value-card .v-ic {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.value-card .v-ic svg {
  width: 27px;
  height: 27px;
}
.value-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.value-card h3::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--brand);
  margin-top: 10px;
}
.value-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-top: 13px;
}

/* ---------- Nos valeurs — diagramme en losanges ---------- */
/* sélecteur d'affichage (comparatif des 2 versions) */
.vd-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 30px auto 0;
  width: max-content;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}
.vd-toggle button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
  padding: 8px 18px;
  border-radius: 999px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.vd-toggle button[aria-pressed="true"] {
  background: var(--brand);
  color: #fff;
}
.vd-toggle button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.values-stage {
  position: relative;
  max-width: 940px;
  margin: 32px auto 0;
}
.values-diagram {
  position: relative;
  width: min(560px, 94vw);
  margin: 0 auto;
}
.vd-wheel {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* anneau pointillé + points décoratifs */
.vd-ring {
  fill: none;
  stroke: #dfe0e3;
  stroke-width: 1.4;
  stroke-dasharray: 2 9;
  stroke-linecap: round;
}

/* marqueur rouge qui tourne autour de la roue */
.vd-marker {
  transform-box: view-box;
  transform-origin: 300px 300px;
  transition: transform 0.8s cubic-bezier(0.45, 0.05, 0.2, 1);
}
.vd-marker-core {
  fill: #e1241c;
  filter: drop-shadow(0 1px 4px rgba(225, 36, 28, 0.55));
}
.vd-marker-halo {
  fill: #e1241c;
  opacity: 0.22;
  transform-box: view-box;
  transform-origin: 300px 38px;
  animation: vdHalo 1.9s ease-out infinite;
}
@keyframes vdHalo {
  0% {
    transform: scale(0.8);
    opacity: 0.4;
  }
  70%,
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .vd-marker {
    transition: none;
  }
  .vd-marker-halo {
    animation: none;
    opacity: 0.22;
  }
}

/* segments */
.vd-seg {
  cursor: pointer;
}
.vd-seg:focus {
  outline: none;
}
.vd-seg-bg {
  fill: #edeef1;
  stroke: #e6e7ea;
  stroke-width: 1;
  filter: url(#vdSoft);
  transition:
    fill 0.18s ease,
    stroke 0.18s ease;
}
.vd-ico-bg {
  fill: #ffffff;
  stroke: #ececef;
  stroke-width: 1;
  transition:
    fill 0.18s ease,
    stroke 0.18s ease;
}
.vd-ico {
  color: var(--brand);
  transition: color 0.18s ease;
}
.vd-ico path,
.vd-ico circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vd-seg-label {
  fill: var(--ink);
  font-family: inherit;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.07em;
  text-anchor: middle;
  dominant-baseline: middle;
  transition: fill 0.18s ease;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
/* état survol / actif */
.vd-seg:hover .vd-seg-bg,
.vd-seg.is-active .vd-seg-bg {
  fill: #fdeeed;
  stroke: var(--brand);
}
.vd-seg:hover .vd-ico-bg,
.vd-seg.is-active .vd-ico-bg {
  fill: var(--brand);
  stroke: var(--brand);
}
.vd-seg:hover .vd-ico,
.vd-seg.is-active .vd-ico {
  color: #fff;
}
.vd-seg:hover .vd-seg-label,
.vd-seg.is-active .vd-seg-label {
  fill: var(--brand);
}
.vd-seg:focus-visible {
  outline: none;
}
.vd-seg:focus-visible .vd-seg-bg {
  stroke: var(--brand);
  stroke-width: 2.2;
}

/* moyeu central */
.vd-hub-bg {
  fill: #ffffff;
  stroke: #ececef;
  stroke-width: 1.4;
  filter: url(#vdSoft);
}
.vd-hub-icobg {
  fill: #fbeae9;
}
.vd-hub-ico {
  color: var(--brand);
}
.vd-hub-ico path,
.vd-hub-ico circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vd-hub-title {
  font-family: inherit;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.01em;
  fill: var(--ink);
  text-anchor: middle;
  dominant-baseline: middle;
}
.vd-hub-rule {
  fill: var(--brand);
}

/* panneau flottant + connecteur (versions non utilisées en mode aside) */
.vd-link {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.vd-link.is-visible {
  opacity: 1;
}
.vd-link line {
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1 6;
}
.vd-link circle {
  fill: var(--brand);
}
.vd-pop {
  position: absolute;
  z-index: 8;
  width: min(266px, 74cqw);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 20px 22px;
  text-align: left;
  opacity: 0;
  transform: translateY(6px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    left 0.18s ease,
    top 0.18s ease;
}
.vd-pop.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.vd-pop h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--brand);
  margin-bottom: 0.5rem;
}
.vd-pop h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--brand);
  transform: rotate(45deg);
  flex: 0 0 auto;
}
.vd-pop.is-hint h3 {
  color: var(--muted-2);
}
.vd-pop.is-hint h3::before {
  background: var(--muted-2);
}
.vd-pop p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.62;
  text-wrap: pretty;
}

/* badge icône dans le panneau : reprend l'icône de la valeur active */
.vd-pop-ic {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--brand);
  color: #fff;
  place-items: center;
  margin-bottom: 14px;
  box-shadow: 0 10px 22px rgba(225, 36, 28, 0.28);
}
.vd-pop-ic svg {
  width: 27px;
  height: 27px;
}
.vd-pop-ic svg path,
.vd-pop-ic svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vd-pop:not(.is-hint) .vd-pop-ic {
  display: grid;
}
/* avec icône réelle, on masque le losange décoratif du titre */
.vd-pop:not(.is-hint) h3::before {
  display: none;
}

/* ---- Version « en dessous » : panneau statique centré sous le diagramme ---- */
.values-stage[data-mode="below"] .vd-link {
  display: none;
}
.values-stage[data-mode="below"] .vd-pop {
  position: static;
  width: auto;
  max-width: 620px;
  margin: 34px auto 0;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  text-align: center;
  min-height: 92px;
}
.values-stage[data-mode="below"] .vd-pop h3 {
  justify-content: center;
  font-size: 1.18rem;
}
.values-stage[data-mode="below"] .vd-pop p {
  margin-inline: auto;
  max-width: 52ch;
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ---- Version « à droite » : diagramme à gauche, panneau à droite ---- */
.values-stage[data-mode="aside"] {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.9fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
  max-width: 1120px;
}
.values-stage[data-mode="aside"] .vd-link {
  display: none;
}
.values-stage[data-mode="aside"] .values-diagram {
  margin: 0;
  width: min(560px, 100%);
}
.values-stage[data-mode="aside"] .vd-pop {
  position: static;
  width: auto;
  max-width: none;
  margin: 0;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  text-align: left;
  min-height: 148px;
  padding: 30px 32px;
  align-self: center;
}
.values-stage[data-mode="aside"] .vd-pop h3 {
  justify-content: flex-start;
  font-size: 1.3rem;
}
.values-stage[data-mode="aside"] .vd-pop p {
  max-width: 42ch;
  font-size: 1.04rem;
  line-height: 1.72;
}
@media (max-width: 860px) {
  .values-stage[data-mode="aside"] {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 620px;
  }
  .values-stage[data-mode="aside"] .values-diagram {
    width: min(560px, 94vw);
    margin: 0 auto;
  }
  .values-stage[data-mode="aside"] .vd-pop {
    max-width: 620px;
    margin: 34px auto 0;
    text-align: center;
    min-height: 92px;
  }
  .values-stage[data-mode="aside"] .vd-pop h3 {
    justify-content: center;
  }
  .values-stage[data-mode="aside"] .vd-pop p {
    margin-inline: auto;
    max-width: 52ch;
  }
}

@media (max-width: 640px) {
  .values-stage {
    max-width: 560px;
  }
  .vd-link {
    display: none;
  }
  .vd-pop {
    position: static;
    width: auto;
    max-width: none;
    margin: 28px auto 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    text-align: center;
  }
  .vd-pop h3 {
    justify-content: center;
  }
  .vd-pop p {
    margin-inline: auto;
    max-width: 48ch;
  }
}
@media (max-width: 560px) {
  .values-diagram {
    width: min(420px, 96vw);
  }
}

/* ============================================================
   Notre expertise — flow compétences + convictions + guide
   ============================================================ */
.expertise-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.expertise-head .eyebrow {
  display: block;
}
.expertise-head h2 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-top: 0.7rem;
  color: var(--ink);
  text-wrap: balance;
}

/* --- flow des 3 compétences avec flèches --- */
.skills-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0 20px;
  margin-top: 52px;
}
.flow-arrow {
  display: grid;
  place-items: center;
  color: var(--brand);
}
.flow-arrow svg {
  width: 28px;
  height: 28px;
}

/* --- sous-titre de groupe (eyebrow centré seul) --- */
#competences {
  padding-bottom: 34px;
}
#vision {
  padding-top: 34px;
}
.group-label {
  display: block;
  text-align: center;
  color: var(--brand);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
}
.group-label.spaced {
  margin-top: 56px;
}

/* --- cartes « convictions » / « guide » : icône à gauche --- */
.conv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 34px;
}
.conv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 40px 42px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.conv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #dcdcdf;
}
.conv-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: center;
}
.conv-ic {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #f0f1f3;
  color: var(--brand);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.conv-ic svg {
  width: 33px;
  height: 33px;
}
.conv-ic .qmark {
  font-family: Georgia, serif;
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1;
  margin-top: 0.32em;
}
.conv-eyebrow {
  display: block;
  color: var(--brand);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
}
.conv-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-top: 0.5rem;
  color: var(--ink);
  text-wrap: balance;
}
.conv-rule {
  width: 54px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand);
  margin: 1rem 0 0;
}
.conv-body {
  margin-top: 1.6rem;
}
.conv-body p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.72;
}
.conv-body p + p {
  margin-top: 1.1rem;
}
.conv-body strong {
  color: var(--ink);
  font-weight: 700;
}
.conv-body .brand-em {
  color: var(--brand);
  font-weight: 700;
}

/* pills (promesse) */
.conv-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.6rem;
}
.conv-pills span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: 999px;
  padding: 9px 16px;
  line-height: 1.25;
}
.conv-pills span svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
  flex: 0 0 auto;
}

/* --- barre récap bas --- */
.guide-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-top: 30px;
  overflow: hidden;
}
.guide-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 26px 18px;
  position: relative;
}
.guide-item + .guide-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: var(--line);
}
.guide-item svg {
  width: 24px;
  height: 24px;
  color: var(--brand);
  flex: 0 0 auto;
}
.guide-item span {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

@media (max-width: 900px) {
  .skills-flow {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .flow-arrow {
    transform: rotate(90deg);
  }
  .conv-grid {
    grid-template-columns: 1fr;
  }
  .conv-card {
    padding: 32px 28px;
    gap: 24px;
  }
  .guide-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 520px) {
  .conv-card {
    padding: 28px 24px;
  }
  .conv-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .guide-strip {
    grid-template-columns: 1fr;
  }
  .guide-item + .guide-item::before {
    left: 24px;
    right: 24px;
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .guide-item:nth-child(n + 3) {
    border-top: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .story {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .story-aside {
    position: static;
  }
  .philo {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .ap-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .story-since {
    padding: 16px 18px;
  }
}
