/* =====================================================================
   AZORLEARN — PAGES DE L'ACADÉMIE
   Qui sommes-nous · Méthode pédagogique · Certification · Partenariats
   Actualités · Galerie · FAQ
   Police : Lexend — styles limités à .ak-main (en-tête et pied de page intacts)
   ===================================================================== */

.ak-main {
    --ak-blue: #0b5fe0;
    --ak-blue-2: #2f86f5;
    --ak-blue-dark: #0a47b8;
    --ak-sky: #43b9f2;
    --ak-amber: #f5a524;
    --ak-navy: #0a1a3a;
    --ak-ink: #13234a;
    --ak-text: #3b4a6b;
    --ak-muted: #6a7a98;
    --ak-line: #e4ebf6;
    --ak-soft: #f3f7fe;
    --ak-shadow: 0 12px 34px rgba(10, 26, 58, .08);
    --ak-shadow-lg: 0 24px 56px rgba(10, 26, 58, .15);
    --ak-font: "Lexend", "Segoe UI", system-ui, Arial, sans-serif;

    display: block;
    overflow-x: clip;
    color: var(--ak-text);
    background: #fff;
    font-family: var(--ak-font);
    font-size: var(--t-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.ak-main *, .ak-main *::before, .ak-main *::after { box-sizing: border-box; }
/* Réinitialisations à faible priorité (:where) : les classes des composants l'emportent toujours */
.ak-main :where(h1, h2, h3, h4, p, ul, ol, figure, blockquote) { margin: 0; padding: 0; }
.ak-main :where(ul, ol) { list-style: none; }
.ak-main :where(img) { display: block; max-width: 100%; height: auto; }
.ak-main :where(a) { color: inherit; text-decoration: none; }
.ak-main :where(button, input, select, textarea) { font-family: inherit; font-size: inherit; color: inherit; }
.ak-main :where(h1, h2, h3, h4) { font-family: var(--ak-font); color: var(--ak-navy); letter-spacing: -.025em; }
.ak-main :where(h2) { font-size: var(--t-h2); font-weight: 800; line-height: 1.2; }
.ak-main :focus-visible { outline: 3px solid rgba(11, 95, 224, .4); outline-offset: 3px; }

.ak-main .ak-ico { width: 1.15em; height: 1.15em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.ak-wrap { width: min(1320px, calc(100% - 48px)); margin-inline: auto; }
.ak-section { padding: 68px 0; }
.ak-section--soft { background: var(--ak-soft); }
.ak-section--tight { padding: 48px 0; }

/* ---------- Apparition progressive ---------- */

.ak-js .ak-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.ak-js .ak-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Boutons ---------- */

.ak-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 22px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ak-blue), var(--ak-blue-2));
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(11, 95, 224, .26);
    transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s;
}
.ak-btn .ak-ico { transition: transform .25s; }
.ak-btn:hover { transform: translateY(-2px); }
.ak-btn:hover .ak-ico:last-child { transform: translateX(3px); }
.ak-btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.ak-btn--amber { background: var(--ak-amber); color: #1a1300; box-shadow: 0 10px 24px rgba(245, 165, 36, .3); }
.ak-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; box-shadow: none; }
.ak-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.ak-btn--outline { background: #fff; border-color: #c9dbf8; color: var(--ak-blue); box-shadow: none; }
.ak-btn--outline:hover { border-color: var(--ak-blue); }

.ak-link { display: inline-flex; align-items: center; gap: 7px; color: var(--ak-blue); font-size: 14.5px; font-weight: 700; }
.ak-link .ak-ico { transition: transform .25s; }
.ak-link:hover .ak-ico { transform: translateX(4px); }

/* ---------- Titres ---------- */

.ak-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    padding: 6px 13px;
    border-radius: 999px;
    background: #e8f1ff;
    color: var(--ak-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.ak-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.ak-head { max-width: 720px; margin-bottom: 32px; }
.ak-head--center { margin-inline: auto; text-align: center; }
.ak-head p { margin-top: 8px; color: var(--ak-muted); font-size: 16px; }
.ak-head h2 span, .ak-grad { background: linear-gradient(90deg, var(--ak-blue), var(--ak-sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =====================================================================
   HERO DE PAGE
   ===================================================================== */

.ak-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 0 52px;
    background: linear-gradient(150deg, #eef5ff 0%, #ffffff 60%, #f6faff 100%);
    border-bottom: 1px solid var(--ak-line);
}
.ak-hero__grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(11, 95, 224, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 95, 224, .05) 1px, transparent 1px);
    background-size: 52px 52px;
    -webkit-mask-image: radial-gradient(circle at 75% 30%, #000, transparent 70%);
            mask-image: radial-gradient(circle at 75% 30%, #000, transparent 70%);
    pointer-events: none;
}
.ak-hero__inner { position: relative; display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
.ak-hero--img .ak-hero__inner { grid-template-columns: 1.1fr .9fr; }
.ak-hero__text { max-width: 720px; }
.ak-hero:not(.ak-hero--img) .ak-hero__text { margin-inline: auto; text-align: center; }
.ak-hero:not(.ak-hero--img) .ak-crumb { justify-content: center; }

.ak-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--ak-muted); font-size: 13px; font-weight: 600; }
.ak-crumb a { display: inline-flex; align-items: center; gap: 5px; color: var(--ak-ink); }
.ak-crumb a:hover { color: var(--ak-blue); }
.ak-crumb [aria-current] { color: var(--ak-blue); }

.ak-hero h1 { margin: 4px 0 14px; font-size: var(--t-h1); font-weight: 800; line-height: 1.12; }
.ak-hero h1 span { display: block; background: linear-gradient(90deg, var(--ak-blue), var(--ak-sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ak-hero__lead { max-width: 600px; color: var(--ak-text); font-size: var(--t-lead); line-height: 1.7; }
.ak-hero:not(.ak-hero--img) .ak-hero__lead { margin-inline: auto; }

.ak-hero__visual { position: relative; isolation: isolate; padding: 14px 14px 14px 0; }
.ak-hero__visual::before { content: ""; position: absolute; top: 0; right: 0; width: 60%; height: 70%; border-radius: 26px; background: linear-gradient(135deg, var(--ak-blue), var(--ak-sky)); z-index: -1; }
.ak-hero__visual img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 24px 24px 24px 80px; box-shadow: var(--ak-shadow-lg); }

.ak-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ak-hero:not(.ak-hero--img) .ak-hero__chips { justify-content: center; }
.ak-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--ak-line); color: var(--ak-ink); font-size: 13.5px; font-weight: 700; box-shadow: 0 6px 16px rgba(10, 26, 58, .05); }
.ak-chip > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--c, #0b5fe0) 13%, #fff); color: var(--c, #0b5fe0); font-size: 15px; }

/* =====================================================================
   GRILLES ET CARTES
   ===================================================================== */

.ak-grid { display: grid; gap: 16px; }
.ak-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ak-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ak-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ak-card {
    position: relative;
    padding: 22px;
    border: 1px solid var(--ak-line);
    border-radius: 18px;
    background: #fff;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.ak-card:hover { transform: translateY(-5px); box-shadow: var(--ak-shadow); border-color: transparent; }
.ak-card__icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--c, #0b5fe0) 13%, #fff);
    color: var(--c, #0b5fe0);
    font-size: 22px;
    transition: transform .3s, background .3s, color .3s;
}
.ak-card:hover .ak-card__icon { transform: rotate(-8deg); background: var(--c, #0b5fe0); color: #fff; }
.ak-card h3 { margin-bottom: 6px; font-size: var(--t-h3); font-weight: 800; line-height: 1.3; }
.ak-card p { color: var(--ak-muted); font-size: var(--t-text); line-height: 1.6; }

/* Carte horizontale (icône à gauche) */
.ak-card--row { display: grid; grid-template-columns: 46px 1fr; grid-template-rows: auto 1fr; column-gap: 14px; align-items: start; }
.ak-card--row .ak-card__icon { margin: 0; grid-row: span 2; }

/* Bandeau coloré en haut de la carte */
.ak-card--top::before { content: ""; position: absolute; left: 22px; top: 0; width: 46px; height: 3px; border-radius: 0 0 3px 3px; background: var(--c, #0b5fe0); }

/* ---------- Bloc texte + image ---------- */

.ak-split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.ak-split--rev .ak-split__media { order: -1; }
.ak-split__text h2 { margin-bottom: 14px; }
.ak-split__text > p { margin-bottom: 14px; color: var(--ak-text); font-size: 16px; }
.ak-split__media { position: relative; }
.ak-split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: var(--ak-shadow-lg); }
.ak-split__badge {
    position: absolute;
    left: -18px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 10px;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--ak-shadow-lg);
}
.ak-split__badge > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #fff1d6; color: #b06a00; font-size: 20px; }
.ak-split__badge strong { display: block; color: var(--ak-ink); font-size: 14.5px; font-weight: 800; line-height: 1.2; }
.ak-split__badge small { color: var(--ak-muted); font-size: 12px; }

/* ---------- Liste à puces cochées ---------- */

.ak-checks { display: grid; gap: 10px; margin: 18px 0 24px; }
.ak-checks li { display: flex; align-items: flex-start; gap: 10px; color: var(--ak-ink); font-size: 15px; font-weight: 600; line-height: 1.5; }
.ak-checks li > span { width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; margin-top: 1px; border-radius: 50%; background: #17a37a; color: #fff; }
.ak-checks .ak-ico { width: 13px; height: 13px; stroke-width: 3; }

/* ---------- Chiffres clés ---------- */

.ak-stats {
    padding: 44px 0;
    background:
        radial-gradient(circle at 10% 0%, rgba(67, 185, 242, .4), transparent 45%),
        linear-gradient(110deg, #0a1a3a 0%, #0b3f93 60%, #0b5fe0 100%);
}
.ak-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ak-stat { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.ak-stat > span { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 13px; background: #fff; color: var(--c, #0b5fe0); font-size: 21px; }
.ak-stat strong { display: block; color: #fff; font-size: 26px; font-weight: 800; line-height: 1.1; }
.ak-stat small { display: block; color: #c5d6f5; font-size: 13.5px; }

/* ---------- Étapes ---------- */

.ak-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.ak-steps::before { content: ""; position: absolute; top: 40px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, #b9cff3 0 10px, transparent 10px 18px); }
.ak-step { position: relative; padding: 20px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--ak-line); box-shadow: var(--ak-shadow); text-align: center; }
.ak-step__num { position: absolute; top: 12px; right: 14px; color: #dbe7fb; font-size: 28px; font-weight: 800; line-height: 1; }
.ak-step__icon { position: relative; width: 44px; height: 44px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 50%; background: linear-gradient(135deg, var(--ak-blue), var(--ak-sky)); color: #fff; font-size: 19px; box-shadow: 0 0 0 6px #fff, 0 10px 22px rgba(11, 95, 224, .28); }
.ak-step h3 { margin-bottom: 4px; font-size: 16px; font-weight: 800; }
.ak-step p { color: var(--ak-muted); font-size: 14px; line-height: 1.55; }

/* ---------- Frise chronologique ---------- */

.ak-timeline { position: relative; display: grid; gap: 14px; max-width: 860px; margin: 0 auto; }
.ak-timeline::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--ak-blue), var(--ak-sky)); opacity: .35; }
.ak-tl { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.ak-tl__dot { position: relative; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid var(--ak-blue); color: var(--ak-blue); font-size: 19px; }
.ak-tl__body { padding: 16px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--ak-line); }
.ak-tl__body small { color: var(--ak-blue); font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ak-tl__body h3 { margin: 2px 0 4px; font-size: 16.5px; font-weight: 800; }
.ak-tl__body p { color: var(--ak-muted); font-size: 14.5px; }

/* ---------- Citation ---------- */

.ak-quote {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 34px;
    border-radius: 22px;
    background: linear-gradient(120deg, #eaf3ff, #f7fbff);
    border: 1px solid var(--ak-line);
    text-align: center;
}
.ak-quote p { color: var(--ak-ink); font-size: clamp(18px, 1.8vw, 23px); font-weight: 700; line-height: 1.45; }
.ak-quote footer { margin-top: 12px; color: var(--ak-muted); font-size: 14px; }

/* ---------- Attestation dessinée ---------- */

.ak-diploma { width: 100%; max-width: 420px; margin: 0 auto; perspective: 900px; }
.ak-diploma__paper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 26px 22px;
    border-radius: 16px;
    background: #fff;
    border: 10px solid #fff;
    outline: 2px solid #f0d49c;
    outline-offset: -18px;
    box-shadow: 0 26px 56px rgba(120, 70, 0, .18);
    transform: rotateY(-8deg) rotateZ(1.5deg);
    transition: transform .6s;
}
.ak-diploma:hover .ak-diploma__paper { transform: none; }
.ak-diploma__brand { display: inline-flex; align-items: center; gap: 7px; color: #1255a6; font-size: 16px; font-weight: 800; }
.ak-diploma__brand img { width: 26px; height: 26px; }
.ak-diploma__label { color: #a86200; font-size: 10.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.ak-diploma__name { margin: 4px 0; color: var(--ak-navy); font-family: "Caveat", cursive; font-size: 34px; font-weight: 700; line-height: 1; }
.ak-diploma__course { color: var(--ak-text); font-size: 13px; text-align: center; }
.ak-diploma__course strong { color: var(--ak-ink); }
.ak-diploma__foot { width: 100%; display: flex; align-items: flex-end; justify-content: space-between; margin-top: 12px; }
.ak-diploma__sign { padding-top: 3px; border-top: 1.5px solid #c9d3e3; color: var(--ak-muted); font-family: "Caveat", cursive; font-size: 19px; }
.ak-diploma__seal { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, #ffc461, #f0892b); color: #fff; font-size: 27px; box-shadow: 0 8px 18px rgba(240, 137, 43, .35), inset 0 0 0 4px rgba(255, 255, 255, .35); }

/* ---------- Partenaire à la une ---------- */

.ak-partner {
    display: grid;
    grid-template-columns: 340px 1fr;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--ak-line);
    box-shadow: var(--ak-shadow);
}
.ak-partner__logo { display: grid; place-items: center; padding: 28px; background: var(--ak-soft); border-right: 1px solid var(--ak-line); }
.ak-partner__logo img { max-height: 160px; width: auto; border-radius: 12px; object-fit: contain; }
.ak-partner__body { padding: 30px 34px; }
.ak-partner__tag { display: inline-flex; align-items: center; gap: 6px; color: #0f8a4f; font-size: 13px; font-weight: 800; }
.ak-partner__body h3 { margin: 6px 0 4px; font-size: 22px; font-weight: 800; }
.ak-partner__type { color: var(--ak-muted); font-size: 14.5px; }
.ak-partner__body > p { margin-top: 12px; font-size: 15px; }
.ak-partner__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 16px 0 20px; }
.ak-partner__meta li { display: flex; align-items: center; gap: 9px; color: var(--ak-ink); font-size: 14px; font-weight: 600; }
.ak-partner__meta li > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #e8f1ff; color: var(--ak-blue); font-size: 16px; }

/* ---------- Formulaire ---------- */

.ak-form { padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--ak-line); box-shadow: var(--ak-shadow); }
.ak-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ak-field { display: grid; gap: 6px; }
.ak-field--full { grid-column: 1 / -1; }
.ak-field label { color: var(--ak-ink); font-size: 13.5px; font-weight: 700; }
.ak-field input, .ak-field select, .ak-field textarea {
    width: 100%;
    padding: 0 16px;
    height: 46px;
    border: 1.5px solid var(--ak-line);
    border-radius: 12px;
    background: var(--ak-soft);
    font-size: 14.5px;
    outline: none;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.ak-field textarea { height: 110px; padding: 12px 16px; resize: vertical; }
.ak-field input:focus, .ak-field select:focus, .ak-field textarea:focus { border-color: var(--ak-blue); background: #fff; box-shadow: 0 0 0 4px rgba(11, 95, 224, .1); }
.ak-form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.ak-form__note { color: var(--ak-muted); font-size: 12.5px; }
.ak-form__msg { margin-top: 10px; font-size: 14px; font-weight: 600; }
.ak-form__msg.is-ok { color: #0f8a4f; }
.ak-form__msg.is-error { color: #c2410c; }

/* =====================================================================
   FILTRES (actualités, galerie, FAQ)
   ===================================================================== */

.ak-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; }
.ak-filter {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 16px;
    border: 1.5px solid var(--ak-line);
    border-radius: 999px;
    background: #fff;
    color: var(--ak-ink);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .25s, color .25s, border-color .25s;
}
.ak-filter small { padding: 1px 7px; border-radius: 999px; background: var(--ak-soft); color: var(--ak-muted); font-size: 11.5px; }
.ak-filter:hover { border-color: var(--ak-blue); color: var(--ak-blue); }
.ak-filter.is-active { background: var(--ak-blue); border-color: var(--ak-blue); color: #fff; }
.ak-filter.is-active small { background: rgba(255, 255, 255, .2); color: #fff; }

.ak-is-hidden { display: none !important; }
@keyframes akPop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.ak-pop { animation: akPop .45s ease both; }

/* =====================================================================
   ACTUALITÉS
   ===================================================================== */

.ak-featured {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    overflow: hidden;
    margin-bottom: 26px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--ak-line);
    box-shadow: var(--ak-shadow);
}
.ak-featured__media { position: relative; min-height: 300px; }
.ak-featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ak-featured__body { display: flex; flex-direction: column; justify-content: center; padding: 30px 34px; }
.ak-featured__body h2 { margin: 10px 0 10px; font-size: clamp(21px, 2vw, 27px); }
.ak-featured__body p { margin-bottom: 18px; color: var(--ak-muted); font-size: 15px; }

.ak-news__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.ak-news {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--ak-line);
    box-shadow: 0 8px 22px rgba(10, 26, 58, .05);
    transition: transform .3s, box-shadow .3s;
}
.ak-news:hover { transform: translateY(-6px); box-shadow: var(--ak-shadow-lg); }
.ak-news__media { position: relative; height: 170px; overflow: hidden; }
.ak-news__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.ak-news:hover .ak-news__media img { transform: scale(1.06); }
.ak-news__body { flex: 1; display: flex; flex-direction: column; padding: 16px 18px 18px; }
.ak-news__body h3 { margin: 8px 0 6px; font-size: 16.5px; font-weight: 800; line-height: 1.35; }
.ak-news__body p { flex: 1; color: var(--ak-muted); font-size: 14px; line-height: 1.55; }
.ak-news__body .ak-link { margin-top: 12px; }

.ak-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--ak-muted); font-size: 12.5px; font-weight: 600; }
.ak-meta span { display: inline-flex; align-items: center; gap: 5px; }
.ak-tag { padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c, #0b5fe0) 12%, #fff); color: var(--c, #0b5fe0); font-size: 12px; font-weight: 800; }

/* Fenêtre de lecture */
.ak-modal {
    position: fixed;
    inset: 0;
    z-index: 200100;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(5, 14, 36, .62);
    -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.ak-modal.is-open { opacity: 1; visibility: visible; }
.ak-modal__box {
    position: relative;
    width: min(760px, 100%);
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 40px 90px rgba(0, 0, 0, .35);
    transform: translateY(20px) scale(.97);
    transition: transform .4s cubic-bezier(.2, .9, .25, 1.1);
}
.ak-modal.is-open .ak-modal__box { transform: none; }
.ak-modal__box img { width: 100%; height: 260px; object-fit: cover; }
.ak-modal__body { padding: 24px 30px 30px; }
.ak-modal__body h2 { margin: 10px 0 12px; font-size: clamp(21px, 2.2vw, 27px); }
.ak-modal__body p + p { margin-top: 12px; }
.ak-modal__body p { color: var(--ak-text); font-size: 15.5px; }
.ak-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    color: var(--ak-navy);
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
    transition: transform .3s;
}
.ak-modal__close:hover { transform: rotate(90deg); }

/* =====================================================================
   GALERIE
   ===================================================================== */

.ak-gal { columns: 4 240px; column-gap: 14px; }
.ak-gal__item {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 14px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    background: #dbe8ff;
    cursor: zoom-in;
    break-inside: avoid;
    box-shadow: 0 8px 22px rgba(10, 26, 58, .07);
}
.ak-gal__item img { width: 100%; height: auto; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.ak-gal__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 22, 51, .78)); opacity: .9; transition: opacity .3s; }
.ak-gal__item:hover img { transform: scale(1.06); }
.ak-gal__cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; color: #fff; text-align: left; }
.ak-gal__cap strong { display: block; font-size: 14.5px; font-weight: 800; line-height: 1.3; }
.ak-gal__cap small { font-size: 12px; opacity: .85; }
.ak-gal__zoom { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--ak-blue); font-size: 18px; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .3s; }
.ak-gal__item:hover .ak-gal__zoom, .ak-gal__item:focus-visible .ak-gal__zoom { opacity: 1; transform: none; }

.ak-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200100;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 24px;
    background: rgba(4, 12, 32, .9);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.ak-lightbox.is-open { opacity: 1; visibility: visible; }
.ak-lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.ak-lightbox figure img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transition: opacity .2s; }
.ak-lightbox figcaption { color: #fff; font-size: 15.5px; font-weight: 700; text-align: center; }
.ak-lightbox figcaption small { display: block; color: #b8c8e6; font-size: 13px; font-weight: 500; }
.ak-lb-btn { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 20px; cursor: pointer; transition: background .25s; }
.ak-lb-btn:hover { background: rgba(255, 255, 255, .25); }
.ak-lb-close { position: absolute; top: 18px; right: 18px; }

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

.ak-faq-search { position: relative; max-width: 560px; margin: 22px auto 0; }
.ak-faq-search input {
    width: 100%;
    height: 54px;
    padding: 0 20px 0 50px;
    border: 1.5px solid var(--ak-line);
    border-radius: 999px;
    background: #fff;
    font-size: 15px;
    outline: none;
    box-shadow: 0 10px 26px rgba(10, 26, 58, .07);
    transition: border-color .2s, box-shadow .2s;
}
.ak-faq-search input:focus { border-color: var(--ak-blue); box-shadow: 0 0 0 4px rgba(11, 95, 224, .12); }
.ak-faq-search .ak-ico { position: absolute; left: 19px; top: 50%; transform: translateY(-50%); color: var(--ak-blue); font-size: 19px; pointer-events: none; }

.ak-faq { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; }
.ak-faq__side { position: sticky; top: 110px; display: grid; gap: 6px; }
.ak-faq__tab {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 11px 14px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: transparent;
    color: var(--ak-ink);
    font-size: 14.5px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
}
.ak-faq__tab > span { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--c, #0b5fe0) 12%, #fff); color: var(--c, #0b5fe0); font-size: 16px; }
.ak-faq__tab small { margin-left: auto; color: var(--ak-muted); font-size: 12px; }
.ak-faq__tab:hover { background: var(--ak-soft); }
.ak-faq__tab.is-active { background: #fff; border-color: var(--ak-line); box-shadow: var(--ak-shadow); color: var(--ak-blue); }

.ak-faq__group + .ak-faq__group { margin-top: 26px; }
.ak-faq__group h3 { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; font-size: 17px; font-weight: 800; }
.ak-faq__group h3 .ak-ico { color: var(--c, #0b5fe0); }
.ak-faq__list { display: grid; gap: 9px; }

.ak-acc { border: 1px solid var(--ak-line); border-radius: 14px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.ak-acc.is-open { border-color: #b8d0f7; box-shadow: var(--ak-shadow); }
.ak-acc__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 18px;
    border: 0;
    background: none;
    color: var(--ak-ink);
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
}
.ak-acc__q > span:last-child { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border-radius: 50%; background: #e8f1ff; color: var(--ak-blue); font-size: 16px; transition: transform .35s, background .35s, color .35s; }
.ak-acc.is-open .ak-acc__q > span:last-child { transform: rotate(135deg); background: var(--ak-blue); color: #fff; }
.ak-acc__a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.ak-acc__a p { padding: 0 18px 16px; color: var(--ak-text); font-size: 14.5px; line-height: 1.7; }
.ak-acc mark { padding: 0 2px; border-radius: 3px; background: #fff1c2; color: inherit; }

.ak-empty { padding: 36px 20px; border: 2px dashed var(--ak-line); border-radius: 18px; color: var(--ak-muted); text-align: center; }
.ak-empty .ak-ico { width: 44px; height: 44px; margin: 0 auto 8px; color: var(--ak-blue); }

/* ---------- Encadré contact ---------- */

.ak-help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 22px 26px;
    border-radius: 20px;
    background: linear-gradient(120deg, #eaf3ff, #f7fbff);
    border: 1px solid var(--ak-line);
}
.ak-help__text { display: flex; align-items: center; gap: 14px; }
.ak-help__text > span { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 14px; background: var(--ak-blue); color: #fff; font-size: 22px; }
.ak-help__text strong { display: block; color: var(--ak-ink); font-size: 17px; font-weight: 800; }
.ak-help__text small { color: var(--ak-muted); font-size: 14px; }
.ak-help__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* =====================================================================
   APPEL À L'ACTION
   ===================================================================== */

.ak-cta {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 0%, rgba(67, 185, 242, .45), transparent 45%),
        linear-gradient(105deg, #0a1a3a 0%, #0b3f93 55%, #0b5fe0 100%);
    color: #fff;
}
.ak-cta__ring { position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .06); pointer-events: none; }
.ak-cta__inner { position: relative; display: flex; align-items: center; gap: 22px; padding: 40px 0; }
.ak-cta__icon { width: 58px; height: 58px; flex: 0 0 58px; display: grid; place-items: center; border-radius: 17px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); font-size: 27px; }
.ak-cta__text { flex: 1; min-width: 0; }
.ak-cta__text h2 { color: #fff; font-size: var(--t-cta); }
.ak-cta__text p { margin-top: 4px; color: #d7e6ff; font-size: 15.5px; }
.ak-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

@media (max-width: 1100px) {
    .ak-hero--img .ak-hero__inner { grid-template-columns: 1fr; }
    .ak-hero__visual { max-width: 560px; }
    .ak-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ak-split { grid-template-columns: 1fr; gap: 32px; }
    .ak-split--rev .ak-split__media { order: 0; }
    .ak-split__media { max-width: 620px; }
    .ak-steps { grid-template-columns: repeat(2, 1fr); }
    .ak-steps::before { display: none; }
    .ak-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .ak-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ak-featured { grid-template-columns: 1fr; }
    .ak-featured__media { min-height: 240px; }
    .ak-partner { grid-template-columns: 1fr; }
    .ak-partner__logo { border-right: 0; border-bottom: 1px solid var(--ak-line); }
    .ak-faq { grid-template-columns: 1fr; gap: 20px; }
    /* Rubriques : toutes visibles, sur 2 colonnes (plus de défilement caché) */
    .ak-faq__side { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
    .ak-faq__tab { width: 100%; min-width: 0; padding: 8px 12px 8px 8px; border-color: var(--ak-line); background: #fff; }
    .ak-faq__tab small { display: inline; }
    .ak-cta__inner { flex-direction: column; text-align: center; }
    .ak-cta__actions { justify-content: center; }
}

@media (max-width: 760px) {

    .ak-wrap { width: calc(100% - 32px); }
    .ak-section { padding: 46px 0; }
    .ak-section--tight { padding: 34px 0; }
    .ak-head { margin-bottom: 22px; }
    .ak-head p { font-size: 15px; }

    .ak-hero { padding: 26px 0 34px; }
    .ak-hero__inner { gap: 26px; }
    .ak-hero__visual img { border-radius: 18px 18px 18px 56px; }

    .ak-grid--2, .ak-grid--3 { grid-template-columns: 1fr; gap: 10px; }
    .ak-grid--4 { gap: 10px; }
    .ak-card { padding: 16px; border-radius: 15px; }
    .ak-card__icon { width: 40px; height: 40px; font-size: 19px; border-radius: 12px; margin-bottom: 10px; }
    .ak-card--row { grid-template-columns: 40px 1fr; }

    .ak-split__badge { left: 10px; bottom: 10px; }
    .ak-steps { gap: 10px; }
    .ak-step { padding: 16px 12px; }
    .ak-step h3 { font-size: 14.5px; }
    .ak-step p { font-size: 12.5px; }

    .ak-stats { padding: 30px 0; }
    .ak-stats__grid { gap: 8px; }
    .ak-stat { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
    .ak-stat > span { width: 36px; height: 36px; flex-basis: 36px; font-size: 17px; }
    .ak-stat strong { font-size: 21px; }
    .ak-stat small { font-size: 12px; }

    .ak-quote { padding: 22px 18px; }
    .ak-partner__body { padding: 22px 18px; }
    .ak-partner__logo { padding: 18px; }
    .ak-partner__logo img { max-height: 110px; }
    .ak-form { padding: 18px; }
    .ak-form__grid { grid-template-columns: 1fr; }
    .ak-form__foot .ak-btn { width: 100%; }

    /* Filtres : tous visibles, sur plusieurs lignes */
    .ak-filters { justify-content: center; flex-wrap: wrap; gap: 7px; }
    .ak-filter { flex: 0 1 auto; height: 36px; padding: 0 12px; font-size: 13px; }
    .ak-faq__side { grid-template-columns: 1fr 1fr; gap: 7px; }
    .ak-faq__tab { gap: 8px; padding: 7px 8px; font-size: 12.5px; line-height: 1.25; text-align: left; }
    .ak-faq__tab > span { width: 28px; height: 28px; flex-basis: 28px; font-size: 14px; border-radius: 8px; }
    .ak-faq__tab small { display: none; }
    .ak-faq__tab[data-tab="all"] { grid-column: 1 / -1; }

    .ak-news__grid { grid-template-columns: 1fr; gap: 12px; }
    .ak-news { display: grid; grid-template-columns: 110px 1fr; }
    .ak-news__media { height: 100%; min-height: 130px; }
    .ak-news__body { padding: 12px 14px; }
    .ak-news__body h3 { font-size: 14.5px; margin: 6px 0 0; }
    .ak-news__body p { display: none; }
    .ak-news__body .ak-link { margin-top: 8px; font-size: 13px; }
    .ak-featured__body { padding: 20px 18px; }
    .ak-featured__media { min-height: 190px; }

    .ak-gal { columns: 2; column-gap: 8px; }
    .ak-gal__item { margin-bottom: 8px; border-radius: 12px; }
    .ak-gal__cap { left: 10px; right: 10px; bottom: 8px; }
    .ak-gal__cap strong { font-size: 12.5px; }
    .ak-gal__cap small { display: none; }

    .ak-lightbox { grid-template-columns: 1fr; padding: 64px 12px 84px; }
    .ak-lightbox .is-prev, .ak-lightbox .is-next { position: absolute; bottom: 20px; }
    .ak-lightbox .is-prev { left: 20px; }
    .ak-lightbox .is-next { right: 20px; }
    .ak-lb-close { top: 12px; right: 12px; }

    .ak-faq-search input { height: 48px; font-size: 14.5px; }
    .ak-acc__q { padding: 13px 14px; font-size: 14.5px; }
    .ak-acc__a p { padding: 0 14px 14px; font-size: 14px; }

    .ak-modal__box img { height: 190px; }
    .ak-modal__body { padding: 18px 18px 22px; }

    .ak-help { padding: 18px; }
    .ak-help__actions, .ak-help__actions .ak-btn { width: 100%; }

    .ak-cta__inner { padding: 34px 0; }
    .ak-cta__actions, .ak-cta__actions .ak-btn { width: 100%; }
}

@media (max-width: 420px) {
    .ak-grid--4 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .ak-js .ak-reveal { opacity: 1; transform: none; transition: none; }
    .ak-main * { animation: none !important; transition-duration: .01ms !important; }
}

/* Partenaire : carte cliquable vers son site */
.ak-partner--link .ak-partner__logo { position: relative; overflow: hidden; text-decoration: none; }
.ak-partner__go {
    position: absolute; left: 50%; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 13px; border-radius: 999px; background: rgba(10, 26, 58, .85); color: #fff;
    font-size: 12.5px; font-weight: 700; white-space: nowrap; transform: translateX(-50%); transition: background .25s;
}
.ak-partner--link .ak-partner__logo:hover .ak-partner__go { background: var(--ak-blue); }
.ak-partner--link .ak-partner__logo img { transition: transform .5s; }
.ak-partner--link .ak-partner__logo:hover img { transform: scale(1.05); }
.ak-partner h3 a { color: inherit; text-decoration: none; transition: color .2s; }
.ak-partner h3 a:hover { color: var(--ak-blue); }
.ak-partner__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
