/* ==========================================================================
   IATF — système de styles du site public
   Préfixe .ih- pour ne pas entrer en conflit avec Bootstrap ni le thème.
   Les pages refaites enveloppent leur contenu dans <main class="iatf">.
   ========================================================================== */

:root {
    /* Couleurs */
    --ink: #1C1840;          /* texte, fonds sombres */
    --violet: #B160FB;       /* couleur IATF : grandes surfaces, anneaux */
    --violet-deep: #6E2BC4;  /* liens, focus, boutons secondaires */
    --flame: #F08A24;        /* action principale uniquement */
    --flame-hover: #FFA040;
    --paper: #FBF9FE;        /* fond de page */
    --mist: #EFE8FA;         /* fond secondaire */
    --muted: #57536E;        /* texte secondaire (7:1 sur papier) */
    --rule: #DCD3EC;         /* filets */
    --field: #9A90B5;        /* contour des champs (3:1) */
    --error: #B42318;
    --error-bg: #FDECEA;
    --success: #1E7A46;
    --success-bg: #E6F4EC;

    /* Typographie */
    --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --fs-small: .875rem;
    --fs-body: 1.0625rem;
    --fs-lead: 1.1875rem;
    --fs-h3: 1.3125rem;
    --fs-h2: clamp(2rem, 1.35rem + 2.4vw, 3rem);
    --fs-h1-page: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
    --fs-h1: clamp(2.6rem, 1.5rem + 4.4vw, 4.75rem);

    /* Espacement : 4 8 12 16 24 32 48 64 96 */
    --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
    --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
    --gutter: 16px;
    --space: clamp(4rem, 3rem + 4vw, 7rem);

    /* Rayons */
    --r-field: 4px;
    --r-panel: 8px;
    --r-pill: 999px;

    --shadow-float: 0 12px 32px rgba(28, 24, 64, .18);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Base (pages refaites, sans Bootstrap) ---------- */
.ih-body { margin: 0; background: var(--paper); -webkit-font-smoothing: antialiased; }
.ih-body *, .ih-body *::before, .ih-body *::after { box-sizing: border-box; }
:where(.ih-body) :where(button, input, select, textarea) { font: inherit; }

.iatf {
    font-family: var(--font);
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
}
body:has(> .iatf) { background: var(--paper); }

/* neutralise les règles globales du thème dans les zones IATF */
.iatf section, .ih-header section, .ih-footer section { overflow: visible !important; }
/* sections qui contiennent des anneaux décoratifs : rognées pour éviter tout défilement horizontal */
.iatf .ih-hero, .iatf .ih-cta, .iatf .ih-pagehead, .iatf .ih-quest { overflow: hidden !important; }
.iatf a, .iatf span, .iatf strong, .iatf small, .iatf i,
.ih-header a, .ih-header span, .ih-footer a, .ih-footer span, .ih-footer strong { display: inline; }
.iatf a, .ih-header a, .ih-footer a { text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.iatf a:hover, .ih-header a:hover, .ih-footer a:hover { text-decoration: none; }
.iatf :focus-visible, .ih-header :focus-visible, .ih-footer :focus-visible {
    outline: 3px solid var(--violet-deep);
    outline-offset: 3px;
}
.iatf h1, .iatf h2, .iatf h3, .iatf h4 { color: inherit; margin: 0; font-family: inherit; }
.iatf p { margin: 0; }
.iatf img { max-width: 100%; display: block; }
.iatf ul, .iatf ol { margin: 0; }

.ih-sr {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* lien d'évitement, visible au focus clavier */
.ih-skip:focus {
    position: fixed !important; top: 8px; left: 8px; z-index: 100;
    width: auto; height: auto; clip: auto; margin: 0;
    padding: 10px 16px; border-radius: var(--r-pill);
    background: #fff; color: var(--ink); font-weight: 700;
}

/* cible du lien d'évitement : ne doit occuper aucune place */
#contenu { display: block !important; height: 0; overflow: hidden; outline: none; }

/* ---------- Mise en page ---------- */
.ih-wrap { max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.ih-wrap--narrow { max-width: calc(46rem + 2 * var(--gutter)); }
.ih-block { padding-block: var(--space); }
.ih-block--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.ih-block--mist { background: var(--mist); }
.ih-block--rule { border-top: 1px solid var(--rule); }
.ih-stack > * + * { margin-top: var(--s5); }
.ih-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s7); }
@media (min-width: 992px) { .ih-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--s8); align-items: start; } }
@media (min-width: 992px) { .ih-split--main { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } }

/* ---------- Typographie ---------- */
.ih-display { font-weight: 800; font-stretch: 78%; letter-spacing: -0.012em; line-height: 1.02; }
.ih-h2 { font-size: var(--fs-h2); max-width: 20ch; }
.ih-h3 { font-size: var(--fs-h3); font-weight: 800; font-stretch: 85%; line-height: 1.25; }
.iatf .ih-intro { color: var(--muted); font-size: var(--fs-lead); max-width: 56ch; margin-top: var(--s4); }
.ih-muted { color: var(--muted); }
.ih-small { font-size: var(--fs-small); }
.ih-head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.ih-headrow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--s4) var(--s6); }
.ih-prose p + p { margin-top: var(--s4); }
.ih-prose { max-width: 62ch; }

/* ---------- Boutons et liens ---------- */
.ih-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: var(--s2);
    min-height: 48px;
    padding: var(--s3) var(--s5);
    border-radius: var(--r-pill);
    border: 2px solid transparent;
    font-family: var(--font);
    font-weight: 700;
    font-stretch: 90%;
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    background: none;
}
.ih-btn--flame { background: var(--flame); color: var(--ink); }
.ih-btn--flame:hover, .ih-btn--flame:focus { background: var(--flame-hover); color: var(--ink); }
.ih-btn--line { border-color: var(--violet-deep); color: var(--violet-deep); }
.ih-btn--line:hover, .ih-btn--line:focus { background: var(--violet-deep); color: #fff; }
.ih-btn--light { border-color: rgba(255,255,255,.55); color: #fff; }
.ih-btn--light:hover, .ih-btn--light:focus { background: #fff; color: var(--ink); }
.ih-btn--quiet { color: var(--violet-deep); padding-inline: var(--s3); }
.ih-btn--quiet:hover, .ih-btn--quiet:focus { background: var(--mist); color: var(--ink); }
.ih-btn--block { width: 100%; }
.ih-btn[disabled], .ih-btn[aria-disabled="true"] { cursor: not-allowed; opacity: .55; }
.ih-btn[aria-busy="true"] { opacity: .8; cursor: progress; }
.ih-btn[aria-busy="true"]::before {
    content: "";
    width: 1em; height: 1em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: ih-spin .8s linear infinite;
}
@keyframes ih-spin { to { transform: rotate(360deg); } }
.ih-actions { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }

.ih-link {
    color: var(--violet-deep);
    font-weight: 700;
    border-bottom: 2px solid currentColor;
    padding-bottom: 2px;
}
.ih-link:hover, .ih-link:focus { color: var(--ink); }
.iatf .ih-prose a, .iatf .ih-inline-link { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Étiquettes ---------- */
.ih-tag {
    display: inline-flex !important;
    align-items: center;
    padding: 2px var(--s3);
    border-radius: var(--r-pill);
    font-size: var(--fs-small);
    font-weight: 600;
    background: var(--mist);
    color: var(--violet-deep);
    white-space: nowrap;
}
.ih-tag--success { background: var(--success-bg); color: var(--success); }
.ih-tag--muted { background: #ECEAF1; color: var(--muted); }

/* ---------- En-tête de page ---------- */
.ih-pagehead { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); border-bottom: 1px solid var(--rule); overflow: hidden !important; position: relative; }
.ih-pagehead__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); align-items: center; }
@media (min-width: 768px) { .ih-pagehead__grid { grid-template-columns: minmax(0, 1fr) 220px; } }
.ih-pagehead h1 { font-size: var(--fs-h1-page); max-width: 18ch; }
.ih-pagehead .ih-actions { margin-top: var(--s5); }
.ih-pagehead__rings { display: none; width: 220px; height: 220px; }
@media (min-width: 768px) { .ih-pagehead__rings { display: block; } }
.ih-rings circle { fill: none; stroke: var(--violet); stroke-width: 3.5; stroke-linecap: round; }
.ih-rings .ih-rings__core { stroke: var(--flame); stroke-width: 8; }

/* ---------- Messages ---------- */
.ih-alert {
    display: flex;
    gap: var(--s3);
    align-items: flex-start;
    padding: var(--s4) var(--s5);
    border-radius: var(--r-panel);
    border-left: 4px solid currentColor;
    margin-bottom: var(--s6);
    font-size: 1rem;
}
.ih-alert:focus { outline: none; }
.ih-alert strong { display: block; margin-bottom: 2px; }
.ih-alert ul { padding-left: 1.1rem; margin-top: var(--s1); }
.ih-alert--success { background: var(--success-bg); color: var(--success); }
.ih-alert--error { background: var(--error-bg); color: var(--error); }
.ih-alert--info { background: var(--mist); color: var(--ink); border-left-color: var(--violet-deep); }
.ih-alert > svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.ih-alert p, .ih-alert li { color: var(--ink); }

/* ---------- États vides ---------- */
.ih-empty {
    padding: var(--s7) var(--s5);
    border: 2px dashed var(--rule);
    border-radius: var(--r-panel);
    text-align: left;
}
.ih-empty h3 { font-size: var(--fs-h3); font-weight: 800; font-stretch: 85%; margin-bottom: var(--s2); }
.ih-empty p { color: var(--muted); max-width: 52ch; }
.ih-empty .ih-actions { margin-top: var(--s5); }

/* ---------- Listes en lignes ---------- */
.ih-rows { list-style: none; padding: 0; border-top: 2px solid var(--ink); }
.ih-rows > li { border-bottom: 1px solid var(--rule); }
.ih-item { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3) var(--s6); padding-block: var(--s5); }
@media (min-width: 768px) { .ih-item { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.ih-item > .ih-btn { justify-self: start; }
.ih-item h3 { font-size: 1.1875rem; font-weight: 700; font-stretch: 88%; line-height: 1.3; }
.ih-item__top { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); align-items: center; margin-bottom: var(--s2); }
.ih-item p { color: var(--muted); font-size: .9375rem; margin-top: var(--s2); max-width: 60ch; }
.ih-item--past h3 { color: var(--muted); }

.ih-meta { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s5); list-style: none; padding: 0; font-size: .9375rem; }
.ih-meta li { display: flex; gap: var(--s2); align-items: baseline; }
.ih-meta dt, .ih-meta b { font-weight: 600; color: var(--muted); }
.ih-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--s2) var(--s5); margin: 0; }
.ih-dl dt { color: var(--muted); font-weight: 600; }
.ih-dl dd { margin: 0; }

/* ---------- Panneau ---------- */
.ih-panel { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-panel); padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
.ih-panel--mist { background: var(--mist); border-color: transparent; }

/* ---------- Formulaires ---------- */
.ih-form { max-width: 40rem; }
.ih-form > * + * { margin-top: var(--s5); }
.ih-form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
@media (min-width: 640px) { .ih-form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ih-field { display: flex; flex-direction: column; gap: 6px; }
.ih-label { font-weight: 700; font-size: 1rem; margin: 0; }
.ih-label .ih-opt { font-weight: 400; color: var(--muted); }
.ih-help { font-size: var(--fs-small); color: var(--muted); }
.ih-input {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: #fff;
    border: 1.5px solid var(--field);
    border-radius: var(--r-field);
    transition: border-color .15s, box-shadow .15s;
}
textarea.ih-input { min-height: 120px; resize: vertical; }
select.ih-input {
    appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231C1840' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.ih-input::placeholder { color: #8A85A0; }
.ih-input:hover { border-color: var(--ink); }
.ih-input:focus { outline: none; border-color: var(--violet-deep); box-shadow: 0 0 0 3px rgba(110, 43, 196, .25); }
.ih-input[readonly] { background: var(--mist); border-color: transparent; }
.ih-input.is-invalid, .ih-input[aria-invalid="true"] { border-color: var(--error); }
.ih-input.is-invalid:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .2); }
input[type="file"].ih-input { padding: 8px; cursor: pointer; }
input[type="file"].ih-input::file-selector-button {
    font: inherit; font-weight: 700; font-size: .9375rem;
    margin-right: var(--s3);
    padding: 6px 14px;
    border: 0;
    border-radius: var(--r-pill);
    background: var(--mist);
    color: var(--violet-deep);
    cursor: pointer;
}
.ih-error { display: flex; gap: 6px; align-items: baseline; color: var(--error); font-size: var(--fs-small); font-weight: 600; }
.ih-error::before { content: "!"; display: inline-grid; place-items: center; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--error); color: #fff; font-size: 11px; font-weight: 800; transform: translateY(2px); }
.ih-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.ih-form > .ih-fieldset + .ih-fieldset, .ih-form > .ih-fieldset + .ih-btn, .ih-form > .ih-fieldset + .ih-field { margin-top: var(--s7); }
.ih-fieldset legend { font-size: var(--fs-h3); font-weight: 800; font-stretch: 85%; margin-bottom: var(--s4); padding: 0; float: none; width: auto; }
.ih-step { color: var(--violet-deep); margin-right: var(--s2); }
.ih-form-note { font-size: var(--fs-small); color: var(--muted); }

/* Choix en tuiles (créneaux, séances) */
.ih-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: var(--s3); list-style: none; padding: 0; }
.ih-choice { position: relative; }
.ih-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ih-choice label {
    display: flex; flex-direction: column; gap: 2px;
    height: 100%;
    margin: 0;
    padding: var(--s4);
    border: 1.5px solid var(--rule);
    border-radius: var(--r-panel);
    background: #fff;
    cursor: pointer;
    transition: border-color .15s, background-color .15s;
}
.ih-choice label b { font-size: 1.125rem; font-stretch: 88%; }
.ih-choice label span { font-size: .9375rem; color: var(--muted); }
.ih-choice label:hover { border-color: var(--violet-deep); }
.ih-choice input:focus-visible + label { outline: 3px solid var(--violet-deep); outline-offset: 2px; }
.ih-choice input:checked + label { border-color: var(--violet-deep); background: var(--mist); box-shadow: inset 0 0 0 1.5px var(--violet-deep); }
.ih-choice input:disabled + label { cursor: not-allowed; background: #F4F2F7; color: var(--muted); border-style: dashed; }
.ih-choice input:disabled + label:hover { border-color: var(--rule); }
.ih-choices.is-invalid .ih-choice label { border-color: var(--error); }
.ih-daygroup + .ih-daygroup { margin-top: var(--s6); }
.ih-daygroup h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: var(--s3); }

/* ---------- Boîte de dialogue native ---------- */
.ih-dialog {
    width: min(100% - 2 * var(--gutter), 42rem);
    max-height: min(90vh, 52rem);
    padding: 0;
    border: 0;
    border-radius: var(--r-panel);
    color: var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow-float);
    font-family: var(--font);
}
.ih-dialog::backdrop { background: rgba(28, 24, 64, .55); }
.ih-dialog__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s4); padding: var(--s5) var(--s5) 0; }
.ih-dialog__head h2 { font-size: 1.75rem; }
.ih-dialog__body { padding: var(--s5); }
.ih-dialog__body > * + * { margin-top: var(--s5); }
.ih-close {
    flex: none;
    width: 44px; height: 44px;
    border: 0; border-radius: 50%;
    background: var(--mist);
    color: var(--ink);
    font-size: 1.5rem; line-height: 1;
    cursor: pointer;
}
.ih-close:hover { background: var(--rule); }

/* ==========================================================================
   En-tête du site
   ========================================================================== */
.ih-header { font-family: var(--font); color: var(--ink); background: #fff; position: relative; z-index: 50; }
.ih-header ul { list-style: none; margin: 0; padding: 0; }
.ih-topbar { background: var(--ink); color: #E8E4F4; font-size: var(--fs-small); }
.ih-topbar .ih-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s1) var(--s5); padding-block: var(--s2); }
.ih-topbar ul { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s5); }
.ih-topbar a { color: #fff; }
.ih-topbar a:hover, .ih-topbar a:focus { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ih-topbar svg { width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; fill: none; stroke: var(--violet); stroke-width: 2; }
@media (max-width: 639px) { .ih-topbar__place { display: none; } .ih-topbar .ih-wrap { justify-content: center; } }

.ih-nav { border-bottom: 1px solid var(--rule); }
.ih-nav__bar { display: flex; align-items: center; gap: var(--s5); min-height: 72px; }
.ih-nav__logo { display: block !important; flex: none; }
.ih-nav__logo img { height: 48px; width: auto; display: block; }
.ih-nav__toggle {
    margin-left: auto;
    display: inline-flex; align-items: center; gap: var(--s2);
    min-height: 44px; padding: 0 var(--s4);
    border: 1.5px solid var(--rule); border-radius: var(--r-pill);
    background: #fff; color: var(--ink);
    font: 700 1rem/1 var(--font);
    cursor: pointer;
}
.ih-nav__toggle svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.ih-nav__panel { display: none; }
.ih-nav.is-open .ih-nav__panel { display: block; padding-bottom: var(--s5); max-height: calc(100vh - 80px); overflow-y: auto; }
.ih-nav__links a, .ih-nav__extra a:not(.ih-btn) {
    display: flex !important; align-items: center;
    min-height: 44px; padding: 0 var(--s3);
    color: var(--ink); font-weight: 600; font-size: 1rem;
    border-radius: var(--r-field);
}
.ih-nav__links a:hover, .ih-nav__links a:focus, .ih-nav__extra a:not(.ih-btn):hover { color: var(--violet-deep); background: var(--mist); }
.ih-nav__links a[aria-current="page"] { color: var(--violet-deep); box-shadow: inset 3px 0 0 var(--violet-deep); }
.ih-nav__extra { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--rule); }
.ih-nav__extra .ih-btn { min-height: 44px; padding-block: var(--s2); }

@media (min-width: 1140px) {
    .ih-nav__toggle { display: none !important; }
    .ih-nav__panel, .ih-nav.is-open .ih-nav__panel { display: flex; align-items: center; flex: 1; gap: var(--s4); padding: 0; }
    .ih-nav__links { display: flex; gap: 2px; margin-inline: auto !important; }
    .ih-nav__links a { font-size: .9375rem; padding: 0 10px; }
    .ih-nav__links a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--violet-deep); border-radius: 0; background: none; }
    .ih-nav__extra { margin: 0; padding: 0; border: 0; flex-wrap: nowrap; }
}

/* ==========================================================================
   Pied de page
   ========================================================================== */
.ih-footer { font-family: var(--font); background: var(--mist); color: var(--ink); font-size: 1rem; line-height: 1.6; }
.ih-footer ul { list-style: none; margin: 0; padding: 0; }
.ih-footer h2 { font-family: var(--font); font-size: 1.0625rem; font-weight: 800; font-stretch: 85%; color: var(--ink); margin: 0 0 var(--s3); }
.ih-footer__grid { display: grid; gap: var(--s6); grid-template-columns: minmax(0, 1fr); padding-block: var(--s8) var(--s6); }
@media (min-width: 640px) { .ih-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .ih-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.ih-footer__brand img { height: 96px; width: auto; display: block; margin-bottom: var(--s3); }
.ih-footer__brand p { color: var(--muted); max-width: 30ch; margin: 0; }
.ih-footer li + li { margin-top: 6px; }
.ih-footer a { color: var(--ink); }
.ih-footer a:hover, .ih-footer a:focus { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 3px; }
.ih-footer svg { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; fill: currentColor; }
.ih-footer__legal { border-top: 1px solid var(--rule); padding-block: var(--s5); font-size: var(--fs-small); color: var(--muted); }
.ih-footer__legal p { margin: 0; }

/* ==========================================================================
   Accueil
   ========================================================================== */
.ih-hero { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) clamp(3rem, 2rem + 3vw, 4.5rem); overflow: hidden !important; }
.ih-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
@media (min-width: 992px) { .ih-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3rem; } }
.ih-hero h1 { font-size: var(--fs-h1); max-width: 15ch; }
.iatf .ih-hero .ih-intro { margin-block: 1.5rem 2rem; }

.ih-facts { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; margin-top: 2.75rem !important; padding: 1.25rem 0 0; border-top: 1px solid var(--rule); list-style: none; }
.ih-facts li { display: flex; flex-direction: column; }
.ih-facts b { font-size: 1.75rem; font-weight: 800; font-stretch: 78%; line-height: 1.1; color: var(--violet-deep); }
.ih-facts span { font-size: var(--fs-small); color: var(--muted); }

.ih-emblem { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin-inline: auto; }
.ih-emblem svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ih-emblem__photo { position: absolute; inset: 21.5%; border-radius: 50%; overflow: hidden; background: var(--mist); }
.ih-emblem__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.ih-emblem__photo img.is-active { opacity: 1; }
.ih-ring {
    fill: none; stroke: var(--violet); stroke-width: 3.5; stroke-linecap: round;
    transform-box: fill-box; transform-origin: center;
    opacity: 0; transform: rotate(-28deg) scale(.96);
    animation: ih-ring-in 1.2s cubic-bezier(.2,.75,.25,1) forwards;
    animation-delay: calc(var(--i) * 90ms + 120ms);
}
.ih-ring--flame { stroke: var(--flame); stroke-width: 9; }
.ih-node { fill: var(--flame); opacity: 0; animation: ih-fade .6s ease forwards 1s; }
@keyframes ih-ring-in { to { opacity: 1; transform: none; } }
@keyframes ih-fade { to { opacity: 1; } }

/* Index des filières */
.ih-group { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem 3rem; padding-block: 1.75rem; border-top: 2px solid var(--ink); }
.ih-group:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 992px) { .ih-group { grid-template-columns: 15rem minmax(0, 1fr); } }
.ih-group > h2, .ih-group > h3 { font-size: var(--fs-h3); font-weight: 800; font-stretch: 85%; padding-top: .9rem; }
.ih-group ul { list-style: none; padding: 0; }
.ih-row {
    display: grid !important; grid-template-columns: minmax(0, 1fr); gap: .25rem 2rem;
    width: calc(100% + 1.5rem);
    padding: .9rem .75rem; margin-inline: -.75rem;
    border: 0; border-bottom: 1px solid var(--rule); border-radius: var(--r-field);
    background: none; color: var(--ink);
    font: inherit; text-align: left; cursor: pointer;
}
@media (min-width: 768px) { .ih-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: baseline; } }
.ih-group li:last-child .ih-row { border-bottom: 0; }
.ih-row strong { font-size: 1.1875rem; font-weight: 700; font-stretch: 88%; line-height: 1.3; }
.ih-row > span { color: var(--muted); font-size: .9375rem; }
.ih-row:hover, .ih-row:focus { background: var(--mist); color: var(--violet-deep); }

/* « Quel métier visez-vous ? » : choix d'un métier, la licence correspondante s'affiche */
.ih-quest { background: var(--ink); color: #fff; }
.iatf .ih-quest .ih-intro { color: #D9D3EC; }
.ih-quest__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s7); align-items: start; }
@media (min-width: 992px) { .ih-quest__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s8); } }

.ih-quest__jobs { border: 0; margin: 0; padding: 0; min-width: 0; }
.ih-quest__domain + .ih-quest__domain { margin-top: var(--s6); }
.ih-quest__domain h3 { font-size: 1rem; font-weight: 700; color: var(--violet); margin-bottom: var(--s3); }
.ih-quest__domain ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.ih-quest__domain li { position: relative; }
.ih-quest__domain input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ih-quest__domain label {
    display: inline-flex; align-items: center;
    min-height: 44px; margin: 0;
    padding: var(--s2) var(--s4);
    border: 1.5px solid rgba(255, 255, 255, .28);
    border-radius: var(--r-pill);
    color: #fff;
    font-size: .9375rem; font-weight: 500;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
}
.ih-quest__domain label:hover { border-color: var(--violet); }
.ih-quest__domain li.is-related label { border-color: var(--violet); background: rgba(177, 96, 251, .2); }
.ih-quest__domain input:checked + label { background: var(--flame); border-color: var(--flame); color: var(--ink); font-weight: 700; }
.ih-quest__domain input:focus-visible + label { outline: 3px solid var(--violet); outline-offset: 3px; }

.ih-quest__panel {
    position: relative;
    overflow: hidden;
    background: var(--paper);
    color: var(--ink);
    border-radius: var(--r-panel);
    padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.ih-quest__panel + .ih-quest__panel { margin-top: var(--s5); }
.ih-quest.is-ready .ih-quest__panel + .ih-quest__panel { margin-top: 0; }
@media (min-width: 992px) { .ih-quest__result { position: sticky; top: var(--s5); } }
.ih-quest__panel.is-active { animation: ih-panel-in .26s ease-out; }
@keyframes ih-panel-in { from { opacity: 0; transform: translateY(6px); } }
.ih-quest__level { color: var(--violet-deep); font-weight: 700; font-size: .9375rem; position: relative; }
.ih-quest__panel h3 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem); margin: var(--s2) 0 var(--s4); max-width: 16ch; position: relative; }
.ih-quest__panel > p { color: var(--muted); max-width: 48ch; position: relative; }
.ih-quest__panel .ih-dl { margin-top: var(--s5); position: relative; font-size: .9375rem; }
.ih-quest__panel .ih-actions { margin-top: var(--s6); position: relative; }
.ih-quest__rings { position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; opacity: .35; pointer-events: none; }
.iatf .ih-quest__more { margin-top: var(--s7); }
.ih-quest__more a { color: #fff; border-bottom-color: var(--violet); }
.ih-quest__more a:hover, .ih-quest__more a:focus { color: var(--violet); }

.ih-why__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 3rem; }
@media (min-width: 768px) { .ih-why__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ih-why h3 { font-size: var(--fs-h3); font-weight: 800; font-stretch: 85%; line-height: 1.2; margin-bottom: .75rem; padding-top: 1rem; border-top: 3px solid var(--violet); }
.ih-why p { color: var(--muted); max-width: 40ch; }

.ih-team__grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); list-style: none; padding: 0; }
.ih-team__photo { width: 168px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--paper), 0 0 0 7px var(--violet); margin-bottom: 1.25rem; }
.ih-team h3 { font-size: 1.125rem; font-weight: 700; font-stretch: 90%; }
.ih-team p { color: var(--muted); font-size: .9375rem; }

.ih-news__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem 2rem; list-style: none; padding: 0; }
@media (min-width: 640px) { .ih-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .ih-news__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ih-post, .ih-post:hover, .ih-post:focus { display: block !important; color: var(--ink); }
.ih-post img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-panel); margin-bottom: 1rem; background: var(--mist); }
.ih-post time { display: block; font-size: var(--fs-small); color: var(--muted); margin-bottom: .35rem; }
.ih-post h3 { font-size: 1.1875rem; font-weight: 700; font-stretch: 88%; line-height: 1.3; margin-bottom: .5rem; }
.ih-post p { color: var(--muted); font-size: .9375rem; }
.ih-post:hover h3, .ih-post:focus h3 { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 3px; }

.ih-voices__track { display: grid; grid-auto-flow: column; grid-auto-columns: min(88%, 34rem); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 1rem; list-style: none; }
.ih-voices__track > li { scroll-snap-align: start; }
.ih-quote { background: var(--paper); border-radius: var(--r-panel); padding: 2rem; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; margin: 0; }
.ih-quote blockquote { margin: 0; font-size: 1.1875rem; line-height: 1.5; }
.ih-quote blockquote::before { content: "« "; color: var(--violet-deep); font-weight: 800; }
.ih-quote blockquote::after { content: " »"; color: var(--violet-deep); font-weight: 800; }
.ih-quote figcaption { display: flex; align-items: center; gap: .875rem; }
.ih-quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.ih-quote figcaption b { display: block; font-stretch: 90%; }
.ih-quote figcaption small { color: var(--muted); font-size: var(--fs-small); }

.ih-cta { background: var(--ink); color: #fff; position: relative; overflow: hidden !important; }
.ih-cta .ih-wrap { position: relative; z-index: 1; }
.iatf .ih-cta .ih-intro { color: #D9D3EC; }
.ih-cta .ih-actions { margin-top: 2rem; }
.ih-cta__rings { position: absolute; right: -180px; top: 50%; width: 560px; transform: translateY(-50%); opacity: .5; pointer-events: none; }
.ih-cta__rings circle { fill: none; stroke: var(--violet); stroke-width: 3; }

/* ==========================================================================
   Lumière et verre
   Les dégradés sont la « lumière » de la marque (violet IATF + flamme du logo).
   Le verre n'est utilisé que sur des éléments posés au-dessus d'un fond.
   ========================================================================== */
:root {
    --glow-violet: rgba(177, 96, 251, .42);
    --glow-flame: rgba(240, 138, 36, .30);
    --glass-light: rgba(251, 249, 254, .62);
    --glass-dark: rgba(255, 255, 255, .09);
    --glass-blur: blur(22px) saturate(170%);
    --glass-edge: linear-gradient(140deg, rgba(255,255,255,.85), rgba(255,255,255,.12) 38%, rgba(255,255,255,.04) 62%, rgba(255,255,255,.55));
    --flame-grad: linear-gradient(180deg, #FFA851 0%, #F08A24 100%);
}

/* Liseré « liquide » : bord lumineux en dégradé, porté par un pseudo-élément */
.ih-glass { position: relative; isolation: isolate; }
.ih-glass::after {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--glass-edge);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

/* ---------- Boutons : flamme bombée, verre sur fond sombre ---------- */
.ih-btn--flame {
    background: var(--flame-grad);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 0 rgba(160,70,0,.18), 0 8px 20px -6px rgba(240,138,36,.6);
}
.ih-btn--flame:hover, .ih-btn--flame:focus { background: linear-gradient(180deg, #FFB866 0%, #F59532 100%); }
.ih-btn--light {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.35);
    -webkit-backdrop-filter: var(--glass-blur);
            backdrop-filter: var(--glass-blur);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}

/* ---------- Navigation collante en verre ---------- */
.ih-header { position: sticky; top: var(--ih-header-offset, 0px); background: transparent; }
.ih-nav {
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: var(--glass-blur);
            backdrop-filter: var(--glass-blur);
    border-bottom-color: rgba(28, 24, 64, .08);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,.6);
}

/* ---------- Hero : halo qui dérive lentement ---------- */
.ih-hero { position: relative; isolation: isolate; }
.ih-hero::before {
    content: "";
    position: absolute; inset: -20% -10%;
    z-index: -1;
    background:
        radial-gradient(38% 50% at 82% 32%, var(--glow-violet), transparent 70%),
        radial-gradient(30% 40% at 70% 88%, var(--glow-flame), transparent 70%),
        radial-gradient(40% 55% at 0% 0%, rgba(110, 43, 196, .16), transparent 70%);
    animation: ih-drift 38s ease-in-out infinite alternate;
}
@keyframes ih-drift {
    to { transform: translate3d(-4%, 3%, 0) scale(1.06); }
}
.ih-facts {
    display: inline-flex !important;
    padding: var(--s4) var(--s5) !important;
    border: 0 !important;
    border-radius: 20px;
    background: var(--glass-light);
    -webkit-backdrop-filter: var(--glass-blur);
            backdrop-filter: var(--glass-blur);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 12px 32px -16px rgba(28,24,64,.35);
}

/* ---------- En-têtes des pages intérieures ---------- */
.ih-pagehead { isolation: isolate; }
.ih-pagehead::before {
    content: "";
    position: absolute; inset: 0;
    z-index: -1;
    background:
        radial-gradient(30% 70% at 88% 40%, rgba(177, 96, 251, .30), transparent 70%),
        radial-gradient(22% 50% at 74% 95%, rgba(240, 138, 36, .18), transparent 70%);
}

/* ---------- Bandeau « Quel métier visez-vous ? » ---------- */
.ih-quest {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(45% 55% at 92% 8%, rgba(177, 96, 251, .55), transparent 70%),
        radial-gradient(35% 45% at 2% 98%, rgba(240, 138, 36, .28), transparent 70%),
        radial-gradient(40% 50% at 45% 60%, rgba(110, 43, 196, .35), transparent 75%),
        linear-gradient(165deg, #1C1840 0%, #24195A 100%);
}
.ih-quest__domain label {
    background: rgba(255,255,255,.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.ih-quest__domain input:checked + label {
    background: var(--flame-grad);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 6px 18px -6px rgba(240,138,36,.7);
}
.ih-quest__panel {
    background: var(--glass-dark);
    color: #fff;
    border-radius: 24px;
    -webkit-backdrop-filter: blur(26px) saturate(160%);
            backdrop-filter: blur(26px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 30px 60px -30px rgba(0,0,0,.6);
}
.ih-quest__level { color: #D7B4FF; }
.ih-quest__panel > p { color: #DCD6EE; }
.ih-quest__panel .ih-dl dt { color: #D7B4FF; }
.ih-quest__panel .ih-btn--quiet { color: #fff; }
.ih-quest__panel .ih-btn--quiet:hover, .ih-quest__panel .ih-btn--quiet:focus { background: rgba(255,255,255,.12); color: #fff; }
.ih-quest__rings { opacity: .55; }
.ih-quest :focus-visible { outline-color: #D7B4FF; }

/* ---------- Pourquoi l'IATF : fond qui s'éclaire ---------- */
.ih-why { background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%); }

/* ---------- Témoignages en verre clair ---------- */
.ih-voices {
    background:
        radial-gradient(40% 60% at 85% 20%, rgba(177, 96, 251, .28), transparent 70%),
        radial-gradient(30% 50% at 10% 90%, rgba(240, 138, 36, .16), transparent 70%),
        var(--mist);
}
.ih-quote {
    background: var(--glass-light);
    border-radius: 20px;
    -webkit-backdrop-filter: var(--glass-blur);
            backdrop-filter: var(--glass-blur);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 16px 40px -24px rgba(28,24,64,.4);
}

/* ---------- Bandeau final ---------- */
.ih-cta {
    background:
        radial-gradient(40% 70% at 95% 50%, rgba(240, 138, 36, .30), transparent 70%),
        radial-gradient(50% 80% at 70% 0%, rgba(177, 96, 251, .45), transparent 70%),
        linear-gradient(120deg, #1C1840 0%, #2D1C6B 60%, #4A23A0 100%);
}

/* ---------- Boîtes de dialogue ---------- */
.ih-dialog { border-radius: 20px; }
.ih-dialog::backdrop {
    background: rgba(28, 24, 64, .45);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
            backdrop-filter: blur(8px) saturate(140%);
}

/* ---------- Catalogue des filières (page « Filières ») ---------- */
.ih-catalog__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s6); }
.ih-catalog__count { color: var(--muted); font-weight: 600; }

.ih-segment {
    display: inline-flex; flex-wrap: wrap; gap: 4px;
    padding: 5px;
    border: 0; margin: 0;
    border-radius: var(--r-pill);
    background: var(--glass-light);
    -webkit-backdrop-filter: var(--glass-blur);
            backdrop-filter: var(--glass-blur);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 30px -18px rgba(28,24,64,.45);
}
.ih-segment legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.ih-segment input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ih-segment label {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 40px; margin: 0; padding: 0 var(--s4);
    border-radius: var(--r-pill);
    font-weight: 600; font-size: .9375rem; color: var(--ink);
    cursor: pointer;
    transition: background-color .2s, color .2s;
}
.ih-segment label small { font-size: .8125rem; color: var(--muted); font-weight: 600; }
.ih-segment label:hover { background: rgba(110, 43, 196, .08); }
.ih-segment input:checked + label { background: var(--ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.ih-segment input:checked + label small { color: #CFC7EA; }
.ih-segment input:focus-visible + label { outline: 3px solid var(--violet-deep); outline-offset: 2px; }

.ih-catalog__grid { list-style: none; padding: 0; display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ih-card {
    position: relative;
    display: block; width: 100%;
    aspect-ratio: 4 / 5;
    padding: 0; border: 0;
    border-radius: 22px;
    overflow: hidden;
    text-align: left; color: #fff;
    font: inherit;
    cursor: pointer;
    /* fond de secours si la photo ne charge pas */
    background:
        radial-gradient(60% 50% at 80% 20%, rgba(177, 96, 251, .7), transparent 70%),
        radial-gradient(50% 40% at 10% 90%, rgba(240, 138, 36, .45), transparent 70%),
        linear-gradient(160deg, #2D1C6B, #1C1840);
    box-shadow: 0 24px 48px -32px rgba(28, 24, 64, .7);
    transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.ih-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.ih-card::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(28,24,64,0) 30%, rgba(28,24,64,.55) 55%, rgba(28,24,64,.95) 100%);
}
.iatf .ih-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: 6px; padding: var(--s5); }
.ih-card__domain { font-size: .875rem; font-weight: 700; color: #E2C9FF; }
.ih-card__title { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); font-weight: 800; font-stretch: 80%; line-height: 1.08; letter-spacing: -0.01em; }
.ih-card__jobs { font-size: .9375rem; color: #DCD6EE; line-height: 1.45; }
.iatf .ih-card__more {
    align-self: flex-start;
    margin-top: var(--s2);
    padding: 6px 14px;
    border-radius: var(--r-pill);
    font-size: .875rem; font-weight: 700;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.35);
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    opacity: .85;
    transition: opacity .25s, background-color .25s;
}
.ih-card:hover, .ih-card:focus-visible { transform: translateY(-4px); box-shadow: 0 34px 60px -30px rgba(28, 24, 64, .8); }
.ih-card:hover img, .ih-card:focus-visible img { transform: scale(1.05); }
.ih-card:hover .ih-card__more, .ih-card:focus-visible .ih-card__more { opacity: 1; background: rgba(255,255,255,.24); }
.ih-card:focus-visible { outline: 3px solid var(--violet-deep); outline-offset: 4px; }
.ih-card:focus:not(:focus-visible) { outline: none; }

/* Fiche détaillée : la photo sert d'en-tête */
.ih-sheet { width: min(100% - 2 * var(--gutter), 44rem); overflow: auto; }
.ih-dialog:focus, .ih-dialog:focus-visible { outline: none; }
.ih-sheet__media {
    position: relative;
    min-height: 240px;
    display: flex; align-items: flex-end;
    padding: var(--s6) var(--s5) var(--s5);
    color: #fff;
    background:
        radial-gradient(60% 60% at 85% 15%, rgba(177, 96, 251, .7), transparent 70%),
        linear-gradient(160deg, #2D1C6B, #1C1840);
    overflow: hidden;
}
.ih-sheet__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ih-sheet__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(28,24,64,.1) 0%, rgba(28,24,64,.92) 100%); }
.ih-sheet__media > div { position: relative; z-index: 2; }
.ih-sheet__media p { color: #E2C9FF; font-weight: 700; font-size: .9375rem; margin: 0 0 4px; }
.ih-sheet__media h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); max-width: 18ch; }
.ih-sheet .ih-close {
    position: absolute; top: var(--s4); right: var(--s4); z-index: 3;
    color: #fff;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.35);
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
}
.ih-sheet .ih-close:hover { background: rgba(255,255,255,.28); }
.ih-sheet h3 { font-size: 1rem; font-weight: 700; color: var(--violet-deep); margin-bottom: var(--s2); }
.ih-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.ih-chips li { padding: 6px 14px; border-radius: var(--r-pill); background: var(--mist); font-size: .9375rem; font-weight: 500; }

/* ---------- Sans flou disponible, ou transparence réduite : fonds opaques ---------- */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ih-nav { background: #fff; }
    .ih-facts, .ih-quote { background: #fff; }
    .ih-quest__panel { background: #2E2468; }
    .ih-btn--light { background: rgba(255,255,255,.08); }
}
@media (prefers-reduced-transparency: reduce) {
    .ih-nav { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
    .ih-facts, .ih-quote { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
    .ih-quest__panel { background: #2E2468; -webkit-backdrop-filter: none; backdrop-filter: none; }
    .ih-glass::after { display: none; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
    .ih-ring, .ih-node { animation: none; opacity: 1; transform: none; }
    .ih-emblem__photo img { transition: none; }
    .ih-quest__panel.is-active { animation: none; }
    .ih-hero::before { animation: none; }
    .ih-card, .ih-card img { transition: none; }
    .ih-card:hover, .ih-card:focus-visible { transform: none; }
    .ih-card:hover img, .ih-card:focus-visible img { transform: none; }
    .ih-btn[aria-busy="true"]::before { animation: none; border-right-color: currentColor; }
    .iatf a, .ih-header a, .ih-footer a { transition: none; }
}

/* ---------- Impression (confirmation de rendez-vous) ---------- */
@media print {
    .ih-header, .ih-footer, .ih-noprint { display: none !important; }
    .iatf { background: #fff; }
}

/* Catalogue sur mobile : sélecteur sur une ligne, affiches moins hautes */
@media (max-width: 639px) {
    .ih-catalog__bar { flex-direction: column; align-items: stretch; }
    .ih-segment { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; min-width: 0; scrollbar-width: none; }
    .ih-segment label { white-space: nowrap; flex: none; padding: 0 12px; }
    .ih-card { aspect-ratio: 1 / 1; }
}

/* ==========================================================================
   Équipe pédagogique
   ========================================================================== */
.ih-council {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(40% 70% at 85% 10%, rgba(177, 96, 251, .26), transparent 70%),
        radial-gradient(30% 60% at 10% 100%, rgba(240, 138, 36, .14), transparent 70%),
        var(--mist);
}
.ih-council__grid { list-style: none; padding: 0; display: grid; gap: var(--s7) var(--s6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.ih-council__item { text-align: center; }
.ih-council__portrait { position: relative; width: min(100%, 248px); aspect-ratio: 1; margin: 0 auto var(--s5); }
.ih-council__portrait svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.iatf .ih-council__portrait .ih-avatar { position: absolute; inset: 16%; width: auto; height: auto; box-shadow: 0 0 0 5px var(--flame); }
.ih-council__item h3 { font-size: 1.3125rem; font-weight: 800; font-stretch: 85%; line-height: 1.2; }
.ih-council__item p { color: var(--muted); margin-top: 4px; max-width: 30ch; margin-inline: auto; }

.ih-people { list-style: none; padding: 0; display: grid; gap: var(--s7) var(--s5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); }
.ih-person { text-align: center; }
.ih-person .ih-avatar { width: 148px; height: 148px; margin: 0 auto var(--s4); box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--violet); }
.ih-person h3 { font-size: 1.0625rem; font-weight: 700; font-stretch: 90%; line-height: 1.3; }
.ih-person p { color: var(--muted); font-size: .9375rem; margin-top: 4px; }

.iatf .ih-avatar {
    position: relative; isolation: isolate;
    display: grid; place-items: center;
    border-radius: 50%;
    overflow: hidden;
    background:
        radial-gradient(60% 60% at 75% 20%, rgba(177, 96, 251, .9), transparent 70%),
        linear-gradient(160deg, #6E2BC4, #1C1840);
    color: #fff;
    font-weight: 800; font-stretch: 80%; font-size: 2.25rem; letter-spacing: .02em;
}
.ih-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Pages éditoriales : articles, FAQ, galerie, partenaires
   ========================================================================== */

/* Article (blog, actualité) */
.ih-article { max-width: 46rem; margin-inline: auto; }
.ih-article__back { display: inline-flex !important; align-items: center; gap: 6px; color: var(--violet-deep); font-weight: 700; margin-bottom: var(--s5); }
.ih-article__back:hover { color: var(--ink); }
.ih-article h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
.ih-article time { display: block; color: var(--muted); margin-top: var(--s3); }
.ih-article__cover { width: 100%; border-radius: 20px; margin-block: var(--s6); background: var(--mist); box-shadow: 0 30px 60px -40px rgba(28,24,64,.6); }
.ih-content { font-size: 1.125rem; line-height: 1.7; }
.ih-content > * + * { margin-top: 1em; }
.ih-content h2, .ih-content h3 { font-weight: 800; font-stretch: 85%; line-height: 1.2; margin-top: 1.6em; }
.ih-content a { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 3px; }
.ih-content img { max-width: 100%; height: auto; border-radius: var(--r-panel); }
.ih-content ul, .ih-content ol { padding-left: 1.3rem; }
.ih-content blockquote { margin: 0; padding-left: var(--s5); border-left: 3px solid var(--violet); color: var(--muted); }

/* FAQ : <details> natif */
.ih-faq { max-width: 50rem; list-style: none; padding: 0; }
.ih-faq details { border-bottom: 1px solid var(--rule); }
.ih-faq summary {
    display: flex; justify-content: space-between; align-items: center; gap: var(--s5);
    padding: var(--s5) 0;
    font-size: 1.1875rem; font-weight: 700; font-stretch: 90%; line-height: 1.35;
    cursor: pointer; list-style: none;
}
.ih-faq summary::-webkit-details-marker { display: none; }
.ih-faq summary::after {
    content: ""; flex: none;
    width: 36px; height: 36px; border-radius: 50%;
    background:
        linear-gradient(var(--violet-deep), var(--violet-deep)) center / 14px 2px no-repeat,
        linear-gradient(var(--violet-deep), var(--violet-deep)) center / 2px 14px no-repeat,
        var(--mist);
    transition: transform .25s;
}
.ih-faq details[open] summary::after { transform: rotate(45deg); }
.ih-faq summary:hover { color: var(--violet-deep); }
.ih-faq summary:focus-visible { outline: 3px solid var(--violet-deep); outline-offset: 4px; border-radius: 4px; }
.ih-faq details > div { padding: 0 var(--s8) var(--s5) 0; color: var(--muted); max-width: 62ch; }

/* Galerie */
.ih-gallery { list-style: none; padding: 0; columns: 3 280px; column-gap: var(--s4); }
.ih-gallery li { break-inside: avoid; margin-bottom: var(--s4); }
.ih-gallery button {
    display: block; width: 100%; padding: 0; border: 0;
    border-radius: 16px; overflow: hidden;
    background: var(--mist); cursor: zoom-in;
    box-shadow: 0 20px 40px -30px rgba(28,24,64,.6);
}
.ih-gallery img { width: 100%; height: auto; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.ih-gallery button:hover img, .ih-gallery button:focus-visible img { transform: scale(1.04); }
.ih-gallery button:focus-visible { outline: 3px solid var(--violet-deep); outline-offset: 3px; }
.ih-lightbox { width: min(100% - 2 * var(--gutter), 72rem); background: transparent; box-shadow: none; overflow: visible; }
.ih-lightbox img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 16px; }
.ih-lightbox .ih-close { position: absolute; top: -56px; right: 0; color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); }
.ih-lightbox p { color: #fff; text-align: center; margin-top: var(--s3); }

/* Grille de blocs texte (ressources, collaborations) */
.ih-features { list-style: none; padding: 0; display: grid; gap: var(--s7) var(--s6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ih-features h3 { font-size: var(--fs-h3); font-weight: 800; font-stretch: 85%; line-height: 1.2; margin-bottom: var(--s3); padding-top: var(--s4); border-top: 3px solid var(--violet); }
.ih-features p { color: var(--muted); }

/* Logos des partenaires */
.ih-logos { list-style: none; padding: 0; display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.ih-logos li {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s3);
    min-height: 160px; padding: var(--s5);
    border-radius: 20px;
    background: var(--glass-light);
    -webkit-backdrop-filter: var(--glass-blur);
            backdrop-filter: var(--glass-blur);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 14px 30px -22px rgba(28,24,64,.45);
    text-align: center;
}
.ih-logos img { max-height: 72px; max-width: 100%; width: auto; object-fit: contain; }
.ih-logos span { font-weight: 600; font-size: .9375rem; }

@media (prefers-reduced-motion: reduce) {
    .ih-faq summary::after, .ih-gallery img { transition: none; }
}
.ih-gallery button.is-broken {
    aspect-ratio: 4 / 3; cursor: default;
    background:
        radial-gradient(60% 60% at 80% 20%, rgba(177, 96, 251, .45), transparent 70%),
        radial-gradient(50% 50% at 10% 90%, rgba(240, 138, 36, .25), transparent 70%),
        var(--mist);
}

/* ---------- Bannière des pages intérieures : dégradé clair et lumineux ---------- */
.ih-pagehead {
    border-bottom: 0;
    background:
        radial-gradient(55% 110% at 92% 0%, rgba(177, 96, 251, .55), transparent 62%),
        radial-gradient(38% 85% at 78% 115%, rgba(240, 138, 36, .38), transparent 62%),
        radial-gradient(45% 90% at 0% 100%, rgba(255, 255, 255, .7), transparent 70%),
        linear-gradient(115deg, #F6F0FF 0%, #ECDFFF 45%, #DDC6FF 100%);
}
.ih-pagehead::before { display: none; }
.ih-pagehead .ih-intro { color: #4A4563; }
.ih-pagehead .ih-rings circle { stroke: var(--violet-deep); }
.ih-pagehead .ih-rings .ih-rings__core { stroke: var(--flame); }
.ih-pagehead .ih-btn--line { background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
