/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(../fonts/league-spartan-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(../fonts/league-spartan-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* J-Air Events — feuille de style unique. Charte reprise du catalogue : bleu roi, orange, titres en capitales. */

:root {
  --bleu: #004AAD;
  --bleu-fonce: #00327A;
  --bleu-cercle: #003F96;
  --bleu-clair: #6599FF;
  --ciel: #38B6FF;
  --orange: #FFA51F;
  --vert: #2E7D32;
  --encre: #0B1F44;
  --gris: #44506A;
  --pale: #EEF4FF;
  --trait: #DCE6F5;
  --fond-photo: #F3F6FB;
  --titre: 'League Spartan', 'Arial Black', sans-serif;
  --texte: 'DM Sans', system-ui, sans-serif;
  --largeur: 1240px;
  --ombre: 0 8px 22px rgba(0, 40, 100, 0.08);
  --ombre-forte: 0 14px 36px rgba(0, 40, 100, 0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--texte); font-size: 16px; line-height: 1.55; color: var(--encre); background: #FFFFFF; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
a:hover { color: var(--bleu); }
h1, h2, h3 { font-family: var(--titre); line-height: 1.05; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--largeur); margin: 0 auto; padding: 0 24px; }
.stack { display: flex; flex-direction: column; gap: 28px; }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; border-radius: 999px; padding: 15px 26px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn svg { flex-shrink: 0; }
.btn-orange { background: var(--orange); color: var(--encre); }
.btn-orange:hover { color: var(--encre); box-shadow: 0 6px 16px rgba(255, 165, 31, 0.45); }
.btn-blanc { border-color: #FFFFFF; color: #FFFFFF; }
.btn-blanc:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.12); }
.btn-bleu { border-color: var(--bleu); color: var(--bleu); background: #FFFFFF; }
.btn-bleu:hover { background: var(--pale); }
.btn-petit { font-size: 15px; padding: 10px 18px; }

/* ---------- en-tête ---------- */
.topbar { background: var(--bleu-fonce); color: #FFFFFF; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar span { display: flex; align-items: center; gap: 8px; }
.topbar a { color: #FFFFFF; font-weight: 700; text-decoration: none; }
.header { background: #FFFFFF; border-bottom: 1px solid var(--trait); position: sticky; top: 0; z-index: 50; }
.header .wrap { display: flex; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bleu); flex-shrink: 0; }
.logo img { width: 56px; height: 56px; }
.logo strong { display: block; font-family: var(--titre); font-weight: 800; font-size: 26px; text-transform: uppercase; line-height: 1.05; }
.logo small { display: block; font-size: 13px; color: var(--gris); }
/* ordinateurs entre 1280 et 1439 px : en-tête un peu plus serré pour que tout tienne sur une ligne */
@media (min-width: 1280px) and (max-width: 1439px) {
  .header .wrap { gap: 14px; }
  .header .nav { gap: 13px; }
  .logo strong { font-size: 22px; }
  .logo img { width: 48px; height: 48px; }
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 20px; font-weight: 500; font-size: 15px; }
.nav a { text-decoration: none; white-space: nowrap; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav a[aria-current="page"] { color: var(--bleu); font-weight: 700; border-bottom-color: var(--orange); }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--trait); background: #FFFFFF; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 1279px) {
  .menu-btn { display: flex; }
  .header .btn-orange { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #FFFFFF; border-bottom: 1px solid var(--trait); box-shadow: var(--ombre-forte); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .header.ouvert .nav { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--trait); font-size: 17px; }
  .nav a[aria-current="page"] { border-bottom-color: var(--trait); }
}
@media (max-width: 720px) {
  .topbar .lieu { display: none; }
  .topbar .wrap { justify-content: center; }
  .logo small { display: none; }
  .logo strong { font-size: 22px; }
  .logo img { width: 46px; height: 46px; }
}

/* ---------- haut de page bleu ---------- */
.hero { position: relative; overflow: hidden; color: #FFFFFF; background: linear-gradient(115deg, var(--bleu) 0%, #0A5AC8 55%, var(--bleu-clair) 100%); border-radius: 0 0 50% 50% / 0 0 72px 72px; padding: 52px 0 108px; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; border-radius: 50%; background: var(--bleu-cercle); top: -580px; left: -280px; }
.hero::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; border: 36px solid var(--ciel); bottom: -220px; right: 8%; }
.hero .wrap { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-texte { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hero-photo { flex: 1 1 380px; min-width: 0; position: relative; }
.hero-photo img { width: 100%; height: 420px; object-fit: cover; border-radius: 32px; border: 6px solid #FFFFFF; }
/* photo détourée d'un produit (fond transparent) : la structure entière, posée sur le bleu, sans cadre */
.hero-photo.detouree img { object-fit: contain; border: 0; border-radius: 0; filter: drop-shadow(0 18px 22px rgba(0, 20, 60, 0.35)); }
.hero h1 { font-weight: 800; font-size: clamp(34px, 4vw, 56px); text-transform: uppercase; }
.hero .intro { font-size: 18px; color: #E3ECFF; max-width: 600px; }
.hero .pastille { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.32); font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 999px; }
.badge-rond { position: absolute; top: -18px; right: -10px; width: 128px; height: 128px; border-radius: 50%; background: var(--orange); color: var(--encre); display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--titre); font-weight: 800; font-size: 18px; line-height: 1.05; text-transform: uppercase; transform: rotate(10deg); box-shadow: 0 10px 24px rgba(0, 30, 80, 0.3); }
.bulle { position: absolute; left: -18px; bottom: 26px; background: #FFFFFF; color: var(--encre); border-radius: 20px; padding: 14px 18px; box-shadow: var(--ombre-forte); max-width: 250px; }
.bulle strong { display: block; font-family: var(--titre); font-weight: 800; font-size: 21px; color: var(--bleu); }
.bulle span { font-size: 14px; color: var(--gris); }
.coches { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 500; font-size: 15px; margin: 0; padding: 0; list-style: none; }
.coches li { display: flex; align-items: center; gap: 8px; }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.ariane { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; margin: 0; padding: 0; list-style: none; }
.ariane a { color: #E3ECFF; text-decoration: none; }
.ariane a:hover { color: #FFFFFF; text-decoration: underline; }
.ariane li + li::before { content: "›"; color: #9DB8E6; margin-right: 8px; }
.ariane [aria-current] { font-weight: 700; }
.hero-court { padding-bottom: 96px; }
.hero-court .hero-texte { flex-basis: 100%; }
@media (max-width: 720px) {
  .hero { padding: 32px 0 80px; border-radius: 0 0 50% 50% / 0 0 36px 36px; }
  .hero-photo img { height: 280px; border-radius: 24px; }
  .badge-rond { width: 96px; height: 96px; font-size: 14px; }
  .bulle { display: none; }
  .hero .intro { font-size: 17px; }
  .boutons .btn { flex: 1 1 100%; }
}

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-pale { background: var(--pale); }
.section-bleue { background: var(--bleu); color: #FFFFFF; }
.titre-section { font-weight: 800; font-size: clamp(28px, 3vw, 42px); text-transform: uppercase; color: var(--bleu); }
.section-bleue .titre-section { color: #FFFFFF; }
.sous-titre { font-size: 18px; color: var(--gris); max-width: 720px; }
.entete-section { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.entete-section > div { display: flex; flex-direction: column; gap: 8px; }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--bleu); }
.surtitre { display: flex; align-items: center; gap: 10px; color: var(--bleu); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.surtitre::before { content: ""; width: 28px; height: 4px; border-radius: 2px; background: var(--orange); }
@media (max-width: 720px) { .section { padding: 48px 0; } }

/* ---------- avantages ---------- */
.avantages { position: relative; z-index: 2; margin-top: -64px; }
.avantages .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.avantage { background: #FFFFFF; border-radius: 22px; overflow: hidden; box-shadow: var(--ombre-forte); }
.avantage h2, .avantage h3 { display: flex; align-items: center; gap: 10px; padding: 12px 20px; font-weight: 700; font-size: 18px; text-transform: uppercase; }
.avantage p { padding: 14px 20px 18px; font-size: 15px; color: var(--gris); }
.avantage.vert h2, .avantage.vert h3 { background: var(--vert); color: #FFFFFF; }
.avantage.orange h2, .avantage.orange h3 { background: var(--orange); color: var(--encre); }
.avantage.bleu h2, .avantage.bleu h3 { background: var(--bleu); color: #FFFFFF; }

/* ---------- grilles et cartes ---------- */
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 22px; }
.grille-large { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.carte { background: #FFFFFF; border: 1px solid var(--trait); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--ombre); text-decoration: none; color: var(--encre); transition: transform .15s ease, box-shadow .15s ease; }
a.carte:hover { transform: translateY(-3px); box-shadow: var(--ombre-forte); color: var(--encre); }
/* cadre de photo de hauteur fixe : la photo est montrée en entier, centrée */
.carte-photo { position: relative; display: block; aspect-ratio: 4 / 3; background: #FFFFFF; padding: 0; border: 0; width: 100%; font: inherit; overflow: hidden; }
.carte-photo.fond { background: var(--fond-photo); }
.carte-photo img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; }
.carte-photo.couvre img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
button.carte-photo { cursor: zoom-in; }
.zoom-ico { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .15s; }
button.carte-photo:hover .zoom-ico, button.carte-photo:focus-visible .zoom-ico { opacity: 1; }
.pastille-drive { position: absolute; top: 12px; left: 12px; background: var(--vert); color: #FFFFFF; font-weight: 700; font-size: 13px; padding: 5px 11px; border-radius: 999px; }
.carte h3 { background: var(--bleu); color: #FFFFFF; padding: 10px 18px; font-weight: 700; font-size: 20px; line-height: 1.15; }
.carte-corps { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.carte-corps > p { font-size: 15px; color: var(--gris); flex-grow: 1; }
.details { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--gris); flex-grow: 1; }
.details li { display: flex; gap: 8px; align-items: flex-start; }
.details svg { flex-shrink: 0; margin-top: 2px; }
.prix { border-top: 2px solid var(--bleu); border-bottom: 2px solid var(--bleu); padding: 7px 0; display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.2; gap: 2px; }
.prix small { font-size: 12px; color: var(--gris); }
.prix .etiquette { font-weight: 700; }
.prix strong { font-family: var(--titre); font-weight: 800; font-size: 26px; color: var(--bleu); }
.carte-meta { font-family: var(--titre); font-weight: 800; font-size: 20px; color: var(--bleu); }

/* onglets de catégories */
.onglets { display: flex; flex-wrap: wrap; gap: 10px; }
.onglets a { text-decoration: none; font-weight: 700; font-size: 15px; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--bleu); color: var(--bleu); background: #FFFFFF; }
.onglets a:hover { background: var(--pale); }
.onglets a[aria-current="page"] { background: var(--bleu); color: #FFFFFF; }
.ages { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ages > span { font-weight: 700; font-size: 15px; margin-right: 4px; }
.ages a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 15px; padding: 9px 16px; border-radius: 999px; border: 2px solid var(--bleu); color: var(--bleu); }
.ages a:hover { background: var(--pale); }

/* encadrés */
.bon-a-savoir { background: var(--pale); border-radius: 22px; padding: 24px 28px; display: flex; gap: 16px; align-items: flex-start; }
.bon-a-savoir .rond { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; }
.bon-a-savoir h2 { font-weight: 700; font-size: 20px; color: var(--bleu); margin-bottom: 4px; }
.bon-a-savoir p { color: var(--gris); }
.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 16px; margin: 0; }
.chiffres div { background: var(--pale); border-radius: 18px; padding: 18px 20px; }
.chiffres dt { font-size: 13px; font-weight: 700; color: var(--gris); text-transform: uppercase; letter-spacing: 0.06em; }
.chiffres dd { margin: 4px 0 0; font-family: var(--titre); font-weight: 800; font-size: 22px; color: var(--bleu); line-height: 1.15; }
.colonnes { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.colonnes > .principale { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.colonnes > .laterale { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.texte p { font-size: 17px; color: var(--gris); }
.texte p + p { margin-top: 14px; }
.liste-coches { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 10px 24px; }
.liste-coches li { display: flex; gap: 10px; align-items: flex-start; }
.liste-coches svg { flex-shrink: 0; margin-top: 3px; }
.encart-prix { border: 2px solid var(--bleu); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.encart-prix .etiquette { font-size: 13px; font-weight: 700; color: var(--gris); text-transform: uppercase; letter-spacing: 0.06em; }
.encart-prix strong { font-family: var(--titre); font-weight: 800; font-size: 34px; color: var(--bleu); line-height: 1.05; }
.encart-prix span { color: var(--gris); }
.encart-prix .btn { margin-top: 8px; }
.galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.galerie button { padding: 0; border: 0; border-radius: 20px; overflow: hidden; cursor: zoom-in; background: var(--fond-photo); aspect-ratio: 4 / 3; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.galerie button:hover img { transform: scale(1.03); }
.puces { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.puces li { background: var(--pale); color: var(--bleu); font-weight: 700; padding: 9px 16px; border-radius: 999px; }
.section-bleue .puces li { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.3); color: #FFFFFF; font-weight: 500; }

/* étapes */
.etapes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: etape; }
.etapes li { background: #FFFFFF; border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 10px; counter-increment: etape; }
.etapes li::before { content: counter(etape); width: 52px; height: 52px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; font-family: var(--titre); font-weight: 800; font-size: 26px; }
.etapes h3 { font-weight: 700; font-size: 23px; color: var(--bleu); }
.etapes p { color: var(--gris); }

/* vidéo */
.video-cadre { width: min(100%, 360px); border-radius: 28px; overflow: hidden; border: 6px solid var(--bleu-fonce); background: #000; box-shadow: var(--ombre-forte); }
.video-cadre video { width: 100%; height: auto; aspect-ratio: 480 / 688; }

/* bandeau devis */
.bandeau { position: relative; overflow: hidden; background: linear-gradient(115deg, var(--bleu) 0%, #0A5AC8 60%, var(--bleu-clair) 100%); color: #FFFFFF; border-radius: 36px; padding: 48px clamp(24px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.bandeau::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 30px solid var(--ciel); bottom: -180px; right: -90px; }
.bandeau > div { position: relative; z-index: 1; }
.bandeau h2 { font-weight: 800; font-size: clamp(28px, 3vw, 40px); text-transform: uppercase; }
.bandeau p { font-size: 18px; color: #E3ECFF; max-width: 520px; margin-top: 10px; }

/* formulaires */
.formulaire { background: #FFFFFF; color: var(--encre); border-radius: 28px; padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; box-shadow: var(--ombre-forte); }
.formulaire h2 { grid-column: 1 / -1; font-weight: 800; font-size: 28px; text-transform: uppercase; color: var(--bleu); }
.formulaire label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; }
.formulaire .large { grid-column: 1 / -1; }
.formulaire input, .formulaire select, .formulaire textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 13px 14px; border: 1.5px solid #C2D2EA; border-radius: 12px; background: #F7FAFF; color: var(--encre); width: 100%; }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { border-color: var(--bleu); outline: none; box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.15); }
.formulaire textarea { resize: vertical; }
.formulaire .btn { grid-column: 1 / -1; }
.formulaire .mention { grid-column: 1 / -1; font-size: 13px; color: var(--gris); }
.formulaire .piege { position: absolute; left: -9999px; }
.coordonnees { background: var(--bleu); color: #FFFFFF; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--ombre-forte); }
.coordonnees h2 { font-weight: 800; font-size: 24px; text-transform: uppercase; }
.coordonnees a, .coordonnees p { display: flex; align-items: flex-start; gap: 12px; color: #FFFFFF; text-decoration: none; }
.coordonnees .tel { font-family: var(--titre); font-weight: 800; font-size: 30px; align-items: center; }
.coordonnees small { color: #C9D8F2; }
@media (max-width: 720px) { .formulaire { padding: 22px; } }

/* texte long (CGV, mentions) */
.prose { max-width: 820px; }
.prose h2 { font-weight: 800; font-size: 28px; text-transform: uppercase; color: var(--bleu); margin: 40px 0 12px; }
.prose h3 { font-weight: 700; font-size: 20px; color: var(--bleu); margin: 28px 0 8px; }
.prose p, .prose li { color: var(--gris); }
.prose p + p { margin-top: 10px; }

/* pied de page */
.footer { background: var(--bleu-fonce); color: #FFFFFF; padding: 64px 0 28px; }
.footer .colonnes-pied { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer .identite { flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px; }
.footer .identite .logo { color: #FFFFFF; }
.footer .identite .logo img { width: 52px; height: 52px; background: #FFFFFF; border-radius: 50%; }
.footer nav { flex: 0 1 200px; display: flex; flex-direction: column; gap: 10px; }
.footer nav h2 { font-family: var(--texte); font-size: 16px; font-weight: 700; }
.footer a { color: #C9D8F2; text-decoration: none; }
.footer a:hover { color: #FFFFFF; text-decoration: underline; }
.footer .tel { color: #FFFFFF; font-weight: 700; }
.footer .bas { border-top: 1px solid rgba(255, 255, 255, 0.18); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; color: #C9D8F2; }

/* barre d'appel sur téléphone */
.barre-mobile { display: none; }
@media (max-width: 720px) {
  .barre-mobile { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #FFFFFF; border-top: 1px solid var(--trait); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 20px rgba(0, 40, 100, 0.1); }
  .barre-mobile .btn { flex: 1 1 0; font-size: 16px; padding: 12px; }
  body { padding-bottom: 76px; }
}

/* visionneuse photo */
.visionneuse { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1100px); max-height: 92vh; }
.visionneuse::backdrop { background: rgba(6, 18, 42, 0.86); }
.visionneuse figure { margin: 0; background: #FFFFFF; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.visionneuse img { max-height: calc(92vh - 64px); width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; }
.visionneuse figcaption { padding: 14px 64px 14px 20px; font-family: var(--titre); font-weight: 700; font-size: 20px; color: var(--bleu); }
.visionneuse .fermer { position: absolute; right: 12px; bottom: 8px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--pale); color: var(--bleu); font-size: 26px; line-height: 1; cursor: pointer; }

/* ---------- animations discrètes ---------- */
:root { --doux: cubic-bezier(.22, .61, .36, 1); }
.btn, a.carte, .onglets a, .ages a, .nav a, .footer a, .ariane a { transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .25s var(--doux), box-shadow .25s var(--doux); }
.carte-photo img { transition: transform .4s var(--doux); }
a.carte:hover .carte-photo img, button.carte-photo:hover img { transform: scale(1.04); }
.lien-fleche svg { transition: transform .2s var(--doux); }
.lien-fleche:hover svg, a.carte:hover .lien-fleche svg { transform: translateX(4px); }
.header { transition: box-shadow .25s ease; }
.header.defile { box-shadow: 0 6px 18px rgba(0, 40, 100, 0.08); }
@media (min-width: 1280px) {
  .nav a:not([aria-current="page"]) { background: linear-gradient(var(--orange), var(--orange)) no-repeat left bottom / 0 3px; transition: background-size .25s var(--doux), color .2s ease; }
  .nav a:not([aria-current="page"]):hover { background-size: 100% 3px; }
}

/* arrivée du haut de page : mouvement seul, sans transparence, pour que le texte et la photo s'affichent immédiatement (Google mesure leur affichage) */
@keyframes glisse { from { transform: translateY(14px); } to { transform: none; } }
@keyframes zoome { from { transform: scale(.97); } to { transform: none; } }
@keyframes apparait { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pastille { from { opacity: 0; transform: rotate(10deg) scale(.6); } to { opacity: 1; transform: rotate(10deg) scale(1); } }
.hero-texte > * { animation: glisse .6s var(--doux) both; }
.hero-texte > :nth-child(2) { animation-delay: .07s; }
.hero-texte > :nth-child(3) { animation-delay: .14s; }
.hero-texte > :nth-child(4) { animation-delay: .21s; }
.hero-texte > :nth-child(n+5) { animation-delay: .28s; }
.hero-photo { animation: zoome .7s .1s var(--doux) both; }
.badge-rond { animation: pastille .5s .5s var(--doux) both; }
.bulle { animation: glisse .5s .6s var(--doux) both; }

/* menu sur téléphone et visionneuse */
@keyframes deroule { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes fondu { from { opacity: 0; } to { opacity: 1; } }
.header.ouvert .nav { animation: deroule .22s var(--doux); }
.visionneuse[open] { animation: apparait .25s var(--doux); }
.visionneuse[open]::backdrop { animation: fondu .25s ease; }

/* éléments qui apparaissent en faisant défiler la page (classe posée par main.js) */
.a-reveler { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--doux), transform .6s var(--doux); transition-delay: var(--delai, 0s); }
.a-reveler.revele { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .a-reveler { opacity: 1; transform: none; }
}
@media print { .a-reveler { opacity: 1 !important; transform: none !important; } }

/* ---------- utilitaires (remplacent les attributs style="" pour une CSP sans 'unsafe-inline') ---------- */
.centre-v { align-items: center; }
.centre-t { text-align: center; }
.centre { align-items: center; text-align: center; }
.centre-h { justify-content: center; }
.mt-10 { margin-top: 10px; }
.mt-20, .prose p.mt-20 { margin-top: 20px; }
.section-remonte { padding-top: 0; margin-top: -56px; position: relative; z-index: 2; }
.photo-equipe { width: 100%; height: 440px; object-fit: cover; border-radius: 32px; }

/* ---------- réseaux sociaux (pied de page et page contact) ---------- */
.reseaux { display: flex; gap: 10px; }
.reseaux a { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.12); color: #FFFFFF; transition: background-color .2s ease, color .2s ease; }
.footer .reseaux a { color: #FFFFFF; text-decoration: none; }
.reseaux a:hover, .footer .reseaux a:hover { background: var(--orange); color: var(--encre); text-decoration: none; }
.reseaux a:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- plan d'accès (page contact) : image fixe, carte interactive au clic ---------- */
.plan-acces { margin: 24px 0 0; }
.plan-cadre { position: relative; aspect-ratio: 16 / 7; border-radius: 28px; overflow: hidden; background: #F2EFE9; box-shadow: var(--ombre-forte); }
.plan-cadre picture { display: block; height: 100%; }
.plan-cadre img, .plan-cadre iframe { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; }
.plan-cadre::after { content: ""; position: absolute; inset: 0; background: rgba(11, 31, 68, 0.28); opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.plan-activer { position: absolute; inset: 0; z-index: 1; margin: auto; width: fit-content; height: fit-content; opacity: 0; transition: opacity .2s ease, transform .25s var(--doux), box-shadow .25s var(--doux); }
.plan-cadre:hover::after, .plan-cadre:focus-within::after { opacity: 1; }
.plan-cadre:hover .plan-activer, .plan-activer:focus-visible { opacity: 1; }
.plan-activer:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }
.plan-cadre.active::after { display: none; }
.plan-acces figcaption { margin-top: 12px; font-size: 14px; color: var(--gris); }
@media (hover: none) {
  /* sur écran tactile, pas de survol : le bouton reste visible en bas de la carte */
  .plan-activer { opacity: 1; top: auto; bottom: 16px; }
  .plan-cadre::after { display: none; }
}
@media (max-width: 700px) {
  .plan-cadre { aspect-ratio: 4 / 3; border-radius: 22px; }
  .plan-activer { font-size: 15px; padding: 10px 18px; gap: 8px; }
}

/* ---------- recherche : loupe dans l'en-tête, fenêtre ouverte par main.js ---------- */
.recherche-btn { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--trait); background: #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.recherche-btn:hover { background: var(--pale); border-color: var(--bleu-clair); }
.recherche-btn[hidden] { display: none; }
@media (max-width: 1279px) {
  .header .wrap { gap: 10px; }
  .recherche-btn { margin-left: auto; }
  .recherche-btn:not([hidden]) ~ .menu-btn { margin-left: 0; }
}
.recherche { border: 0; padding: 0; margin: 72px auto auto; width: min(680px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 104px); border-radius: 24px; background: #FFFFFF; color: var(--encre); box-shadow: var(--ombre-forte); overflow: hidden; }
.recherche::backdrop { background: rgba(6, 18, 42, 0.6); }
.recherche[open] { animation: deroule .22s var(--doux); }
.recherche[open]::backdrop { animation: fondu .22s ease; }
.recherche-boite { display: flex; flex-direction: column; max-height: inherit; }
.recherche-champ { flex-shrink: 0; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--trait); }
.recherche-champ svg { flex-shrink: 0; }
.recherche-champ input { flex: 1; min-width: 0; font: inherit; font-size: 18px; border: 0; outline: none; background: transparent; color: var(--encre); padding: 10px 0; }
.recherche-champ input::placeholder { color: #7A869E; }
.recherche-champ input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.recherche-champ:focus-within { box-shadow: inset 0 -3px 0 var(--orange); }
.recherche .fermer { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--pale); color: var(--bleu); font-size: 26px; line-height: 1; cursor: pointer; }
.recherche .fermer:hover { background: var(--trait); }
.recherche-etat { flex-shrink: 0; padding: 14px 20px 6px; font-size: 13px; font-weight: 700; color: var(--gris); text-transform: uppercase; letter-spacing: 0.06em; }
.recherche-etat:empty { display: none; }
.recherche-resultats { list-style: none; margin: 0; padding: 4px 10px 12px; overflow-y: auto; overscroll-behavior: contain; }
.recherche-resultats a { display: flex; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 14px; text-decoration: none; color: var(--encre); }
.recherche-resultats a:hover, .recherche-resultats a:focus-visible { background: var(--pale); color: var(--encre); }
.recherche-resultats a:focus-visible { outline: 2px solid var(--bleu); outline-offset: -2px; }
.recherche-resultats img, .recherche-resultats .sans-photo { flex-shrink: 0; width: 56px; height: 56px; border-radius: 12px; background: var(--fond-photo); object-fit: contain; }
.recherche-resultats .sans-photo { display: flex; align-items: center; justify-content: center; font-family: var(--titre); font-weight: 800; font-size: 24px; color: var(--bleu); }
.recherche-resultats strong { display: block; font-family: var(--titre); font-weight: 700; font-size: 18px; line-height: 1.15; color: var(--bleu); }
.recherche-resultats small { display: block; margin-top: 2px; font-size: 14px; color: var(--gris); }
.recherche-resultats .recherche-aide { padding: 6px 10px 10px; color: var(--encre); }
.recherche-aide a { display: inline; padding: 0; color: var(--bleu); font-weight: 700; text-decoration: underline; }
.recherche-aide a:hover { background: none; }
/* le jeu choisi dans la recherche : visible sous l'en-tête collant, et entouré un instant */
.carte[id] { scroll-margin-top: 110px; }
.carte:target { outline: 3px solid var(--orange); outline-offset: 4px; }
@media (max-width: 720px) {
  .recherche { margin-top: 12px; width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 20px; }
  .recherche-champ { padding-left: 16px; }
  .recherche-champ input { font-size: 17px; }
}
@media (max-width: 380px) {
  .logo strong { font-size: 19px; }
}

/* ---------- accueil sur téléphone : le titre, tout de suite les animations, puis le reste ----------
   Seul l'ordre d'affichage change (le HTML reste le même que sur ordinateur, sans texte en double).
   Le haut de page bleu est « aplati » (display: contents) pour que ses éléments puissent être rangés un par un. */
@media (max-width: 720px) {
  .accueil { display: flex; flex-direction: column; }
  .accueil > * { order: 4; }
  .hero-accueil, .hero-accueil > .wrap, .hero-accueil .hero-texte { display: contents; }
  .hero-accueil { color: var(--encre); }
  .hero-accueil::before, .hero-accueil::after { display: none; }
  /* 1. le titre, en grand dans un bandeau bleu */
  .hero-accueil h1 { order: 1; margin: 0; padding: 28px 24px 44px; color: #FFFFFF; font-size: 34px; background: linear-gradient(115deg, var(--bleu) 0%, #0A5AC8 55%, var(--bleu-clair) 100%); border-radius: 0 0 50% 50% / 0 0 32px 32px; }
  /* 2. les animations, en deux colonnes compactes : photo, nom, prix */
  .accueil-animations { order: 2; padding: 28px 0 40px; }
  .accueil-animations .stack { gap: 18px; }
  .accueil-animations .sous-titre { font-size: 15px; }
  .accueil-animations .grille { order: 1; }
  .accueil-animations .ages { order: 2; } /* les cartes d'abord, la recherche par âge juste après */
  .accueil-animations .ages > span { flex-basis: 100%; }
  .accueil-animations .ages a { font-size: 14px; padding: 7px 12px; }
  .accueil-animations .grille { grid-template-columns: 1fr 1fr; gap: 12px; }
  .accueil-animations .carte { border-radius: 16px; }
  .accueil-animations .carte-photo { aspect-ratio: 1 / 1; }
  .accueil-animations .carte-photo img { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
  .accueil-animations .carte-photo.couvre img { inset: 0; width: 100%; height: 100%; }
  .accueil-animations .carte h3 { flex-grow: 1; display: flex; align-items: center; padding: 8px 10px; font-size: 15px; }
  .accueil-animations .carte-corps { flex-grow: 0; padding: 8px 10px 10px; gap: 0; }
  .accueil-animations .carte-corps > p, .accueil-animations .carte-corps .lien-fleche { display: none; }
  .accueil-animations .carte-meta { font-size: 16px; }
  /* 3. le texte de présentation, les avantages et la photo du haut de page */
  .hero-accueil .pastille, .hero-accueil .intro, .hero-accueil .coches, .hero-accueil .boutons, .hero-accueil .hero-photo { order: 3; margin: 0 24px 18px; }
  .hero-accueil .pastille { align-self: flex-start; background: var(--pale); border-color: var(--trait); color: var(--bleu); }
  .hero-accueil .intro { color: var(--encre); }
  .hero-accueil .coches { flex-direction: column; gap: 8px; }
  .hero-accueil .btn-blanc { border-color: var(--bleu); color: var(--bleu); background: #FFFFFF; }
  .hero-accueil .hero-photo { margin-top: 6px; margin-bottom: 0; }
  .hero-accueil .hero-photo img { border: 0; box-shadow: var(--ombre-forte); }
  .accueil .avantages { margin-top: 0; padding-top: 40px; }
}
/* ---------- « Ils nous font confiance » : logos des clients (ou leur nom tant que le logo manque) ---------- */
/* chaque client dans un rond blanc ; les logos très larges (Decathlon, Eurovia…) gardent leurs proportions à l'intérieur */
.logos { width: 100%; list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); justify-items: center; gap: 16px 12px; }
.logos li { width: 136px; aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 14px; background: #FFFFFF; border: 1px solid var(--trait); box-shadow: var(--ombre); text-align: center; overflow: hidden; transition: transform .25s var(--doux), box-shadow .25s var(--doux); }
.logos li:hover { transform: translateY(-2px); box-shadow: var(--ombre-forte); }
.logos img { width: auto; height: auto; max-width: 100%; max-height: 60px; object-fit: contain; }
.logos span { font-family: var(--titre); font-weight: 700; font-size: 13px; line-height: 1.15; color: var(--gris); overflow-wrap: anywhere; hyphens: auto; }
.logos-suite { margin-top: 14px; font-size: 15px; color: var(--gris); }
.references > div { flex: 1; min-width: 0; }
@media (max-width: 720px) {
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
  .logos li { width: min(100%, 104px); padding: 9px; }
  .logos img { max-height: 44px; }
  .logos span { font-size: 11.5px; }
}
/* ---------- menus déroulants de l'en-tête (ordinateur) ----------
   Ouverts au survol et au clavier (:focus-within), sans JavaScript. Le panneau se déroule de haut en bas (clip-path),
   puis les liens apparaissent l'un après l'autre. La fermeture attend un instant : le menu ne disparaît pas
   au moindre écart de souris. Sur téléphone (menu burger), les sous-menus sont cachés. */
.nav-item { position: relative; }
.sous-menu { display: none; }
@media (max-width: 1279px) {
  .nav-item > a { display: block; }
}
@media (min-width: 1280px) {
  .nav-item { display: flex; align-items: center; }
  .sous-menu { display: block; position: absolute; top: 100%; left: -16px; z-index: 60; padding-top: 16px; visibility: hidden; pointer-events: none; transition: visibility 0s linear .32s; }
  .sous-menu-liste { min-width: 240px; display: flex; flex-direction: column; padding: 8px; background: #FFFFFF; border: 1px solid var(--trait); border-radius: 18px; box-shadow: var(--ombre-forte); opacity: 0; transform: translateY(-6px); clip-path: inset(0 0 100% 0 round 18px); transition: clip-path .32s var(--doux), opacity .22s ease, transform .32s var(--doux); }
  .nav-item:hover .sous-menu, .nav-item:focus-within .sous-menu { visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .nav-item:hover .sous-menu-liste, .nav-item:focus-within .sous-menu-liste { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 18px); }
  .nav .sous-menu a { padding: 10px 14px; border: 0; border-radius: 12px; font-weight: 500; font-size: 15px; color: var(--encre); background: none; white-space: nowrap; opacity: 0; transform: translateY(-4px); transition: background-color .2s ease, color .2s ease, opacity .25s ease, transform .3s var(--doux); }
  .nav-item:hover .sous-menu a, .nav-item:focus-within .sous-menu a { opacity: 1; transform: none; }
  .nav-item:hover .sous-menu a:nth-child(2), .nav-item:focus-within .sous-menu a:nth-child(2) { transition-delay: .03s; }
  .nav-item:hover .sous-menu a:nth-child(3), .nav-item:focus-within .sous-menu a:nth-child(3) { transition-delay: .06s; }
  .nav-item:hover .sous-menu a:nth-child(4), .nav-item:focus-within .sous-menu a:nth-child(4) { transition-delay: .09s; }
  .nav-item:hover .sous-menu a:nth-child(5), .nav-item:focus-within .sous-menu a:nth-child(5) { transition-delay: .12s; }
  .nav-item:hover .sous-menu a:nth-child(6), .nav-item:focus-within .sous-menu a:nth-child(6) { transition-delay: .15s; }
  .nav .sous-menu a:hover, .nav .sous-menu a:focus-visible { background: var(--pale); color: var(--bleu); }
  .nav .sous-menu a:focus-visible { outline: 2px solid var(--bleu); outline-offset: -2px; }
  .nav .sous-menu a[aria-current="page"] { background: var(--pale); color: var(--bleu); font-weight: 700; }
}