/* =============================================
   AttrapTemps – Custom overrides
   Loaded after styles.css (compiled Tailwind)
   ============================================= */

/* ── Inter Tight self-hosted (weights 300, 400, 500 via variable font) ──
   Remplace le <link> Google Fonts (voir header.php). */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/inter-tight/inter-tight-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/inter-tight/inter-tight-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* ── Lenis (smooth scroll) — reset recommandé ── */
html.lenis,
html.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* ── Font : Inter Tight (remplace Inter) ── */
body,
html {
  font-family: "Inter Tight", sans-serif;
  font-optical-sizing: auto;
}

/* ── Expertises : forcer 3 colonnes cartes ── */
.expertise-grid--strategy {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 25px !important;
}

/* ── Expertises : cards en swiper (3 desktop, 1 + peek mobile) ── */
.expertise-cards-swiper {
  overflow: visible;
}
.expertise-cards-swiper .swiper-wrapper {
  align-items: stretch;
}
.expertise-cards-swiper .expertise-card.swiper-slide {
  height: auto;
  display: flex;
  flex-direction: column;
}

/* ── Expertises : titres cards (wrap, alignés à gauche, taille réduite) ── */
.expertise-card__title {
  min-width: 0;
  max-width: 100%;
  font-size: clamp(1.375rem, 1.6vw, 1.875rem) !important;
  line-height: 1.1;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

/* ── Expertises : largeur titre accordion ── */
.expertise-row-title {
  margin: 0;
  font-size: clamp(2.6rem, 5.1vw, 3rem);
  line-height: .94;
  letter-spacing: -.02em;
  font-weight: 300;
  max-width: 40ch;
}
@media (max-width: 900px) {
  .expertise-grid--strategy {
    grid-template-columns: 1fr !important;
  }
  .expertise-row-title {
    font-size: clamp(1.5rem, 10.7vw, 1rem);
    line-height: .95;
    max-width: 75ch;
  }
  .expertise-cards-swiper {
    overflow: visible;
  }
}

.realisations-title {
  font-size: clamp(2rem, 4.2vw, 4rem) !important;
  line-height: .9;
  letter-spacing: -.03em;
  max-width: 100%;
}

.contact-hero__title {
  margin: 0 auto;
  font-weight: 400;
  letter-spacing: -.03em;
  font-size: clamp(2rem, 4.2vw, 4rem) !important;
  line-height: .94;
  max-width: 20ch;
}

/* ── Expertises : header card (icône + titre côte à côte) ── */
.expertise-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: .625rem;
}
.expertise-card__header .expertise-card__icon {
  margin-bottom: 0;
}
.expertise-card__header .expertise-card__title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

/* ── Expertises : icônes SVG dans les cards ── */
.expertise-card__icon {
  overflow: hidden;
  flex: 0 0 4rem;
  width: 4rem;
  height: 4rem;
}
.expertise-card__icon img {
  width: 36px;
  height: 36px;
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
}

/* ── Expertises : bloc description alternatif (texte brut, sans card) ── */
.expertise-description-bloc {
  padding: 0;
  border: none;
  border-radius: 0;
  background-color: transparent;
}
.expertise-description-bloc p {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.45;
  color: #333;
}

/* ── Sous-accordéon (dans expertises) ── */
.expertise-sub-accordion {
  display: flex;
  flex-direction: column;
}
.expertise-sub-item {
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}
.expertise-sub-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, .12);
}
.expertise-sub-trigger {
  all: unset;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  cursor: pointer;
  gap: 16px;
}
.expertise-sub-title {
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 500 !important;
  line-height: 1.2;
  color: #000;
}
.expertise-sub-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .2);
  color: #000;
  font-size: 14px;
  transition: background-color .25s ease, border-color .25s ease;
}
.expertise-sub-trigger:hover .expertise-sub-icon {
  background: rgba(0, 0, 0, .04);
  border-color: rgba(0, 0, 0, .35);
}
.expertise-sub-trigger[aria-expanded="true"] .expertise-sub-icon {
  background: rgba(0, 0, 0, .06);
  border-color: rgba(0, 0, 0, .4);
}
.expertise-sub-panel {
  overflow: hidden;
}
.expertise-sub-content {
  padding: 0 0 24px;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.55;
  color: #555;
}
.expertise-sub-content p {
  margin: 0 0 .75rem;
}
.expertise-sub-content p:last-child {
  margin-bottom: 0;
}
.expertise-sub-content a {
  color: #5f3bfa;
  text-decoration: none;
}
.expertise-sub-content a:hover {
  text-decoration: none;
}

/* ── Réalisations accueil : texte sous le titre ── */
.realisations-text {
  grid-column: 1 / -1;
  margin: 0;
  max-width: 48rem;
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.8px;
  font-size: clamp(1.15rem, 1vw, 1.9rem);
  color: #000;
}
.realisations-text p {
  margin: 0 0 .5rem;
}
.realisations-text p:last-child {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .realisations-text {
    font-size: clamp(1rem, 1.05vw, 1.25rem);
    line-height: 1.15;
  }
}

/* ── Réalisations accueil : peek géré par slidesPerView numérique dans script.js ── */

/* ── Custom cursor : couleurs réalisations ── */
#custom-cursor {
  background: #1ed175;
  border-color: rgba(0, 0, 0, 0.1);
}
#custom-cursor i {
  color: #000;
}
#custom-cursor::after {
  color: #000;
}

/* ── Réalisations accueil : border-radius sur le shell pour éviter le saut pendant le swipe ── */
.realisations-slider-shell {
  border-radius: 24px 0 0 24px;
}
@media (max-width: 600px) {
  .realisations-slider-shell {
    border-radius: 20px 0 0 20px;
  }
}

/* ── Réalisations : hauteur slide swiper ── */
.realisation-slide {
  height: 75vh !important;
}
.realisation-slide .realisation-media {
  height: 100%;
}
@media (max-width: 900px) {
  .realisation-slide {
    height: 50vh !important;
  }
}

/* ── Réalisations accueil : titre plus large ── */
.realisation-title {
  max-width: 50rem;
}

/* ── Insights : featured card height ── */
.insight-featured {
  height: 60vh !important;
}

/* ── Insights : FA icon colors in chips (replaces SVG img rules) ── */
.insight-chip i {
  color: #fd4c1a;
  font-size: 13px;
}

/* ── Insights : side card meta FA icons ── */
.insight-side-meta-line i {
  color: rgba(0, 0, 0, .4);
  font-size: 11px;
  width: 12px;
}

/* ── Insights : side card height fix ── */
.insights-side-list .insight-side-card {
  flex: 0 0 auto;
}

/* ── Insights : side card hover play button ── */
.insight-side-card:hover .insight-side-action {
  background-color: #fd4c1a;
  border-color: #fd4c1a;
  color: #fff;
  transition: all .3s ease;
}

/* ── Agence : member portrait dimensions (fluid for Swiper) ── */
.agence-dept__members {
  min-width: 0;
}
.agence-dept__members .agence-member__img-wrap {
  width: 100%;
  aspect-ratio: 323 / 411;
  height: auto;
}

/* ── Agence : equipe swiper bleed — last card bitten off at viewport right edge ── */
.agence-dept__members--bleed {
  margin-right: calc(-1 * var(--layout-gutter-x, 24px));
}
.agence-members-swiper {
  overflow: hidden;
}
.agence-members-swiper .swiper-wrapper {
  align-items: stretch;
}
.agence-members-swiper .swiper-slide {
  height: auto;
}
/* Override accordion panel overflow so the bleed on the right isn't clipped
   (overflow-y stays clipped for the open/close height animation). */
.agence-accordion .agence-dept.is-open .expertise-panel {
  overflow-x: visible !important;
  overflow-y: clip !important;
}

/* ── Agence : member without photo — fallback logo on #EEE background ── */
.agence-member__img-wrap--empty {
  position: relative;
  background-color: #EEE;
}
.agence-member__img-wrap--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://attraptemps.kinsta.cloud/wp-content/uploads/2026/04/at-n.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 45%;
  opacity: .1;
  pointer-events: none;
}

/* ── Agence : RSE cards — prevent overflow ── */
.agence-rse-card {
  height: auto;
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
  word-break: break-word;
}

/* ── Agence : RSE mobile — 1 card per view with scroll-snap ── */
@media (max-width: 900px) {
  .agence-rse__wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
    padding-bottom: 4px;
  }
  .agence-rse__wrapper::-webkit-scrollbar {
    display: none;
  }
  .agence-rse-card {
    flex: 0 0 calc(50% - 8px);
    scroll-snap-align: start;
  }
}
@media (max-width: 600px) {
  .agence-rse-card {
    flex: 0 0 85%;
  }
}

/* ── Agence : RSE mobile nav arrows (hidden on desktop) ── */
.agence-rse__nav {
  display: none;
}
@media (max-width: 900px) {
  .agence-rse__nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin-top: 20px;
  }
  .agence-rse__nav-btn {
    all: unset;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 22px;
    color: #111;
    transition: opacity .2s ease, transform .2s ease;
  }
  .agence-rse__nav-btn:hover {
    opacity: .7;
  }
  .agence-rse__nav-btn:active {
    transform: scale(.94);
  }
  .agence-rse__nav-btn[disabled] {
    opacity: .3;
    cursor: default;
  }
}

/* ── Étincelle listing : card meta FA icons ── */
.etin-card__meta-line i {
  color: #fd4c1a;
  font-size: 11px;
  width: 12px;
}

/* ── Étincelle listing : play button bottom-right ── */
.etin-card .etin-card__play {
  top: auto;
  bottom: 13px;
  transform: none;
}

/* ── Étincelle featured : chip icons ── */
.etin-featured__meta .insight-chip i {
  color: #fd4c1a;
  font-size: 13px;
}

/* ── Formation : force hide mobile badges at desktop ── */
.form-funding__badges .form-funding__badges-mobile {
  display: none;
}
@media (max-width: 900px) {
  .form-funding__badges .form-funding__badges-desktop {
    display: none;
  }
  .form-funding__badges .form-funding__badges-mobile {
    display: block;
  }
}

/* =============================================
   Mega Menu – Liquid Glass
   ============================================= */

/* ── Wrapper : positionnement pour le dropdown ── */
.megamenu-wrapper {
  position: relative;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
}

/* ── Trigger : style pill quand actif ── */
.megamenu-trigger {
  position: relative;
  z-index: 102;
  transition: background-color .25s ease, color .25s ease;
  border-radius: 999px;
  padding: 6px 16px;
  margin: -6px -16px;
}
.megamenu-wrapper.is-open .megamenu-trigger,
.megamenu-trigger:hover {
  background-color: rgba(255, 255, 255, .15);
}
.main-nav--dark .megamenu-wrapper.is-open .megamenu-trigger,
.main-nav--dark .megamenu-trigger:hover {
  background-color: rgba(0, 0, 0, .06);
}

/* ── Backdrop : fond flou Liquid Glass derrière le mega menu ── */
.megamenu__backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, .06) 0%,
    rgba(0, 0, 0, .05) 100%
  );
  backdrop-filter: blur(6px) saturate(130%);
  -webkit-backdrop-filter: blur(6px) saturate(130%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s cubic-bezier(.4, 0, .2, 1);
}
.megamenu-wrapper.is-open .megamenu__backdrop {
  opacity: 1;
}

/* ── Panel principal : Liquid Glass effect ── */
.megamenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 101;
  width: max-content;
  min-width: 520px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px) scale(.97);
  transition: none;
  border-radius: 22px;
  overflow: hidden;
}
.megamenu-wrapper.is-open .megamenu {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

/* ── Bridge invisible entre trigger et panel pour garder le hover ── */
.megamenu::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 20px;
}

.megamenu__panel {
  position: relative;
  padding: 28px 32px 24px;
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, .55) 0%,
    rgba(255, 255, 255, .45) 20%,
    rgba(240, 235, 255, .35) 50%
  );
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 0.5px solid rgba(255, 255, 255, .6);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, .12),
    0 1.5px 6px rgba(0, 0, 0, .08),
    inset 0 1px 0 rgba(255, 255, 255, .65),
    inset 0 -1px 0 rgba(255, 255, 255, .15);
  overflow: hidden;
  border-radius: 22px;
  /* Fix coins carrés backdrop-filter */
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  isolation: isolate;
}

/* ── Colonnes ── */
.megamenu__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 48px;
}

/* ── Heading ── */
.megamenu__heading {
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: #fff;
  margin: 0 0 14px;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

/* ── List ── */
.megamenu__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Link ── */
.megamenu__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 8px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 400;
  color: #1a1a2e;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}
.megamenu__link:hover {
  background-color: rgba(95, 59, 250, .07);
  transform: translateX(2px);
}

/* ── Icon container ── */
.megamenu__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    rgba(95, 59, 250, .10) 0%,
    rgba(95, 59, 250, .16) 100%
  );
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(95, 59, 250, .08);
  color: #5f3bfa;
  font-size: 15px;
  flex-shrink: 0;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.megamenu__link:hover .megamenu__icon {
  background: linear-gradient(135deg, rgba(95, 59, 250, .16) 0%, rgba(95, 59, 250, .25) 100%);
  border-color: rgba(95, 59, 250, .15);
  transform: scale(1.06);
}

/* ── Offres clés en main ── */
.megamenu__offers {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(95, 59, 250, .1);
}
.megamenu__offers .megamenu__heading {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 12px;
}
.megamenu__offers-row {
  display: flex;
  gap: 12px;
}
.megamenu__offer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(95, 59, 250, .10) 0%,
    rgba(95, 59, 250, .18) 100%
  );
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(95, 59, 250, .1);
  color: #5f3bfa;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .25s ease, transform .2s ease, box-shadow .25s ease, border-color .25s ease;
  flex: 1;
  justify-content: flex-start;
}
.megamenu__offer:hover {
  background: #5f3bfa;
  border-color: #5f3bfa;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(95, 59, 250, .25);
}
.megamenu__offer:hover .megamenu__offer-icon {
  background: rgba(255, 255, 255, .2);
}
.megamenu__offer:hover .megamenu__offer-arrow {
  background: rgba(255, 255, 255, .25);
  color: #fff;
}
.megamenu__offer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(95, 59, 250, .15);
  font-size: 13px;
}
.megamenu__offer-label {
  flex: 1;
}
.megamenu__offer-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  font-size: 12px;
  color: #5f3bfa;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

/* ── Overlay variant : mega menu dans l'overlay ── */
.megamenu--overlay {
  z-index: 200;
}
.megamenu--overlay .megamenu__panel {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, .10) 0%,
    rgba(255, 255, 255, .06) 35%,
    rgba(200, 190, 255, .05) 65%,
    rgba(255, 255, 255, .08) 100%
  );
  border-color: rgba(255, 255, 255, .18);
  box-shadow:
    0 12px 48px rgba(0, 0, 0, .15),
    inset 0 1px 0 rgba(255, 255, 255, .25),
    inset 0 -1px 0 rgba(255, 255, 255, .08),
    inset 1px 0 0 rgba(255, 255, 255, .1),
    inset -1px 0 0 rgba(255, 255, 255, .1);
}
.megamenu--overlay .megamenu__heading {
  color: rgba(255, 255, 255, .9);
  border-bottom-color: rgba(255, 255, 255, .15);
}
.megamenu--overlay .megamenu__link {
  color: rgba(255, 255, 255, .9);
}
.megamenu--overlay .megamenu__link:hover {
  background-color: rgba(255, 255, 255, .1);
}
.megamenu--overlay .megamenu__icon {
  background: linear-gradient(135deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, .18) 100%);
  color: rgba(255, 255, 255, .85);
}
.megamenu--overlay .megamenu__link:hover .megamenu__icon {
  background: linear-gradient(135deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, .28) 100%);
}
.megamenu--overlay .megamenu__offers {
  border-top-color: rgba(255, 255, 255, .1);
}
.megamenu--overlay .megamenu__offer {
  background: linear-gradient(135deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, .18) 100%);
  color: rgba(255, 255, 255, .9);
}
.megamenu--overlay .megamenu__offer:hover {
  background: #5f3bfa;
  color: #fff;
  box-shadow: 0 4px 16px rgba(95, 59, 250, .3);
}
.megamenu--overlay .megamenu__offer-icon {
  background: rgba(255, 255, 255, .1);
}
.megamenu--overlay .megamenu__offer-arrow {
  background: rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .85);
}

/* ── Masquer mega menu sur mobile ── */
@media (max-width: 900px) {
  .megamenu {
    display: none !important;
  }
  .megamenu-trigger {
    padding: 0;
    margin: 0;
  }
}

/* ── Footer : font-size nav links ── */
.footer-nav a {
  font-size: clamp(2rem, 1.7vw, 3.1rem);
}

/* ── Footer : sur grand écran, laisser la nav prendre la place nécessaire
   pour que les liens (ex : « Contactez-nous ») restent sur une seule ligne. ── */
@media (min-width: 1121px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .footer-nav {
    grid-template-columns: repeat(2, auto);
  }

  .footer-nav a {
    white-space: nowrap;
  }
}

/* ── Menu overlay : largeur thèmes ── */
.menu-overlay__themes {
  max-width: 750px;
}

/* ── Menu overlay : taille titres (5 liens) ── */
.menu-overlay__theme-link {
  font-size: clamp(52px, 5.2vw, 74px);
  letter-spacing: -3.2px;
}

/* ── Menu overlay : motif adapté à la hauteur écran + poussé à droite ── */
.menu-overlay__desktop-main {
  grid-template-columns: minmax(0, 1fr) auto;
}
.menu-overlay__visual {
  height: 42vh;
  width: 42vh;
  margin-right: 10vh;
}

/* ── Page Conseil : hero 100vh ── */
.conseil-hero {
  height: auto !important;
  min-height: 100vh;
  min-height: 100svh;
}
.conseil-hero__bottom {
  padding-bottom: var(--layout-gutter-x);
}

/* ── Footer : supprimer le hover sur le grand logo ── */
.footer-logo-wrap:hover .footer-logo-duplicate {
  opacity: 0 !important;
}

/* =============================================
   Homepage – sections 100vh
   ============================================= */

/* ── Agence : contenu calé en bas ── */
#agence {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* ── Expertises ── */
#expertises {
  min-height: 100vh;
  min-height: 100svh;
}

/* ── Insights ── */
#etincelle {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── Contact CTA : centré + décor repositionné ── */
.contact-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-hero .contact-hero__title {
  max-width: none;
}
.contact-hero .contact-hero__decor {
  top: 35%;
  transform: translate(-50%, -50%) !important;
  opacity: .25 !important;
}

/* =============================================
   Réalisations listing page
   ============================================= */

/* ── Hero ── */
.real-hero {
  background-color: #f0f0f0;
  padding-bottom: 60px;
}
.real-hero__body {
  text-align: center;
  padding-top: 10rem;
}
.real-hero__kicker {
  margin: 0 0 1rem;
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: .95;
  color: #1ed175;
}
.real-hero__title {
  margin: 0 auto;
  font-size: clamp(2.6rem, 4.45vw, 4rem);
  font-weight: 500;
  line-height: .95;
  color: #000;
  position: relative;
  z-index: 1;
}

/* ── Listing section ── */
.real-listing {
  background-color: #f0f0f0;
  padding-bottom: 10rem;
}

/* ── Filters ── */
.real-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 40px 0 32px;
}
.real-filter {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background-color: rgba(30, 209, 117, .1);
  color: #1ed175;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-transform: lowercase;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.real-filter:hover {
  background-color: rgba(30, 209, 117, .18);
}
.real-filter--active {
  background-color: #1ed175;
  color: #fff;
  border-color: #1ed175;
}

/* ── Grid ── */
.real-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .real-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .real-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ── Card (overlay style — text on image) ── */
.real-card__link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 380px;
  text-decoration: none;
  color: #fff;
}
.real-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.real-card__link:hover .real-card__img {
  transform: scale(1.04);
}
.real-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .55) 100%);
  pointer-events: none;
  z-index: 1;
}
.real-card__body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.real-card__tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.real-card__tags span {
  font-size: 11px;
  font-weight: 400;
  color: #fff;
  background: rgba(255, 255, 255, .15);
  padding: 3px 10px;
  border-radius: 999px;
  border: none;
  text-transform: lowercase;
}
.real-card__client {
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  margin: 0 0 4px;
}
.real-card__title {
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  color: #fff;
  margin: 0;
}
@media (max-width: 900px) {
  .real-card__link {
    height: 320px;
  }
}
@media (max-width: 600px) {
  .real-card__link {
    height: 360px;
  }
}

/* ── Hero title decoration ── */
.real-hero__title-wrap {
  position: relative;
  display: inline-block;
}
.real-hero__decor {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 292px;
  pointer-events: none;
  opacity: .9;
  z-index: 0;
}
@media (max-width: 900px) {
  .real-hero__decor {
    width: 300px;
    height: 210px;
  }
}

/* ── Infinite scroll sentinel ── */
.real-sentinel {
  height: 1px;
}

/* ── Empty state ── */
.real-empty {
  text-align: center;
  padding: 60px 0;
  color: #999;
  font-size: 16px;
}

/* =============================================
   Single Réalisation – hero overrides
   ============================================= */
.pf-hero__overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0, rgba(0, 0, 0, .08) 40%, rgba(0, 0, 0, .25) 60%, rgba(0, 0, 0, .75)) !important;
}
.pf-hero__surtitle {
  color: #1ed175;
}
.pf-hero__tags {
  display: none !important;
}
.pf-info__grid {
  gap: 8rem !important;
}
.pf-hero__tags span {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .15);
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .3);
}
.pf-hero__bottom {
  align-items: center;
}

/* =============================================
   Single Réalisation – section decor
   ============================================= */
.pf-section__decor {
  position: absolute;
  left: 50%;
  top: -75px;
  transform: translateX(-50%);
  width: 420px;
  height: 292px;
  pointer-events: none;
  opacity: .9;
  z-index: 0;
}
.pf-section__title {
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .pf-section__decor {
    top: -40px;
    width: 320px;
    height: 220px;
  }
}

/* =============================================
   Single Réalisation – Flexible sections
   ============================================= */

/* ── Tabs navigation (portfolio single) ── */
.pf-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 0 var(--layout-gutter-x, 24px);
  margin-top: 96px;
  margin-bottom: 32px;
}
.pf-tabs__btn {
  padding: 16px 40px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background-color: rgba(30, 209, 117, .1);
  color: #1ed175;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.pf-tabs__btn:hover {
  background-color: rgba(30, 209, 117, .18);
}
.pf-tabs__btn--active {
  background-color: #1ed175;
  color: #fff;
  border-color: #1ed175;
}
.pf-tabs__panel {
  display: none;
}
.pf-tabs__panel--active {
  display: block;
}
@media (max-width: 600px) {
  .pf-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding-bottom: 8px;
  }
  .pf-tabs__btn {
    flex-shrink: 0;
  }
}

/* ── Duo : deux médias côte à côte ── */
.pf-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pf-duo__item {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
}
.pf-duo__item img,
.pf-duo__item video,
.pf-duo__item iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 600px) {
  .pf-duo {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ── Stacked : deux médias empilés (text_two_media) ── */
.pf-saisons__images--stacked {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pf-saisons__images--stacked .pf-saisons__img {
  width: 100%;
}
.pf-saisons__img img {
  height: 750px !important;
}
@media (max-width: 900px) {
  .pf-saisons__img img {
    height: 50vh !important;
  }
}

/* ── Disposition : texte à droite, média à gauche ── */
.pf-saisons__grid--text-right .pf-saisons__images {
  order: -1;
}

/* ── Média vidéo ── */
.pf-media--video {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}
.pf-media--video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}
.pf-media__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pf-media__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Bannière vidéo ── */
.pf-banner {
  overflow: hidden;
}
.pf-banner__image {
  height: 90vh !important;
  max-height: none !important;
  width: 100%;
  object-fit: cover;
  will-change: transform;
}
@media (max-width: 900px) {
  .pf-banner__image {
    height: 50vh !important;
  }
}
.pf-banner__video {
  width: 100%;
}
.pf-banner__video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

/* ── Swiper slide vidéo ── */
.realisation-slide .pf-media--video {
  height: 100%;
  border-radius: 0;
}
.realisation-slide .pf-media--video iframe,
.realisation-slide .pf-media--video video {
  height: 100%;
  object-fit: cover;
}

/* =============================================
   Expertise child – New sections
   ============================================= */

/* ── Services (Content Factory) ── */
.conseil-services {
  padding: 108px 0 100px;
  background-color: #000;
}
.conseil-services__head {
  text-align: center;
  margin-bottom: 64px;
}
.conseil-services__head .conseil-section-lead {
  max-width: 40rem;
  margin-inline: auto;
  margin-top: 1.25rem;
}
.conseil-services__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}
.conseil-services__visual {
  border-radius: 20px;
  overflow: hidden;
}
.conseil-services__visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.conseil-services__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.conseil-services__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  transition: background-color .25s ease;
  cursor: default;
}
.conseil-services__item:first-child {
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.conseil-services__item-title {
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.05em;
  color: #fff;
}
.conseil-services__item-desc {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 300;
  color: rgb(217 217 217);
  line-height: 1.2;
}
.conseil-services__item-arrow {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgb(95 59 250);
  font-size: 16px;
  transition: transform .3s ease, background-color .3s ease, border-color .3s ease;
}
.conseil-services__item:hover .conseil-services__item-arrow {
  transform: translateX(4px);
  background: rgba(95, 59, 250, .15);
  border-color: rgb(95 59 250);
}

@media (max-width: 900px) {
  .conseil-services {
    padding: 72px 0 64px;
  }
  .conseil-services__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .conseil-services__head {
    margin-bottom: 40px;
  }
}

/* ── Highlight (section violette) ── */
.conseil-highlight {
  padding: 100px 0;
  background-color: #5f3bfa;
  color: #fff;
}
.conseil-highlight__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.conseil-highlight__kicker {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: rgba(255, 255, 255, .7);
}
.conseil-highlight__title {
  margin: 0;
  font-size: clamp(2.4rem, 4.45vw, 4rem);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.05em;
  color: #fff;
}
.conseil-highlight__desc {
  margin: 1.5rem 0 0;
  font-size: 1.1rem !important;
  font-weight: 300;
  line-height: 1.35;
  color: rgba(255, 255, 255, .85);
  max-width: 32rem;
}
.conseil-highlight__visual {
  border-radius: 20px;
  overflow: hidden;
}
.conseil-highlight__visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 900px) {
  .conseil-highlight {
    padding: 72px 0;
  }
  .conseil-highlight__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .conseil-highlight__title {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }
}

/* ── CTA Banner ── */
.conseil-cta-banner {
  padding: 108px 0;
  background-color: #000;
}
.conseil-cta-banner__inner {
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
}
.conseil-cta-banner__title {
  margin: 0;
  font-size: clamp(2.4rem, 4.45vw, 4rem);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.05em;
  color: #fff;
}
.conseil-cta-banner__desc {
  margin: 1.5rem 0 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.2;
  color: rgb(217 217 217);
}
.conseil-cta-banner__btn {
  margin-top: 2.5rem;
  display: inline-flex;
}

@media (max-width: 900px) {
  .conseil-cta-banner {
    padding: 72px 0;
  }
  .conseil-cta-banner__title {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }
}

/* ── Expertise Réalisations : section wrapper ── */
.exp-realisations {
  background-color: #000;
  padding-top: 108px;
  padding-bottom: 132px;
  color: #fff;
}
.exp-realisations .realisations-title {
  color: #fff;
}
@media (max-width: 900px) {
  .exp-realisations {
    padding-top: 84px;
    padding-bottom: 84px;
  }
}

/* ── Expertise Réalisations : violet kicker + link (instead of green) ── */
.exp-realisations__kicker {
  color: #5f3bfa !important;
}
.exp-realisations__link {
  color: #5f3bfa !important;
}

/* ── Expertise Réalisations : violet taxonomy tags ── */
.exp-realisations__tags li {
  background-color: rgba(95, 59, 250, .2) !important;
  color: #b4a0ff !important;
}

/* ── Expertise Réalisations : violet scroll badge ── */
.exp-realisations__badge {
  background-color: #5f3bfa !important;
  color: #fff !important;
}

/* ── Expertise Réalisations : violet custom cursor ── */
#custom-cursor[data-color="violet"] {
  background: #5f3bfa;
  border-color: rgba(255, 255, 255, .15);
}
#custom-cursor[data-color="violet"] i,
#custom-cursor[data-color="violet"]::after {
  color: #fff;
}

/* ── Agence équipes : rose custom cursor ── */
#custom-cursor[data-color="pink"] {
  background: #e20079;
  border-color: rgba(255, 255, 255, .15);
}
#custom-cursor[data-color="pink"] i,
#custom-cursor[data-color="pink"]::after {
  color: #fff;
}

/* ── Réalisation single : vert custom cursor ── */
#custom-cursor[data-color="green"] {
  background: #1ed175;
  border-color: rgba(255, 255, 255, .15);
}
#custom-cursor[data-color="green"] i,
#custom-cursor[data-color="green"]::after {
  color: #fff;
}

/* =============================================
   Expertise child – Hero subtitle
   ============================================= */
.conseil-hero__subtitle {
  margin: .75rem 0 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, .85);
}

/* =============================================
   Expertise child – Blocs alternés
   ============================================= */
.expertise-blocs {
  background-color: #000;
  color: #fff;
}

.expertise-bloc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  padding: 10vh 0;
}

.expertise-bloc__content {
  padding: 80px 64px;
  max-width: 900px;
}
.expertise-bloc:not(.expertise-bloc--reverse) .expertise-bloc__content {
  margin-left: auto;
}
.expertise-bloc--reverse .expertise-bloc__content {
  margin-right: auto;
}

/* Alternance : texte à droite, image à gauche */
.expertise-bloc--reverse .expertise-bloc__content {
  order: 2;
}
.expertise-bloc--reverse .expertise-bloc__visual {
  order: 1;
}

.expertise-bloc__icon {
  margin-bottom: 1.5rem;
}
.expertise-bloc__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.expertise-bloc__title {
  margin: 0;
  font-size: 36px;
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.05em;
  color: #fff;
}

.expertise-bloc__subtitle {
  margin: .75rem 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: rgb(95 59 250);
}

.expertise-bloc__text {
  margin: 1rem 0 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.2;
  color: rgb(217 217 217);
}

.skill-page-template .expertise-bloc__title {
  font-size: clamp(1.75rem, 1.4vw + 1rem, 3.25rem);
}

.skill-page-template .expertise-bloc__text {
  font-size: clamp(0.9rem, 0.2vw + 0.85rem, 1.15rem);
}

.expertise-bloc__text strong {
  color: #dfd9f9;
  font-weight: 600;
}

/* ── Skill page — typographie fluide ── */
.skill-page-template .conseil-hero__kicker {
  font-size: clamp(13px, 0.2vw + 12px, 15px);
}
.skill-page-template .conseil-hero__subtitle {
  font-size: clamp(17px, 0.3vw + 16px, 20px);
}
.skill-page-template .conseil-hero__lead {
  font-size: clamp(16px, 0.4vw + 14px, 20px);
}
.skill-page-template .conseil-section-lead {
  font-size: clamp(17px, 0.4vw + 15px, 21px);
}
.skill-page-template .expertise-bloc__subtitle {
  font-size: clamp(15px, 0.2vw + 14px, 18px);
}
.skill-page-template .conseil-services__item-title {
  font-size: clamp(18px, 0.5vw + 16px, 24px);
}
.skill-page-template .conseil-highlight__kicker {
  font-size: clamp(13px, 0.2vw + 12px, 16px);
}
.skill-page-template .conseil-highlight__desc {
  font-size: clamp(17px, 0.4vw + 15px, 22px);
}
.skill-page-template .conseil-cta-banner__desc {
  font-size: clamp(17px, 0.4vw + 15px, 22px);
}
.skill-page-template .skill-realisations__kicker {
  font-size: clamp(13px, 0.2vw + 12px, 16px);
}

.expertise-bloc__visual {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.expertise-bloc__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .expertise-bloc {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .expertise-bloc__content {
    padding: 48px var(--layout-gutter-x, 24px);
    max-width: none;
  }
  .expertise-bloc--reverse .expertise-bloc__content {
    order: 1;
  }
  .expertise-bloc--reverse .expertise-bloc__visual {
    order: 2;
  }
  .expertise-bloc__visual {
    height: 280px;
  }
  .expertise-bloc__title {
    font-size: 28px;
  }
}

/* =============================================
   Expertise child – Content Factory ajustements
   ============================================= */
.conseil-services__left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.conseil-services__desc {
  font-size: clamp(19px, 0.4vw + 17px, 23px);
  font-weight: 300;
  line-height: 1.2;
  color: rgb(217 217 217);
  max-width: 55ch;
}
.conseil-services__desc p {
  margin: 0;
}

/* =============================================
   Expertise child – Highlight body (description séparée du titre)
   ============================================= */
.conseil-highlight__body {
  max-width: 36rem;
}
.conseil-highlight__body .conseil-highlight__desc {
  margin-top: 0;
}

/* =============================================
   btn-green — CTA vert (même forme que btn-purple)
   ============================================= */
.btn-green {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px;
  background-color: #1ed175;
  padding: .875rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5rem;
  color: #fff;
  transition: transform .2s ease-out, background-color .25s ease;
  gap: .625rem;
  text-decoration: none;
}
.btn-green:hover {
  background-color: #19b865;
}

.pf-related__card-brand {
  margin: 0 0 .25rem;
  font-size: .85rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0;
  color: hsla(0, 0%, 100%, .7);
}

.pf-related__card-title {
  margin: 0;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.01em;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  font-size: clamp(1.25rem, 1.6vw, 3rem);
}

/* ── Agence : retirer la limite de largeur du titre hero ── */
.agence-hero__title {
  max-width: none !important;
}

/* =============================================
   Typographie — uniformisation globale
   ============================================= */
h1, h2, h3, h4, h5, h6,
[class*="__title"],
[class*="__heading"] {
  font-weight: 300 !important;
  letter-spacing: -.02em !important;
}

p,
[class*="__desc"],
[class*="__text"],
[class*="__lead"],
[class*="__subtitle"],
[class*="__kicker"] {
  font-weight: 300 !important;
  letter-spacing: 0 !important;
}

p,
[class*="__desc"],
[class*="__text"],
[class*="__lead"],
[class*="__subtitle"] {
  font-size: clamp(16px, 0.3vw + 15px, 20px) !important;
}

/* ── Contact : lien téléphone/email ── */
.ct-contact-link span {
  font-size: clamp(16px, 0.3vw + 15px, 20px) !important;
}

.ct-section,
.car-cta {
  margin-bottom: 0 !important;
}

/* ── Carrière ── */
.car-jobs__list .car-job {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}
.car-jobs__list .car-job__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-align: left;
}
.car-jobs__list .car-job .expertise-panel {
  width: 100%;
}
.car-jobs__list .car-job__embed {
  width: 100%;
  overflow: hidden;
}
.car-jobs__list .car-job__embed iframe {
  width: 100% !important;
  max-width: 100%;
  display: block;
  border: 0;
  min-height: 800px;
}

.car-jobs__list .car-job__desc,
.car-jobs__list .car-job__cols {
  padding: 0 2rem 1.5rem;
}
.car-jobs__list .car-job__desc {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
  margin-bottom: 1.5rem;
}
.car-jobs__list .car-job__desc p,
.car-jobs__list .car-job__col-body p,
.car-jobs__list .car-job__col-body li {
  font-size: 14px !important;
  line-height: 1.55 !important;
  margin: 0 0 .65rem;
}
.car-jobs__list .car-job__desc p:last-child,
.car-jobs__list .car-job__col-body p:last-child {
  margin-bottom: 0;
}

.car-jobs__list .car-job__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
  padding-bottom: 2.5rem;
}
.car-jobs__list .car-job__col {
  min-width: 0;
}
@media (max-width: 900px) {
  .car-jobs__list .car-job__cols {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 0 1.25rem 1.5rem;
  }
}
.car-jobs__list .car-job__col-title {
  margin: 0 0 .85rem;
  font-size: 14px !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #e20079;
}
.car-jobs__list .car-job__col-body ul,
.car-jobs__list .car-job__col-body ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.car-jobs__list .car-job__col-body li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: .35rem;
}
.car-jobs__list .car-job__col-body li:last-child {
  margin-bottom: 0;
}
.car-jobs__list .car-job__col-body li::before {
  content: "\f00c";
  font-family: "Font Awesome 7 Pro", "Font Awesome 6 Pro", "Font Awesome 5 Pro", "FontAwesome";
  font-weight: 300;
  position: absolute;
  left: 0;
  top: .15em;
  color: #e20079;
  font-size: .9em;
}

.car-cta__content {
  display: block;
}

/* Force le panneau fermé par défaut (bypass compiled rules) */
.car-jobs__list .expertise-panel[hidden] {
  display: none !important;
}

/* CTA toujours visible (override GSAP autoAlpha initial) */
.car-cta__card {
  opacity: 1 !important;
  visibility: visible !important;
}

.car-cta {
  padding-top: 100px !important;
}
@media (max-width: 768px) {
  .car-cta { padding-top: 40px !important; }
}

.car-jobs__empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #666;
}

.car-cta__iframe {
  width: 100%;
  min-height: 600px;
  margin-top: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.car-cta__iframe.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.car-cta__iframe iframe {
  width: 100%;
  min-height: 600px;
  border: 0;
  display: block;
}

/* ── Pages génériques (mentions légales, politique, etc.) ── */
.page-content {
  margin-inline: auto;
  color: #222;
}
.page-content h2 {
  margin: 2.25rem 0 .9rem;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-transform: none;
}
.page-content h3 {
  margin: 1.75rem 0 .6rem;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.page-content h4 {
  margin: 1.35rem 0 .5rem;
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  font-weight: 500;
  line-height: 1.25;
}
.page-content p,
.page-content li {
  line-height: 1.55;
  margin: 0 0 1rem;
}
.page-content ul,
.page-content ol {
  padding-left: 1.5rem;
  margin: 0 0 1.25rem;
}
.page-content a {
  color: #5f3bfa;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-content a:hover { opacity: .75; }
.page-content strong { font-weight: 600; }
.page-content hr {
  border: 0;
  border-top: 1px solid rgba(0,0,0,.1);
  margin: 2rem 0;
}

/* ── Footer : padding supérieur, titre et tagline ── */
.site-footer {
  padding-top: clamp(3rem, 3vw, 25rem);
}

.footer-title {
  font-weight: 400 !important;
}

.footer-tagline {
  margin: .5rem 0 50px;
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.2;
  font-size: clamp(1rem, 1.1vw, 1.35rem);
  color: var(--footer-tagline-color, #000);
}

.footer-copyright-wrap {
  display: flex;
  flex-direction: column-reverse;
  gap: .35rem;
  width: 100%;
}
.footer-legal {
  display: flex;
  gap: 1rem;
  margin: 0;
  flex-wrap: wrap;
  font-size: 1rem !important;
  opacity: .4;
  text-transform: uppercase;
}
.footer-legal a {
  color: inherit;
  text-decoration: none;
  transition: opacity .2s ease;
}
.footer-legal a:hover { opacity: 1; }

@media (max-width: 768px) {
  .footer-copyright-wrap {
    align-items: center;
    text-align: center;
    gap: .15rem;
  }
  .footer-legal {
    justify-content: center;
    flex-direction: column;
    gap: .1rem;
    line-height: 1.2;
    margin-top: 25px;
  }
  .footer-copyright {
    margin-top: 50px;
  }
}

@media (max-width: 900px) {
  .footer-contact {
    margin-top: -25px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    font-size: .92rem !important;
    row-gap: .3rem;
    margin-bottom: 25px;
  }
  .footer-top {
    gap: 1.75rem;
    margin-bottom: 25px;
  }

  /* Hero accueil : H1 d'abord, showreel centré 80% ensuite */
  .home-hero__inner {
    flex-direction: column !important;
    align-items: stretch !important;
    bottom: 32px !important;
  }
  .home-hero__inner > h1 {
    margin-top: 25px !important;
  }
  [data-hero-showreel] {
    width: 80% !important;
    height: 175px !important;
    align-self: center !important;
    margin-bottom: -25px;
  }

  /* Accueil : swiper réalisations — overlay + tailles texte mobile */
  .realisation-slide .realisation-overlay {
    height: 70%;
    background: linear-gradient(0deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .4) 40%, transparent 80%);
  }
  .realisations-content-overlay .realisation-title {
    font-size: 1.25rem !important;
    line-height: 1.1;
  }
  .realisations-content-overlay .realisation-client {
    font-size: .7rem;
    letter-spacing: .02em;
  }

  /* Accueil mobile : resserrer les sections (désactive le min-height: 100vh desktop) */
  #expertises {
    min-height: 0 !important;
  }
  #realisations {
    min-height: 0 !important;
    justify-content: flex-start !important;
    padding-top: 56px !important;
    padding-bottom: 40px !important;
  }
  .contact-hero {
    padding-top: 48px !important;
    padding-bottom: 56px !important;
  }
  .contact-hero__lead {
    max-width: none !important;
  }

  /* Flèches accordéon (expertises, carrière, agence) — plus discrètes sur mobile */
  .expertise-arrow {
    height: 2.4rem !important;
    width: 2.4rem !important;
  }
  .expertise-arrow-icon {
    font-size: 1.3rem !important;
  }
}

/* Couleur dominante de la tagline selon la page */
.page-template-page-contact      { --footer-tagline-color: #1ed175; }
.page-template-page-agence       { --footer-tagline-color: #e20079; }
.page-template-page-conseil      { --footer-tagline-color: #5f3bfa; }
.page-template-page-expertise    { --footer-tagline-color: #5f3bfa; }
.page-template-page-skill        { --footer-tagline-color: #5f3bfa; }
.page-template-page-skill-strategie { --footer-tagline-color: #5f3bfa; }
.page-template-page-formation    { --footer-tagline-color: #fd4c1a; }
.page-template-page-carriere     { --footer-tagline-color: #e20079; }
.page-template-page-realisation  { --footer-tagline-color: #1ed175; }
.page-template-page-etincelle    { --footer-tagline-color: #f59e0b; }

/* ── Page Engagements (ID 1087) : largeur max du contenu hero ── */
body.page-id-1087 .car-hero__content {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Formation : CTA externe vers school.attps.fr ── */
.form-catalog-cta {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background-color: rgb(240 240 240);
}
.form-catalog-cta__wrap {
  display: flex;
  justify-content: center;
}
[class*="__desc"] p,
[class*="__text"] p,
[class*="__lead"] p,
[class*="__subtitle"] p {
  font-size: inherit;
}

/* ── Réalisations — H3 dans chaque slide (SEO, caché visuellement) ── */
.realisation-slide__title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Breadcrumb — gabarits Skill & Skill Stratégie (hérite du style .conseil-hero__kicker) ── */
.skill-page-template .conseil-hero__breadcrumb,
.skstr-page .conseil-hero__breadcrumb {
  display: block;
}
.skill-page-template .conseil-hero__breadcrumb-list,
.skstr-page .conseil-hero__breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5em;
}
.skill-page-template .conseil-hero__breadcrumb-item,
.skstr-page .conseil-hero__breadcrumb-item {
  display: inline-flex;
  align-items: center;
}
.skill-page-template .conseil-hero__breadcrumb-link,
.skstr-page .conseil-hero__breadcrumb-link {
  color: inherit;
  text-decoration: none;
}
.skill-page-template .conseil-hero__breadcrumb-link:hover,
.skill-page-template .conseil-hero__breadcrumb-link:focus-visible,
.skstr-page .conseil-hero__breadcrumb-link:hover,
.skstr-page .conseil-hero__breadcrumb-link:focus-visible {
  text-decoration: underline;
}
.skill-page-template .conseil-hero__breadcrumb-sep,
.skstr-page .conseil-hero__breadcrumb-sep {
  display: inline-flex;
  align-items: center;
  font-size: .75em;
  line-height: 1;
}

/* ── Agence : member role font-size override ── */
.agence-member__role {
  font-size: 12px !important;
}

/* ── Home : taille des chiffres agence (desktop) — fallback custom car text-[3rem] absent de la Tailwind compilée ── */
.home-agence-chiffre {
  font-size: 3rem;
}

/* ── Home : accordion cards — aligner l'interlignage du texte descriptif sur .expertise-sub-title (1.2) ── */
.expertise-card__text {
  line-height: 1.2;
}

/* ── Skill & Skill-strategie : prevent mobile horizontal overflow from Swipers ── */
@media (max-width: 900px) {
  .skill-page-template,
  .skstr-page {
    overflow-x: hidden;
  }
  .skill-page-template .swiper,
  .skstr-page .swiper {
    overflow: hidden;
  }

  /* Reduce vertical spacing between sections on mobile */
  .skstr-page .skstr-piliers,
  .skstr-page .skstr-methodo,
  .skstr-page .skstr-formules,
  .skill-page-template .skill-services,
  .skill-page-template .skill-highlight,
  .skill-page-template .skill-realisations,
  .skill-page-template .skill-cta-banner,
  .skstr-page .skill-realisations,
  .skstr-page .skill-cta-banner {
    padding-top: 48px;
    padding-bottom: 40px;
  }
  .skstr-page .skstr-methodo__head,
  .skstr-page .skstr-formules__head {
    margin-bottom: 28px;
  }
}

/* ── Mobile : réduire la taille des titres d'items & liens footer ── */
@media (max-width: 600px) {
  .footer-nav a {
    font-size: 1.35rem;
  }
  .conseil-services__item-title,
  .skill-page-template .conseil-services__item-title {
    font-size: clamp(1rem, 4.2vw, 1.25rem);
  }
  .expertise-bloc__title,
  .skill-page-template .expertise-bloc__title {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }
}
