/*!
 * Prix Excellence du Coaching 2027 — feuille de style dédiée
 * Chargée uniquement sur la page /prix-du-coaching-2027
 * Design tokens extraits du Figma ICF France (variables --icf-*)
 */

:root {
  --icf-navy: #212251;
  --icf-blue: #2b379b;
  --icf-yellow: #efcb30;
  --icf-bone: #f8f0e4;
  --icf-white: #ffffff;
  --pc2027-font-body: "Plus Jakarta Sans", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --pc2027-font-display: "Hoss Round", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pc2027-container-max: 1440px;
  --pc2027-content-max: 1248px;
  --pc2027-radius: 6px;
  --pc2027-radius-lg: 24px;
}

/* Reset page-level : le template `template-prix-coaching-2027.php` n'inclut
   ni get_header ni get_footer — on annule quand même toute contrainte que
   d'anciennes règles globales du thème pourraient poser. */
html, body.pc2027-body { margin: 0; padding: 0; background: var(--icf-white); }
body.pc2027-body { font-family: var(--pc2027-font-body); color: var(--icf-navy); overflow-x: hidden; }
body.pc2027-body #pc2027-main,
body.pc2027-body .pc2027-main {
    display: block;
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.pc2027-body .pc2027-main > * { max-width: none !important; }

/* Neutralise tout wrapper .container / #content / #main hérités si présents. */
body.pc2027-body #content,
body.pc2027-body .content,
body.pc2027-body #primary,
body.pc2027-body .site-content,
body.pc2027-body .container-fluid,
body.pc2027-body .container {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Reset scoped */
.pc2027 * { box-sizing: border-box; }
.pc2027 p, .pc2027 h1, .pc2027 h2, .pc2027 h3, .pc2027 h4 { margin: 0; padding: 0; }
.pc2027 img { display: block; max-width: 100%; height: auto; }
.pc2027 a { text-decoration: none; }

/* Wrappers de section — largeur full-bleed du thème */
.pc2027-section {
  width: 100%;
  padding: 88px 96px;
  position: relative;
  font-family: var(--pc2027-font-body);
  color: var(--icf-navy);
  line-height: 1.5;
  overflow: hidden;
}
.pc2027-section__inner {
  max-width: var(--pc2027-content-max);
  margin: 0 auto;
  position: relative;
}
.pc2027-section--navy { background: var(--icf-navy); color: var(--icf-bone); }
.pc2027-section--white { background: var(--icf-white); color: var(--icf-navy); }

/* CTA bouton jaune */
.pc2027-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--icf-yellow);
  color: var(--icf-navy);
  font-family: var(--pc2027-font-body);
  font-weight: 700;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0;
  text-decoration: none;
  border-radius: var(--pc2027-radius);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  min-width: 355px;
  justify-content: flex-start;
  text-transform: none;
}
.pc2027-btn:hover, .pc2027-btn:focus {
  filter: brightness(0.95);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: var(--icf-navy);
}
.pc2027-btn__label { flex: 1; text-align: left; text-transform: uppercase; }
.pc2027-btn__icon { width: 12px; height: 12px; flex-shrink: 0; }
.pc2027-btn__icon svg, .pc2027-btn__icon img { width: 100%; height: 100%; display: block; }

/* ============================================================
   Section 02 — HERO
   ============================================================ */
.pc2027-hero { min-height: 700px; display: flex; align-items: center; }
.pc2027-hero__inner {
  display: flex;
  gap: 80px;
  align-items: stretch;
  width: 100%;
}
.pc2027-hero__col-text {
  flex: 1 1 760px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 524px;
}
.pc2027-hero__title-block { display: flex; flex-direction: column; gap: 24px; }
.pc2027-hero__title {
  font-family: var(--pc2027-font-display);
  font-weight: 400;
  font-size: 58px;
  line-height: 65px;
  letter-spacing: -1.16px;
  color: var(--icf-bone);
}
.pc2027-hero__promise-row { display: flex; gap: 40px; align-items: flex-start; }
.pc2027-hero__promise {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 624px;
  flex: 1;
}
.pc2027-hero__promise-text {
  font-family: var(--pc2027-font-display);
  font-weight: 400;
  font-size: 34px;
  line-height: 45px;
  color: var(--icf-bone);
}
.pc2027-hero__edition {
  font-family: var(--pc2027-font-body);
  font-weight: 500;
  font-size: 26px;
  line-height: 31px;
  color: var(--icf-yellow);
  white-space: nowrap;
}
.pc2027-hero__cta-block { display: flex; flex-direction: column; gap: 14px; max-width: 620px; }
.pc2027-hero__cta-context {
  font-family: var(--pc2027-font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 21px;
  color: var(--icf-bone);
}
.pc2027-hero__cta-note {
  font-family: var(--pc2027-font-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 21px;
  color: var(--icf-bone);
}
.pc2027-hero__col-visual {
  flex: 0 0 432px;
  position: relative;
}
.pc2027-hero__photo {
  width: 432px;
  height: 524px;
  border-radius: var(--pc2027-radius-lg);
  overflow: hidden;
  position: relative;
}
.pc2027-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pc2027-hero__brush-star {
  position: absolute;
  width: 286px;
  height: 286px;
  right: 372px;
  top: 190px;
  pointer-events: none;
  z-index: 2;
}

/* ============================================================
   Section 04 — CE QUE LE PRIX RECONNAÎT
   ============================================================ */
.pc2027-criteres { position: relative; }
.pc2027-criteres__inner { display: flex; flex-direction: column; gap: 32px; }
.pc2027-criteres__eyebrow {
  font-family: var(--pc2027-font-body);
  font-weight: 700;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  color: var(--icf-blue);
}
.pc2027-criteres__title-block { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.pc2027-criteres__title {
  font-family: var(--pc2027-font-display);
  font-weight: 400;
  font-size: 46px;
  line-height: 54px;
  color: var(--icf-navy);
  max-width: 1248px;
}
.pc2027-criteres__underline {
  display: block;
  width: 476px;
  max-width: 100%;
  height: 23px;
}
.pc2027-criteres__lead {
  font-family: var(--pc2027-font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  color: var(--icf-navy);
  max-width: 900px;
}
.pc2027-criteres__sublead {
  font-family: var(--pc2027-font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: var(--icf-navy);
  max-width: 900px;
}
.pc2027-criteres__hint {
  font-family: var(--pc2027-font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 23px;
  color: var(--icf-blue);
}
.pc2027-criteres__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pc2027-criteres__card {
  background: var(--icf-bone);
  border-radius: var(--pc2027-radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 285px;
}
.pc2027-criteres__card-num {
  font-family: var(--pc2027-font-body);
  font-weight: 700;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.96px;
  color: var(--icf-blue);
}
.pc2027-criteres__card-title {
  font-family: var(--pc2027-font-display);
  font-weight: 400;
  font-size: 25px;
  line-height: 33px;
  color: var(--icf-navy);
}
.pc2027-criteres__card-desc {
  font-family: var(--pc2027-font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: var(--icf-navy);
}
.pc2027-criteres__brush-decor {
  position: absolute;
  top: -258px;
  right: -80px;
  width: 713px;
  height: 713px;
  pointer-events: none;
  z-index: 0;
  transform: rotate(-135deg);
  opacity: 1;
}
.pc2027-criteres__brush-decor img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================================
   Section 13 — MANIFESTATION D'INTÉRÊT (invitation + formulaire)
   ============================================================ */
.pc2027-form { position: relative; }
.pc2027-form__inner { display: flex; flex-direction: column; gap: 56px; }
.pc2027-form__invite {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  position: relative;
}
.pc2027-form__invite-copy { display: flex; flex-direction: column; gap: 28px; max-width: 890px; }
.pc2027-form__title {
  font-family: var(--pc2027-font-display);
  font-weight: 400;
  font-size: 46px;
  line-height: 54px;
  color: var(--icf-bone);
  max-width: 890px;
}
.pc2027-form__lead {
  font-family: var(--pc2027-font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  color: var(--icf-bone);
  max-width: 780px;
}
.pc2027-form__cta-context {
  font-family: var(--pc2027-font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 23px;
  color: var(--icf-bone);
  max-width: 780px;
}
.pc2027-form__cta-note {
  font-family: var(--pc2027-font-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 21px;
  color: var(--icf-bone);
  max-width: 680px;
}
.pc2027-form__brush-star {
  position: absolute;
  width: 450px;
  height: 436px;
  right: 0;
  top: 63px;
  pointer-events: none;
  z-index: 1;
}
.pc2027-form__brush-star img { width: 100%; height: 100%; object-fit: contain; }

/* Formulaire CF7 — anchor + card blanche sur fond navy */
.pc2027-form__anchor { scroll-margin-top: 100px; }
.pc2027-form__card {
  background: var(--icf-bone);
  border-radius: 12px;
  padding: 48px;
  max-width: 780px;
  position: relative;
  z-index: 2;
}
.pc2027-form__card-title {
  font-family: var(--pc2027-font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 36px;
  color: var(--icf-navy);
  margin-bottom: 24px;
}
.pc2027-form__card .wpcf7 { color: var(--icf-navy); }
.pc2027-form__card .wpcf7 p { font-family: var(--pc2027-font-body); font-size: 14px; margin: 0 0 16px; }
.pc2027-form__card .wpcf7 label {
  display: block;
  font-family: var(--pc2027-font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: var(--icf-navy);
  margin-bottom: 6px;
}
.pc2027-form__card .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance) {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d5d0c6;
  border-radius: 6px;
  background: #fff;
  font-family: var(--pc2027-font-body);
  font-size: 14px;
  line-height: 21px;
  color: var(--icf-navy);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.pc2027-form__card .wpcf7-form-control:focus {
  border-color: var(--icf-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(43, 55, 155, 0.15);
}
.pc2027-form__card select.wpcf7-form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23212251' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.pc2027-form__card .wpcf7-acceptance { display: block; margin: 20px 0; }
.pc2027-form__card .wpcf7-acceptance .wpcf7-list-item { margin: 0; display: flex; gap: 10px; align-items: flex-start; }
.pc2027-form__card .wpcf7-acceptance input[type="checkbox"] { margin-top: 3px; accent-color: var(--icf-blue); }
.pc2027-form__card .wpcf7-acceptance label { font-weight: 400; font-size: 13px; line-height: 20px; }
.pc2027-form__card .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--icf-yellow);
  color: var(--icf-navy);
  font-family: var(--pc2027-font-body);
  font-weight: 700;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0;
  text-decoration: none;
  border-radius: var(--pc2027-radius);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.pc2027-form__card .wpcf7-submit:hover { filter: brightness(0.95); transform: translateY(-1px); }
.pc2027-form__card .wpcf7-response-output {
  margin-top: 16px !important;
  padding: 12px 16px !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  border-width: 1px !important;
}
.pc2027-form__card .wpcf7 form.sent .wpcf7-response-output {
  background: #e8f4ea;
  border-color: #46b450;
  color: #1b5e20;
}
.pc2027-form__card .wpcf7 form.invalid .wpcf7-response-output,
.pc2027-form__card .wpcf7 form.failed .wpcf7-response-output {
  background: #fdecea;
  border-color: #dc3232;
  color: #b71c1c;
}
.pc2027-form__card .wpcf7-not-valid-tip { color: #dc3232; font-size: 12px; margin-top: 4px; }
.pc2027-form__field-autre { margin-top: 8px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
  .pc2027-section { padding: 64px 48px; }
  .pc2027-hero { min-height: 0; }
  .pc2027-hero__inner { gap: 48px; }
  .pc2027-hero__title { font-size: 48px; line-height: 56px; }
  .pc2027-hero__promise-text { font-size: 28px; line-height: 38px; }
  .pc2027-hero__col-visual { flex: 0 0 380px; }
  .pc2027-hero__photo { width: 380px; height: 460px; }
  .pc2027-hero__brush-star { width: 240px; height: 240px; right: 320px; top: 160px; }
  .pc2027-criteres__title, .pc2027-form__title { font-size: 38px; line-height: 46px; }
  .pc2027-form__brush-star { width: 340px; height: 330px; }
}

@media (max-width: 899px) {
  .pc2027-section { padding: 56px 24px; }
  .pc2027-hero__inner { flex-direction: column; gap: 32px; }
  .pc2027-hero__col-text { min-height: 0; flex: 1 1 auto; }
  .pc2027-hero__col-visual { flex: 1 1 auto; align-self: stretch; }
  .pc2027-hero__photo { width: 100%; height: auto; aspect-ratio: 432 / 524; max-width: 500px; margin: 0 auto; }
  .pc2027-hero__brush-star { display: none; }
  .pc2027-hero__title { font-size: 40px; line-height: 48px; letter-spacing: -0.8px; }
  .pc2027-hero__promise-text { font-size: 24px; line-height: 32px; }
  .pc2027-hero__edition { font-size: 20px; line-height: 26px; }
  .pc2027-hero__promise-row { flex-direction: column; gap: 20px; }

  .pc2027-criteres__grid { grid-template-columns: 1fr; }
  .pc2027-criteres__card { min-height: 0; padding: 24px; }
  .pc2027-criteres__title { font-size: 32px; line-height: 40px; }
  .pc2027-criteres__underline { width: 300px; height: 15px; }
  .pc2027-criteres__brush-decor { width: 400px; height: 400px; top: -140px; right: -140px; opacity: 0.5; }

  .pc2027-form__invite { flex-direction: column; }
  .pc2027-form__brush-star { position: relative; width: 220px; height: 210px; top: 0; right: auto; margin: 0 auto; }
  .pc2027-form__title { font-size: 32px; line-height: 40px; }
  .pc2027-form__card { padding: 32px 24px; }

  .pc2027-btn { min-width: 0; width: 100%; }
}

@media (max-width: 480px) {
  .pc2027-section { padding: 40px 20px; }
  .pc2027-hero__title { font-size: 34px; line-height: 42px; }
  .pc2027-hero__promise-text { font-size: 20px; line-height: 28px; }
  .pc2027-criteres__title, .pc2027-form__title { font-size: 28px; line-height: 36px; }
}

/* ============================================================
   Section 01 — NAVIGATION (header)
   ============================================================ */
.pc2027-nav {
    width: 100%;
    background: var(--icf-bone);
    font-family: var(--pc2027-font-body);
    z-index: 100;
}
.pc2027-nav--sticky { position: sticky; top: 0; }
.pc2027-nav__inner {
    max-width: var(--pc2027-container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    gap: 24px;
}
.pc2027-nav__logo { flex-shrink: 0; display: block; }
.pc2027-nav__logo img { width: 133px; height: 50px; object-fit: contain; }
.pc2027-nav__links {
    display: flex;
    align-items: center;
    gap: 36px;
    flex: 1;
    justify-content: center;
}
.pc2027-nav__link {
    color: var(--icf-navy);
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0;
    transition: opacity 0.15s ease;
    white-space: nowrap;
}
.pc2027-nav__link:hover { opacity: 0.7; }
.pc2027-nav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: var(--icf-navy);
    color: var(--icf-white);
    font-weight: 700;
    font-size: 14px;
    line-height: 21px;
    text-transform: uppercase;
    border-radius: var(--pc2027-radius);
    min-width: 317px;
    transition: filter 0.15s ease, transform 0.15s ease;
}
.pc2027-nav__cta:hover { filter: brightness(1.15); transform: translateY(-1px); color: var(--icf-white); }
.pc2027-nav__cta-icon { width: 12px; height: 12px; flex-shrink: 0; filter: invert(1) brightness(2); }
.pc2027-nav__cta-icon img { width: 100%; height: 100%; display: block; }
.pc2027-nav__toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0;
}
.pc2027-nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--icf-navy);
    margin: 0 auto;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
@media (max-width: 899px) {
    .pc2027-nav__inner { padding: 12px 20px; }
    .pc2027-nav__cta { min-width: 0; padding: 10px 14px; font-size: 12px; }
    .pc2027-nav__cta-label { display: none; }
    .pc2027-nav__cta-icon { filter: invert(1) brightness(2); }
}
@media (max-width: 720px) {
    .pc2027-nav__toggle { display: flex; }
    .pc2027-nav__links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--icf-bone);
        padding: 16px 20px;
        gap: 16px;
        align-items: flex-start;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.15s ease, transform 0.15s ease;
    }
    .pc2027-nav--open .pc2027-nav__links {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .pc2027-nav__inner { position: relative; }
    .pc2027-nav__cta { order: 2; }
}

/* ============================================================
   Section 14 — FOOTER
   ============================================================ */
.pc2027-footer {
    width: 100%;
    background: var(--icf-navy);
    color: var(--icf-bone);
    font-family: var(--pc2027-font-body);
    padding: 56px 96px;
}
.pc2027-footer__inner { max-width: var(--pc2027-content-max); margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.pc2027-footer__rule {
    height: 1px;
    background: var(--icf-bone);
    opacity: 0.17;
    width: 100%;
}
.pc2027-footer__grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 80px;
    align-items: start;
}
.pc2027-footer__brand { display: flex; flex-direction: column; gap: 24px; }
.pc2027-footer__logo {
    width: 190px;
    height: 72px;
    object-fit: contain;
    object-position: left center;
}
.pc2027-footer__mention {
    font-size: 13px;
    line-height: 21px;
    color: var(--icf-bone);
    max-width: 420px;
    margin: 0;
}
.pc2027-footer__resources { display: flex; flex-direction: column; gap: 20px; }
.pc2027-footer__col-title {
    font-weight: 600;
    font-size: 23px;
    line-height: 38px;
    color: var(--icf-bone);
    margin: 0;
}
.pc2027-footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.pc2027-footer__link {
    color: var(--icf-bone);
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    transition: opacity 0.15s ease;
}
.pc2027-footer__link:hover { opacity: 0.8; color: var(--icf-yellow); }
.pc2027-footer__arrow { font-family: sans-serif; font-size: 0.9em; }

@media (max-width: 1199px) {
    .pc2027-footer { padding: 48px 48px; }
    .pc2027-footer__grid { grid-template-columns: 340px 1fr; gap: 48px; }
}
@media (max-width: 899px) {
    .pc2027-footer { padding: 40px 24px; }
    .pc2027-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .pc2027-footer__col-title { font-size: 20px; line-height: 30px; }
}

/* ============================================================
   Utilitaires partagés (nouvelles sections v3)
   ============================================================ */
.pc2027-section--bone   { background: var(--icf-bone); color: var(--icf-navy); }
.pc2027-section--blue   { background: var(--icf-blue); color: var(--icf-white); }
.pc2027-section--yellow { background: var(--icf-yellow); color: var(--icf-navy); }

.pc2027-eyebrow {
    font-family: var(--pc2027-font-body);
    font-weight: 700;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.96px;
    text-transform: uppercase;
    color: var(--icf-blue);
}
.pc2027-eyebrow--yellow { color: var(--icf-yellow); }
.pc2027-eyebrow--navy   { color: var(--icf-navy); }

.pc2027-heading-h2 {
    font-family: var(--pc2027-font-display);
    font-weight: 400;
    font-size: 46px;
    line-height: 54px;
    color: var(--icf-navy);
    max-width: 1248px;
}

.pc2027-lead {
    font-family: var(--pc2027-font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: var(--icf-navy);
    max-width: 1120px;
}

.pc2027-underline {
    display: block;
    width: 476px;
    max-width: 100%;
    height: 23px;
}

.pc2027-btn--wide { min-width: 0; padding: 14px 22px; }
.pc2027-btn--dark { background: var(--icf-navy); color: var(--icf-white); }
.pc2027-btn--dark:hover { color: var(--icf-white); filter: brightness(1.15); }
.pc2027-btn__icon--invert { filter: invert(1) brightness(2); }

/* ============================================================
   Section 03 — PRIX ET 25 ANS
   ============================================================ */
.pc2027-prix25__inner { display: grid; grid-template-columns: 450px 1fr; gap: 80px; align-items: start; }
.pc2027-prix25__col-left  { display: flex; flex-direction: column; gap: 24px; }
.pc2027-prix25__col-right { display: flex; flex-direction: column; gap: 20px; padding-top: 8px; }
.pc2027-prix25__intro { font-family: var(--pc2027-font-body); font-weight: 500; font-size: 17px; line-height: 29px; color: var(--icf-navy); }
.pc2027-prix25__lead  { font-family: var(--pc2027-font-body); font-weight: 500; font-size: 20px; line-height: 32px; color: var(--icf-navy); }
.pc2027-prix25__para  { font-family: var(--pc2027-font-body); font-weight: 400; font-size: 16px; line-height: 26px; color: var(--icf-navy); }

/* ============================================================
   Section 05 — DÉMARCHE EN PROGRESSION (blue bg)
   ============================================================ */
.pc2027-demarche__inner { display: grid; grid-template-columns: 492px 1fr; gap: 88px; align-items: start; }
.pc2027-demarche__col-left { display: flex; flex-direction: column; gap: 32px; }
.pc2027-demarche__col-right { display: flex; flex-direction: column; gap: 22px; }
.pc2027-demarche__brush { width: 220px; height: 121px; object-fit: contain; }
.pc2027-demarche__title { font-family: var(--pc2027-font-display); font-weight: 400; font-size: 46px; line-height: 54px; color: var(--icf-bone); }
.pc2027-demarche__lead  { font-family: var(--pc2027-font-body); font-weight: 500; font-size: 18px; line-height: 30px; color: var(--icf-white); }
.pc2027-demarche__para  { font-family: var(--pc2027-font-body); font-weight: 400; font-size: 16px; line-height: 26px; color: var(--icf-white); }

/* ============================================================
   Section 06 — ÉLIGIBILITÉ
   ============================================================ */
.pc2027-eligibilite { position: relative; }
.pc2027-eligibilite__inner { display: flex; flex-direction: column; gap: 32px; }
.pc2027-eligibilite__decor { position: absolute; top: 48px; right: 96px; width: 348px; height: 348px; transform: rotate(66deg); pointer-events: none; z-index: 0; opacity: 0.9; }
.pc2027-eligibilite__decor img { width: 100%; height: 100%; object-fit: contain; }
.pc2027-eligibilite__tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.pc2027-eligibilite__tag {
    background: var(--icf-white);
    color: var(--icf-navy);
    padding: 6px 12px;
    border-radius: 6px;
    font-family: var(--pc2027-font-body);
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
}
.pc2027-eligibilite__grid { display: grid; grid-template-columns: 1fr 432px; gap: 72px; align-items: start; }
.pc2027-eligibilite__conditions { display: flex; flex-direction: column; gap: 20px; }
.pc2027-eligibilite__cond-title { font-family: var(--pc2027-font-body); font-weight: 600; font-size: 18px; line-height: 30px; color: var(--icf-navy); margin: 0; }
.pc2027-eligibilite__condition { display: flex; gap: 16px; align-items: flex-start; }
.pc2027-eligibilite__condition p { font-family: var(--pc2027-font-body); font-weight: 400; font-size: 16px; line-height: 26px; color: var(--icf-navy); margin: 0; }
.pc2027-eligibilite__check { flex-shrink: 0; width: 20px; font-family: var(--pc2027-font-body); font-weight: 700; font-size: 20px; line-height: 26px; color: var(--icf-blue); }
.pc2027-eligibilite__card { background: var(--icf-white); border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 24px; position: relative; z-index: 1; }
.pc2027-eligibilite__card-intro { font-family: var(--pc2027-font-body); font-weight: 500; font-size: 20px; line-height: 31px; color: var(--icf-navy); margin: 0; }
.pc2027-eligibilite__card-divider { height: 1px; background: var(--icf-navy); opacity: 0.17; width: 100%; }
.pc2027-eligibilite__card-title { font-family: var(--pc2027-font-display); font-weight: 400; font-size: 24px; line-height: 31px; color: var(--icf-blue); margin: 0; }
.pc2027-eligibilite__card-text { font-family: var(--pc2027-font-body); font-weight: 400; font-size: 16px; line-height: 26px; color: var(--icf-navy); margin: 0; }

/* ============================================================
   Section 07 — POURQUOI PARTICIPER
   ============================================================ */
.pc2027-pourquoi__inner { display: flex; flex-direction: column; gap: 32px; }
.pc2027-pourquoi__title-block { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.pc2027-pourquoi__title { font-family: var(--pc2027-font-display); font-weight: 400; font-size: 44px; line-height: 53px; color: var(--icf-navy); max-width: 1120px; }
.pc2027-pourquoi__brush { width: 259px; height: 35px; }
.pc2027-pourquoi__list { display: flex; flex-direction: column; gap: 28px; }
.pc2027-pourquoi__item { display: flex; flex-direction: column; gap: 28px; }
.pc2027-pourquoi__rule { height: 1px; background: var(--icf-navy); opacity: 0.17; width: 100%; }
.pc2027-pourquoi__rule--last { margin-top: 28px; }
.pc2027-pourquoi__row { display: flex; gap: 24px; align-items: flex-start; }
.pc2027-pourquoi__num { flex-shrink: 0; width: 48px; font-family: var(--pc2027-font-body); font-weight: 500; font-size: 24px; line-height: 34px; color: var(--icf-blue); }
.pc2027-pourquoi__text { flex: 1; display: flex; flex-direction: column; gap: 12px; max-width: 1050px; }
.pc2027-pourquoi__item-title { font-family: var(--pc2027-font-display); font-weight: 400; font-size: 24px; line-height: 32px; color: var(--icf-navy); }
.pc2027-pourquoi__text p { font-family: var(--pc2027-font-body); font-weight: 400; font-size: 16px; line-height: 26px; color: var(--icf-navy); margin: 0; }

/* ============================================================
   Section 08 — CALENDRIER (navy)
   ============================================================ */
.pc2027-calendrier__inner { display: flex; flex-direction: column; gap: 36px; }
.pc2027-calendrier__title { font-family: var(--pc2027-font-display); font-weight: 400; font-size: 46px; line-height: 54px; color: var(--icf-bone); max-width: 920px; }
.pc2027-calendrier__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.pc2027-calendrier__card { background: var(--icf-white); border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.pc2027-calendrier__badge { display: inline-flex; align-items: center; gap: 8px; background: var(--icf-navy); padding: 8px 16px 8px 12px; border-radius: 24px; color: var(--icf-yellow); font-family: var(--pc2027-font-display); }
.pc2027-calendrier__num { font-size: 22px; line-height: 1; }
.pc2027-calendrier__periode { font-size: 16px; line-height: 1; }
.pc2027-calendrier__step-title { font-family: var(--pc2027-font-display); font-weight: 400; font-size: 24px; line-height: 31px; color: var(--icf-navy); margin: 0; }
.pc2027-calendrier__step-desc { font-family: var(--pc2027-font-body); font-weight: 400; font-size: 16px; line-height: 26px; color: var(--icf-navy); margin: 0; }
.pc2027-calendrier__deadline {
    background: var(--icf-yellow);
    color: var(--icf-navy);
    padding: 28px;
    border-radius: 24px;
    font-family: var(--pc2027-font-display);
    font-weight: 400;
    font-size: 32px;
    line-height: 38px;
}
.pc2027-calendrier__note { color: var(--icf-bone); font-family: var(--pc2027-font-body); font-weight: 400; font-size: 13px; line-height: 21px; }

/* ============================================================
   Section 09 — ORGANISATION & COACH
   ============================================================ */
.pc2027-orgcoach__inner { display: flex; flex-direction: column; gap: 40px; position: relative; }
.pc2027-orgcoach__title-block { display: flex; flex-direction: column; gap: 28px; position: relative; }
.pc2027-orgcoach__title { font-family: var(--pc2027-font-display); font-weight: 400; font-size: 44px; line-height: 55px; color: var(--icf-navy); max-width: 1140px; }
.pc2027-orgcoach__brush { position: absolute; top: 6px; right: 0; width: 258px; height: 144px; object-fit: contain; opacity: 1; pointer-events: none; }
.pc2027-orgcoach__row { display: grid; grid-template-columns: 480px 1fr; gap: 64px; align-items: start; }
.pc2027-orgcoach__photo { width: 480px; height: 294px; border-radius: var(--pc2027-radius-lg); overflow: hidden; }
.pc2027-orgcoach__photo img { width: 100%; height: 100%; object-fit: cover; }
.pc2027-orgcoach__body { display: flex; flex-direction: column; gap: 24px; }
.pc2027-orgcoach__lead { font-family: var(--pc2027-font-body); font-weight: 500; font-size: 18px; line-height: 30px; color: var(--icf-navy); margin: 0; }
.pc2027-orgcoach__para { font-family: var(--pc2027-font-body); font-weight: 400; font-size: 16px; line-height: 26px; color: var(--icf-navy); margin: 0; }

/* ============================================================
   Section 10 — CONFIDENTIALITÉ
   ============================================================ */
.pc2027-confidentialite__inner { display: flex; flex-direction: column; gap: 32px; }
.pc2027-confidentialite__title-block { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.pc2027-confidentialite__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }
.pc2027-confidentialite__card { display: flex; flex-direction: column; gap: 18px; }
.pc2027-confidentialite__rule { height: 1px; background: var(--icf-navy); opacity: 0.17; width: 100%; }
.pc2027-confidentialite__card-title { font-family: var(--pc2027-font-body); font-weight: 600; font-size: 24px; line-height: 31px; color: var(--icf-blue); margin: 0; }
.pc2027-confidentialite__card-body p { font-family: var(--pc2027-font-body); font-weight: 400; font-size: 16px; line-height: 26px; color: var(--icf-navy); margin: 0 0 12px; }
.pc2027-confidentialite__card-body p:last-child { margin-bottom: 0; }

/* ============================================================
   Section 11 — AMBASSADEURS (yellow bg)
   ============================================================ */
.pc2027-ambassadeurs__inner { display: flex; flex-direction: column; gap: 36px; }
.pc2027-ambassadeurs__title { font-family: var(--pc2027-font-display); font-weight: 400; font-size: 40px; line-height: 50px; color: var(--icf-navy); max-width: 1120px; }
.pc2027-ambassadeurs__row { display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: start; }
.pc2027-ambassadeurs__body { display: flex; flex-direction: column; gap: 20px; max-width: 744px; }
.pc2027-ambassadeurs__lead { font-family: var(--pc2027-font-body); font-weight: 600; font-size: 20px; line-height: 32px; color: var(--icf-navy); margin: 0; }
.pc2027-ambassadeurs__para { font-family: var(--pc2027-font-body); font-weight: 400; font-size: 16px; line-height: 26px; color: var(--icf-navy); margin: 0; }
.pc2027-ambassadeurs__photo { width: 440px; height: 300px; border-radius: var(--pc2027-radius-lg); overflow: hidden; }
.pc2027-ambassadeurs__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   Section 12 — FAQ (accordion)
   ============================================================ */
.pc2027-faq__inner { display: flex; flex-direction: column; gap: 32px; }
.pc2027-faq__row { display: grid; grid-template-columns: 352px 1fr; gap: 80px; align-items: start; }
.pc2027-faq__title-col { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 100px; }
.pc2027-faq__title { font-family: var(--pc2027-font-display); font-weight: 400; font-size: 46px; line-height: 54px; color: var(--icf-navy); margin: 0; }
.pc2027-faq__brush { width: 232px; height: 35px; }
.pc2027-faq__list { display: flex; flex-direction: column; }
.pc2027-faq__item {
    padding: 24px 0;
    border-top: 1px solid rgba(33, 34, 81, 0.17);
}
.pc2027-faq__item:last-child { border-bottom: 1px solid rgba(33, 34, 81, 0.17); }
.pc2027-faq__summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
    list-style: none;
    -webkit-tap-highlight-color: transparent;
}
.pc2027-faq__summary::-webkit-details-marker { display: none; }
.pc2027-faq__q { font-family: var(--pc2027-font-body); font-weight: 600; font-size: 20px; line-height: 29px; color: var(--icf-navy); }
.pc2027-faq__caret {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    color: var(--icf-blue);
    transition: transform 0.2s ease;
}
.pc2027-faq__caret::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 12px; height: 12px;
    border-right: 2.5px solid currentColor;
    border-bottom: 2.5px solid currentColor;
    transform: translate(-50%, -70%) rotate(45deg);
}
.pc2027-faq__item[open] .pc2027-faq__caret { transform: rotate(180deg); }
.pc2027-faq__a { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.pc2027-faq__a p { font-family: var(--pc2027-font-body); font-weight: 400; font-size: 16px; line-height: 26px; color: var(--icf-navy); margin: 0; }

/* ============================================================
   Responsive — nouvelles sections
   ============================================================ */
@media (max-width: 1199px) {
    .pc2027-heading-h2 { font-size: 38px; line-height: 46px; }
    .pc2027-prix25__inner, .pc2027-demarche__inner { grid-template-columns: 1fr; gap: 32px; }
    .pc2027-eligibilite__grid { grid-template-columns: 1fr; gap: 40px; }
    .pc2027-orgcoach__row { grid-template-columns: 1fr; gap: 32px; }
    .pc2027-orgcoach__photo { width: 100%; max-width: 480px; height: auto; aspect-ratio: 480 / 294; }
    .pc2027-ambassadeurs__row { grid-template-columns: 1fr; gap: 32px; }
    .pc2027-ambassadeurs__photo { width: 100%; max-width: 440px; height: auto; aspect-ratio: 440 / 300; }
    .pc2027-faq__row { grid-template-columns: 1fr; gap: 32px; }
    .pc2027-faq__title-col { position: static; }
    .pc2027-calendrier__title, .pc2027-pourquoi__title, .pc2027-orgcoach__title, .pc2027-ambassadeurs__title { font-size: 32px; line-height: 40px; }
    .pc2027-eligibilite__decor { display: none; }
}
@media (max-width: 899px) {
    .pc2027-heading-h2, .pc2027-calendrier__title, .pc2027-faq__title { font-size: 30px; line-height: 38px; }
    .pc2027-pourquoi__title, .pc2027-ambassadeurs__title, .pc2027-orgcoach__title { font-size: 28px; line-height: 36px; }
    .pc2027-confidentialite__grid { grid-template-columns: 1fr; gap: 32px; }
    .pc2027-calendrier__deadline { font-size: 22px; line-height: 30px; padding: 20px; }
    .pc2027-eligibilite__card { padding: 24px; }
    .pc2027-faq__q { font-size: 17px; line-height: 25px; }
}

/* ============================================================
   v4 — Corrections (override en fin de fichier)
   ============================================================ */

/* 1) Force l'alignement à gauche des textes (le thème parent centre h1/h2/h3) */
.pc2027, .pc2027 * { text-align: left !important; }
.pc2027 [style*="text-align:center"], .pc2027 [style*="text-align: center"] { text-align: center !important; }

/* 2) Boutons CTA — largeur naturelle, jamais pleine largeur (sauf mobile) */
.pc2027-btn { width: fit-content; min-width: 0; max-width: 100%; }
.pc2027-nav__cta { width: fit-content; min-width: 0; max-width: 100%; }

/* Rétablir les min-width sur desktop pour l'aspect visuel */
@media (min-width: 900px) {
    .pc2027-btn { min-width: 355px; }
    .pc2027-nav__cta { min-width: 317px; }
}
@media (max-width: 899px) {
    .pc2027-btn { width: 100%; min-width: 0; }
}

/* 3) Calendrier — grille explicite 3 en haut + 2 en bas (5 cartes) */
.pc2027-calendrier__grid {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1099px) {
    .pc2027-calendrier__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .pc2027-calendrier__grid { grid-template-columns: 1fr; }
}

/* 4) Brush hero — assurer transparence (SVG) et retirer tout fond hérité */
.pc2027-hero__brush-star,
.pc2027-form__brush-star,
.pc2027-demarche__brush,
.pc2027-orgcoach__brush,
.pc2027-eligibilite__decor,
.pc2027-pourquoi__brush,
.pc2027-faq__brush,
.pc2027-criteres__brush-decor,
.pc2027-underline {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}
.pc2027-hero__brush-star img,
.pc2027-form__brush-star img,
.pc2027-eligibilite__decor img,
.pc2027-criteres__brush-decor img {
    background: transparent !important;
}

/* ============================================================
   v4 — MODAL formulaire (popup sur clic CTA)
   ============================================================ */
.pc2027-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: var(--pc2027-font-body);
}
.pc2027-modal--open { display: flex; }
.pc2027-modal-open { overflow: hidden; }
.pc2027-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(33, 34, 81, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: pc2027-fade-in .18s ease-out;
}
.pc2027-modal__panel {
    position: relative;
    background: var(--icf-white);
    border-radius: 12px;
    width: 100%;
    max-width: 620px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: pc2027-slide-up .22s ease-out;
    text-align: left;
}
.pc2027-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 0;
    color: var(--icf-navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.15s ease;
    z-index: 2;
}
.pc2027-modal__close:hover { background: rgba(0, 0, 0, 0.06); }
.pc2027-modal__body { padding: 40px 40px 32px; }
.pc2027-modal__title {
    font-family: var(--pc2027-font-display);
    font-weight: 400;
    font-size: 28px;
    line-height: 36px;
    color: var(--icf-navy);
    margin: 0 0 20px;
    padding-right: 40px;
}
.pc2027-modal__form .wpcf7 { color: var(--icf-navy); }
.pc2027-modal__form .wpcf7 p { font-family: var(--pc2027-font-body); font-size: 14px; margin: 0 0 16px; }
.pc2027-modal__form .wpcf7 label { display: block; font-weight: 500; font-size: 14px; line-height: 20px; color: var(--icf-navy); margin-bottom: 6px; }
.pc2027-modal__form .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance) {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d5d0c6;
    border-radius: 6px;
    background: #fff;
    font-family: var(--pc2027-font-body);
    font-size: 14px;
    line-height: 21px;
    color: var(--icf-navy);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.pc2027-modal__form .wpcf7-form-control:focus {
    border-color: var(--icf-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(43, 55, 155, 0.15);
}
.pc2027-modal__form select.wpcf7-form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23212251' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.pc2027-modal__form .wpcf7-acceptance { display: block; margin: 20px 0; }
.pc2027-modal__form .wpcf7-acceptance .wpcf7-list-item { margin: 0; display: flex; gap: 10px; align-items: flex-start; }
.pc2027-modal__form .wpcf7-acceptance input[type="checkbox"] { margin-top: 3px; accent-color: var(--icf-blue); }
.pc2027-modal__form .wpcf7-acceptance label { font-weight: 400; font-size: 13px; line-height: 20px; }
.pc2027-modal__form .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: var(--icf-yellow);
    color: var(--icf-navy);
    font-family: var(--pc2027-font-body);
    font-weight: 700;
    font-size: 14px;
    line-height: 21px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--pc2027-radius);
    border: none;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.15s ease;
}
.pc2027-modal__form .wpcf7-submit:hover { filter: brightness(0.95); transform: translateY(-1px); }
.pc2027-modal__form .wpcf7-response-output {
    margin-top: 16px !important;
    padding: 12px 16px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
}
.pc2027-modal__form .wpcf7 form.sent .wpcf7-response-output {
    background: #e8f4ea;
    border-color: #46b450;
    color: #1b5e20;
}
.pc2027-modal__form .wpcf7 form.invalid .wpcf7-response-output,
.pc2027-modal__form .wpcf7 form.failed .wpcf7-response-output {
    background: #fdecea;
    border-color: #dc3232;
    color: #b71c1c;
}
.pc2027-modal__form .wpcf7-not-valid-tip { color: #dc3232; font-size: 12px; margin-top: 4px; }
.pc2027-modal__form .pc2027-form__field-autre { margin-top: 8px; }

@keyframes pc2027-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pc2027-slide-up { from { opacity: 0; transform: translateY(20px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 640px) {
    .pc2027-modal { padding: 12px; align-items: flex-end; }
    .pc2027-modal__panel { max-height: 90vh; border-radius: 12px 12px 0 0; }
    .pc2027-modal__body { padding: 32px 20px 24px; }
    .pc2027-modal__title { font-size: 22px; line-height: 28px; padding-right: 40px; }
}

/* Ancien card inline dans pc2027-form (form-card) → maintenant caché, tout est dans le modal */
.pc2027-form__card, .pc2027-form__anchor { display: none !important; }

/* Ajustements pour la section invitation (ex-form) — CTA aligné à gauche */
.pc2027-form__invite-copy .pc2027-btn { margin-top: 4px; }
/* ============================================================
   v5 — Corrections
   ============================================================ */

/* Fix nav sticky : `overflow-x: hidden` casse position: sticky
   → utiliser `overflow-x: clip` (ne crée pas de scroll container) */
body.pc2027-body {
    overflow-x: clip !important;
    overflow-y: visible !important;
}
html { overflow-x: clip; }
.pc2027-main { overflow-x: clip; overflow-y: visible; }

/* Renforce le sticky nav */
.pc2027-nav--sticky {
    position: sticky !important;
    top: 0 !important;
    z-index: 200 !important;
    background: var(--icf-bone);
    box-shadow: 0 1px 0 rgba(33, 34, 81, 0.04);
    transition: box-shadow 0.2s ease;
}

/* ============================================================
   Modal v5 — repensé selon la maquette Figma 44:673
   ============================================================ */

/* Refonte panneau modal : 640px max, padding 40, gap 24 */
.pc2027-modal__panel {
    background: var(--icf-white);
    border-radius: 12px;
    width: 100%;
    max-width: 640px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    text-align: left;
    padding: 0;
}

.pc2027-modal__body {
    padding: 40px !important;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pc2027-modal__close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    color: var(--icf-navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.15s ease;
    z-index: 2;
}
.pc2027-modal__close:hover { background: rgba(33, 34, 81, 0.06); }

.pc2027-modal__eyebrow {
    font-family: var(--pc2027-font-body);
    font-weight: 700;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.96px;
    text-transform: uppercase;
    color: var(--icf-blue);
    margin: 0;
    padding-right: 60px;
}

.pc2027-modal__title {
    font-family: var(--pc2027-font-display);
    font-weight: 400;
    font-size: 34px;
    line-height: 41px;
    color: var(--icf-navy);
    margin: 0;
}

.pc2027-modal__hint {
    font-family: var(--pc2027-font-body);
    font-weight: 400;
    font-size: 12px;
    line-height: 17px;
    color: var(--icf-blue);
    margin: 0;
}

/* --- Formulaire CF7 reformaté --- */
.pc2027-modal__form .wpcf7 { color: var(--icf-navy); }
.pc2027-modal__form .wpcf7 form,
.pc2027-modal__form .wpcf7 > form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.pc2027-modal__form .wpcf7 p { margin: 0; }

.pc2027-cf7-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.pc2027-cf7-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pc2027-cf7-label {
    font-family: var(--pc2027-font-body);
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: var(--icf-navy);
    display: block;
}

.pc2027-modal__form .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance),
.pc2027-modal__form .pc2027-cf7-input {
    width: 100%;
    padding: 14px;
    border: 0;
    background: var(--icf-bone);
    border-radius: 4px;
    font-family: var(--pc2027-font-body);
    font-size: 16px;
    line-height: 22px;
    color: var(--icf-navy);
    box-shadow: inset 0 0 0 1px transparent;
    transition: box-shadow 0.15s ease, background 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}
.pc2027-modal__form .wpcf7-form-control::placeholder { color: var(--icf-navy); opacity: 0.6; }
.pc2027-modal__form .wpcf7-form-control:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--icf-blue);
    background: var(--icf-white);
}

.pc2027-modal__form select.wpcf7-form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23212251' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 44px;
    cursor: pointer;
}

.pc2027-cf7-acceptance .wpcf7-acceptance {
    display: block;
    margin: 0;
}
.pc2027-cf7-acceptance .wpcf7-list-item {
    margin: 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.pc2027-cf7-acceptance input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid var(--icf-blue);
    border-radius: 4px;
    background: var(--icf-white);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 1px;
    position: relative;
    transition: background 0.15s ease;
}
.pc2027-cf7-acceptance input[type="checkbox"]:checked {
    background: var(--icf-blue);
}
.pc2027-cf7-acceptance input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 12px;
    border-right: 2.5px solid var(--icf-white);
    border-bottom: 2.5px solid var(--icf-white);
    transform: rotate(45deg);
}
.pc2027-cf7-acceptance .wpcf7-list-item-label {
    font-family: var(--pc2027-font-body);
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    color: var(--icf-navy);
}

.pc2027-cf7-policy { margin: 0; }
.pc2027-cf7-policy a {
    font-family: var(--pc2027-font-body);
    font-weight: 500;
    font-size: 13px;
    line-height: 20px;
    color: var(--icf-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}
.pc2027-cf7-policy a:hover { text-decoration: underline; }

.pc2027-cf7-submit {
    margin: 0;
    display: block;
}
.pc2027-modal__form .wpcf7-submit,
.pc2027-modal__form .pc2027-cf7-submit-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px;
    background: var(--icf-blue);
    color: var(--icf-white);
    font-family: var(--pc2027-font-body);
    font-weight: 700;
    font-size: 14px;
    line-height: 21px;
    text-transform: none;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: filter 0.15s ease, transform 0.15s ease;
}
.pc2027-modal__form .wpcf7-submit::after {
    content: '↗';
    display: inline-block;
    font-family: var(--pc2027-font-body);
    font-weight: 400;
    font-size: 20px;
    line-height: 1;
    margin-left: auto;
}
.pc2027-modal__form .wpcf7-submit:hover { filter: brightness(1.1); transform: translateY(-1px); }

.pc2027-cf7-footnote {
    font-family: var(--pc2027-font-body);
    font-weight: 400;
    font-size: 12px;
    line-height: 19px;
    color: var(--icf-navy);
    margin: 0;
}

.pc2027-modal__form .wpcf7-response-output {
    margin: 0 !important;
    padding: 12px 16px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    border-width: 1px !important;
}
.pc2027-modal__form .wpcf7 form.sent .wpcf7-response-output {
    background: #e8f4ea; border-color: #46b450; color: #1b5e20;
}
.pc2027-modal__form .wpcf7 form.invalid .wpcf7-response-output,
.pc2027-modal__form .wpcf7 form.failed .wpcf7-response-output {
    background: #fdecea; border-color: #dc3232; color: #b71c1c;
}
.pc2027-modal__form .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 12px;
    margin-top: 4px;
    font-family: var(--pc2027-font-body);
}

/* Mobile modal */
@media (max-width: 640px) {
    .pc2027-modal { padding: 0; align-items: flex-end; }
    .pc2027-modal__panel { max-height: 92vh; border-radius: 16px 16px 0 0; }
    .pc2027-modal__body { padding: 28px 20px !important; gap: 20px; }
    .pc2027-modal__close { top: 18px; right: 12px; }
    .pc2027-modal__title { font-size: 26px; line-height: 32px; padding-right: 40px; }
    .pc2027-cf7-row { grid-template-columns: 1fr; }
}

/* ============================================================
   v6 — Fixes finaux : CF7 form, calendrier grid, footer layout
   ============================================================ */

/* --- Calendrier : 3 cartes en haut (33.33% chaque), 2 en bas (50% chaque) --- */
.pc2027-calendrier__grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 24px;
}
.pc2027-calendrier__grid > .pc2027-calendrier__card { grid-column: span 2; }
.pc2027-calendrier__grid > .pc2027-calendrier__card:nth-child(n+4) { grid-column: span 3; }

@media (max-width: 1099px) {
    .pc2027-calendrier__grid { grid-template-columns: repeat(4, 1fr) !important; }
    .pc2027-calendrier__grid > .pc2027-calendrier__card { grid-column: span 2; }
    .pc2027-calendrier__grid > .pc2027-calendrier__card:nth-child(n+4) { grid-column: span 2; }
    .pc2027-calendrier__grid > .pc2027-calendrier__card:nth-child(3) { grid-column: 1 / span 4; }
}
@media (max-width: 720px) {
    .pc2027-calendrier__grid { grid-template-columns: 1fr !important; }
    .pc2027-calendrier__grid > .pc2027-calendrier__card,
    .pc2027-calendrier__grid > .pc2027-calendrier__card:nth-child(n) { grid-column: 1 / -1 !important; }
}

/* --- Footer : "Pour aller plus loin" collée à droite via space-between --- */
.pc2027-footer__grid {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start;
    gap: 40px;
    grid-template-columns: none !important;
}
.pc2027-footer__brand { flex: 0 1 420px; max-width: 420px; }
.pc2027-footer__resources { flex: 0 0 auto; text-align: right; align-items: flex-end; }
.pc2027-footer__resources .pc2027-footer__col-title,
.pc2027-footer__resources .pc2027-footer__list { text-align: left; }
.pc2027-footer__list { align-items: flex-start; }

@media (max-width: 899px) {
    .pc2027-footer__grid {
        flex-direction: column !important;
        align-items: flex-start;
    }
    .pc2027-footer__resources { align-items: flex-start; }
}

/* --- Footer : décoration graphique — mini brush étoile jaune coin haut-droit --- */
.pc2027-footer { position: relative; overflow: hidden; }
.pc2027-footer__decor {
    position: absolute;
    right: -60px;
    top: -60px;
    width: 240px;
    height: 240px;
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
}
.pc2027-footer__decor img { width: 100%; height: 100%; object-fit: contain; }
.pc2027-footer__inner { position: relative; z-index: 1; }

/* --- CF7 wrapper + form styling (v6) --- */
.pc2027-cf7-wrap { display: block; }
.pc2027-cf7-wrap .wpcf7 { color: var(--icf-navy); }
.pc2027-cf7-wrap .wpcf7 form,
.pc2027-cf7-wrap .wpcf7 > form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
}

/* Neutralise les <p> autop résiduels au cas où */
.pc2027-cf7-wrap .wpcf7 form > p:empty { display: none; }
.pc2027-cf7-wrap .wpcf7 form br { display: none; }

.pc2027-cf7-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.pc2027-cf7-field { display: flex; flex-direction: column; gap: 8px; }
.pc2027-cf7-label {
    font-family: var(--pc2027-font-body);
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: var(--icf-navy);
    display: block;
    text-align: left !important;
}

.pc2027-cf7-wrap .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance) {
    width: 100%;
    padding: 14px;
    border: 0;
    background: var(--icf-bone);
    border-radius: 4px;
    font-family: var(--pc2027-font-body);
    font-size: 16px;
    line-height: 22px;
    color: var(--icf-navy);
    box-shadow: inset 0 0 0 1px transparent;
    transition: box-shadow 0.15s ease, background 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}
.pc2027-cf7-wrap .wpcf7-form-control::placeholder { color: var(--icf-navy); opacity: 0.6; }
.pc2027-cf7-wrap .wpcf7-form-control:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--icf-blue);
    background: var(--icf-white);
}
.pc2027-cf7-wrap select.wpcf7-form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23212251' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 44px;
    cursor: pointer;
}

.pc2027-cf7-acceptance .wpcf7-acceptance { display: block; margin: 0; }
.pc2027-cf7-acceptance .wpcf7-list-item { margin: 0; display: flex; gap: 12px; align-items: flex-start; }
.pc2027-cf7-acceptance input[type="checkbox"] {
    appearance: none; -webkit-appearance: none;
    width: 22px; height: 22px;
    border: 2px solid var(--icf-blue);
    border-radius: 4px;
    background: var(--icf-white);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 1px;
    position: relative;
    transition: background 0.15s ease;
}
.pc2027-cf7-acceptance input[type="checkbox"]:checked { background: var(--icf-blue); }
.pc2027-cf7-acceptance input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px; top: 1px;
    width: 6px; height: 12px;
    border-right: 2.5px solid var(--icf-white);
    border-bottom: 2.5px solid var(--icf-white);
    transform: rotate(45deg);
}
.pc2027-cf7-acceptance .wpcf7-list-item-label {
    font-family: var(--pc2027-font-body);
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    color: var(--icf-navy);
}

.pc2027-cf7-policy { margin: 0; }
.pc2027-cf7-policy a {
    font-family: var(--pc2027-font-body);
    font-weight: 500;
    font-size: 13px;
    line-height: 20px;
    color: var(--icf-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}
.pc2027-cf7-policy a:hover { text-decoration: underline; }

.pc2027-cf7-submit-wrap { margin: 0; }
.pc2027-cf7-wrap .wpcf7-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px;
    background: var(--icf-blue);
    color: var(--icf-white);
    font-family: var(--pc2027-font-body);
    font-weight: 700;
    font-size: 14px;
    line-height: 21px;
    text-transform: none;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: filter 0.15s ease, transform 0.15s ease;
    letter-spacing: 0;
    min-width: 0;
}
.pc2027-cf7-wrap .wpcf7-submit::after {
    content: '↗';
    display: inline-block;
    font-family: var(--pc2027-font-body);
    font-weight: 400;
    font-size: 20px;
    line-height: 1;
}
.pc2027-cf7-wrap .wpcf7-submit:hover { filter: brightness(1.1); transform: translateY(-1px); color: var(--icf-white); }

.pc2027-cf7-footnote {
    font-family: var(--pc2027-font-body);
    font-weight: 400;
    font-size: 12px;
    line-height: 19px;
    color: var(--icf-navy);
    margin: 0;
}

.pc2027-cf7-wrap .wpcf7-response-output {
    margin: 0 !important;
    padding: 12px 16px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    border-width: 1px !important;
}
.pc2027-cf7-wrap .wpcf7 form.sent .wpcf7-response-output {
    background: #e8f4ea; border-color: #46b450; color: #1b5e20;
}
.pc2027-cf7-wrap .wpcf7 form.invalid .wpcf7-response-output,
.pc2027-cf7-wrap .wpcf7 form.failed .wpcf7-response-output {
    background: #fdecea; border-color: #dc3232; color: #b71c1c;
}
.pc2027-cf7-wrap .wpcf7-not-valid-tip {
    color: #dc3232; font-size: 12px; margin-top: 4px;
    font-family: var(--pc2027-font-body);
}

@media (max-width: 640px) {
    .pc2027-cf7-row { grid-template-columns: 1fr; }
}

/* ============================================================
   v7 — Nav position:fixed (garanti), footer logo scaling, modal title left
   ============================================================ */

:root {
    --pc2027-nav-h: 80px;
}

/* Nav — position: fixed pour être 100% sûr qu'elle reste visible au scroll,
   quelle que soit la config d'overflow des ancêtres. */
html, body.pc2027-body { overflow-x: visible !important; overflow-y: visible !important; }
.pc2027-main { overflow-x: visible !important; overflow-y: visible !important; }

body.pc2027-body { padding-top: var(--pc2027-nav-h); }

.pc2027-nav.pc2027-nav--sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 300 !important;
    background: var(--icf-bone);
    box-shadow: 0 1px 0 rgba(33, 34, 81, 0.06);
    transition: box-shadow 0.2s ease;
}
/* Assurer que la nav (fixed ou pas) est au-dessus des autres blocs full-bleed */
.pc2027-nav { z-index: 300; position: relative; }

/* Ajuste les ancres pour compenser la nav fixe (scroll offset) */
.pc2027 [id^="pc2027-"] { scroll-margin-top: calc(var(--pc2027-nav-h) + 12px); }

@media (max-width: 899px) {
    :root { --pc2027-nav-h: 72px; }
}

/* Footer — logo blanc scale correct (nouveau SVG 570x216) */
.pc2027-footer__logo {
    width: auto;
    height: 72px;
    max-width: 280px;
    display: block;
    object-fit: contain;
    object-position: left center;
}

/* Modal title — force left align (le thème parent centre les h2 par défaut) */
.pc2027-modal,
.pc2027-modal * { text-align: left; }
.pc2027-modal__title,
.pc2027-modal__eyebrow,
.pc2027-modal__hint,
.pc2027-modal__body,
.pc2027-modal__form,
.pc2027-modal__form label,
.pc2027-modal__form p {
    text-align: left !important;
}

/* Nav responsive : cache les liens sur mobile plus tôt pour éviter le débordement */
@media (max-width: 960px) {
    .pc2027-nav__toggle { display: flex; }
    .pc2027-nav__links {
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        background: var(--icf-bone);
        padding: 16px 20px;
        gap: 16px;
        align-items: flex-start;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.15s ease, transform 0.15s ease;
    }
    .pc2027-nav--open .pc2027-nav__links {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .pc2027-nav__inner { position: relative; }
}

/* ============================================================
   v8 — Mobile UX : nav simplifiée + bottom bar + confirmation
   ============================================================ */

/* --- Modal : succès state --- */
.pc2027-modal__success {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 8px 0;
    text-align: left;
}
.pc2027-modal__success[hidden] { display: none; }
.pc2027-modal__success-icon { display: flex; width: 56px; height: 56px; }
.pc2027-modal__success-title {
    font-family: var(--pc2027-font-display);
    font-weight: 400;
    font-size: 28px;
    line-height: 34px;
    color: var(--icf-navy);
    margin: 0;
    text-align: left !important;
}
.pc2027-modal__success-text {
    font-family: var(--pc2027-font-body);
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    color: var(--icf-navy);
    margin: 0;
    text-align: left !important;
}
.pc2027-modal__success-note {
    font-family: var(--pc2027-font-body);
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    color: var(--icf-navy);
    opacity: 0.75;
    margin: 0;
    text-align: left !important;
}
.pc2027-modal__success-close {
    margin-top: 12px;
    padding: 14px 24px;
    background: var(--icf-blue);
    color: var(--icf-white);
    font-family: var(--pc2027-font-body);
    font-weight: 700;
    font-size: 14px;
    line-height: 21px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    transition: filter 0.15s ease;
}
.pc2027-modal__success-close:hover { filter: brightness(1.1); }

/* --- Mobile bottom bar (persistant sur mobile uniquement) --- */
.pc2027-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 250;
    background: var(--icf-navy);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}
.pc2027-mobile-bar__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    background: var(--icf-yellow);
    color: var(--icf-navy);
    font-family: var(--pc2027-font-body);
    font-weight: 700;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
    width: 100%;
    transition: filter 0.15s ease, transform 0.15s ease;
}
.pc2027-mobile-bar__btn:hover,
.pc2027-mobile-bar__btn:active { filter: brightness(0.95); color: var(--icf-navy); }
.pc2027-mobile-bar__arrow { font-size: 18px; font-weight: 400; line-height: 1; }

@media (max-width: 899px) {
    .pc2027-mobile-bar { display: block; }
    body.pc2027-body { padding-bottom: 76px; }
}

/* --- Header mobile simplifié : logo + burger uniquement, CTA masqué (déplacé dans la bottom bar) --- */
@media (max-width: 899px) {
    .pc2027-nav__cta { display: none !important; }
    .pc2027-nav__inner {
        justify-content: space-between !important;
        gap: 0;
        padding: 10px 16px !important;
    }
    .pc2027-nav__logo img { width: auto; height: 40px; }
    .pc2027-nav__toggle { display: flex !important; }
    .pc2027-nav__links {
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        background: var(--icf-bone);
        padding: 20px;
        gap: 18px;
        align-items: flex-start;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.15s ease, transform 0.15s ease;
        z-index: 1;
    }
    .pc2027-nav--open .pc2027-nav__links {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .pc2027-nav__inner { position: relative; }
    :root { --pc2027-nav-h: 60px; }
}

/* Empêche le modal ouvert de scroller la page sous lui */
body.pc2027-modal-open { position: fixed; width: 100%; overflow: hidden; }

/* ============================================================
   v9 — Mobile finish : burger à droite + masquer CTA hero mobile
   ============================================================ */

@media (max-width: 899px) {
    /* Ordonnancement flex de la nav : logo à gauche, burger tout à droite */
    .pc2027-nav__inner {
        display: flex !important;
        align-items: center;
        justify-content: space-between !important;
    }
    .pc2027-nav__logo   { order: 1; }
    .pc2027-nav__links  { order: 2; }
    .pc2027-nav__cta    { order: 3; display: none !important; }
    .pc2027-nav__toggle {
        order: 4;
        margin-left: auto !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    /* Le CTA du hero devient redondant avec la bottom bar : on le masque */
    .pc2027-hero__cta-block { display: none !important; }

    /* Recalibre la hauteur de la nav (60 → padding réduit) */
    .pc2027-nav__inner { padding: 10px 16px !important; }
}

/* ============================================================
   v10 — Mobile detail fixes
   ============================================================ */
.pc2027-nav__toggle { margin-right: 0 !important; padding: 0 !important; }

/* orgcoach brush : passe derrière le texte pour éviter la superposition mobile */
.pc2027-orgcoach { position: relative; }
.pc2027-orgcoach__title-block { position: relative; }
.pc2027-orgcoach__brush {
    z-index: 0;
    pointer-events: none;
}
.pc2027-orgcoach__title,
.pc2027-orgcoach__body,
.pc2027-orgcoach .pc2027-eyebrow {
    position: relative;
    z-index: 1;
}
@media (max-width: 899px) {
    .pc2027-orgcoach__brush {
        opacity: 0.35;
        max-width: 180px;
        right: -20px;
        top: -20px;
    }
}

/* ============================================================
   v11 — Accessibilité clavier
   ============================================================ */

/* Skip link : caché visuellement mais focusable au clavier */
.pc2027-skip-link {
    position: absolute;
    top: -100px;
    left: 8px;
    z-index: 9999;
    padding: 12px 20px;
    background: var(--icf-navy);
    color: var(--icf-white) !important;
    font-family: var(--pc2027-font-body);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border-radius: 6px;
    transition: top 0.15s ease;
}
.pc2027-skip-link:focus,
.pc2027-skip-link:focus-visible {
    top: 8px;
    outline: 3px solid var(--icf-yellow);
    outline-offset: 2px;
}

/* Anneau de focus universel — visible uniquement en navigation clavier (:focus-visible) */
.pc2027 :focus { outline: none; }
.pc2027 :focus-visible,
.pc2027-modal :focus-visible,
.pc2027-mobile-bar :focus-visible {
    outline: 3px solid var(--icf-yellow);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Boutons CTA principaux : focus renforcé sur fond sombre */
.pc2027-btn:focus-visible,
.pc2027-nav__cta:focus-visible,
.pc2027-mobile-bar__btn:focus-visible {
    outline: 3px solid var(--icf-white);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(239, 203, 48, 0.4);
}

/* Liens du footer / nav : focus visible + soulignement */
.pc2027-nav__link:focus-visible,
.pc2027-footer__link:focus-visible,
.pc2027-cf7-policy a:focus-visible {
    outline: 3px solid var(--icf-yellow);
    outline-offset: 4px;
    text-decoration: underline;
}

/* Champs de formulaire : anneau de focus large, remplace le seul box-shadow */
.pc2027-cf7-wrap .wpcf7-form-control:focus,
.pc2027-cf7-wrap .wpcf7-form-control:focus-visible {
    outline: 3px solid var(--icf-blue);
    outline-offset: 2px;
    box-shadow: inset 0 0 0 2px var(--icf-blue);
    background: var(--icf-white);
}

/* Case à cocher RGPD custom : focus visible obligatoire (checkbox custom-styled) */
.pc2027-cf7-acceptance input[type="checkbox"]:focus,
.pc2027-cf7-acceptance input[type="checkbox"]:focus-visible {
    outline: 3px solid var(--icf-yellow);
    outline-offset: 3px;
    box-shadow: 0 0 0 5px rgba(239, 203, 48, 0.3);
}
/* Le label de la case doit être cliquable et focusable proprement */
.pc2027-cf7-acceptance .wpcf7-list-item-label { cursor: pointer; }

/* Bouton submit form : focus fort */
.pc2027-cf7-wrap .wpcf7-submit:focus-visible {
    outline: 3px solid var(--icf-yellow);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(239, 203, 48, 0.4);
}

/* Bouton fermeture modal : focus visible */
.pc2027-modal__close:focus-visible,
.pc2027-modal__success-close:focus-visible {
    outline: 3px solid var(--icf-yellow);
    outline-offset: 3px;
}

/* FAQ : le <summary> doit avoir un focus visible */
.pc2027-faq__summary:focus,
.pc2027-faq__summary:focus-visible {
    outline: 3px solid var(--icf-blue);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Toggle burger : focus visible */
.pc2027-nav__toggle:focus-visible {
    outline: 3px solid var(--icf-blue);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Motion : respect prefers-reduced-motion pour toutes les transitions/animations pc2027 */
@media (prefers-reduced-motion: reduce) {
    .pc2027 *,
    .pc2027-modal *,
    .pc2027-mobile-bar * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Assure que les éléments cachés visuellement (screen-reader-only) restent accessibles */
.pc2027-sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Assure que le modal a une hauteur min pour ne pas cropper le focus lorsqu'il défile */
.pc2027-modal__panel { scroll-behavior: smooth; }

/* ============================================================
   v12 — Footer : brush repositionné + "Pour aller plus loin" plus léger
   ============================================================ */

/* Réduit la graisse du titre "Pour aller plus loin" (Figma était en semibold 600) */
.pc2027-footer__col-title {
    font-weight: 400 !important;
    font-family: var(--pc2027-font-display) !important;
    font-size: 23px !important;
    line-height: 32px !important;
    letter-spacing: -0.2px;
}

/* Repositionne le brush : ancré en bas-droite du footer, taille plus grande, opacité +
   modéré pour rester une décoration discrète. */
.pc2027-footer__decor {
    position: absolute !important;
    top: auto !important;
    left: auto !important;
    right: -60px !important;
    bottom: -60px !important;
    width: 360px !important;
    height: 360px !important;
    opacity: 0.15 !important;
    z-index: 0 !important;
    pointer-events: none;
    transform: rotate(-15deg);
}
.pc2027-footer { position: relative; overflow: hidden; }
.pc2027-footer__inner { position: relative; z-index: 1; }

@media (max-width: 899px) {
    .pc2027-footer__decor {
        width: 220px !important;
        height: 220px !important;
        right: -60px !important;
        bottom: -60px !important;
        opacity: 0.1 !important;
    }
}

/* ============================================================
   v13 — Retire le décor footer (le brush appartient à la section invitation)
   ============================================================ */
.pc2027-footer__decor { display: none !important; }

/* Assure que le brush de l'invitation est bien positionné derrière le texte */
.pc2027-form__brush-star {
    position: absolute !important;
    right: 40px !important;
    top: 40px !important;
    width: 450px;
    height: 436px;
    z-index: 0 !important;
    pointer-events: none;
    opacity: 1;
}
.pc2027-form__brush-star img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent !important;
}
.pc2027-form__invite-copy { position: relative; z-index: 1; }

@media (max-width: 1199px) {
    .pc2027-form__brush-star {
        width: 340px;
        height: 330px;
        right: 20px;
        top: 20px;
        opacity: 0.85;
    }
}
@media (max-width: 899px) {
    .pc2027-form__brush-star {
        position: relative !important;
        width: 200px;
        height: 190px;
        top: 0 !important;
        right: 0 !important;
        margin: 24px auto 0;
        opacity: 1;
        z-index: 0 !important;
    }
}

/* ============================================================
   v14 — Footer compact en mobile
   ============================================================ */
@media (max-width: 899px) {
    .pc2027-footer {
        padding: 32px 20px 24px !important;
    }
    .pc2027-footer__inner   { gap: 20px !important; }
    .pc2027-footer__grid    { gap: 20px !important; }
    .pc2027-footer__brand   { gap: 12px !important; }
    .pc2027-footer__logo    { height: 56px !important; max-width: 220px; }
    .pc2027-footer__mention { font-size: 12px; line-height: 18px; }
    .pc2027-footer__resources { gap: 12px !important; }
    .pc2027-footer__col-title { font-size: 20px !important; line-height: 26px !important; margin: 0; }
    .pc2027-footer__list    { gap: 10px !important; }
    .pc2027-footer__link    { font-size: 15px; line-height: 22px; }
}
@media (max-width: 480px) {
    .pc2027-footer { padding: 24px 18px 20px !important; }
    .pc2027-footer__logo { height: 48px !important; max-width: 190px; }
    .pc2027-footer__col-title { font-size: 18px !important; line-height: 24px !important; }
    .pc2027-footer__link { font-size: 14px; line-height: 20px; }
}
