/* Interva — page « Écoles et organismes » 0.2.2. Idiome de la page À propos (Snippet de feu, interva_a_propos) : papier, framboise, aqua, titres très gras et serrés, police du site. */
body:has(.ive) .entry-header { display: none !important; }
body:has(.ive) .site-content > .ast-container { max-width: none; padding: 0; }
.ive {
  --ive-encre: #35343d;
  --ive-doux: #6c6570;
  --ive-framboise: #d94f72;
  --ive-framboise-fonce: #b9375b;
  --ive-rose: #fff0f4;
  --ive-aqua: #38b7b4;
  --ive-aqua-fonce: #1f8f8c;
  --ive-aqua-pale: #dff9f7;
  --ive-jaune: #f6d15d;
  --ive-papier: #fffaf7;
  --ive-trait: #efdfe3;
  --ive-ease: cubic-bezier(.2, .7, .2, 1);
  color: var(--ive-encre);
  font-family: inherit;
  overflow: hidden;
}
.ive *, .ive *::before, .ive *::after { box-sizing: border-box; }
.ive ::selection { background: var(--ive-jaune); color: var(--ive-encre); }
.ive-wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.ive h1, .ive h2, .ive h3 { color: var(--ive-encre); font-family: inherit; margin: 0; }
.ive h2 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }
.ive p { margin: 0; }
.ive-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ive-sur {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px !important;
  color: var(--ive-framboise); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.ive-sur::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }

/* Boutons */
.ive .ive-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none;
  cursor: pointer; transition: transform .25s var(--ive-ease), background-color .25s var(--ive-ease), box-shadow .25s var(--ive-ease);
}
.ive .ive-btn--plein { background: var(--ive-framboise); color: #fff; box-shadow: 0 6px 0 var(--ive-framboise-fonce); }
.ive .ive-btn--plein:hover { background: var(--ive-framboise-fonce); color: #fff; transform: translateY(2px); box-shadow: 0 4px 0 #9c2c4a; }
.ive .ive-btn--plein:active { transform: translateY(5px); box-shadow: 0 1px 0 #9c2c4a; }
.ive .ive-btn--lien { padding: 0 6px; background: none; color: var(--ive-encre); }
.ive .ive-btn--lien span { transition: transform .25s var(--ive-ease); }
.ive .ive-btn--lien:hover span { transform: translateX(5px); }
.ive .ive-btn--large { width: 100%; justify-content: center; min-height: 58px; font-size: 17px; }
.ive a:focus-visible, .ive button:focus-visible, .ive input:focus-visible, .ive select:focus-visible, .ive textarea:focus-visible, .ive summary:focus-visible {
  outline: 3px solid var(--ive-aqua); outline-offset: 3px;
}

/* Héros : texte à gauche, pile de vraies couvertures à droite */
.ive-hero { position: relative; padding: 76px 0 92px; background: linear-gradient(135deg, #fff4f6 0%, #fffdf8 52%, #e6fbfa 100%); }
.ive-hero::after { content: ""; position: absolute; right: -90px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--ive-jaune); opacity: .9; }
.ive-hero__grille { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 40px; align-items: center; }
.ive-hero h1 { max-width: 640px; margin-bottom: 22px; font-size: clamp(42px, 6.2vw, 82px); font-weight: 800; letter-spacing: -.055em; line-height: .96; }
.ive-hero__lead { max-width: 560px; color: var(--ive-doux); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; }
.ive-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 32px; }
.ive-hero__pile { position: relative; height: 440px; }
.ive-carte {
  position: absolute; width: 58%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: #fff;
  border: 6px solid #fff; box-shadow: 0 22px 44px -22px rgba(53, 52, 61, .45);
  transition: transform .45s var(--ive-ease);
}
.ive-carte--0 { left: 0; top: 64px; transform: rotate(-8deg); z-index: 2; }
.ive-carte--1 { left: 21%; top: 0; transform: rotate(3deg); z-index: 4; width: 60%; }
.ive-carte--2 { right: 0; top: 96px; transform: rotate(9deg); z-index: 3; }
.ive-hero__pile:hover .ive-carte--0 { transform: rotate(-11deg) translate(-10px, 4px); }
.ive-hero__pile:hover .ive-carte--1 { transform: rotate(1deg) translateY(-8px); }
.ive-hero__pile:hover .ive-carte--2 { transform: rotate(12deg) translate(10px, 4px); }
.ive-pastille {
  position: absolute; z-index: 7; left: 4%; bottom: 8px; transform: rotate(-8deg);
  display: grid; place-items: center; width: 132px; height: 132px; padding: 14px; border-radius: 50%;
  background: var(--ive-aqua); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.15; text-align: center;
  box-shadow: 0 0 0 6px #fff;
}
.ive-pastille strong { display: block; font-size: 25px; letter-spacing: -.04em; }

/* Preuve : phrase + noms qui défilent */
.ive-preuve { padding: 34px 0 30px; background: var(--ive-encre); color: #fff; }
.ive-preuve__titre { color: #fff; font-size: clamp(18px, 2.1vw, 24px); letter-spacing: -.02em; text-align: center; }
.ive-preuve__titre strong { color: var(--ive-jaune); }
.ive-defile { margin-top: 20px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ive-defile__piste { display: flex; width: max-content; gap: 46px; animation: ive-defile 70s linear infinite; }
.ive-defile__piste span { color: rgba(255, 255, 255, .72); font-size: 15px; white-space: nowrap; }
.ive-defile__piste span::before { content: "✿"; margin-right: 46px; color: var(--ive-framboise); }
.ive-preuve:hover .ive-defile__piste { animation-play-state: paused; }
@keyframes ive-defile { to { transform: translateX(-50%); } }

/* Étapes : une ligne de temps, pas des cartes */
.ive-etapes { padding: 96px 0 88px; background: var(--ive-papier); }
.ive-ligne { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 54px 0 0; padding: 0; list-style: none; counter-reset: none; }
.ive-ligne::before { content: ""; position: absolute; left: 30px; right: 30px; top: 30px; height: 3px; background: repeating-linear-gradient(90deg, var(--ive-framboise) 0 10px, transparent 10px 18px); }
.ive-ligne li { position: relative; padding-right: 10px; }
.ive-num {
  position: relative; display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px; border-radius: 50%;
  background: #fff; border: 3px solid var(--ive-framboise); color: var(--ive-framboise); font-size: 24px; font-weight: 800;
}
.ive-ligne li:nth-child(2) .ive-num { border-color: var(--ive-aqua); color: var(--ive-aqua-fonce); }
.ive-ligne li:nth-child(4) .ive-num { background: var(--ive-framboise); color: #fff; }
.ive-ligne h3 { margin-bottom: 8px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.ive-ligne p { color: var(--ive-doux); font-size: 15.5px; line-height: 1.6; }

/* Forfaits : un tableau éditorial, gros chiffres */
.ive-forfaits { padding: 96px 0; background: #fff; }
.ive-forfaits__tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: 40px; }
.ive-forfaits__note { max-width: 330px; color: var(--ive-doux); font-size: 15px; line-height: 1.55; }
.ive-tableau { border-top: 3px solid var(--ive-encre); }
.ive-tableau__ligne {
  display: grid; grid-template-columns: 1.1fr .9fr 1.1fr 1fr; align-items: baseline; gap: 12px; padding: 20px 8px;
  border-bottom: 1px solid var(--ive-trait); transition: background-color .25s var(--ive-ease);
}
.ive-tableau__ligne:not(.ive-tableau__ligne--tete):hover, .ive-tableau__ligne.is-choisi { background: var(--ive-rose); }
.ive-tableau__ligne.is-choisi .ive-places::after { content: "votre choix"; margin-left: 10px; padding: 3px 9px; border-radius: 999px; background: var(--ive-framboise); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; vertical-align: middle; }
.ive--en .ive-tableau__ligne.is-choisi .ive-places::after { content: "your pick"; }
.ive-tableau__ligne--tete { padding-top: 12px; padding-bottom: 12px; color: var(--ive-doux); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ive-famille { font-weight: 700; }
.ive-tableau__ligne.is-entreprise .ive-famille { color: var(--ive-aqua-fonce); }
.ive-places { font-size: 30px; font-weight: 800; letter-spacing: -.04em; }
.ive-mois { font-size: 19px; font-weight: 700; }
.ive-mois small { color: var(--ive-doux); font-size: 13px; font-weight: 500; }
.ive-prix { font-size: 19px; font-weight: 700; text-align: right; }
.ive-tableau__ligne--tete span:last-child { text-align: right; }
.ive-plus { margin-top: 24px !important; color: var(--ive-doux); }
.ive-plus a { color: var(--ive-framboise-fonce); font-weight: 700; }

/* Calculateur */
.ive-calc { padding: 96px 0; background: linear-gradient(160deg, var(--ive-aqua-pale) 0%, #f4fdfc 55%, var(--ive-papier) 100%); }
.ive-calc__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 46px; align-items: start; }
.ive-calc h2 { margin-bottom: 30px; }
.ive-nombre { display: flex; align-items: center; gap: 12px; }
.ive .ive-pas {
  width: 56px; height: 56px; border: 2px solid var(--ive-encre); border-radius: 50%; background: #fff; color: var(--ive-encre);
  font-family: inherit; font-size: 26px; font-weight: 700; line-height: 1; cursor: pointer; transition: background-color .2s var(--ive-ease), color .2s var(--ive-ease), transform .2s var(--ive-ease);
}
.ive .ive-pas:hover { background: var(--ive-encre); color: #fff; }
.ive .ive-pas:active { transform: scale(.92); }
.ive .ive-nombre input[type=number] {
  width: 150px; min-height: 0; padding: 0; box-shadow: none; outline: 0; height: 84px; border: 0; border-bottom: 4px solid var(--ive-framboise); border-radius: 0; background: transparent;
  color: var(--ive-encre); font-family: inherit; font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.05em; text-align: center; -moz-appearance: textfield;
}
.ive .ive-nombre input:focus { border-bottom-color: var(--ive-aqua); }
.ive-nombre input::-webkit-outer-spin-button, .ive-nombre input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ive-glissiere { width: 100%; max-width: 420px; margin: 22px 0 30px; accent-color: var(--ive-framboise); }
.ive-reco { padding: 24px 26px; border-radius: 22px 22px 22px 6px; background: #fff; box-shadow: 0 18px 40px -26px rgba(31, 143, 140, .6); }
.ive-reco__forfait { color: var(--ive-aqua-fonce); font-weight: 800; }
.ive-reco__prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 6px 0 16px !important; font-size: clamp(38px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.05em; }
.ive-reco__prix small { color: var(--ive-doux); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.ive-reco__detail { margin: 0; border-top: 1px dashed var(--ive-trait); }
.ive-reco__detail > div > div, .ive-reco__detail > div:not([data-ive]) { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--ive-trait); }
.ive-reco__detail dt { color: var(--ive-doux); }
.ive-reco__detail dd { margin: 0; font-weight: 700; }
.ive-reco__places { margin-top: 12px !important; color: var(--ive-doux); font-size: 14px; }
.ive-reco__trop { margin-top: 16px !important; padding: 16px 18px; border-radius: 14px; background: #fff; font-weight: 600; }
.ive-reco__trop a { color: var(--ive-framboise-fonce); }
.ive.is-trop .ive-reco { opacity: .35; }

.ive-form { display: grid; gap: 14px; padding: 30px; border: 2px solid var(--ive-encre); border-radius: 24px; background: #fff; box-shadow: 10px 10px 0 var(--ive-framboise); }
.ive-form__titre { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.ive-form label { display: grid; gap: 6px; color: var(--ive-encre); font-size: 14px; font-weight: 600; }
.ive-lab b { color: var(--ive-framboise); font-weight: 700; }
.ive-lab em { margin-left: 6px; color: var(--ive-doux); font-size: 12px; font-style: normal; font-weight: 400; }
.ive-form input, .ive-form select, .ive-form textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #d9cdd1; border-radius: 12px; background: var(--ive-papier);
  color: var(--ive-encre); font-family: inherit; font-size: 16px; font-weight: 500; line-height: 1.4; transition: border-color .2s var(--ive-ease), background-color .2s var(--ive-ease);
}
.ive-form textarea { min-height: 68px; resize: vertical; }
.ive-form input:focus, .ive-form select:focus, .ive-form textarea:focus { border-color: var(--ive-aqua); background: #fff; outline: none; }
.ive-form__note { color: var(--ive-doux); font-size: 13px; line-height: 1.5; }
.ive-form__erreur { padding: 12px 14px; border-radius: 12px; background: var(--ive-rose); color: var(--ive-framboise-fonce); font-weight: 600; }
.ive-piege { position: absolute; left: -9999px; }
.ive-form.is-envoi .ive-btn { opacity: .7; pointer-events: none; }

/* Ce qui est inclus */
.ive-inclus { padding: 88px 0; background: var(--ive-encre); color: #fff; }
.ive-inclus__grille { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; }
.ive-inclus h2 { color: #fff; }
.ive-inclus ul { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 34px; margin: 0; padding: 0; list-style: none; }
.ive-inclus li { position: relative; padding-left: 30px; color: rgba(255, 255, 255, .78); font-size: 16px; line-height: 1.6; }
.ive-inclus li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 4px; background: var(--ive-jaune); transform: rotate(12deg); }
.ive-inclus li:nth-child(2)::before { background: var(--ive-aqua); }
.ive-inclus li:nth-child(3)::before { background: var(--ive-framboise); }
.ive-inclus li strong { display: block; margin-bottom: 4px; color: #fff; }

/* FAQ */
.ive-faq { padding: 92px 0; background: var(--ive-papier); }
.ive-faq .ive-wrap { max-width: 820px; }
.ive-faq h2 { margin-bottom: 28px; }
.ive-faq details { border-bottom: 1px solid var(--ive-trait); }
.ive-faq summary { position: relative; padding: 20px 44px 20px 0; font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; }
.ive-faq summary::-webkit-details-marker { display: none; }
.ive-faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--ive-framboise); font-size: 28px; font-weight: 500; transition: transform .25s var(--ive-ease); }
.ive-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.ive-faq details p { padding: 0 0 22px; max-width: 68ch; color: var(--ive-doux); line-height: 1.65; }

/* Fin */
.ive-fin { padding: 0 0 64px; background: var(--ive-papier); }
.ive-fin__boite { padding: 56px 22px; border-radius: 28px; background: var(--ive-framboise); text-align: center; }
.ive-fin h2 { color: #fff; margin-bottom: 12px; }
.ive-fin p { margin-bottom: 28px !important; color: rgba(255, 255, 255, .88); font-size: 18px; }
.ive-fin .ive-btn--plein { background: #fff; color: var(--ive-framboise-fonce); box-shadow: 0 6px 0 #9c2c4a; }
.ive-fin .ive-btn--plein:hover { background: var(--ive-jaune); color: var(--ive-encre); }

/* Entrées au défilement */
.ive [data-ive-entree] { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ive-ease), transform .6s var(--ive-ease); }
.ive [data-ive-entree].is-vu { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .ive-hero__grille, .ive-calc__grille, .ive-inclus__grille { grid-template-columns: 1fr; }
  .ive-hero__pile { height: 360px; max-width: 460px; width: 100%; margin: 0 auto; }
  .ive-ligne { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .ive-ligne::before { display: none; }
}
@media (max-width: 640px) {
  .ive-hero { padding: 48px 0 64px; }
  .ive-hero::after { width: 160px; height: 160px; right: -70px; top: -60px; }
  .ive-hero__pile { height: 300px; }
  .ive-pastille { width: 104px; height: 104px; font-size: 11px; }
  .ive-pastille strong { font-size: 20px; }
  .ive-etapes, .ive-forfaits, .ive-calc, .ive-inclus, .ive-faq { padding: 64px 0; }
  .ive-ligne { grid-template-columns: 1fr; gap: 26px; margin-top: 34px; }
  .ive-ligne li { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; }
  .ive-ligne .ive-num { grid-row: span 2; width: 48px; height: 48px; margin: 0; font-size: 19px; }
  .ive-tableau__ligne { grid-template-columns: 1fr auto; grid-template-areas: "famille prix" "places mois"; row-gap: 2px; padding: 16px 4px; }
  .ive-tableau__ligne--tete { display: none; }
  .ive-famille { grid-area: famille; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
  .ive-places { grid-area: places; font-size: 26px; }
  .ive-places::before { content: ""; }
  .ive-places::after { content: " intervenants"; font-size: 14px; font-weight: 600; letter-spacing: 0; }
  .ive-tableau__ligne.is-choisi .ive-places::after { content: " intervenants · votre choix"; margin: 0; padding: 0; background: none; color: var(--ive-framboise-fonce); font-size: 13px; }
  .ive--en .ive-places::after { content: " professionals"; }
  .ive--en .ive-tableau__ligne.is-choisi .ive-places::after { content: " professionals · your pick"; }
  .ive-prix { grid-area: prix; }
  .ive-mois { grid-area: mois; text-align: right; font-size: 15px; }
  .ive-form { padding: 22px; box-shadow: 6px 6px 0 var(--ive-framboise); }
  .ive-inclus ul { grid-template-columns: 1fr; }
  .ive .ive-nombre input[type=number] { width: 120px; font-size: 54px; }
  .ive h2 br { display: none; }
  .ive .ive-btn--large { font-size: 16px; padding: 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .ive *, .ive *::before, .ive *::after { animation: none !important; transition: none !important; }
  .ive [data-ive-entree] { opacity: 1; transform: none; }
}
