/* =====================================================================
   L'IA POUR TOUS - Portail (28/10/2026)
   Couche de design complète posée sur style.css : en-tête de verre sombre, bandeaux de page,
   cartes, boutons, pied de page, et l'accueil. Les styles écrits dans les pages restent valables :
   ici on les prolonge. Mouvement coupé si le visiteur demande moins d'animations.
   ===================================================================== */

:root {
    --ia-bleu: #2563EB;
    --ia-bleu-clair: #EAF1FF;
    --ia-bleu-fonce: #1E3A8A;
    --ia-texte: #0F172A;
    --ia-texte-secondaire: #475569;
    --ia-texte-muted: #94A3B8;
    --ia-fond: #F5F7FC;
    --ia-surface: #FFFFFF;
    --ia-bordure: #E3E8F2;
    --ia-radius: 18px;
    --ia-radius-sm: 12px;

    --nuit: #050B1F;
    --nuit-2: #0B1736;
    --ciel: #38BDF8;
    --violet: #8B5CF6;
    --or: #F5B83D;
    --vert: #22C55E;
    --degrade: linear-gradient(110deg, #2563EB 0%, #38BDF8 55%, #8B5CF6 110%);
    --ombre: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
    --ombre-forte: 0 2px 6px rgba(15, 23, 42, .06), 0 24px 60px rgba(37, 99, 235, .16);
    --ease: cubic-bezier(.2, .8, .2, 1);
    --spring: cubic-bezier(.34, 1.56, .64, 1);
    --large: 1180px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    background: var(--ia-fond);
    color: var(--ia-texte);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
::selection { background: rgba(56, 189, 248, .3); }
a { color: var(--ia-bleu); }
:focus-visible { outline: 3px solid rgba(56, 189, 248, .7); outline-offset: 3px; border-radius: 6px; }

/* ---------------------------------------------------------------------
   Conteneurs
   --------------------------------------------------------------------- */
.ia-conteneur { max-width: var(--large); padding: 0 24px; }
main.ia-conteneur { padding-bottom: 72px; min-height: 50vh; }
/* pages de lecture : colonne plus étroite, bandeau toujours pleine largeur */
body.ia-p-academy main, body.ia-p-decouverte main, body.ia-p-autre main { max-width: 920px; }
body.ia-p-veille main, body.ia-p-bac-a-sable main { max-width: 1040px; }

/* ---------------------------------------------------------------------
   En-tête : verre sombre collant
   --------------------------------------------------------------------- */
.ia-header {
    position: sticky;
    top: 0;
    z-index: 60;
    display: block;
    padding: 0;
    margin: 0;
    border: 0;
    background: rgba(5, 11, 31, .78);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    transition: background .3s, box-shadow .3s;
}
.ia-header.ia-defile { background: rgba(5, 11, 31, .92); box-shadow: 0 10px 30px rgba(2, 6, 23, .35); }
.ia-header-in {
    max-width: var(--large);
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 28px;
}
.ia-logo { display: inline-flex; align-items: center; gap: 11px; color: #fff; font-size: 17px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.ia-logo-txt b { font-weight: 800; background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ia-logo-mark {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: conic-gradient(from 0deg, #2563EB, #38BDF8, #8B5CF6, #F5B83D, #2563EB);
    animation: ia-tourne 8s linear infinite;
    box-shadow: 0 0 24px rgba(56, 189, 248, .45);
    flex: none;
}
.ia-logo-mark i {
    position: absolute;
    inset: 3px;
    border-radius: 8px;
    background: var(--nuit);
    animation: ia-tourne 8s linear infinite reverse;
}
.ia-logo-mark i::after {
    content: "";
    position: absolute;
    inset: 9px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0 30%, #38BDF8 60%, transparent 72%);
    animation: ia-pulse 2.4s ease-in-out infinite;
}
@keyframes ia-tourne { to { transform: rotate(360deg); } }
@keyframes ia-pulse { 50% { transform: scale(.7); opacity: .7; } }

.ia-nav { display: flex; gap: 4px; font-size: 14px; margin-left: auto; }
.ia-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    border-radius: 999px;
    color: rgba(226, 232, 240, .78);
    font-weight: 500;
    text-decoration: none;
    transition: color .2s, background .25s;
}
.ia-nav a svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.ia-nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.ia-nav a.actif { color: #fff; background: rgba(56, 189, 248, .14); box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .35); }
.ia-nav a.actif svg { color: var(--ciel); opacity: 1; }
.ia-header-cta {
    flex: none;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--degrade);
    background-size: 160% 100%;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 22px rgba(37, 99, 235, .45);
    transition: background-position .5s var(--ease), transform .25s var(--ease);
}
.ia-header-cta:hover { background-position: 100% 0; transform: translateY(-1px); }

/* barre de lecture */
.ia-progression {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 80;
    transform-origin: 0 50%;
    transform: scaleX(0);
    background: linear-gradient(90deg, #2563EB, #38BDF8, #F5B83D);
    pointer-events: none;
}

/* ---------------------------------------------------------------------
   Bandeau de page : le titre et la phrase d'introduction de chaque page
   deviennent un grand bandeau sombre pleine largeur
   --------------------------------------------------------------------- */
main.ia-conteneur > h1:first-child,
main.ia-conteneur > h1:first-child + p {
    position: relative;
    border-image: conic-gradient(var(--nuit) 0 0) fill 0 / / 0 100vmax;
    color: #fff;
    text-align: center;
}
main.ia-conteneur > h1:first-child {
    z-index: 1;
    margin: 0 !important;
    padding: 76px 0 14px;
    font-size: clamp(34px, 5.4vw, 60px) !important;
    font-weight: 800 !important;
    letter-spacing: -.035em;
    line-height: 1.04;
}
main.ia-conteneur > h1:first-child::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 0;
    width: 100vw;
    height: calc(100% + 60px);
    transform: translateX(-50%);
    pointer-events: none;
    background:
        radial-gradient(640px 280px at 50% 105%, rgba(37, 99, 235, .5), transparent 70%),
        radial-gradient(520px 260px at 12% 0%, rgba(139, 92, 246, .32), transparent 70%),
        radial-gradient(520px 260px at 88% 0%, rgba(56, 189, 248, .24), transparent 70%);
}
main.ia-conteneur > h1:first-child::before {
    content: attr(data-surtitre);
    display: block;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ciel);
}
main.ia-conteneur > h1:first-child + p {
    margin: 0 0 44px !important;
    padding: 4px 0 64px;
    color: rgba(203, 213, 225, .9) !important;
    font-size: clamp(16px, 1.6vw, 19px) !important;
}
/* grille lumineuse discrète derrière le bandeau */
main.ia-conteneur > h1:first-child + p::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100vw;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, .6), rgba(139, 92, 246, .6), transparent);
}

/* ---------------------------------------------------------------------
   Cartes, boutons, champs, badges
   --------------------------------------------------------------------- */
.ia-carte {
    position: relative;
    background: var(--ia-surface);
    border: 1px solid var(--ia-bordure);
    border-radius: var(--ia-radius);
    padding: 22px 24px;
    margin-bottom: 16px;
    box-shadow: var(--ombre);
    transition: transform .3s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
a.ia-carte:hover, .ia-media-carte:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); border-color: rgba(37, 99, 235, .35); }
.ia-carte h2 { font-size: 19px !important; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.ia-carte p { font-size: 15.5px !important; line-height: 1.65; }
.ia-carte-mise-en-avant { border: 1px solid rgba(37, 99, 235, .35); background: linear-gradient(180deg, #fff, #F3F7FF); }
.ia-carte::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(320px circle at var(--ia-mx, 50%) var(--ia-my, 0%), rgba(56, 189, 248, .14), transparent 60%);
    opacity: 0;
    transition: opacity .3s;
}
.ia-carte:hover::before { opacity: 1; }

.ia-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 999px;
    border: 0;
    background: var(--degrade);
    background-size: 170% 100%;
    color: #fff;
    font: 600 15px/1.2 inherit;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(37, 99, 235, .3);
    transition: transform .25s var(--ease), box-shadow .25s, background-position .5s var(--ease);
}
.ia-btn:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 14px 34px rgba(37, 99, 235, .4); color: #fff; }
.ia-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent);
    animation: ia-lueur 4s ease-in-out infinite;
}
@keyframes ia-lueur { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.ia-btn-secondaire {
    background: #fff;
    color: var(--ia-texte);
    box-shadow: inset 0 0 0 1px var(--ia-bordure), 0 1px 2px rgba(15, 23, 42, .04);
}
.ia-btn-secondaire::after { display: none; }
.ia-btn-secondaire:hover { color: var(--ia-bleu); background: #fff; box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .45), 0 8px 20px rgba(37, 99, 235, .12); }
/* les pastilles de filtre écrites en petit dans les pages */
.ia-btn[style*="font-size: 1"] { font-size: 14px !important; padding: 9px 16px !important; }

.ia-recherche {
    height: 58px;
    padding: 0 22px;
    border: 1px solid var(--ia-bordure);
    border-radius: 16px;
    background: #fff;
    font: 500 17px/1 inherit;
    font-family: inherit;
    color: var(--ia-texte);
    box-shadow: var(--ombre);
    transition: border-color .2s, box-shadow .25s;
}
.ia-recherche:focus { border-color: var(--ia-bleu); box-shadow: 0 0 0 5px rgba(37, 99, 235, .14), var(--ombre); }

.ia-badge { font-size: 12px; font-weight: 600; padding: 5px 12px; letter-spacing: .01em; }
.ia-avertissement { font-size: 13.5px; border-top: 1px solid var(--ia-bordure); padding: 22px 0 0; margin-top: 32px; }
.ia-carte-footer { font-size: 14px; }
.ia-lien-source { font-weight: 600; }

/* ---------------------------------------------------------------------
   Pages : ajustements
   --------------------------------------------------------------------- */
/* grilles de vignettes : plus de colonnes sur grand écran */
main div[style*="grid-template-columns: repeat(2"] { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important; gap: 22px !important; }
.ia-media-carte { border-radius: var(--ia-radius) !important; box-shadow: var(--ombre); border-color: var(--ia-bordure) !important; transition: transform .35s var(--ease), box-shadow .35s var(--ease) !important; }
.ia-media-vignette { background: linear-gradient(135deg, #0B1736, #1E3A8A) !important; }
.ia-media-vignette img { transition: transform .8s var(--ease); }
.ia-media-carte:hover .ia-media-vignette img { transform: scale(1.06); }
.ia-media-vignette::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 11, 31, .55)); pointer-events: none; }
.ia-media-lecture {
    width: 58px !important;
    height: 58px !important;
    font-size: 18px !important;
    color: #fff !important;
    background: rgba(5, 11, 31, .55) !important;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 8px 30px rgba(0, 0, 0, .3);
    z-index: 1;
    transition: transform .35s var(--spring), background .3s;
}
.ia-media-carte:hover .ia-media-lecture { transform: translate(-50%, -50%) scale(1.12) !important; background: var(--ia-bleu) !important; }
.ia-media-badge-nouveau { z-index: 1; background: var(--or) !important; color: #1a1300 !important; font-weight: 700 !important; }
.ia-media-info { padding: 16px 18px 18px !important; }
.ia-media-titre { font-size: 15.5px !important; line-height: 1.45 !important; }
/* vignettes absentes : affiche un dégradé avec le logo plutôt qu'une image cassée */
.ia-media-vignette img.ia-img-ko { opacity: 0; }

/* Academy : catégories en grille (regroupées par portail.js) */
.ia-grille-cat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 8px; }
.ia-grille-cat .ia-carte { margin: 0; display: flex !important; flex-direction: column; gap: 6px; min-height: 150px; padding: 24px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.ia-grille-cat .ia-carte .ia-cat-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; margin-bottom: 8px; background: var(--ia-bleu-clair); }
.ia-grille-cat .ia-carte .ia-cat-desc { font-size: 14.5px; font-weight: 400; color: var(--ia-texte-secondaire); letter-spacing: 0; }
.ia-grille-cat .ia-carte .ia-badge { align-self: flex-start; }
.ia-grille-cat .ia-carte::after { content: "→"; position: absolute; right: 22px; top: 22px; font-size: 20px; color: var(--ia-texte-muted); transition: transform .3s var(--ease), color .3s; }
.ia-grille-cat .ia-carte:hover::after { transform: translateX(4px); color: var(--ia-bleu); }

/* Veille : calendrier aligné et lisible */
body.ia-p-veille div[style*="repeat(7, 1fr)"] { max-width: 460px !important; margin-left: auto !important; margin-right: auto !important; gap: 6px !important; font-size: 13px !important; }
body.ia-p-veille div[style*="repeat(7, 1fr)"] a, body.ia-p-veille div[style*="repeat(7, 1fr)"] span { font-size: 13px !important; border-radius: 10px !important; }
body.ia-p-veille .ia-carte strong[style*="font-size: 12px"] { font-size: 16px !important; }

/* Page vidéo et page capsule : retour, titre, lecteur */
main > a[href="medias.php"]:first-child, main > a[href="gainde.php"]:first-child { display: inline-flex; align-items: center; gap: 6px; margin-top: 28px; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--ia-bordure); font-size: 14px !important; font-weight: 600; color: var(--ia-texte) !important; }
main > a[href="medias.php"]:first-child:hover, main > a[href="gainde.php"]:first-child:hover { box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .5); color: var(--ia-bleu) !important; }
main > a[href="medias.php"]:first-child + .ia-carte { margin-top: 18px !important; border-radius: 24px; box-shadow: var(--ombre-forte); border: 0; }
body.ia-p-medias main > h1:not(:first-child) { font-size: clamp(26px, 3vw, 38px) !important; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin: 28px 0 12px !important; }
body.ia-p-medias main > h1:not(:first-child) + p { font-size: 17px !important; line-height: 1.7; }

/* Bac à sable : exemples en cartes */
body.ia-p-bac-a-sable div[style*="grid-template-columns: 1fr"] { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important; gap: 12px !important; }
.ia-sandbox-exemple { position: relative; padding: 16px 18px 16px 50px !important; border-radius: 16px !important; font: 500 15px/1.45 inherit !important; font-family: inherit !important; color: var(--ia-texte); box-shadow: var(--ombre); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.ia-sandbox-exemple::before { content: "✦"; position: absolute; left: 16px; top: 14px; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; color: #fff; background: var(--degrade); }
.ia-sandbox-exemple:hover { transform: translateY(-3px); box-shadow: var(--ombre-forte); border-color: rgba(37, 99, 235, .4) !important; }
body.ia-p-bac-a-sable main > .ia-carte { border: 0; padding: 26px 28px; background: linear-gradient(#fff, #fff) padding-box, var(--degrade) border-box; border: 2px solid transparent !important; box-shadow: var(--ombre-forte); }

/* Veille : le calendrier et la liste respirent */
body.ia-p-veille .ia-carte h2, body.ia-p-veille .ia-carte h3 { font-size: 18px !important; }

/* Gaïndé : le bandeau prend le style du portail */
.gd-hero { border-radius: 24px !important; background: radial-gradient(500px 300px at 85% 0%, rgba(245, 184, 61, .45), transparent 70%), linear-gradient(135deg, #050B1F, #0B1736 45%, #1E3A8A) !important; box-shadow: var(--ombre-forte); margin-top: 32px !important; }
body.ia-p-gainde main > .gd-hero:first-child { margin-top: 36px !important; }

/* ---------------------------------------------------------------------
   Pied de page
   --------------------------------------------------------------------- */
.ia-footer {
    position: relative;
    margin-top: 40px;
    padding: 64px 0 0;
    background: var(--nuit);
    color: rgba(203, 213, 225, .8);
    text-align: left;
    font-size: 15px;
    overflow: hidden;
}
.ia-footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, .7), rgba(139, 92, 246, .7), transparent);
}
.ia-footer::after {
    content: "";
    position: absolute;
    width: 700px;
    height: 400px;
    left: 50%;
    top: -260px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(37, 99, 235, .35), transparent);
    pointer-events: none;
}
.ia-footer-in {
    position: relative;
    z-index: 1;
    max-width: var(--large);
    margin: 0 auto;
    padding: 0 24px 48px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
    gap: 40px;
}
.ia-footer h3 { margin: 6px 0 16px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ia-footer nav a, .ia-footer-lien { display: block; margin-bottom: 10px; color: rgba(203, 213, 225, .8); text-decoration: none; transition: color .2s, transform .2s; }
.ia-footer nav a:hover, .ia-footer-lien:hover { color: #fff; transform: translateX(3px); }
.ia-footer-marque p { max-width: 340px; margin: 18px 0 0; line-height: 1.7; }
.ia-footer-bas {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 22px 24px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    text-align: center;
    font-size: 13px;
    color: rgba(148, 163, 184, .8);
}
.ia-footer-admin { color: inherit; text-decoration: none; opacity: .35; margin-left: 6px; }

/* ---------------------------------------------------------------------
   Apparitions au défilement (portail.js) et relief des cartes
   --------------------------------------------------------------------- */
.ia-revele { opacity: 0; transform: translateY(30px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--ia-delai, 0s); }
.ia-revele.ia-visible { opacity: 1; transform: none; filter: none; }

/* =====================================================================
   ACCUEIL
   ===================================================================== */
body.ia-p-accueil main.ia-conteneur { max-width: none; padding: 0; }
.ia-section { max-width: var(--large); margin: 0 auto; padding: 96px 24px 0; }
.ia-section-tete { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.ia-surtitre { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ia-bleu); }
.ia-section h2 { margin: 0; font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
.ia-section h2 em { font-style: normal; background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ia-section-tete p { margin: 14px 0 0; max-width: 560px; font-size: 18px; color: var(--ia-texte-secondaire); }
.ia-lien-fleche { flex: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; padding: 11px 18px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--ia-bordure); transition: box-shadow .25s, gap .25s; }
.ia-lien-fleche:hover { gap: 12px; box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .5); }

/* --- Héros --- */
.ia-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--nuit);
    color: #fff;
    margin-top: -68px;
    padding: 148px 24px 0;
}
.ia-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.ia-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(900px 520px at 78% 30%, rgba(37, 99, 235, .45), transparent 65%),
        radial-gradient(700px 480px at 10% 10%, rgba(139, 92, 246, .28), transparent 65%),
        radial-gradient(600px 400px at 50% 110%, rgba(56, 189, 248, .25), transparent 70%),
        var(--nuit);
}
.ia-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 160px;
    z-index: -1;
    background: linear-gradient(180deg, transparent, var(--nuit));
}
.ia-hero-in { max-width: var(--large); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: center; }
.ia-hero-etiquette {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    padding: 7px 16px 7px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
    font-size: 14px;
    color: rgba(226, 232, 240, .9);
}
.ia-hero-etiquette b { padding: 4px 10px; border-radius: 999px; background: var(--degrade); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.ia-hero h1 { margin: 0; font-size: clamp(46px, 7.4vw, 96px); font-weight: 900; letter-spacing: -.05em; line-height: .96; }
.ia-hero h1 .ia-ligne { display: block; }
.ia-hero h1 .ia-degrade { background: linear-gradient(100deg, #38BDF8, #818CF8 45%, #F5B83D 90%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: ia-glisse 6s ease-in-out infinite alternate; }
@keyframes ia-glisse { to { background-position: 100% 0; } }
.ia-hero .ia-lettre { display: inline-block; opacity: 0; transform: translateY(.55em) rotate(4deg); animation: ia-lettre .8s var(--ease) forwards; animation-delay: calc(var(--i) * 32ms + .2s); }
.ia-hero .ia-degrade .ia-lettre { background: inherit; background-size: inherit; -webkit-background-clip: text; background-clip: text; animation: ia-lettre .8s var(--ease) forwards, ia-glisse 6s ease-in-out infinite alternate; animation-delay: calc(var(--i) * 32ms + .2s), 0s; }
@keyframes ia-lettre { to { opacity: 1; transform: none; } }
.ia-hero-texte { margin: 26px 0 34px; max-width: 560px; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.6; color: rgba(203, 213, 225, .92); }

.ia-hero-recherche { position: relative; display: flex; max-width: 600px; padding: 7px; border-radius: 20px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 20px 60px rgba(2, 6, 23, .5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.ia-hero-recherche::before { content: ""; position: absolute; inset: -1px; border-radius: 21px; padding: 1px; background: linear-gradient(110deg, rgba(56, 189, 248, .8), transparent 40%, transparent 60%, rgba(139, 92, 246, .8)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.ia-hero-recherche input { flex: 1; min-width: 0; height: 54px; padding: 0 18px; border: 0; outline: 0; background: transparent; color: #fff; font: 500 17px inherit; font-family: inherit; }
.ia-hero-recherche input::placeholder { color: rgba(203, 213, 225, .6); }
.ia-hero-recherche button { flex: none; height: 54px; padding: 0 24px; border: 0; border-radius: 14px; background: var(--degrade); background-size: 170% 100%; color: #fff; font: 600 16px inherit; font-family: inherit; cursor: pointer; transition: background-position .5s var(--ease); }
.ia-hero-recherche button:hover { background-position: 100% 0; }
.ia-hero-suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: 14px; color: rgba(148, 163, 184, .9); align-items: center; }
.ia-hero-suggestions a { padding: 6px 13px; border-radius: 999px; color: rgba(226, 232, 240, .9); text-decoration: none; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: background .2s, color .2s; }
.ia-hero-suggestions a:hover { background: rgba(56, 189, 248, .18); color: #fff; }

/* mascotte dans le héros */
.ia-hero-scene { position: relative; display: grid; place-items: center; min-height: 420px; }
.ia-hero-scene .ia-orbite { position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 1px dashed rgba(56, 189, 248, .3); animation: ia-tourne 40s linear infinite; }
.ia-hero-scene .ia-orbite:nth-child(2) { width: 290px; height: 290px; border-color: rgba(139, 92, 246, .35); animation-duration: 28s; animation-direction: reverse; }
.ia-hero-scene .ia-orbite i { position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--ciel); box-shadow: 0 0 18px var(--ciel); }
.ia-hero-scene .ia-orbite:nth-child(2) i { background: var(--or); box-shadow: 0 0 18px var(--or); }
.ia-hero-scene .ia-halo { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(56, 189, 248, .45), transparent); filter: blur(10px); animation: ia-pulse 4s ease-in-out infinite; }
.ia-hero .ia-mascotte-zone { margin: 0; }
.ia-hero .ia-mascotte-svg { width: 220px; height: 236px; filter: drop-shadow(0 30px 40px rgba(2, 6, 23, .6)); }
.ia-hero .ia-mascotte-bulle { color: var(--ia-texte); text-align: left; }
.ia-hero .ia-mascotte-mute { position: absolute; top: -6px; right: -18px; z-index: 2; border: 0; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.ia-hero-astuce { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-size: 13px; color: rgba(148, 163, 184, .9); white-space: nowrap; }

/* chiffres en direct */
.ia-direct {
    max-width: var(--large);
    margin: 72px auto 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-radius: 22px;
    background: rgba(255, 255, 255, .04);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    overflow: hidden;
}
.ia-direct > div { position: relative; padding: 26px 28px; }
.ia-direct > div + div::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: rgba(255, 255, 255, .1); }
.ia-direct strong { display: block; font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #fff; }
.ia-direct span { font-size: 14px; color: rgba(148, 163, 184, .95); }
.ia-pastille { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--vert); vertical-align: middle; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: ia-bip 1.8s infinite; }
@keyframes ia-bip { 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* bande défilante sous le héros */
.ia-bande { margin-top: 64px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .07); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ia-bande-piste { display: flex; gap: 46px; width: max-content; animation: ia-defile 38s linear infinite; font-size: 17px; font-weight: 600; color: rgba(203, 213, 225, .55); white-space: nowrap; }
.ia-bande-piste span::before { content: "✦"; margin-right: 46px; color: var(--ciel); }
@keyframes ia-defile { to { transform: translateX(-50%); } }

/* --- Modules --- */
.ia-modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ia-module {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 30px;
    border-radius: 24px;
    background: #fff;
    color: var(--ia-texte);
    text-decoration: none;
    box-shadow: var(--ombre), inset 0 0 0 1px var(--ia-bordure);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.ia-module:hover { transform: translateY(-6px); box-shadow: var(--ombre-forte), inset 0 0 0 1px rgba(37, 99, 235, .3); color: var(--ia-texte); }
.ia-module::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--ia-mx, 80%) var(--ia-my, 0%), var(--c-halo, rgba(56, 189, 248, .16)), transparent 60%); pointer-events: none; }
.ia-module-ico { width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center; margin-bottom: auto; background: var(--c-fond, var(--ia-bleu-clair)); color: var(--c, var(--ia-bleu)); transition: transform .5s var(--spring); }
.ia-module:hover .ia-module-ico { transform: rotate(-8deg) scale(1.08); }
.ia-module-ico svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ia-module h3 { margin: 30px 0 8px; font-size: 23px; font-weight: 800; letter-spacing: -.02em; }
.ia-module p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ia-texte-secondaire); }
.ia-module-fleche { position: absolute; top: 28px; right: 28px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ia-fond); color: var(--ia-texte-secondaire); transition: background .3s, color .3s, transform .4s var(--ease); }
.ia-module:hover .ia-module-fleche { background: var(--c, var(--ia-bleu)); color: #fff; transform: rotate(-45deg); }
.ia-module-chiffre { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--c, var(--ia-bleu)); letter-spacing: .04em; text-transform: uppercase; }
.ia-module--grand { grid-column: span 2; background: linear-gradient(135deg, #050B1F, #0B1736 55%, #1E3A8A); color: #fff; box-shadow: var(--ombre-forte); }
.ia-module--grand:hover { color: #fff; }
.ia-module--grand p { color: rgba(203, 213, 225, .85); max-width: 46%; }
.ia-module--bande { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.1fr); grid-template-rows: auto auto auto; column-gap: 24px; align-items: center; }
.ia-module--bande .ia-module-ico { grid-row: 1 / 4; margin: 0; }
.ia-module--bande h3 { margin: 0 0 6px; }
.ia-module--bande .ia-module-chiffre { grid-column: 2; }
.ia-module--bande .ia-module-fleche { display: none; }
.ia-module-titres { grid-column: 3; grid-row: 1 / 4; display: grid; gap: 8px; }
.ia-module-titres span { padding: 11px 14px; border-radius: 12px; background: var(--ia-fond); font-size: 14px; font-weight: 500; color: var(--ia-texte); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: transform .35s var(--ease); }
.ia-module--bande:hover .ia-module-titres span { transform: translateX(-4px); }
.ia-module--bande:hover .ia-module-titres span + span { transition-delay: .05s; }
.ia-module--grand .ia-module-ico { background: rgba(255, 255, 255, .08); color: var(--ciel); }
.ia-module--grand .ia-module-fleche { background: rgba(255, 255, 255, .08); color: #fff; }
.ia-module--grand .ia-module-vignettes { position: absolute; right: -30px; bottom: -30px; display: grid; grid-template-columns: repeat(2, 170px); gap: 12px; transform: rotate(-8deg); opacity: .9; transition: transform .7s var(--ease); }
.ia-module--grand:hover .ia-module-vignettes { transform: rotate(-5deg) translateY(-8px); }
.ia-module-vignettes img { width: 170px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; box-shadow: 0 12px 30px rgba(0, 0, 0, .4); }

/* --- Vidéos : rail horizontal --- */
.ia-rail { position: relative; }
.ia-rail-piste { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 26px; scrollbar-width: none; }
.ia-rail-piste::-webkit-scrollbar { display: none; }
.ia-rail-piste > * { scroll-snap-align: start; }
.ia-rail-btns { display: flex; gap: 10px; }
.ia-rail-btns button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--ia-bordure); font-size: 18px; color: var(--ia-texte); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.ia-rail-btns button:hover { background: var(--ia-bleu); color: #fff; box-shadow: none; }
.ia-video { display: block; text-decoration: none; color: inherit; border-radius: 20px; background: #fff; box-shadow: var(--ombre), inset 0 0 0 1px var(--ia-bordure); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.ia-video:hover { transform: translateY(-6px); box-shadow: var(--ombre-forte); color: inherit; }
.ia-video-img { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #0B1736, #1E3A8A); }
.ia-video-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease); }
.ia-video:hover .ia-video-img img { transform: scale(1.07); }
.ia-video-img::after { content: "▶"; position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center; padding-left: 3px; color: #fff; font-size: 17px; background: rgba(5, 11, 31, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .4s var(--spring), background .3s; }
.ia-video:hover .ia-video-img::after { opacity: 1; transform: none; background: var(--ia-bleu); }
.ia-video-txt { display: block; padding: 18px 20px 20px; }
.ia-video-txt b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 16.5px; line-height: 1.4; }
.ia-video-txt small { display: block; margin-top: 8px; font-size: 13px; color: var(--ia-texte-muted); }

/* --- Gaïndé --- */
.ia-gainde {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
    align-items: center;
    padding: 56px;
    border-radius: 32px;
    color: #fff;
    background:
        radial-gradient(600px 380px at 92% 10%, rgba(245, 184, 61, .45), transparent 65%),
        radial-gradient(500px 360px at 0% 100%, rgba(37, 99, 235, .45), transparent 65%),
        linear-gradient(135deg, #050B1F, #0B1736);
    box-shadow: var(--ombre-forte);
}
.ia-gainde .ia-surtitre { color: var(--or); }
.ia-gainde h2 { color: #fff; }
.ia-gainde-date { margin: 14px 0 22px; font-size: 18px; color: rgba(203, 213, 225, .9); }
.ia-gainde ol { list-style: none; margin: 0 0 30px; padding: 0; counter-reset: n; display: grid; gap: 12px; }
.ia-gainde li { counter-increment: n; display: flex; gap: 16px; align-items: center; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); font-size: 16.5px; font-weight: 500; }
.ia-gainde li::before { content: counter(n); flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--or); color: #1a1300; font-weight: 800; }
.ia-gainde li small { margin-left: auto; flex: none; font-size: 12px; color: rgba(148, 163, 184, .95); }
.ia-gainde-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.ia-gainde .ia-btn-secondaire { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.ia-gainde .ia-btn-secondaire:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.ia-telephone { position: relative; justify-self: center; width: 270px; aspect-ratio: 9 / 16; border-radius: 34px; padding: 9px; background: linear-gradient(160deg, #1f2a44, #0a1022); box-shadow: 0 40px 80px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .12); transform: rotate(4deg); transition: transform .7s var(--ease); }
.ia-gainde:hover .ia-telephone { transform: rotate(0) translateY(-6px); }
.ia-telephone img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; display: block; }
.ia-telephone::after { content: "▶"; position: absolute; left: 50%; top: 50%; width: 66px; height: 66px; margin: -33px 0 0 -33px; border-radius: 50%; display: grid; place-items: center; padding-left: 4px; font-size: 20px; color: #1a1300; background: var(--or); box-shadow: 0 0 0 10px rgba(245, 184, 61, .25); animation: ia-onde 2.2s infinite; }
@keyframes ia-onde { 70% { box-shadow: 0 0 0 22px rgba(245, 184, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 184, 61, 0); } }
.ia-gainde-lion { position: absolute; left: -40px; bottom: -40px; width: 220px; opacity: .12; pointer-events: none; }

/* --- Veille + Academy --- */
.ia-deux { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.ia-panneau { padding: 30px; border-radius: 24px; background: #fff; box-shadow: var(--ombre), inset 0 0 0 1px var(--ia-bordure); }
.ia-panneau-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ia-panneau-tete h3 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.ia-panneau-tete a { font-size: 14px; font-weight: 600; text-decoration: none; }
.ia-fil { list-style: none; margin: 0; padding: 0; }
.ia-fil li + li { border-top: 1px solid var(--ia-bordure); }
.ia-fil a { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 16px; padding: 16px 6px; color: inherit; text-decoration: none; border-radius: 12px; transition: background .2s, padding .3s var(--ease); }
.ia-fil a:hover { background: var(--ia-fond); padding-left: 12px; }
.ia-fil time { font-size: 13px; font-weight: 700; color: var(--ia-bleu); font-variant-numeric: tabular-nums; padding-top: 2px; }
.ia-fil b { display: block; font-size: 16px; line-height: 1.45; font-weight: 600; }
.ia-fil small { display: block; margin-top: 4px; font-size: 13px; color: var(--ia-texte-muted); }
.ia-academy-form { display: flex; gap: 8px; margin-bottom: 22px; }
.ia-academy-form input { flex: 1; min-width: 0; height: 54px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--ia-bordure); font: 500 16px inherit; font-family: inherit; background: var(--ia-fond); transition: border-color .2s, box-shadow .2s, background .2s; }
.ia-academy-form input:focus { outline: 0; background: #fff; border-color: var(--ia-bleu); box-shadow: 0 0 0 5px rgba(37, 99, 235, .12); }
.ia-academy-form button { height: 54px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--ia-texte); color: #fff; font: 600 15px inherit; font-family: inherit; cursor: pointer; }
.ia-puces { display: flex; flex-wrap: wrap; gap: 10px; }
.ia-puces a { padding: 10px 15px; border-radius: 14px; background: var(--ia-fond); color: var(--ia-texte); font-size: 14.5px; font-weight: 500; text-decoration: none; box-shadow: inset 0 0 0 1px var(--ia-bordure); transition: background .2s, color .2s, box-shadow .2s, transform .25s var(--ease); }
.ia-puces a:hover { background: var(--ia-bleu-clair); color: var(--ia-bleu); box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .4); transform: translateY(-2px); }
.ia-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.ia-cats a { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; color: inherit; text-decoration: none; font-weight: 600; font-size: 15px; box-shadow: inset 0 0 0 1px var(--ia-bordure); transition: box-shadow .2s, transform .25s var(--ease); }
.ia-cats a:hover { box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .45), var(--ombre); transform: translateY(-2px); }
.ia-cats i { font-style: normal; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--ia-bleu-clair); font-size: 18px; }

/* --- Promesse --- */
.ia-promesse { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ia-promesse div { padding: 30px; border-radius: 24px; background: linear-gradient(180deg, #fff, #F3F7FF); box-shadow: inset 0 0 0 1px var(--ia-bordure); }
.ia-promesse b { display: block; margin: 18px 0 8px; font-size: 20px; letter-spacing: -.01em; }
.ia-promesse p { margin: 0; color: var(--ia-texte-secondaire); line-height: 1.6; }
.ia-promesse i { font-style: normal; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; background: #fff; box-shadow: var(--ombre); }

/* --- Appel final --- */
.ia-appel { position: relative; overflow: hidden; margin: 96px auto 0; max-width: calc(var(--large) - 48px); padding: 72px 40px; border-radius: 32px; text-align: center; color: #fff; background: radial-gradient(500px 300px at 50% 120%, rgba(56, 189, 248, .5), transparent 70%), linear-gradient(135deg, #1E3A8A, #2563EB 50%, #7C3AED); box-shadow: var(--ombre-forte); }
.ia-appel h2 { margin: 0 auto 14px; max-width: 760px; font-size: clamp(30px, 4vw, 50px); font-weight: 900; letter-spacing: -.04em; line-height: 1.05; }
.ia-appel p { margin: 0 auto 30px; max-width: 560px; font-size: 18px; color: rgba(226, 232, 240, .9); }
.ia-appel .ia-btn { background: #fff; color: var(--ia-bleu-fonce); box-shadow: 0 14px 40px rgba(2, 6, 23, .3); }
.ia-appel .ia-btn:hover { color: var(--ia-bleu); }
.ia-appel .ia-btn::after { background: linear-gradient(100deg, transparent, rgba(37, 99, 235, .18), transparent); }
.ia-appel-grille { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); pointer-events: none; }
.ia-appel > *:not(.ia-appel-grille) { position: relative; }

/* =====================================================================
   Écrans moyens et téléphones
   ===================================================================== */
@media (max-width: 1080px) {
    .ia-nav a span { display: none; }
    .ia-nav a { padding: 10px; }
    .ia-hero-in { grid-template-columns: 1fr; }
    .ia-hero-scene { min-height: 360px; order: -1; margin-bottom: -40px; }
    .ia-gainde { grid-template-columns: 1fr; padding: 40px; }
    .ia-deux { grid-template-columns: minmax(0, 1fr); }
    .ia-footer-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .ia-conteneur, .ia-header-in, .ia-section { padding-left: 16px; padding-right: 16px; }
    .ia-header-in { height: auto; flex-wrap: wrap; gap: 0 12px; padding-top: 10px; }
    .ia-logo { font-size: 16px; }
    .ia-header-cta { margin-left: auto; padding: 8px 14px; font-size: 13px; }
    .ia-nav { order: 3; width: calc(100% + 32px); margin: 8px -16px 0; padding: 0 12px 10px; overflow-x: auto; scrollbar-width: none; gap: 4px; }
    .ia-nav::-webkit-scrollbar { display: none; }
    .ia-nav a span { display: inline; }
    .ia-nav a { padding: 8px 12px; flex: none; font-size: 13.5px; }
    .ia-module--grand .ia-module-vignettes { display: none; }
    .ia-hero { margin-top: -108px; padding: 132px 16px 0; }
    .ia-hero-scene { min-height: 280px; transform: scale(.8); margin: -20px 0 -60px; }
    .ia-hero-recherche { flex-direction: column; gap: 6px; }
    .ia-hero-recherche button { width: 100%; }
    .ia-direct { grid-template-columns: 1fr 1fr; margin-top: 48px; }
    .ia-direct > div:nth-child(3)::before { display: none; }
    .ia-direct > div { padding: 20px; }
    .ia-section { padding-top: 72px; }
    .ia-section-tete { flex-direction: column; align-items: start; }
    .ia-modules { grid-template-columns: 1fr; }
    .ia-module--grand { grid-column: auto; min-height: 320px; }
    .ia-module--grand p { max-width: none; }
    .ia-module--bande { grid-template-columns: 1fr; }
    .ia-module--bande .ia-module-ico { grid-row: auto; margin-bottom: 18px; }
    .ia-module--bande .ia-module-chiffre, .ia-module-titres { grid-column: auto; grid-row: auto; }
    .ia-module-titres { margin-top: 16px; }
    .ia-module--grand .ia-module-vignettes { grid-template-columns: repeat(2, 120px); right: -40px; bottom: -40px; }
    .ia-module-vignettes img { width: 120px; }
    .ia-rail-piste { grid-auto-columns: 82%; }
    .ia-gainde { padding: 28px 22px; gap: 32px; border-radius: 26px; }
    .ia-telephone { width: 220px; }
    .ia-panneau { padding: 22px; }
    .ia-promesse { grid-template-columns: 1fr; }
    .ia-appel { margin: 72px 16px 0; padding: 52px 22px; border-radius: 26px; }
    .ia-grille-cat { grid-template-columns: 1fr; }
    .ia-footer-in { grid-template-columns: 1fr; gap: 28px; }
    main.ia-conteneur > h1:first-child { padding-top: 52px; }
    main.ia-conteneur > h1:first-child + p { padding-bottom: 44px; margin-bottom: 28px !important; }
    main div[style*="grid-template-columns: repeat(2"] { grid-template-columns: 1fr !important; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .ia-revele, .ia-hero .ia-lettre { opacity: 1 !important; transform: none !important; filter: none !important; }
}
