/* ===== Blob / Jelly hover (driven by GSAP) ===== */

.hero__btn,
.btn-primary,
.btn-cta__outline--primary,
.main-header__menu-link--cta,
.gooey-search__circle {
  will-change: transform;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}



/* ---- Background shapes ---- */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

/* Large ring — top right */
.hero__shape--ring-lg {
  width: 380px;
  height: 380px;
  top: -40px;
  right: -60px;
  border: 2px solid rgba(93, 86, 241, 0.22);
}

/* Small ring — bottom left */
.hero__shape--ring-sm {
  width: 180px;
  height: 180px;
  bottom: 60px;
  left: 5%;
  border: 2px solid rgba(93, 86, 241, 0.18);
}

/* Dots */
.hero__shape--dot-1 {
  width: 10px;
  height: 10px;
  top: 18%;
  left: 12%;
  background-color: rgba(19, 233, 195, 0.45);
}

.hero__shape--dot-2 {
  width: 8px;
  height: 8px;
  top: 35%;
  right: 10%;
  background-color: rgba(93, 86, 241, 0.25);
}

.hero__shape--dot-3 {
  width: 12px;
  height: 12px;
  bottom: 22%;
  right: 18%;
  background-color: rgba(19, 233, 195, 0.35);
}

/* Crosses */
.hero__shape--cross {
  width: 24px;
  height: 24px;
  top: 28%;
  right: 22%;
  color: rgba(93, 86, 241, 0.30);
  border-radius: 0;
}

.hero__shape--cross-2 {
  top: auto;
  right: auto;
  bottom: 32%;
  left: 16%;
  width: 20px;
  height: 20px;
  color: rgba(93, 86, 241, 0.25);
}

.hero__shape--cross svg {
  width: 100%;
  height: 100%;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

@media (max-width: 768px) {
  .hero__shape--ring-lg {
    width: 200px;
    height: 200px;
  }
  .hero__shape--ring-sm {
    width: 100px;
    height: 100px;
  }
  .hero__shape--cross {
    display: none;
  }
}

/* Badge pill */
.hero__badge  p{
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1.5px solid #d0d0d0;
  border-radius: 999px;
  padding: 8px 22px;
  margin: 0;
  background-color: #fff;
}

@media (max-width: 768px) {
  .hero__badge p {
    font-size: 11px;
    padding: 6px 16px;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 576px) {
  .hero__badge p {
    font-size: 10px;
    padding: 5px 12px;
    letter-spacing: 0.08em;
  }
}

/* Title */
.hero__title h1{
  font-size: clamp(48px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--bs-body-color);
  margin: 0;
}

@media (max-width: 768px) {
  .hero__title h1 {
    font-size: clamp(32px, 6vw, 44px);
  }
}

@media (max-width: 576px) {
  .hero__title h1 {
    font-size: clamp(26px, 7vw, 34px);
  }
}

.hero__title .marker{
  position: relative;
  color: var(--bs-primary);
  font-weight: 800;
  padding: 0 0.12em;
  box-decoration-break: clone;
  background: linear-gradient(120deg, rgba(93, 86, 241, 0.15) 0%, rgba(19, 233, 195, 0.12) 100%);
  border-radius: 4px;
}


/* Description */
.hero__desc p{
  font-size: 24px;
  line-height: 1.65;
  max-width: 800px;
  margin: 0;
}

/* Buttons row */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}

.hero__actions a.btn {
  border-radius: 999px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
}

.hero__actions a.btn.btn-dark {
  background-color: #111;
  border-color: #111;
  color: #fff;
  box-shadow: none;
}

.hero__actions a.btn.btn-dark:hover {
  background-color: #333;
  border-color: #333;
}

.hero__actions a.btn.btn-outline-dark {
  background-color: transparent;
  border: 2px solid #222;
  color: #222;
  box-shadow: none;
}

.hero__actions a.btn.btn-outline-dark:hover {
  background-color: #222;
  color: #fff;
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(0, 0, 0, 0.5);
  text-decoration: none;
  transition: opacity 0.3s ease, color 0.2s ease;
}

.hero__scroll-indicator:hover {
  color: var(--bs-secondary);
}

.hero__scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid currentColor;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  box-sizing: border-box;
}

.hero__scroll-wheel {
  width: 3px;
  height: 8px;
  background-color: currentColor;
  border-radius: 2px;
  animation: scroll-wheel-bounce 2s ease-in-out infinite;
}

@keyframes scroll-wheel-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.6; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-wheel {
    animation: none;
  }
}

@media (max-width: 768px) {
  .hero__scroll-indicator {
    display: none !important;
  }
}



.section-home {
  position: relative;
  overflow: hidden;
  padding: 120px 24px;
  will-change: filter;
}

/* Scroll reveal — initial hidden state */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
}

/* Quand la barre d'édition CMS est ouverte : pas d'animations, contenu visible */
body.cms-toolbar-expanded .section-home {
  filter: none !important;
}
body.cms-toolbar-expanded [data-reveal] {
  opacity: 1;
  transform: none;
}

.section-home__container {
  max-width: 1120px;
  margin: 0 auto;
}

.section-home__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5D56F1;
  margin-bottom: 16px;
  p{
    margin: 0;
  }
}

.section-home__title h2{
  font-family: var(--police-title);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--bs-body-color);
  margin: 0 0 24px;
}

.section-home__intro {
  font-size: 18px;
  line-height: 1.7;
  color: #666;
  max-width: 560px;
  margin: 0 0 56px;
}

/* CTA row */
.section-home__cta-row {
  display: flex;
  justify-content: center;
  margin-top: 48px;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}




.missions {
  position: relative;
  overflow: hidden;
  background-color: var(--bs-primary);
  background-image: url("data:image/png;base64,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");
  background-blend-mode: overlay;
  background-size: 100px;
  background-position: center;
  background-repeat: repeat;
  padding: 140px 40px;
  &::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/k_bg.0341822f8ba8.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    mix-blend-mode: multiply;
    opacity: 0.3;
    pointer-events: none;
  }
}

.missions__container{
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.missions__header .section-home__eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  letter-spacing: 0.2em;
  color: var(--bs-secondary);
}

.missions__title-wrap {
  overflow: hidden;
  @media (min-width: 768px)  {
    margin: 0 0 1.5rem;
  }
}

.missions h2 {
  font-family: var(--police-title);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  max-width: none;
  overflow: hidden;
  letter-spacing: -0.02em;
  color: #fff;
}

@media (max-width: 768px) {
  .missions h2 {
    font-size: clamp(26px, 5vw, 38px);
  }
}

@media (max-width: 576px) {
  .missions h2 {
    font-size: clamp(22px, 6vw, 30px);
  }
}

.missions h2 .m-word {
  display: inline-block;
  white-space: nowrap;
}

.missions h2 .m-char {
  display: inline-block;
  will-change: transform, opacity, color;
}

.missions__desc p{
  margin: 0 auto;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  padding-top: 6rem;
  @media (min-width: 768px)  {
    padding-top: 2rem;
  }
}

/* ===== Mindset (valeurs) ===== */
.mindset {
  position: relative;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.mindset .section-home__container {
  max-width: 1120px;
  margin: 0 auto 56px;
}



/* ===== Section Approche — Sticky cards: fade & scale overlap (CodePen WbNGOBR) ===== */
.approche {
  position: relative;
  padding: clamp(80px, 10vw, 120px) 24px clamp(80px, 10vw, 120px);
  background: #fafaf9;
  overflow-x: hidden;
}

/* Layout : titre à gauche (sticky + parallax), cartes à droite */
.approche__layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: clamp(32px, 4vw, 64px);
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  overflow-x: hidden;
}

.approche__title-col {
  flex: 0 0 36%;
  max-width: 420px;
  position: sticky;
  top: calc(var(--main-header-height) + 8rem);
}

.approche__title-parallax {
  padding: 0;
  will-change: transform;
}

.approche__cards-col {
  flex: 1;
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.approche__wrap {
  padding: 0 0 clamp(48px, 6vw, 64px);
}

.approche__header {
  max-width: 100%;
  margin: 0;
}

/* Carousel : viewport + track */
.approche__carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.approche__cards.approche__track {
  counter-reset: approche-num;
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.85s cubic-bezier(0.68, -0.2, 0.32, 1.2);
  will-change: transform;
  min-height: 380px;
  width: 100%;
}

.approche__card-wrapper {
  flex: 0 0 100%;
  flex-basis: 100%;
  width: 100%;
  min-width: 0;
  padding: 0 8px;
  position: relative;
  box-sizing: border-box;
}

.approche__card-wrapper .approche__card {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  min-height: 320px;
  height: 100%;
  counter-increment: approche-num;
  box-sizing: border-box;
}

.approche__card h3 {
  color: var(--bs-body-color);
}

.approche__card h3::before {
  content: counter(approche-num);
  font-size: 106px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 10px;
  font-family: var(--police-title);
  position: absolute;
  top: 2rem;
  left: 2rem;
  pointer-events: none;
  opacity: 0.05;
}
.approche__card {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 0;
}

.approche__card .approche__card-body {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 3rem 2.5rem 4rem;
  background: var(--bs-white);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.approche__card-picto {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--bs-primary);
}

.approche__card-picto svg {
  width: 100%;
  height: 100%;
}

.approche__card .approche__card-body h3 {
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.2;
  font-family: var(--police-title);
  font-size: 34px;
}

.approche__card .approche__card-body p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  max-width: 32em;
}

/* Navigation carousel */
.approche__carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.approche__carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--bs-white);
  color: var(--bs-body-color);
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.25s ease, color 0.2s ease, background 0.2s ease;
}

.approche__carousel-btn--prev {
  left: 12px;
}

.approche__carousel-btn--next {
  right: 12px;
}

.approche__carousel-btn:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(93, 86, 241, 0.2), 0 2px 8px rgba(0, 0, 0, 0.08);
  color: var(--bs-primary);
  background: color-mix(in srgb, var(--bs-primary) 6%, var(--bs-white));
}

.approche__carousel-btn:active:not(:disabled) {
  transform: translateY(-50%) scale(0.98);
}

.approche__carousel-btn svg,
.approche__carousel-btn-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.25s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.approche__carousel-btn--prev:hover:not(:disabled) svg {
  transform: translateX(-2px);
}

.approche__carousel-btn--next:hover:not(:disabled) svg {
  transform: translateX(2px);
}

.approche__carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.approche__carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.approche__carousel-dots [role="tab"] {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  border: none;
  padding: 0;
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: width 0.3s cubic-bezier(0.34, 1.2, 0.64, 1), background 0.25s ease, transform 0.2s ease;
}

.approche__carousel-dots [role="tab"]:hover {
  background: rgba(0, 0, 0, 0.3);
  transform: scale(1.15);
}

.approche__carousel-dots [role="tab"][aria-selected="true"] {
  width: 24px;
  border-radius: 4px;
  background: var(--bs-primary);
  transform: scale(1);
}

.approche__card {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Section dédiée à l’outro (hors .approche pour le reveal au scroll) */
.approche-outro {
  padding: 60px clamp(80px, 10vw, 120px);
  max-width: 1320px;
  margin: 0 auto;
  text-align: center;
}
.approche__outro {
  margin: 2rem 0 0;
  font-weight: 600;
  line-height: 1.45;
  color: var(--bs-body-color);
  text-align: center;
  font-size: clamp(18px, 2vw, 62px);
  max-width: 860px;
  margin: 0 auto;
}

.big__text {
  font-size: clamp(62px, 10vw, 120px);
  font-weight: 800;
  line-height: 1;
  color: var(--bs-body-color);
}


/* Tablette : section Approche */
@media (max-width: 900px) {
  .approche {
    padding: clamp(56px, 8vw, 80px) 20px clamp(56px, 8vw, 80px);
  }

  .approche__layout {
    gap: 24px;
    padding: 0 20px;
  }

  .approche__title-col {
    flex: 0 0 32%;
    max-width: 300px;
  }

  .approche__cards.approche__track {
    min-height: 340px;
  }

  .approche__card-wrapper .approche__card .approche__card-body {
    padding: 2.5rem 2rem 3rem;
  }

  .approche__card .approche__card-body h3 {
    font-size: 28px;
  }

  .approche__carousel-btn {
    width: 48px;
    height: 48px;
  }

  .approche__carousel-btn--prev {
    left: 8px;
  }

  .approche__carousel-btn--next {
    right: 8px;
  }

  .approche__carousel-btn svg,
  .approche__carousel-btn-icon {
    width: 22px;
    height: 22px;
  }

  .approche__carousel-nav {
    margin-top: 28px;
  }

  .approche__outro {
    margin-top: 2rem;
  }
}

/* Desktop : carte approche limitée à 560px quand la colonne est large */
@media (min-width: 901px) {
  .approche__card-wrapper .approche__card {
    max-width: 560px;
  }
}

/* Mobile: section Approche — plein largeur, plus d’alternance */
@media (max-width: 768px) {
  .approche {
    padding: 48px 0 56px;
  }

  .approche__layout {
    flex-direction: column;
    padding: 0 20px;
    gap: 0;
  }

  .approche__title-col {
    position: static;
    flex: none;
    max-width: none;
  }

  .approche__wrap {
    padding: 0 0 32px;
  }

  .approche__header {
    margin: 0;
  }

  .approche__carousel {
    padding: 0;
    overflow: visible;
  }

  .approche__carousel-btn,
  .approche__carousel-nav {
    display: none;
  }

  .approche__cards.approche__track {
    display: block;
    min-height: 0;
    transform: none !important;
    transition: none;
  }

  .approche__card-wrapper {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
  }

  .approche__card-wrapper:last-child {
    margin-bottom: 0;
  }

  .approche__card-wrapper .approche__card {
    min-height: 0;
  }

  .approche__card {
    display: flex;
    flex-direction: column;
  }

  .approche__card .approche__card-body {
    padding: 1.5rem 1.25rem 1.75rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: auto;
  }

  .approche__card-picto {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
  }

  .approche__card .approche__card-body h3 {
    font-size: 20px;
    line-height: 1.25;
  }

  .approche__card .approche__card-body p {
    font-size: 14px;
  }

  .approche__card h3::before {
    font-size: 64px;
    top: 0.75rem;
    left: 1rem;
  }

  .approche-outro,
  .approche-outro--conclusion {
    padding: 40px 20px 48px;
  }

  .approche-outro--conclusion {
    padding-top: 48px;
  }

  .approche__outro {
    font-size: clamp(18px, 5vw, 26px);
  }
}

/* Petit mobile : section Approche */
@media (max-width: 600px) {
  .approche__card-picto {
    width: 36px;
    height: 36px;
    margin-bottom: 0.75rem;
  }

  .approche__card .approche__card-body h3 {
    font-size: 19px;
  }

  .approche__card h3::before {
    font-size: 56px;
  }
}

@media (max-width: 480px) {
  .approche {
    padding: 40px 0 48px;
  }

  .approche__layout {
    padding: 0 16px;
  }

  .approche__card .approche__card-body {
    padding: 1.25rem 1rem 1.5rem;
  }

  .approche-outro,
  .approche-outro--conclusion {
    padding: 32px 16px 40px;
  }

  .approche-outro--conclusion {
    padding-top: 40px;
  }

  .approche__outro {
    font-size: clamp(16px, 4.5vw, 22px);
  }
}

.mindset .values {
  display: flex;
  gap: 60px;
  justify-content: space-between;
  max-width: 1100px;
  margin-inline: auto;
  padding: 0 2rem;
}

.mindset .value__left {
  display: flex;
  flex-direction: column;
  min-width: 300px;
  position: relative;
  z-index: 1;
}

.mindset .value__left .value__info {
  max-width: 456px;
  height: 100vh;
  display: grid;
  place-items: center;
}

.mindset .value__left .value__info h2 {
  font-family: var(--police-title);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.84px;
  display: flex;
  align-items: center;
  gap: 20px;
  line-height: 1;
}

/* Teal accent shape before header--gradient-reveal H2 */
.header--gradient-reveal h2 .header-accent-bar {
  display: block;
  flex-shrink: 0;
  width: 6px;
  height: 0.85em;
  background-color: var(--bs-secondary);
  border-radius: 3px;
  transform-origin: bottom;
}

/* Gradient reveal on scroll */


.mindset .value__left .value__info p {
  color: rgba(18, 18, 18, 0.8);
  font-size: 18px;
  letter-spacing: -0.54px;
  margin-block: 6px 28px;
  line-height: normal;
}

.mindset .value__left .value__info .btn-cta__outline--primary {
  opacity: 1;
  transform: none;
}

.mindset .value__right {
  flex-shrink: 1;
  height: 100vh;
  width: 100%;
  max-width: 540px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.mindset .value__right .img-wrapper {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 70vh;
  max-height: 800px;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.mindset .value__right .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .mindset .values {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .missions {
    padding: 80px 24px 100px;
  }

  .missions__container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .missions__header {
    padding: 0 0 1rem;
  }

  .missions__desc p{
    padding-top: 0rem;
  }

  .mindset {
    padding: 80px 20px 60px;
  }

  .mindset .values {
    flex-direction: column;
    gap: 20px;
  }

  .mindset .value__left {
    display: contents;
  }

  .mindset .value__right {
    display: none;
  }

  .mindset .value__right .img-wrapper {
    position: static;
    transform: none;
    height: 360px;
    width: 100%;
    margin-bottom: 20px;
  }

  .mindset .value__left .value__info {
    height: auto;
    padding: 20px;
    p{
      margin-bottom: 0;
    }
  }
}

@media (max-width: 560px) {
  .mindset .values {
    gap: 12px;
    padding: 0 10px;
  }

  .mindset .value__right .img-wrapper {
    border-radius: 10px;
    height: 280px;
  }
}

/* ===== Expertises ===== */

.expertises {
  background-color: var(--bs-body-color);
  .section-home__title h2, .section-home__intro{
    color: var(--bs-white);
  }
  .section-home__eyebrow, .section-home__eyebrow p{
    color: var(--bs-secondary);
  }

}
.expertises , .missions{

  .section-home__cta-row{
    .btn-cta__outline--primary{
      color: var(--bs-white);
      border-color: var(--bs-white);
      &:hover{
        background-color: var(--bs-white);
        color: var(--bs-body-color);
      }
    }
  }
}

.expertises__grid {
  counter-reset: expertises-num;
}

.expertises__card {
  counter-increment: expertises-num;
}

.expertises__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.expertises__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 48px 40px;
  background-color: #fafafa;
  text-decoration: none;
  border-radius: 16px;
  color: inherit;
  transition: background-color 0.3s ease;
}

.expertises__card:hover {
  background-color: #f0eeff;
  text-decoration: none;
  color: inherit;
}

.expertises__card::before {
  content: counter(expertises-num, decimal-leading-zero);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #5D56F1;
}

.expertises__card h3,
.expertises__card h2{
  font-family: var(--police-title);
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.expertises__card p {
  font-size: 15px;
  line-height: 1.6;
  color: #777;
  margin: 0;
}

/* ===== Réalisations ===== */

.realisations {
  background-color: #f5f4ff;
}

.realisations .section-home__eyebrow {
  color: #5D56F1;
}

.realisations .section-home__title {
  color: #111;
}

.realisations__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.realisations__item, .realisations__gallery a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.35s ease;
}

.realisations__item:hover, .realisations__gallery a:hover {
  transform: translateY(-4px);
  text-decoration: none;
  color: inherit;
}

.realisations__item--wide,
.realisations__item:first-child,
.realisations__item:last-child,
.realisations__gallery a:last-child,
.realisations__gallery a:first-child {
  grid-column: span 2;
}

.realisations__img, .realisations__gallery a img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px 12px 0 0;
  object-fit: cover;
  object-position: top;
}

.realisations__img--video, .realisations__gallery a video {
  width: 100%;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  aspect-ratio: 21 / 10;
}

.realisations__item--wide .realisations__img,
.realisations__gallery a:first-child img,
.realisations__gallery a:last-child img {
  aspect-ratio: 21 / 10;
}

.realisations__meta {
  padding: 20px 24px;
  background-color: #fff;
  border-radius: 0 0 12px 12px;
}

.realisations__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5D56F1;
}

.realisations__name {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin: 6px 0 0;
}

/* Carte compacte */
.realisations__item--compact .realisations__meta--compact {
  padding: 12px 16px;
}
.realisations__item--compact .realisations__tag--compact {
  font-size: 10px;
  letter-spacing: 0.1em;
}
.realisations__item--compact .realisations__name--compact {
  font-size: 15px;
  margin: 4px 0 0;
}

/* ===== Logiciels ===== */

.logiciels {
  background-color: #fff;
}
.logiciels h3{
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

/* ===== À propos — Marquees ===== */

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.apropos {
  background-color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* ---- Header text ---- */
.apropos__header {
  text-align: center;
  max-width: 860px;
  padding: 0 24px;
}

.apropos__header .section-home__title {
  margin-bottom: 24px;
}

.apropos__body p{
  font-size: 24px;
  line-height: 1.65;
  color: var(--bs-body-color);
  margin: 0 0 20px;
}

/* ---- Marquee base ---- */
.apropos__marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.apropos__marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

.apropos__marquee--reverse .apropos__marquee-track {
  animation-direction: reverse;
}

.apropos__marquee:hover .apropos__marquee-track {
  animation-play-state: paused;
}

/* ---- Image marquee ---- */
.apropos__marquee--images {
  margin-bottom: 24px;
}

.apropos__marquee--images .apropos__marquee-track {
  gap: 20px;
  animation-duration: 35s;
}

.apropos__img-item {
  flex-shrink: 0;
  width: 320px;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s ease;
  object-fit: cover;
}

.apropos__img-item:hover {
  transform: scale(1.03);
}

/* ---- Words marquee ---- */
.apropos__marquee--words {
  margin-bottom: 12px;
}

.apropos__marquee--words .apropos__marquee-track {
  gap: 16px;
  animation-duration: 30s;
}

.apropos__word {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  color: #444;
  background-color: #fff;
  /* border: 1.5px solid #e0e0e0; */
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.apropos__word:hover {
  /* border-color: #5D56F1; */
  color: #5D56F1;
  /* background-color: #f5f4ff; */
}

/* ---- Footer CTA ---- */
.apropos__footer {
  padding: 0 24px 0;
  margin-bottom: 54px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .apropos__img-item {
    width: 240px;
    height: 160px;
  }

  .apropos__marquee--images .apropos__marquee-track {
    gap: 12px;
  }

  .apropos__word {
    padding: 8px 20px;
    font-size: 13px;
  }
}

/* ===== Blog ===== */

.blog {
  background-color: #fafafa;
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.blog__card:hover {
  transform: translateY(-4px);
  text-decoration: none;
  color: inherit;
}

.blog__thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  margin-bottom: 20px;
}

.blog__date {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 8px;
}

.blog__heading {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #111;
  margin: 0;
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
  .section-home {
    padding: 80px 20px;
  }

  .section-home__title h2{
    font-size: clamp(32px, 8vw, 48px);
  }

  .section-home__intro {
    margin-bottom: 40px;
  }

  .expertises__grid {
    grid-template-columns: 1fr;
  }

  .expertises__card {
    padding: 32px 24px;
  }

  .realisations__gallery {
    grid-template-columns: 1fr;
  }

  .realisations__item--wide,
  .realisations__item:first-child,
  .realisations__item:last-child,
  .realisations__gallery a:first-child,
  .realisations__gallery a:last-child {
    grid-column: span 1;
  }

  .logiciels__list {
    grid-template-columns: 1fr;
  }

  .logiciels__card {
    padding: 32px 24px;
  }

  .blog__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 70vh;
    padding: 60px 20px;
  }

  .hero__title {
    font-size: clamp(36px, 10vw, 56px);
  }

  .hero__desc p{
    font-size: 16px;
  }

  .hero__actions a.btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .mindset .value__left .value__info h2 {
    font-size: 28px;
  }

  .apropos__body {
    font-size: 18px;
  }
}

/* Très petits écrans */
@media (max-width: 480px) {
  .hero {
    min-height: 65vh;
    padding: 40px 16px 50px;
  }

  .hero__inner {
    gap: 20px;
  }

  .hero__badge {
    font-size: 10px;
    padding: 6px 14px;
    letter-spacing: 0.08em;
  }

  .hero__title {
    font-size: clamp(28px, 9vw, 40px);
  }

  .hero__desc p {
    font-size: 15px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

  .hero__actions a.btn {
    width: 100%;
    justify-content: center;
  }

  .section-home {
    padding: 60px 16px;
  }

  .section-home__title h2{
    font-size: clamp(28px, 7vw, 36px);
  }

  .section-home__intro {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .missions {
    padding: 60px 16px 80px;
  }

  .mindset {
    padding: 60px 16px 48px;
  }

  .approche {
    padding: 40px 0 48px;
  }

  .approche__wrap {
    padding: 0 16px;
  }

  .approche__card .approche__card-body {
    padding: 1.25rem 1rem;
  }

  .approche__card .approche__card-body h3 {
    font-size: 18px;
  }

  .approche-outro {
    padding: 24px 16px 32px;
  }

  .expertises__card,
  .logiciels__card {
    padding: 24px 20px;
  }

  .realisations__meta {
    padding: 16px 20px;
  }

  .apropos__header {
    padding: 0 16px;
  }

  .apropos__body {
    font-size: 16px;
  }

  .apropos__img-item {
    width: 200px;
    height: 140px;
  }

  .apropos__word {
    padding: 6px 14px;
    font-size: 12px;
  }

  .section-home__cta-row {
    margin-top: 32px;
  }
}
