/* ================================================================
   ACHILE V2 — CUSTOM CSS GLOBAL FUSIONNÉ
   Home + Ressources + Single Ressource

   Racines supportées :
   .achile-v2
   .achile-resources-v2
   .achile-resource-single-v2

   Rectangles arrondis : 8px
   Pills / cercles : arrondi intentionnel
   ================================================================ */

.achile-v2,
.achile-resources-v2,
.achile-resource-single-v2 {
  --achile-blue: #0085c6;
  --achile-green: #00C490;
  --achile-red: #F16C76;
  --achile-yellow: #FFB056;
  --achile-blue-light: #B8E7FF;
  --achile-green-light: #B9EFDA;
  --achile-red-light: #F7BCC2;
  --achile-yellow-light: #FFDEC7;
  --blue-dark: #1A3E6E;
  --blue-mid: var(--achile-blue);
  --text-dark: #1A3E6E;
  --text-mid: #4A5568;
  --text-light: #718096;
  --white: #ffffff;
  --bg-light: #F5F8FC;
  --font: 'Barlow', Arial, sans-serif;
  --radius: 8px;
  --sh-sm: 0 2px 8px rgba(0,0,0,.08);
  --sh-md: 0 4px 16px rgba(0,0,0,.12);
  --sh-lg: 0 12px 40px rgba(0,0,0,.14);
  --transition: all .3s ease;
  --achile-cta-gradient: linear-gradient(90deg, var(--achile-yellow) 0%, var(--achile-red) 100%);

  width: 100% !important;
  max-width: none !important;
  font-family: var(--font);
  color: var(--text-dark);
}

:is(.achile-v2, .achile-resources-v2, .achile-resource-single-v2),
:is(.achile-v2, .achile-resources-v2, .achile-resource-single-v2) * {
  box-sizing: border-box;
}

:is(.achile-v2, .achile-resources-v2, .achile-resource-single-v2) .container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 28px;
}

:is(.achile-v2, .achile-resources-v2, .achile-resource-single-v2) :is(h1, h2, h3, p) {
  margin: 0;
}

:is(.achile-v2, .achile-resources-v2, .achile-resource-single-v2) .elementor-widget-text-editor p {
  margin: 0;
}

:is(.achile-v2, .achile-resources-v2, .achile-resource-single-v2) .elementor-button {
  font-family: var(--font);
}

/* ================================================================
   BUTTON SYSTEM
   ================================================================ */

:is(.achile-v2, .achile-resources-v2, .achile-resource-single-v2) .achile-btn .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 13px 28px !important;
  border: 2px solid transparent !important;
  border-radius: var(--radius) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: var(--transition);
}

/* Primary = gradient */
:is(.achile-v2, .achile-resources-v2, .achile-resource-single-v2) .achile-btn--primary .elementor-button {
  color: var(--white) !important;
  background: var(--achile-cta-gradient) !important;
  border-color: transparent !important;
}

:is(.achile-v2, .achile-resources-v2, .achile-resource-single-v2) .achile-btn--primary .elementor-button:hover {
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(241,108,118,.28);
  filter: saturate(1.04);
}

/* Secondary = bleu plein */
:is(.achile-v2, .achile-resources-v2, .achile-resource-single-v2) .achile-btn--secondary .elementor-button {
  color: var(--white) !important;
  background: var(--blue-mid) !important;
  border-color: var(--blue-mid) !important;
}

:is(.achile-v2, .achile-resources-v2, .achile-resource-single-v2) .achile-btn--secondary .elementor-button:hover {
  color: var(--white) !important;
  background: #006fa6 !important;
  border-color: #006fa6 !important;
  transform: translateY(-2px);
}

/* Outline = bleu stroke */
:is(.achile-v2, .achile-resources-v2, .achile-resource-single-v2) .achile-btn--outline .elementor-button {
  color: var(--blue-mid) !important;
  background: transparent !important;
  border-color: rgba(0,133,198,.70) !important;
}

:is(.achile-v2, .achile-resources-v2, .achile-resource-single-v2) .achile-btn--outline .elementor-button:hover {
  color: var(--white) !important;
  background: var(--blue-mid) !important;
  border-color: var(--blue-mid) !important;
  transform: translateY(-2px);
}

/* Text link */
:is(.achile-v2, .achile-resources-v2, .achile-resource-single-v2) .achile-btn--link .elementor-button {
  min-height: 0;
  padding: 0 !important;
  color: var(--blue-mid) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 13px;
  font-weight: 900;
}

:is(.achile-v2, .achile-resources-v2, .achile-resource-single-v2) .achile-btn--link .elementor-button:hover {
  color: var(--blue-dark) !important;
  transform: none;
}

/* ================================================================
   EYEBROWS
   ================================================================ */

:is(.achile-v2, .achile-resources-v2, .achile-resource-single-v2) .achile-eyebrow .elementor-heading-title {
  font-family: var(--font);
  font-weight: 700;
  text-transform: uppercase;
}

:is(.achile-v2, .achile-resources-v2, .achile-resource-single-v2) .achile-eyebrow--pill {
  margin-bottom: 28px;
}

:is(.achile-v2, .achile-resources-v2, .achile-resource-single-v2) .achile-eyebrow--pill .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--achile-red);
  background: rgba(247,188,194,.28);
  font-size: 11.5px;
  line-height: 1.25;
  letter-spacing: .06em;
}

:is(.achile-v2, .achile-resources-v2, .achile-resource-single-v2) .achile-eyebrow--plain {
  margin-bottom: 16px;
}

:is(.achile-v2, .achile-resources-v2, .achile-resource-single-v2) .achile-eyebrow--plain .elementor-heading-title {
  color: var(--achile-red);
  font-size: 11.5px;
  line-height: 1.2;
  letter-spacing: .12em;
}

:is(.achile-v2, .achile-resources-v2, .achile-resource-single-v2) .achile-eyebrow--kicker {
  margin-bottom: 10px;
}

:is(.achile-v2, .achile-resources-v2, .achile-resource-single-v2) .achile-eyebrow--kicker .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border: 1px solid rgba(255,176,86,.42);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: var(--blue-mid);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .08em;
}

/* ================================================================
   HERO
   ================================================================ */

.achile-v2 .hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: clamp(560px, 74vh, 720px);
  background:
    radial-gradient(circle at 86% 18%, rgba(255,176,86,.18) 0 42px, transparent 44px),
    radial-gradient(circle at 6% 14%, rgba(184,231,255,.42) 0 12px, transparent 13px),
    radial-gradient(circle at 45% 88%, rgba(185,239,218,.35) 0 16px, transparent 17px),
    linear-gradient(180deg, #FFFDFD 0%, #F8FBFF 100%);
}

.achile-v2 .hero::after {
  content: '';
  position: absolute;
  right: 32%;
  top: 46px;
  width: 92px;
  height: 58px;
  border-radius: 50%;
  border-top: 3px solid rgba(241,108,118,.28);
  pointer-events: none;
}

.achile-v2 .hero-container {
  display: grid !important;
  grid-template-columns: 1.2fr .8fr;
  gap: 34px;
  align-items: center;
  min-height: inherit;
  padding-bottom: clamp(3rem, 6vh, 4.4rem);
}

.achile-v2 .hero-content {
  padding-left: clamp(3rem, 6vh, 4.4rem);
}

.achile-v2 .hero-title .elementor-heading-title {
  max-width: 680px;
  margin-bottom: 18px;
  color: var(--blue-mid);
  font-size: clamp(40px, 4.1vw, 50px);
  font-weight: 900;
  line-height: 1.1;
}

.achile-v2 .hero-desc {
  max-width: 650px;
  margin-bottom: 28px;
}

.achile-v2 .hero-desc p {
  color: var(--text-mid);
  font-size: 16.5px;
  line-height: 1.62;
}

.achile-v2 .hero-buttons {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 14px;
}

.achile-v2 .hero .btn .elementor-button {
  padding: 12px 26px !important;
  font-size: 15px;
}

.achile-v2 .hero .btn-primary .elementor-button {
  box-shadow: 0 10px 24px rgba(241,108,118,.24);
}

.achile-v2 .hero-visual {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  justify-content: flex-end;
  min-height: clamp(260px, 28vw, 380px);
  height: 100%;
  padding-right: clamp(3rem, 6vh, 4.4rem);
}

/* Event widget, version statique Elementor */
.achile-v2 .event-widget__bar {
  position: absolute;
  z-index: 20;
  top: 2rem;
  right: 16px;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: min(320px, calc(100vw - 32px));
  min-height: 46px;
  padding: 6px 7px 6px 9px;
  border: 1px solid rgba(0,133,198,.22);
  border-radius: var(--radius);
  background: var(--blue-mid);
  box-shadow: 0 12px 28px rgba(0,133,198,.16);
}

.achile-v2 .event-widget__main {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.achile-v2 .event-widget__icon {
  flex: 0 0 28px;
  width: 28px;
  min-height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
}

.achile-v2 .event-widget__copy {
  gap: 1px;
}

.achile-v2 .event-widget__label .elementor-heading-title {
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
}

.achile-v2 .event-widget__title .elementor-heading-title {
  color: rgba(255,255,255,.78);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
}

.achile-v2 .event-widget__toggle .elementor-button {
  width: 30px;
  min-width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.16) !important;
  color: var(--white) !important;
  font-size: 15px;
}

.achile-v2 .video-shell {
  position: relative;
  display: grid !important;
  place-items: center;
  width: min(100%, 500px);
  aspect-ratio: 16 / 9;
  margin-top: 56px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,.84);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(26,62,110,.04), rgba(26,62,110,.04)),
    url("https://img.youtube.com/vi/v5COpbogltY/hqdefault.jpg") center / cover no-repeat;
  box-shadow: 0 20px 48px rgba(26,62,110,.15);
}

.achile-v2 .hero-video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

.achile-v2 .hero-video-play .elementor-button {
  width: clamp(70px, 7vw, 92px);
  height: clamp(70px, 7vw, 92px);
  padding: 0 !important;
  border: 2px solid rgba(255,255,255,.72) !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,.26), transparent 38%),
    var(--achile-cta-gradient) !important;
  color: var(--white) !important;
  box-shadow: 0 20px 46px rgba(26,62,110,.22), 0 10px 24px rgba(241,108,118,.24);
  font-size: 26px;
}

/* ================================================================
   GLOBAL SECTION HEADS
   ================================================================ */

.achile-v2 .section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.achile-v2 .section-head h2,
.achile-v2 .section-head .elementor-heading-title,
.achile-v2 .section-head-inline h2,
.achile-v2 .section-head-inline .elementor-heading-title {
  color: var(--blue-dark);
}

.achile-v2 .section-head > .elementor-widget-heading:not(.section-label) .elementor-heading-title,
.achile-v2 .section-head-inline h2 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
}

.achile-v2 .section-head > .elementor-widget-heading:not(.section-label) {
  margin-bottom: 8px;
}

.achile-v2 .section-head .elementor-widget-text-editor p,
.achile-v2 .section-head-inline .elementor-widget-text-editor p {
  color: var(--text-mid);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ================================================================
   ÉCOSYSTÈME
   ================================================================ */

.achile-v2 .specialties {
  position: relative;
  width: 100%;
  padding-block: 88px;
  background:
    radial-gradient(circle at 88% 14%, rgba(255,222,199,.42) 0 70px, transparent 72px),
    linear-gradient(180deg, #FFFFFF 0%, #F5F8FC 100%);
}

.achile-v2 .specialty-links {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.achile-v2 .specialty-node {
  position: relative;
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-height: 144px;
  padding: 15px;
  overflow: hidden;
  border: 1.5px solid rgba(232,238,246,.95);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 8%, rgba(184,231,255,.24) 0 42px, transparent 44px),
    var(--white);
  box-shadow: 0 10px 26px rgba(26,62,110,.08);
  transition: var(--transition);
}

.achile-v2 .specialty-node::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--achile-blue);
}

.achile-v2 .specialty-node--green::before { background: var(--achile-green); }
.achile-v2 .specialty-node--red::before { background: var(--achile-red); }

.achile-v2 .specialty-node--green {
  background:
    radial-gradient(circle at 92% 8%, rgba(185,239,218,.32) 0 42px, transparent 44px),
    var(--white);
}

.achile-v2 .specialty-node--red {
  background:
    radial-gradient(circle at 92% 8%, rgba(247,188,194,.28) 0 42px, transparent 44px),
    var(--white);
}

.achile-v2 .specialty-node--featured {
  border-color: rgba(241,108,118,.5);
  background:
    radial-gradient(circle at 92% 8%, rgba(255,222,199,.52) 0 48px, transparent 50px),
    linear-gradient(180deg, #FFFFFF 0%, rgba(247,188,194,.18) 100%);
  box-shadow: 0 14px 34px rgba(241,108,118,.14);
}

.achile-v2 .specialty-node--featured::before {
  width: 7px;
  background: linear-gradient(180deg, var(--achile-red), var(--achile-yellow));
}

.achile-v2 .specialty-node:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
}

.achile-v2 .specialty-icon {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius);
  background: rgba(184,231,255,.45);
}

.achile-v2 .specialty-node--green .specialty-icon { background: rgba(185,239,218,.55); }
.achile-v2 .specialty-node--red .specialty-icon { background: rgba(247,188,194,.50); }
.achile-v2 .specialty-node--featured .specialty-icon {
  background: linear-gradient(135deg, var(--achile-red), var(--achile-yellow));
}

.achile-v2 .specialty-copy {
  height: 100%;
  gap: 8px;
}

.achile-v2 .specialty-title .elementor-heading-title {
  color: var(--blue-mid);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.16;
}

.achile-v2 .specialty-desc p {
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.42;
}

.achile-v2 .specialty-link {
  margin-top: auto;
}

/* ================================================================
   ACCÈS DIRECTS
   ================================================================ */

.achile-v2 .acces {
  width: 100%;
  padding-block: 88px;
  background:
    radial-gradient(circle at 8% 18%, rgba(184,231,255,.28) 0 76px, transparent 78px),
    linear-gradient(180deg, #FFFFFF 0%, #F7FAFD 100%);
}

.achile-v2 .acces-title .elementor-heading-title {
  margin-bottom: 48px;
  color: var(--blue-dark);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.achile-v2 .cards-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.achile-v2 .ac-card {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px;
  min-height: 310px;
  padding: 0 22px 22px;
  overflow: hidden;
  border: 1.5px solid #E8EEF6;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(26,62,110,.07);
  transition: var(--transition);
}

.achile-v2 .ac-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: transparent;
}

.achile-v2 .ac-blue { background: linear-gradient(180deg, #fff, rgba(184,231,255,.22)); }
.achile-v2 .ac-green { background: linear-gradient(180deg, #fff, rgba(185,239,218,.24)); }
.achile-v2 .ac-coral { background: linear-gradient(180deg, #fff, rgba(247,188,194,.22)); }
.achile-v2 .ac-amber { background: linear-gradient(180deg, #fff, rgba(255,222,199,.28)); }
.achile-v2 .ac-midblue { background: linear-gradient(180deg, #fff, rgba(184,231,255,.20)); }

.achile-v2 .ac-card-media {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 9;
  margin: 0 -22px 4px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.achile-v2 .ac-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26,62,110,0) 48%, rgba(26,62,110,.18) 100%),
    radial-gradient(circle at 90% 14%, rgba(255,255,255,.34) 0 38px, transparent 40px);
  pointer-events: none;
}

.achile-v2 .ac-media--etablissements {
  background-image: url("https://achile-dsr.fr/wp-content/uploads/2026/04/Capture-decran-2026-04-01-a-14.34.14-scaled.png");
}
.achile-v2 .ac-media--ror {
  background-image: url("https://achile-dsr.fr/wp-content/uploads/2026/04/Capture-decran-2026-04-01-a-15.19.53.png");
}
.achile-v2 .ac-media--ressources {
  background-image: url("https://achile-dsr.fr/wp-content/uploads/2026/04/Cover_Achile_1.jpg");
}
.achile-v2 .ac-media--formations {
  background-image: url("https://achile-dsr.fr/wp-content/uploads/2026/04/deFrame-168.png");
}
.achile-v2 .ac-media--evenements {
  background-image: url("https://achile-dsr.fr/wp-content/uploads/2026/04/play-solid-full-1.png");
}
.achile-v2 .ac-media--legislation {
  background-image: url("https://achile-dsr.fr/wp-content/uploads/2026/04/file-lines-regular-full-1.png");
}

.achile-v2 .ac-card > .elementor-widget-heading .elementor-heading-title {
  color: var(--blue-mid);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.18;
}

.achile-v2 .ac-card > .elementor-widget-text-editor p {
  flex: 1;
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.5;
}

.achile-v2 .ac-card-footer {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.achile-v2 .ac-secondary .elementor-button {
  min-height: 24px;
  padding: 5px 9px !important;
  font-size: 11px;
}

.achile-v2 .ac-arrow .elementor-heading-title {
  color: var(--blue-mid);
  font-size: 17px;
  font-weight: 900;
}

/* ================================================================
   RAISON / CHIFFRES
   ================================================================ */

.achile-v2 .raison {
  position: relative;
  width: 100%;
  padding-block: 88px;
  background:
    radial-gradient(circle at 92% 18%, rgba(247,188,194,.28) 0 34px, transparent 35px),
    var(--bg-light);
}

.achile-v2 .raison > .container {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.achile-v2 .raison-content > .elementor-widget-heading .elementor-heading-title {
  margin-bottom: 20px;
  color: var(--blue-dark);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
}

.achile-v2 .raison-desc {
  margin-bottom: 28px;
}

.achile-v2 .raison-desc p {
  color: var(--text-mid);
  font-size: 14.5px;
  line-height: 1.75;
}

.achile-v2 .raison-link .elementor-button {
  min-height: 42px;
  padding: 0 18px !important;
  box-shadow: 0 8px 18px rgba(0,133,198,.18);
}

.achile-v2 .stats-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.achile-v2 .stat-card {
  padding: 28px 16px;
  border: 1.5px solid #E8EEF6;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--sh-sm);
  text-align: center;
  transition: var(--transition);
}

.achile-v2 .stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.achile-v2 .stat-icon {
  width: 48px;
  min-width: 48px;
  min-height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
}

.achile-v2 .stat-icon--green { background: rgba(185,239,218,.65); }
.achile-v2 .stat-icon--coral { background: rgba(247,188,194,.60); }
.achile-v2 .stat-icon--blue-mid { background: rgba(184,231,255,.65); }

.achile-v2 .stat-num .elementor-heading-title {
  margin-bottom: 10px;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.achile-v2 .stat-num.green .elementor-heading-title { color: var(--achile-green); }
.achile-v2 .stat-num.coral .elementor-heading-title { color: var(--achile-red); }
.achile-v2 .stat-num.blue-mid .elementor-heading-title { color: var(--blue-mid); }

.achile-v2 .stat-label p {
  color: var(--text-mid);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

/* ================================================================
   MISSIONS / PROFESSIONNELS
   ================================================================ */

.achile-v2 .mission {
  width: 100%;
  padding-block: 88px;
  background: var(--white);
}

.achile-v2 .mission > .container {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.achile-v2 .mission-content > .elementor-widget-heading .elementor-heading-title {
  margin-bottom: 20px;
  color: var(--blue-dark);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
}

.achile-v2 .mission-desc {
  margin-bottom: 22px;
}

.achile-v2 .mission-desc p {
  color: var(--text-mid);
  font-size: 14.5px;
  line-height: 1.75;
}

.achile-v2 .mission-cta .elementor-button {
  min-height: 42px;
  padding: 0 18px !important;
  box-shadow: 0 8px 18px rgba(241,108,118,.18);
}

.achile-v2 .mission-list {
  gap: 14px;
  padding-top: 4px;
}

.achile-v2 .mission-item {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(245,248,252,.7), rgba(255,255,255,0));
}

.achile-v2 .mi {
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: 50%;
}

.achile-v2 .mi-1 { background: var(--blue-mid); }
.achile-v2 .mi-2 { background: var(--achile-yellow); }
.achile-v2 .mi-3 { background: var(--achile-green); }
.achile-v2 .mi-4 { background: var(--blue-dark); }
.achile-v2 .mi-5 { background: var(--achile-yellow); }
.achile-v2 .mi-6 { background: var(--achile-red); }

.achile-v2 .mission-details details {
  width: 100%;
}

.achile-v2 .mission-details summary {
  padding-top: 8px;
  color: var(--blue-dark);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.55;
  cursor: pointer;
  list-style: none;
}

.achile-v2 .mission-details summary::-webkit-details-marker {
  display: none;
}

.achile-v2 .mission-details summary::after {
  content: '+';
  float: right;
  margin-left: 12px;
  color: var(--blue-mid);
  font-weight: 900;
}

.achile-v2 .mission-details details[open] summary::after {
  content: '–';
}

.achile-v2 .mission-details details p {
  margin-top: 8px;
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.65;
}

/* ================================================================
   RESSOURCES À LA UNE
   ================================================================ */

.achile-v2 .ressources {
  position: relative;
  width: 100%;
  padding-block: 88px;
  background:
    radial-gradient(circle at 92% 12%, rgba(184,231,255,.36) 0 62px, transparent 64px),
    linear-gradient(180deg, #FFFFFF 0%, #FBFDFF 100%);
}

.achile-v2 .section-head-inline {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.achile-v2 .section-head-copy {
  max-width: 850px;
  gap: 6px;
}

.achile-v2 .section-head-copy > .elementor-widget-heading .elementor-heading-title {
  color: var(--blue-dark);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
}

.achile-v2 .section-head-copy .elementor-widget-text-editor p {
  color: var(--text-mid);
  font-size: 14.5px;
  line-height: 1.65;
}

.achile-v2 .section-link .elementor-button {
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.achile-v2 .res-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.achile-v2 .res-card {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden;
  border: 1.5px solid #E8EEF6;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 6px 20px rgba(26,62,110,.075);
  transition: var(--transition);
}

.achile-v2 .res-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(26,62,110,.13);
  border-color: rgba(0,133,198,.22);
}

.achile-v2 .res-img {
  position: relative;
  aspect-ratio: 4 / 2.5;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.achile-v2 .res-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26,62,110,0) 54%, rgba(26,62,110,.16) 100%);
  pointer-events: none;
}

.achile-v2 .res-media--guide {
  background-image: url("https://achile-dsr.fr/wp-content/uploads/2026/04/images-2.jpeg");
}
.achile-v2 .res-media--protocole {
  background-image: url("https://achile-dsr.fr/wp-content/uploads/2026/04/HAS.jpg");
}
.achile-v2 .res-media--replay {
  background-image: url("https://achile-dsr.fr/wp-content/uploads/2026/04/Cover_Achile_1-800x450.jpg");
}
.achile-v2 .res-media--event {
  background-image: url("https://achile-dsr.fr/wp-content/uploads/2026/04/Capture-decran-2026-04-01-a-14.34.14-800x450.png");
}

.achile-v2 .res-badge {
  position: absolute;
  z-index: 2;
  left: 12px;
  bottom: 12px;
}

.achile-v2 .res-badge .elementor-heading-title {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--white);
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .10em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(26,62,110,.16);
}

.achile-v2 .badge-guide .elementor-heading-title { background: var(--achile-green); }
.achile-v2 .badge-protocole .elementor-heading-title { background: var(--achile-red); }
.achile-v2 .badge-replay .elementor-heading-title { background: var(--blue-mid); }
.achile-v2 .badge-webinaire .elementor-heading-title { background: var(--achile-blue); }

.achile-v2 .res-body {
  flex: 1;
  gap: 10px;
  padding: 18px 18px 20px;
}

.achile-v2 .res-body > .elementor-widget-heading .elementor-heading-title {
  color: var(--blue-mid);
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.38;
}

.achile-v2 .res-body > .elementor-widget-text-editor p {
  color: var(--text-mid);
  font-size: 12.8px;
  line-height: 1.5;
}

.achile-v2 .res-link {
  margin-top: auto;
}

/* ================================================================
   FAQ
   ================================================================ */

.achile-v2 .home-faq {
  width: 100%;
  padding-block: 88px;
  background:
    radial-gradient(circle at 92% 14%, rgba(185,239,218,.32) 0 54px, transparent 56px),
    var(--bg-light);
}

.achile-v2 .home-faq .section-head-inline {
  display: block !important;
}

.achile-v2 .home-faq .section-head-inline > .elementor-widget-heading .elementor-heading-title {
  color: var(--blue-dark);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
}

.achile-v2 .home-faq .section-head-inline .elementor-widget-text-editor p {
  margin-top: 6px;
  color: var(--text-mid);
  font-size: 14.5px;
}

.achile-v2 .faq-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.achile-v2 .faq-widget details {
  height: 100%;
  padding: 18px 20px;
  border: 1.5px solid #E8EEF6;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 2px 12px rgba(26,62,110,.04);
}

.achile-v2 .faq-widget summary {
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.achile-v2 .faq-widget summary::-webkit-details-marker {
  display: none;
}

.achile-v2 .faq-widget summary::after {
  content: '+';
  float: right;
  margin-left: 14px;
  color: var(--blue-mid);
  font-size: 18px;
  font-weight: 900;
}

.achile-v2 .faq-widget details[open] summary::after {
  content: '–';
}

.achile-v2 .faq-widget details p {
  margin-top: 12px;
  color: var(--text-mid);
  font-size: 13.5px;
  line-height: 1.7;
}

/* ================================================================
   SHARED RESOURCE TEMPLATE FIXES
   ================================================================ */

@media (max-width: 760px) {
  :is(.achile-v2, .achile-resources-v2, .achile-resource-single-v2) .container {
    padding-inline: 16px;
  }
}

/* PAGE RESSOURCES */
.achile-resources-v2 .resources-hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0 40px;
  background:
    radial-gradient(circle at 91% 14%, rgba(255,222,199,.5) 0 72px, transparent 74px),
    radial-gradient(circle at 8% 82%, rgba(185,239,218,.26) 0 50px, transparent 52px),
    linear-gradient(180deg, #FFFDFD 0%, #F8FBFF 100%);
}

.achile-resources-v2 .resources-hero__inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 52px;
  align-items: center;
}

.achile-resources-v2 .resources-breadcrumb p,
.achile-resource-single-v2 .resources-breadcrumb p {
  color: var(--text-light);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.achile-resources-v2 .resources-kicker .elementor-heading-title {
  margin-top: 17px;
  color: var(--achile-red);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.achile-resources-v2 .resources-hero h1 {
  margin: 7px 0 12px;
  color: var(--blue-mid);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.08;
}

.achile-resources-v2 .resources-hero__text p {
  max-width: 720px;
  color: var(--text-mid);
  font-size: 15.5px;
  line-height: 1.65;
}

.achile-resources-v2 .resources-hero__visual,
.achile-resources-v2 .resources-hero-illu { min-height: 190px; }

.achile-resources-v2 .resources-hero-illu {
  width: 100%;
  overflow: hidden;
  border: 1.5px solid rgba(184,231,255,.8);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(26,62,110,.04), rgba(26,62,110,.04)),
    url("https://achile-dsr.fr/wp-content/uploads/2026/03/15e46c8048aef30287f76a0aaeb8bb934956f36c-2-scaled.jpg") center / cover no-repeat;
  box-shadow: 0 12px 30px rgba(26,62,110,.10);
}

.achile-resources-v2 .resources-documentary-layout {
  padding: 38px 0 72px;
  background: var(--white);
}

.achile-resources-v2 .resource-search-panel {
  position: sticky;
  top: 84px;
  z-index: 30;
  margin-bottom: 28px;
  padding: 22px;
  border: 1.5px solid #E8EEF6;
  border-radius: var(--radius);
  background: rgba(255,255,255,.97);
  box-shadow: 0 10px 30px rgba(26,62,110,.08);
  backdrop-filter: blur(12px);
}

.achile-resources-v2 .resource-search-panel__head { margin-bottom: 18px; }

.achile-resources-v2 .section-label .elementor-heading-title,
.achile-resource-single-v2 .section-label .elementor-heading-title {
  color: var(--achile-red);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.achile-resources-v2 .resource-search-panel__head h2,
.achile-resources-v2 .resources-featured-head h2,
.achile-resources-v2 .resources-results-head h2,
.achile-resource-single-v2 .single-related-resources h2 {
  color: var(--blue-mid);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.18;
}

.achile-resources-v2 .resource-search-panel__head p,
.achile-resources-v2 .resources-featured-head p,
.achile-resources-v2 .resources-results-head p {
  margin-top: 6px;
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.6;
}

.achile-resources-v2 .documentary-filter-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.achile-resources-v2 .resource-filter-placeholder {
  position: relative;
  gap: 5px;
  min-width: 0;
}

.achile-resources-v2 .resource-filter-label .elementor-heading-title {
  color: var(--blue-dark);
  font-size: 11.5px;
  font-weight: 800;
}

.achile-resources-v2 .resource-filter-value {
  position: relative;
  min-height: 42px;
  padding: 0 34px 0 12px;
  border: 1.5px solid #DFE8F2;
  border-radius: var(--radius);
  background: #fff;
}

.achile-resources-v2 .resource-filter-value::after {
  content: "⌄";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-53%);
  color: var(--blue-mid);
  font-size: 16px;
  font-weight: 900;
}

.achile-resources-v2 .resource-filter-value .elementor-heading-title {
  padding-top: 12px;
  color: var(--text-mid);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.achile-resources-v2 .resources-search--wide {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1.5px solid rgba(184,231,255,.9);
  border-radius: var(--radius);
  background: #F8FBFF;
}

.achile-resources-v2 .resources-search-icon .elementor-heading-title {
  padding-left: 7px;
  color: var(--blue-mid);
  font-size: 22px;
  font-weight: 900;
}

.achile-resources-v2 .resources-search-placeholder .elementor-heading-title {
  color: var(--text-light);
  font-size: 13.5px;
  font-weight: 500;
}

.achile-resources-v2 .resources-featured-block {
  margin: 6px 0 34px;
  padding: 28px;
  border: 1.5px solid rgba(255,222,199,.78);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 96% 8%, rgba(255,222,199,.58) 0 72px, transparent 74px),
    linear-gradient(135deg, rgba(255,222,199,.34), rgba(184,231,255,.18) 56%, rgba(255,255,255,.96));
  box-shadow: 0 14px 36px rgba(26,62,110,.06);
}

.achile-resources-v2 .resources-featured-head,
.achile-resources-v2 .resources-results-head {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

/* Placeholders pour les Loop Grids à remplacer ensuite */
.achile-resources-v2 .resource-loop-placeholder,
.achile-resource-single-v2 .resource-loop-placeholder {
  display: grid !important;
  place-items: center;
  min-height: 160px;
  padding: 24px;
  border: 2px dashed rgba(0,133,198,.25);
  border-radius: var(--radius);
  background: rgba(184,231,255,.10);
  text-align: center;
}

.achile-resources-v2 .resource-loop-placeholder__title .elementor-heading-title,
.achile-resource-single-v2 .resource-loop-placeholder__title .elementor-heading-title {
  color: var(--blue-mid);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.achile-resources-v2 .resource-loop-placeholder p,
.achile-resource-single-v2 .resource-loop-placeholder p {
  margin-top: 6px;
  color: var(--text-mid);
  font-size: 12.5px;
  line-height: 1.55;
}

/* LOOP ITEM RESSOURCE */
.achile-resources-v2 .resource-card,
.achile-resource-single-v2 .resource-card,
.elementor-loop-container .resource-card {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  padding: 20px;
  border: 1.5px solid #E8EEF6;
  border-top: 5px solid var(--achile-blue, #0085c6);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(26,62,110,.065);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.achile-resources-v2 .resource-card:hover,
.achile-resource-single-v2 .resource-card:hover,
.elementor-loop-container .resource-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,133,198,.25);
  box-shadow: 0 16px 36px rgba(26,62,110,.12);
}

.resource-card .resource-card-media {
  min-height: 145px;
  margin: -20px -20px 15px;
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(rgba(26,62,110,.04), rgba(26,62,110,.04)),
    url("https://achile-dsr.fr/wp-content/uploads/2026/04/Cover_Achile_1.jpg") center / cover no-repeat;
}

.resource-card .dynamic-featured-image img,
.resource-card .elementor-widget-theme-post-featured-image img,
.resource-card .elementor-widget-image img {
  width: 100%;
  height: 145px;
  object-fit: cover;
}

.resource-card .resource-card__top {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 11px;
}

.resource-card .resource-badge .elementor-heading-title,
.resource-card .resource-source .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.resource-card .resource-badge .elementor-heading-title {
  background: rgba(184,231,255,.65);
  color: #1A3E6E;
}

.resource-card .resource-source .elementor-heading-title {
  border: 1px solid #E3EAF4;
  background: #F8FBFF;
  color: #4A5568;
}

.resource-card .resource-priority { align-self: flex-start; margin-bottom: 10px; }
.resource-card .resource-priority .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,222,199,.75);
  color: #A95B00;
  font-size: 9.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .055em;
}

.resource-card .dynamic-post-title .elementor-heading-title {
  color: #0085c6;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.3;
}

.resource-card .dynamic-post-excerpt p {
  margin-top: 8px;
  color: #4A5568;
  font-size: 13px;
  line-height: 1.5;
}

.resource-card .resource-card__meta {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid #E8EEF6;
}

.resource-card .resource-card__meta p {
  color: #718096;
  font-size: 10.75px;
  line-height: 1.35;
}

.resource-card .resource-card__meta strong { color: #4A5568; font-weight: 800; }
.resource-card .resource-card__action { margin-top: auto; padding-top: 16px; }
.resource-card .resource-card__action .elementor-button {
  color: #0085c6 !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  font-size: 12.5px;
  font-weight: 900;
}

.resource-card.resource-card--reference {
  border-color: rgba(255,176,86,.48);
  border-top-color: #FFB056;
  background:
    radial-gradient(circle at 96% 8%, rgba(255,222,199,.4) 0 42px, transparent 44px),
    #fff;
}

.resource-card.resource-card--pro { border-top-color: #1A3E6E; }

.resource-badge--protocole .elementor-heading-title { background: rgba(247,188,194,.58) !important; color: #A43E49 !important; }
.resource-badge--fiche .elementor-heading-title { background: rgba(185,239,218,.65) !important; color: #087C5E !important; }
.resource-badge--replay .elementor-heading-title { background: rgba(184,231,255,.72) !important; color: #006B9F !important; }
.resource-badge--recommandation .elementor-heading-title { background: rgba(255,222,199,.78) !important; color: #985300 !important; }
.resource-badge--outil .elementor-heading-title,
.resource-badge--annuaire .elementor-heading-title { background: rgba(26,62,110,.10) !important; color: #1A3E6E !important; }

.achile-resources-v2 .resource-empty {
  display: none !important;
  margin-top: 20px;
  padding: 22px;
  border: 1.5px solid #E8EEF6;
  border-radius: var(--radius);
  background: var(--bg-light);
}

.achile-resources-v2 .resource-pagination {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.achile-resources-v2 .resource-pagination-current .elementor-heading-title {
  display: grid;
  place-items: center;
  min-width: 38px;
  min-height: 38px;
  border-radius: var(--radius);
  background: var(--blue-mid);
  color: white;
  font-size: 13px;
  font-weight: 900;
}

/* SINGLE RESSOURCE */
.achile-resource-single-v2 .single-resource-hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 46px;
  background:
    radial-gradient(circle at 8% 18%, rgba(185,239,218,.30) 0 68px, transparent 70px),
    radial-gradient(circle at 92% 12%, rgba(255,222,199,.56) 0 78px, transparent 80px),
    linear-gradient(180deg, #FFFDFD 0%, #F8FBFF 100%);
}

.achile-resource-single-v2 .single-resource-hero__inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1.3fr) minmax(310px, .7fr);
  gap: 54px;
  align-items: start;
}

.achile-resource-single-v2 .single-resource-badges {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 20px 0 16px;
}

.achile-resource-single-v2 .single-resource-title .elementor-heading-title {
  max-width: 780px;
  color: var(--blue-mid);
  font-size: clamp(34px, 4.1vw, 50px);
  font-weight: 900;
  line-height: 1.08;
}

.achile-resource-single-v2 .single-resource-summary { max-width: 780px; margin-top: 16px; }
.achile-resource-single-v2 .single-resource-summary p {
  color: var(--text-mid);
  font-size: 16px;
  line-height: 1.68;
}

.achile-resource-single-v2 .single-resource-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.achile-resource-single-v2 .resource-badge .elementor-heading-title,
.achile-resource-single-v2 .resource-source .elementor-heading-title,
.achile-resource-single-v2 .resource-priority .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 9.8px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .055em;
}

.achile-resource-single-v2 .resource-badge .elementor-heading-title { background: rgba(185,239,218,.65); color: #087C5E; }
.achile-resource-single-v2 .resource-source .elementor-heading-title { border: 1px solid #E3EAF4; background: white; color: var(--text-mid); }
.achile-resource-single-v2 .resource-priority .elementor-heading-title { background: rgba(255,222,199,.78); color: #985300; }

.achile-resource-single-v2 .single-resource-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1.5px solid #E8EEF6;
  border-radius: var(--radius);
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 32px rgba(26,62,110,.08);
}

.achile-resource-single-v2 .single-resource-card::after {
  content: "";
  position: absolute;
  right: -35px;
  top: -35px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(184,231,255,.24);
  pointer-events: none;
}

.achile-resource-single-v2 .single-resource-card__head {
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E8EEF6;
}

.achile-resource-single-v2 .single-resource-card__icon {
  width: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  background: rgba(184,231,255,.58);
}

.achile-resource-single-v2 .single-resource-card__eyebrow .elementor-heading-title {
  color: var(--text-light);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.achile-resource-single-v2 .single-resource-card__title .elementor-heading-title {
  margin-top: 3px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
}

.achile-resource-single-v2 .single-resource-meta-row {
  display: grid !important;
  grid-template-columns: minmax(110px, .8fr) minmax(0, 1.2fr);
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #EDF2F7;
}
.achile-resource-single-v2 .single-resource-meta-row:last-child { border-bottom: 0; }
.achile-resource-single-v2 .single-resource-meta-label .elementor-heading-title { color: var(--text-light); font-size: 11px; font-weight: 700; }
.achile-resource-single-v2 .single-resource-meta-value .elementor-heading-title { color: var(--blue-dark); font-size: 11.5px; font-weight: 800; text-align: right; }

.achile-resource-single-v2 .single-resource-body { padding: 56px 0 72px; background: var(--white); }
.achile-resource-single-v2 .single-resource-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.achile-resource-single-v2 .single-resource-main h2 {
  margin: 32px 0 12px;
  color: var(--blue-mid);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.25;
}
.achile-resource-single-v2 .single-resource-main h2:first-child { margin-top: 0; }
.achile-resource-single-v2 .single-resource-main p,
.achile-resource-single-v2 .single-resource-main li { color: var(--text-mid); font-size: 15px; line-height: 1.75; }
.achile-resource-single-v2 .single-resource-main ul,
.achile-resource-single-v2 .single-resource-main ol { margin: 14px 0 20px 22px; }
.achile-resource-single-v2 .single-resource-main a { color: var(--blue-mid); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.achile-resource-single-v2 .dynamic-placeholder-label .elementor-heading-title {
  color: var(--achile-red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}
.achile-resource-single-v2 .dynamic-post-content-placeholder {
  margin-top: 10px;
  padding: 24px;
  border: 2px dashed rgba(0,133,198,.25);
  border-radius: var(--radius);
  background: rgba(184,231,255,.10);
}

.achile-resource-single-v2 .single-resource-aside { position: sticky; top: 100px; gap: 18px; }
.achile-resource-single-v2 .single-resource-box {
  padding: 22px;
  border: 1.5px solid #E8EEF6;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(184,231,255,.20) 0 44px, transparent 46px),
    var(--white);
  box-shadow: 0 8px 24px rgba(26,62,110,.05);
}
.achile-resource-single-v2 .single-resource-box h2 { margin-bottom: 12px; color: var(--blue-mid); font-size: 17px; font-weight: 900; }
.achile-resource-single-v2 .single-resource-box p { color: var(--text-mid); font-size: 13px; line-height: 1.55; }

.achile-resource-single-v2 .single-related-resources {
  margin-top: 56px;
  padding: 34px;
  border: 1.5px solid #E8EEF6;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 96% 10%, rgba(184,231,255,.28) 0 58px, transparent 60px),
    var(--white);
  box-shadow: 0 8px 24px rgba(26,62,110,.06);
}

@media (max-width: 1120px) {
  .achile-resources-v2 .documentary-filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .achile-resource-single-v2 .single-resource-hero__inner,
  .achile-resource-single-v2 .single-resource-layout { grid-template-columns: 1fr; }
  .achile-resource-single-v2 .single-resource-aside { position: static; }
}

@media (max-width: 900px) {
  .achile-resources-v2 .resources-hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .achile-resources-v2 .resources-hero__visual,
  .achile-resources-v2 .resources-hero-illu { min-height: 170px; }
}

@media (max-width: 760px) {
  .achile-resources-v2 .resources-hero { padding: 36px 0 30px; }
  .achile-resources-v2 .resource-search-panel { position: static; padding: 16px; margin-bottom: 24px; }
  .achile-resources-v2 .documentary-filter-grid { grid-template-columns: 1fr; }
  .achile-resources-v2 .resources-search--wide { grid-template-columns: auto minmax(0, 1fr); }
  .achile-resources-v2 .resources-search-button { grid-column: 1 / -1; }
  .achile-resources-v2 .resources-featured-block { padding: 18px; }
  .achile-resources-v2 .resources-featured-head,
  .achile-resources-v2 .resources-results-head { display: block !important; }
  .achile-resource-single-v2 .single-resource-hero { padding: 42px 0 36px; }
  .achile-resource-single-v2 .single-resource-body { padding: 42px 0 56px; }
  .achile-resource-single-v2 .single-resource-actions { flex-direction: column !important; }
  .achile-resource-single-v2 .single-resource-actions .elementor-widget-button,
  .achile-resource-single-v2 .single-resource-actions .elementor-button { width: 100%; }
  .achile-resource-single-v2 .single-resource-meta-row { grid-template-columns: 1fr; gap: 3px; }
  .achile-resource-single-v2 .single-resource-meta-value .elementor-heading-title { text-align: left; }
  .achile-resource-single-v2 .single-related-resources { padding: 22px; }
}

/* ================================================================
   RESPONSIVE — calé sur les breakpoints du prototype
   ================================================================ */

@media (max-width: 1200px) {
  .achile-v2 .hero-container {
    grid-template-columns: 1.05fr .95fr;
    gap: 24px;
  }

  .achile-v2 .hero-content {
    padding-left: 3rem;
  }
}

@media (max-width: 1100px) {
  .achile-v2 .specialty-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .achile-v2 .specialty-node {
    min-height: 170px;
  }

  .achile-v2 .res-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .achile-v2 .hero {
    min-height: auto;
  }

  .achile-v2 .hero-container {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 1rem;
  }

  .achile-v2 .hero-content {
    order: 2;
    padding: 3.5rem 1.5rem .2rem;
  }

  .achile-v2 .hero-visual {
    order: 1;
    min-height: auto;
    padding: 2.4rem 1.5rem 0;
  }

  .achile-v2 .event-widget__bar {
    position: relative;
    inset: auto;
    align-self: flex-end;
    margin-bottom: 14px;
  }

  .achile-v2 .video-shell {
    width: 100%;
    margin-top: 0;
  }

  .achile-v2 .hero-title .elementor-heading-title {
    font-size: 40px;
  }

  .achile-v2 .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .achile-v2 .raison > .container,
  .achile-v2 .mission > .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .achile-v2 .stats-grid {
    grid-template-columns: 1fr;
  }

.achile-v2 .specialties {
    padding-block: 64px;
  }
}

@media (max-width: 760px) {
  .achile-v2 .res-grid,
  .achile-v2 .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .achile-v2 .container {
    padding-inline: 16px;
  }

  .achile-v2 .hero-content {
    padding: 3.5rem 1rem .2rem;
  }

  .achile-v2 .hero-visual {
    padding-inline: 1rem;
  }

  .achile-v2 .hero-title .elementor-heading-title {
    font-size: 32px;
    line-height: 1.18;
  }

  .achile-v2 .hero-desc p {
    font-size: 15.5px;
    line-height: 1.65;
  }

  .achile-v2 .hero-eyebrow {
    margin-bottom: 18px;
  }

  .achile-v2 .hero-buttons {
    flex-direction: column !important;
  }

  .achile-v2 .hero-buttons .elementor-widget-button,
  .achile-v2 .hero-buttons .elementor-button {
    width: 100%;
  }

  .achile-v2 .event-widget__bar {
    width: 100%;
  }

  .achile-v2 .specialty-links,
  .achile-v2 .cards-grid {
    grid-template-columns: 1fr;
  }

  .achile-v2 .specialty-node {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 0;
    padding: 18px;
  }

  .achile-v2 .specialty-icon {
    width: 48px;
    min-width: 48px;
    min-height: 48px;
  }

  .achile-v2 .ressources {
    padding-block: 56px;
  }

  .achile-v2 .section-head-inline {
    display: block !important;
    margin-bottom: 24px;
  }

  .achile-v2 .section-link {
    margin-top: 14px;
  }

}

/* ================================================================
   ACHILE RESSOURCES V2 — COMPATIBILITÉ TEMPLATES PHP NATIFS
   Conserve le système CSS existant et ajoute seulement les sélecteurs
   nécessaires au HTML généré par page-ressources.php / single-ressource.php.
   ================================================================ */

/* Actual filter controls */
.achile-resources-v2 .resource-filter-control {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.achile-resources-v2 .resource-filter-control > span {
  color: var(--blue-dark);
  font-size: 11.5px;
  font-weight: 800;
}

.achile-resources-v2 .resource-filter-control select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0 34px 0 12px;
  border: 1.5px solid #DFE8F2;
  border-radius: 8px;
  outline: none;
  background: #fff;
  color: var(--text-mid);
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.achile-resources-v2 .resource-filter-control select:focus,
.achile-resources-v2 .resources-search--wide input[type="search"]:focus {
  border-color: rgba(0,133,198,.55);
  box-shadow: 0 0 0 3px rgba(0,133,198,.10);
}

.achile-resources-v2 .resources-search--wide input[type="search"] {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 10px 4px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text-dark);
  font-family: var(--font);
  font-size: 13.5px;
  box-shadow: none;
}

.achile-resources-v2 .resources-search--wide input[type="search"]::placeholder {
  color: var(--text-light);
}

.achile-resources-v2 .resources-search-button {
  min-height: 42px;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--blue-mid);
  color: #fff;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.achile-resources-v2 .resources-reset-link {
  color: var(--blue-mid);
  font-size: 12px;
  font-weight: 800;
}

/* Native PHP grid */
.achile-resources-v2 .resource-grid,
.achile-resource-single-v2 .resource-grid {
  display: grid;
  gap: 24px;
}

.achile-resources-v2 .resources-featured-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.achile-resources-v2 .resources-results-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.achile-resource-single-v2 .single-related-resources .resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Native card media */
.resource-card--php .resource-card-media {
  height: 145px;
  min-height: 145px;
  overflow: hidden;
}

.resource-card--php .resource-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Native badges */
.resource-card--php .resource-badge,
.resource-card--php .resource-source,
.achile-resource-single-v2 span.resource-badge,
.achile-resource-single-v2 span.resource-source,
.achile-resource-single-v2 span.resource-priority {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.resource-card--php .resource-badge,
.achile-resource-single-v2 span.resource-badge {
  background: rgba(184,231,255,.65);
  color: #1A3E6E;
}

.resource-card--php .resource-source,
.achile-resource-single-v2 span.resource-source {
  border: 1px solid #E3EAF4;
  background: #F8FBFF;
  color: #4A5568;
}

.resource-card--php .resource-priority,
.achile-resource-single-v2 span.resource-priority {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  min-height: 24px;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,222,199,.75);
  color: #A95B00;
  font-size: 9.5px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .055em;
}

/* Badge color variants for native spans */
.resource-card--php .resource-badge--protocole,
.achile-resource-single-v2 span.resource-badge--protocole {
  background: rgba(247,188,194,.58);
  color: #A43E49;
}

.resource-card--php .resource-badge--fiche,
.achile-resource-single-v2 span.resource-badge--fiche {
  background: rgba(185,239,218,.65);
  color: #087C5E;
}

.resource-card--php .resource-badge--replay,
.achile-resource-single-v2 span.resource-badge--replay {
  background: rgba(184,231,255,.72);
  color: #006B9F;
}

.resource-card--php .resource-badge--recommandation,
.achile-resource-single-v2 span.resource-badge--recommandation {
  background: rgba(255,222,199,.78);
  color: #985300;
}

.resource-card--php .resource-badge--outil,
.achile-resource-single-v2 span.resource-badge--outil {
  background: rgba(26,62,110,.10);
  color: #1A3E6E;
}

/* Native card copy */
.resource-card--php h3 {
  margin: 0;
  color: var(--blue-mid);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.3;
}

.resource-card--php .resource-card__description {
  margin: 8px 0 0;
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.5;
}

.resource-card--php .resource-card__meta span {
  color: var(--text-light);
  font-size: 10.75px;
  line-height: 1.35;
}

.resource-card--php .resource-card__meta strong {
  color: var(--text-mid);
  font-weight: 800;
}

.resource-card--php .resource-card__action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue-mid);
  font-size: 12.5px;
  font-weight: 900;
}

/* Priority / pro */
.resource-card--php.resource-card--pro {
  border-top-color: var(--blue-dark);
}

.resource-card--php.resource-card--reference {
  border-color: rgba(255,176,86,.48);
  border-top-color: var(--achile-yellow);
}

/* Empty state */
.achile-resources-v2 .resource-empty--visible {
  display: block !important;
}

/* Native pagination */
.achile-resources-v2 .resource-pagination a,
.achile-resources-v2 .resource-pagination-current {
  display: inline-grid;
  place-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1.5px solid var(--blue-mid);
  border-radius: 8px;
  color: var(--blue-mid);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.achile-resources-v2 .resource-pagination-current {
  min-width: 38px;
  padding: 0 10px;
  border-color: var(--blue-mid);
  background: var(--blue-mid);
  color: #fff;
}

/* Native single title / summary / metadata */
.achile-resource-single-v2 .single-resource-title {
  max-width: 780px;
  margin: 0;
  color: var(--blue-mid);
  font-size: clamp(34px, 4.1vw, 50px);
  font-weight: 900;
  line-height: 1.08;
}

.achile-resource-single-v2 p.single-resource-summary {
  max-width: 780px;
  margin: 16px 0 0;
  color: var(--text-mid);
  font-size: 16px;
  line-height: 1.68;
}

.achile-resource-single-v2 .single-resource-card__eyebrow {
  display: block;
  color: var(--text-light);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.achile-resource-single-v2 .single-resource-card__title {
  display: block;
  margin-top: 3px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
}

.achile-resource-single-v2 .single-resource-meta-label {
  color: var(--text-light);
  font-size: 11px;
  font-weight: 700;
}

.achile-resource-single-v2 .single-resource-meta-value {
  margin: 0;
  color: var(--blue-dark);
  font-size: 11.5px;
  font-weight: 800;
  text-align: right;
}

/* Native single buttons using the existing ACHILE button visual language */
.achile-resource-single-v2 a.achile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.achile-resource-single-v2 a.achile-btn--primary {
  background: var(--achile-cta-gradient);
  color: #fff;
}

.achile-resource-single-v2 a.achile-btn--outline {
  border-color: var(--blue-mid);
  background: transparent;
  color: var(--blue-mid);
}

/* WordPress editor content inside the single */
.achile-resource-single-v2 .single-resource-main > *:first-child {
  margin-top: 0;
}

.achile-resource-single-v2 .single-resource-main h2 {
  margin-top: 32px;
}

.achile-resource-single-v2 .single-resource-main h3 {
  margin: 24px 0 8px;
  color: var(--blue-dark);
  font-size: 19px;
  font-weight: 900;
}

.achile-resource-single-v2 .single-resource-complementary-list {
  margin: 0;
  padding-left: 18px;
}

.achile-resource-single-v2 .single-resource-complementary-list li + li {
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 1100px) {
  .achile-resources-v2 .resources-featured-grid,
  .achile-resources-v2 .resources-results-grid,
  .achile-resource-single-v2 .single-related-resources .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .achile-resources-v2 .resources-featured-grid,
  .achile-resources-v2 .resources-results-grid,
  .achile-resource-single-v2 .single-related-resources .resource-grid {
    grid-template-columns: 1fr;
  }

  .achile-resource-single-v2 .single-resource-meta-value {
    text-align: left;
  }
}

/* ================================================================
   ACHILE RESOURCE SINGLE V3 — STRUCTURED ACF CONTENT
   ================================================================ */
.achile-resource-single-v2 .resource-content-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  padding: 24px 26px;
  border: 1.5px solid #E8EEF6;
  border-left: 5px solid var(--blue-mid);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(26,62,110,.055);
}

.achile-resource-single-v2 .resource-content-card::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(184,231,255,.14);
  pointer-events: none;
}

.achile-resource-single-v2 .resource-content-card--green { border-left-color: var(--achile-green); }
.achile-resource-single-v2 .resource-content-card--yellow { border-left-color: var(--achile-yellow); }
.achile-resource-single-v2 .resource-content-card--coral { border-left-color: var(--achile-red); }
.achile-resource-single-v2 .resource-content-card--teal { border-left-color: #28B7B0; }
.achile-resource-single-v2 .resource-content-card--native { border-left-color: #D7E3EF; }

.achile-resource-single-v2 .resource-content-card h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: var(--blue-mid);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.3;
}

.achile-resource-single-v2 .resource-content-card__body {
  position: relative;
  z-index: 1;
  color: var(--text-mid);
  font-size: 14.5px;
  line-height: 1.72;
}

.achile-resource-single-v2 .resource-content-card__body > :first-child { margin-top: 0; }
.achile-resource-single-v2 .resource-content-card__body > :last-child { margin-bottom: 0; }
.achile-resource-single-v2 .resource-content-card__body p { margin: 0 0 12px; }
.achile-resource-single-v2 .resource-content-card__body ul,
.achile-resource-single-v2 .resource-content-card__body ol { margin: 10px 0 12px; padding-left: 21px; }
.achile-resource-single-v2 .resource-content-card__body li + li { margin-top: 5px; }

.achile-resource-single-v2 .resource-access-card {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 22px;
  padding: 24px 26px;
  border: 1.5px solid rgba(184,231,255,.9);
  border-radius: 8px;
  background: linear-gradient(135deg,rgba(245,248,252,.86),#fff);
}

.achile-resource-single-v2 .resource-access-card .section-label {
  margin: 0 0 4px;
  color: var(--achile-red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.achile-resource-single-v2 .resource-access-card h2 {
  margin: 0 0 5px;
  color: var(--blue-mid);
  font-size: 19px;
  font-weight: 900;
}

.achile-resource-single-v2 .resource-access-card p:not(.section-label) {
  margin: 0;
  color: var(--text-mid);
  font-size: 13.5px;
  line-height: 1.55;
}

.achile-resource-single-v2 .resource-access-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px 18px;
  border: 1.5px solid rgba(0,133,198,.28);
  border-radius: 8px;
  background: #fff;
  color: var(--blue-mid);
  font-size: 12.5px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.achile-resource-single-v2 .resource-return-card { margin-top: 14px; }

.achile-resource-single-v2 .resource-return-card a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 14px;
  align-items: center;
  padding: 18px 20px;
  border: 1.5px solid #E8EEF6;
  border-radius: 8px;
  background: #fff;
  color: var(--blue-mid);
  text-decoration: none;
}

.achile-resource-single-v2 .resource-return-card a > span:first-child {
  grid-column: 1;
  color: var(--text-light);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.achile-resource-single-v2 .resource-return-card strong {
  grid-column: 1;
  font-size: 13px;
  font-weight: 900;
}

.achile-resource-single-v2 .resource-return-card a > span:last-child {
  grid-column: 2;
  grid-row: 1 / 3;
  font-size: 18px;
  font-weight: 900;
}

@media (max-width:760px) {
  .achile-resource-single-v2 .resource-content-card { padding: 20px; }

  .achile-resource-single-v2 .resource-access-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .achile-resource-single-v2 .resource-access-card__link { width: 100%; }
}
