/* Mannequins Montréal — refonte 2026 « Galerie Blanche » (maquette 7A)
   Feuille commune aux pages À propos, Nos clients, Cours, Contact et Forfaits.
   L'accueil (index.php) porte ses propres styles, les mêmes, dans le fichier. */

:root {
    --encre: #111114;
    --texte: #45434D;
    --discret: #55535E;
    --violet: #7A3E9D;
    --violet-fonce: #63307F;
    --violet-pale: #F7F3FA;
    --gris: #F6F5F8;
    --filet: #DDDBE2;
    --photo: #ECEBEF;
    --marge: 3.5%;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--encre); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: var(--encre); }
a:hover { color: var(--violet); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.point { color: var(--violet); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 1px solid var(--encre); background: #fff; color: var(--encre); font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--encre); color: #fff; }
.btn-violet { background: var(--violet); border-color: var(--violet); color: #fff; }
.btn-violet:hover { background: var(--violet-fonce); border-color: var(--violet-fonce); color: #fff; }
.btn-blanc { background: #fff; border-color: #fff; color: var(--encre); }
.btn-contour-blanc { background: transparent; border-color: #fff; color: #fff; }
.btn-contour-blanc:hover { background: #fff; color: var(--encre); }
.btn-grand { min-height: 54px; padding: 0 28px; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--marge); background: #fff; border-bottom: 1px solid var(--encre); }
.marque { font-weight: 600; font-size: 18px; letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.menu { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 500; }
.menu a { text-decoration: none; }
.menu a[aria-current="page"] { color: var(--violet); }
.menu .btn { min-height: 44px; padding: 0 18px; }
.entete-droite { display: flex; align-items: center; gap: 10px; }
.choix { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--encre); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.choix b { display: inline-block; min-width: 26px; padding: 2px 8px; background: var(--violet); color: #fff; font-weight: 500; text-align: center; }
.burger { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--encre); background: #fff; color: var(--encre); cursor: pointer; align-items: center; justify-content: center; }

/* Titre de page */
.titre-page { padding: 28px var(--marge) 48px; }
.fil { margin: 0 0 40px; font-size: 13px; color: var(--discret); }
.fil a { color: var(--discret); }
.sur { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--violet); }
.titre-page .ligne { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.titre-page h1 { margin: 0; font-weight: 500; font-size: clamp(50px, 7.4vw, 104px); line-height: .94; letter-spacing: -.04em; }
.titre-page .ligne p { margin: 0; max-width: 430px; font-size: 18px; line-height: 1.5; color: var(--texte); }

/* Sections */
.section { padding: 0 var(--marge) 80px; }
.tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; padding-top: 28px; border-top: 1px solid var(--encre); margin-bottom: 32px; }
.tete h2, h2.grand { margin: 0; font-weight: 500; font-size: clamp(36px, 4.2vw, 60px); line-height: .98; letter-spacing: -.035em; }
.tete > p { margin: 0; max-width: 460px; font-size: 16px; line-height: 1.55; color: var(--texte); }
.deux { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.lead { margin: 0 0 20px; font-size: 22px; line-height: 1.45; letter-spacing: -.01em; }
.corps { margin: 0 0 32px; font-size: 17px; line-height: 1.6; color: var(--texte); }

/* Figure pleine largeur */
.figure { margin: 0; }
.figure .cadre { height: clamp(260px, 39vw, 560px); background: var(--photo); overflow: hidden; }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure figcaption { padding: 12px 0; font-size: 14px; color: var(--texte); border-bottom: 1px solid var(--encre); }

/* Cartes numérotées */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.carte-no { padding: 28px; border: 1px solid var(--filet); }
.carte-no .no { margin: 0 0 56px; font-weight: 500; font-size: 56px; line-height: 1; letter-spacing: -.03em; color: var(--violet); }
.carte-no h3 { margin: 0 0 10px; font-weight: 600; font-size: 22px; }
.carte-no p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--texte); }

/* Bande d'appel violette */
.bande { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 56px 5%; background: var(--violet); color: #fff; }
.bande h2 { margin: 0 0 10px; font-weight: 500; font-size: clamp(34px, 3.9vw, 56px); line-height: 1; letter-spacing: -.035em; }
.bande p { margin: 0; font-size: 18px; }
.bande .boutons { display: flex; flex-wrap: wrap; gap: 10px; }

/* Avis encadré */
.avis { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border: 1px solid var(--violet); background: var(--violet-pale); }
.avis p { margin: 0; max-width: 860px; font-size: 17px; line-height: 1.5; }
.avis strong { font-weight: 600; }
.avis .titre { margin-bottom: 6px; font-size: 19px; font-weight: 600; }
.avis .gris { font-size: 16px; color: var(--texte); }
.etiquette { display: inline-block; padding: 8px 14px; border: 1px solid var(--violet); color: var(--violet); font-size: 14px; font-weight: 600; }

/* Nos clients : grille de logos */
.logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.logos a { display: block; aspect-ratio: 420 / 267; background: var(--photo); overflow: hidden; }
.logos img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.logos a:hover img { transform: scale(1.04); }
.visionneuse { width: min(92vw, 900px); padding: 0; border: 1px solid var(--encre); background: #fff; }
.visionneuse::backdrop { background: rgba(17, 17, 20, .7); }
.visionneuse img { width: 100%; }
.visionneuse .commandes { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px; border-top: 1px solid var(--filet); font-size: 14px; }
.visionneuse button { min-width: 48px; min-height: 48px; border: 1px solid var(--encre); background: #fff; font: inherit; font-size: 18px; cursor: pointer; }

/* Cours */
.quatre { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quatre div { padding: 20px; border: 1px solid var(--filet); }
.quatre small { display: block; margin-bottom: 20px; font-size: 14px; font-weight: 600; color: var(--violet); }
.quatre span { font-size: 22px; font-weight: 500; }
.fin { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 40px 0; border-top: 1px solid var(--encre); }
.fin p { margin: 0; max-width: 620px; font-size: 20px; line-height: 1.45; }
.fin .boutons { display: flex; flex-wrap: wrap; gap: 10px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: stretch; }
.contact .gauche { padding-top: 28px; border-top: 1px solid var(--encre); }
.coord { display: block; padding: 20px 0; border-top: 1px solid var(--filet); text-decoration: none; }
.coord:last-of-type { border-bottom: 1px solid var(--filet); }
.coord small { display: block; margin-bottom: 4px; font-size: 14px; color: var(--discret); }
.coord span { font-weight: 500; letter-spacing: -.03em; overflow-wrap: anywhere; }
.coord .t1 { font-size: clamp(32px, 3.4vw, 48px); }
.coord .t2 { font-size: clamp(22px, 2.5vw, 36px); color: var(--violet); }
.coord .t3 { font-size: clamp(19px, 1.8vw, 26px); letter-spacing: -.02em; }
.contact .boutons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.grande-carte { min-height: 520px; background: var(--photo); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; }
.grande-carte p { margin: 0; font-size: 15px; color: var(--texte); text-align: center; }
.grande-carte iframe { width: 100%; height: 100%; min-height: 472px; border: 0; }

/* Forfaits */
.forfaits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
.forfait { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--filet); }
.forfait.vedette { padding: 29px; border: 2px solid var(--violet); }
.forfait .nom { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.forfait h3 { margin: 0; font-size: 22px; font-weight: 600; }
.forfait .nom span { font-size: 13px; font-weight: 600; color: var(--violet); }
.forfait .accroche { margin: 0 0 24px; font-size: 15px; color: var(--texte); }
.forfait .prix { margin: 0 0 24px; font-weight: 500; font-size: 64px; line-height: 1; letter-spacing: -.04em; }
.forfait ul { flex: 1; margin: 0 0 28px; padding: 0; list-style: none; font-size: 16px; line-height: 1.45; }
.forfait li { padding: 12px 0; border-top: 1px solid var(--filet); }
.forfait .btn { width: 100%; }
.note { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 0; border-top: 1px solid var(--encre); }
.note p { margin: 0; max-width: 760px; font-size: 17px; line-height: 1.55; color: var(--texte); }
.note a { font-weight: 500; }

/* Pied de page */
.pied { padding: 40px var(--marge) 26px; background: var(--gris); }
.colonnes { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 36px; }
.colonnes p { margin: 0; font-size: 15px; line-height: 1.7; }
.colonnes .nom-agence { margin-bottom: 12px; font-weight: 600; font-size: 17px; letter-spacing: .02em; }
.colonnes .gris { line-height: 1.6; color: var(--texte); }
.colonnes .titre { margin-bottom: 12px; font-size: 14px; color: var(--discret); }
.colonnes nav { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.colonnes nav a { text-decoration: none; }
.carte { height: 170px; background: #E7E5EB; display: flex; align-items: center; justify-content: center; }
.carte iframe { width: 100%; height: 100%; border: 0; }
.bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--filet); font-size: 13px; color: var(--texte); }

/* Barre fixe, téléphone seulement */
.fixe { display: none; }

@media (max-width: 1100px) {
    .menu { gap: 18px; }
    .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .burger { display: inline-flex; }
    .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--marge) 16px; background: var(--gris); border-bottom: 1px solid var(--encre); }
    .menu.ouvert { display: flex; }
    .menu a { padding: 14px 0; border-bottom: 1px solid var(--filet); font-size: 22px; }
    .menu .btn { margin-top: 14px; border-bottom: 0; font-size: 16px; }
    .deux, .trio, .contact, .forfaits { grid-template-columns: 1fr; }
    .deux { gap: 24px; }
    .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .colonnes { grid-template-columns: 1fr; gap: 24px; }
    .section { padding-bottom: 56px; }
    .titre-page { padding-bottom: 32px; }
    .fil { margin-bottom: 24px; }
    .carte-no .no { margin-bottom: 20px; }
    .bande { padding: 36px 22px; }
    .grande-carte { min-height: 320px; }
    .grande-carte iframe { min-height: 272px; }
    body { padding-bottom: 56px; }
    .fixe { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--encre); }
    .fixe a { display: flex; align-items: center; justify-content: center; min-height: 56px; text-decoration: none; font-weight: 500; font-size: 15px; }
    .fixe a:first-child { background: var(--violet); color: #fff; }
}
@media (max-width: 520px) {
    .choix { padding: 0 10px; }
    .choix .mot { display: none; }
    .marque { font-size: 15px; }
    .quatre { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}

/* =====================================================================
   GALERIE (gallery/index.php) ET FICHE (gallery/detail.php)
   ===================================================================== */
.langues { font-size: 14px; white-space: nowrap; }
.langues a { text-decoration: none; color: var(--texte); }
.langues a[aria-current="true"] { font-weight: 600; color: var(--encre); }
img.bw { filter: grayscale(100%); }

/* Catégories et actions */
.barre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--encre); border-bottom: 1px solid var(--filet); margin-bottom: 14px; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid #C9C6D0; background: #fff; color: var(--encre); font: inherit; font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; }
.puce:hover { border-color: var(--encre); color: var(--encre); }
.puce.actif { background: var(--encre); border-color: var(--encre); color: #fff; }
.puce.sous { min-height: 36px; padding: 0 12px; font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; font-size: 14px; font-weight: 500; }
.actions a, .actions button { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--encre); font: inherit; font-weight: 500; text-decoration: underline; cursor: pointer; }
.actions a:hover, .actions button:hover { color: var(--violet); }
.actions label { display: inline-flex; align-items: center; gap: 8px; }
.actions select { height: 44px; padding: 0 10px; border: 1px solid #C9C6D0; background: #fff; font: inherit; font-size: 14px; }
.compte { margin: 0; font-size: 15px; }
.compte b { font-weight: 600; }

/* Recherche : le formulaire garde ses classes d'origine (mm26-…) */
.mm26-rech { padding: 0 var(--marge) 20px; }
.mm26-rinner { padding: 24px; background: var(--gris); }
.mm26-rrow { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.mm26-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mm26-f label { font-size: 13px; font-weight: 600; }
.mm26-f input, .mm26-f select { width: 100%; height: 48px; padding: 0 12px; border: 1px solid var(--encre); border-radius: 0; background: #fff; color: var(--encre); font: inherit; font-size: 16px; }
.mm26-rrow button { height: 48px; padding: 0 28px; border: 0; background: var(--violet); color: #fff; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.mm26-rrow button:hover { background: var(--violet-fonce); }
.mm26-rech details { margin-top: 14px; }
.mm26-rech summary { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; text-decoration: underline; cursor: pointer; list-style: none; }
.mm26-rech summary::-webkit-details-marker { display: none; }
.mm26-rech summary::before { content: '+ '; white-space: pre; }
.mm26-rech details[open] summary::before { content: '− '; }
.mm26-rmore { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--filet); }
.mm26-rfoot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--filet); font-size: 15px; }
.mm26-rcount b { font-weight: 600; }
.mm26-rclear { font-weight: 500; }
.mm26-rempty { margin: 14px 0 0; padding: 16px 18px; border: 1px solid var(--violet); background: var(--violet-pale); font-size: 16px; }

/* Grille de fiches */
.grille { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.fiche[hidden] { display: none; }
.fiche .cadre { position: relative; aspect-ratio: 3 / 4; background: var(--photo); overflow: hidden; }
.fiche .cadre img { width: 100%; height: 100%; object-fit: cover; }
.fiche .voile { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; background: rgba(255, 255, 255, .88); text-decoration: none; opacity: 0; transition: opacity .25s; }
.fiche .voile small { font-size: 13px; color: var(--texte); }
.fiche .voile span { margin-top: 4px; font-weight: 500; font-size: 20px; }
.fiche:hover .voile { opacity: 1; }
.fiche .plus { position: absolute; top: 0; right: 0; width: 46px; height: 46px; padding: 0; border: 0; background: #fff; color: var(--encre); font: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.fiche .plus[aria-pressed="true"] { background: var(--violet); color: #fff; }
.fiche .absent { position: absolute; left: 0; bottom: 0; padding: 4px 10px; background: #fff; font-size: 12px; font-weight: 500; }
.fiche .nom { margin: 10px 2px 18px; }
.fiche .nom a { font-weight: 500; font-size: 17px; text-decoration: none; }
.vide { margin: 0; padding: 40px 0; font-size: 18px; color: var(--texte); }

/* Fiche d'un mannequin */
.nav-fiche { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 10px var(--marge); font-size: 14px; font-weight: 500; }
.nav-fiche a { display: inline-flex; align-items: center; min-height: 44px; }
.profil { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: start; padding: 0 var(--marge) 80px; }
.photos-fiche { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.photos-fiche a { position: relative; display: block; background: var(--photo); overflow: hidden; }
.photos-fiche a.large { grid-column: 1 / -1; }
.photos-fiche img { width: 100%; height: auto; }
.photos-fiche .ap-attente img { opacity: .55; }
.ap-tag { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px; background: #8a6d1f; color: #fff; font-size: 12px; font-weight: 600; text-align: center; }
.infos { position: sticky; top: 90px; }
.dispo { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14px; font-weight: 500; }
.dispo i { width: 10px; height: 10px; border-radius: 50%; background: #2E7D4F; }
.dispo.non i { background: #9A97A3; }
.infos h1 { margin: 0 0 28px; font-weight: 500; font-size: clamp(44px, 5.6vw, 88px); line-height: .94; letter-spacing: -.04em; overflow-wrap: anywhere; }
.infos .boutons { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.infos .boutons .btn { min-height: 52px; font-size: 16px; }
.btn[aria-pressed="true"] { background: var(--encre); color: #fff; }
.mesures-tete { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--encre); }
.mesures-tete h2 { margin: 0; font-size: 15px; font-weight: 600; }
.unites { display: flex; }
.unites button { min-height: 44px; padding: 0 14px; border: 1px solid var(--encre); background: #fff; color: var(--encre); font: inherit; font-size: 14px; cursor: pointer; }
.unites button + button { margin-left: -1px; }
.unites button[aria-pressed="true"] { background: var(--encre); color: #fff; }
.mesures { margin: 0; }
.mesures div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--filet); }
.mesures dt { font-size: 15px; color: var(--texte); }
.mesures dd { margin: 0; font-size: 20px; font-weight: 500; text-align: right; }
.mesures[data-unite="metrique"] .imperial, .mesures[data-unite="imperial"] .metric { display: none; }
.liens-fiche { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 16px; font-size: 15px; font-weight: 500; }
.liens-fiche a, .liens-fiche button { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--encre); font: inherit; font-weight: 500; text-decoration: underline; cursor: pointer; }
.reserver { margin-top: 20px; padding: 22px; background: var(--violet-pale); }
.reserver p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--texte); }
.reserver p:first-child { margin-bottom: 6px; font-weight: 600; color: var(--encre); }
.ap-bandeau { position: sticky; top: 0; z-index: 40; background: #8a6d1f; color: #fff; font-size: 14px; line-height: 1.5; }
.ap-bandeau-in { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; padding: 10px var(--marge); }
.ap-bandeau strong { font-weight: 700; }
.ap-bandeau a { margin-left: auto; color: #fff; white-space: nowrap; }
.ap-bandeau a:hover { color: #fff; opacity: .85; }
.espace { font-size: 13px; }

@media (max-width: 1100px) {
    .grille { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .mm26-rrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mm26-rrow button { grid-column: 1 / -1; }
    .mm26-rmore { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .fiche .voile { display: none; }
    .mm26-rinner { padding: 16px; }
    .mm26-rmore { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .profil { grid-template-columns: 1fr; gap: 28px; }
    .infos { position: static; order: -1; }
    .ap-bandeau a { margin-left: 0; }
}

/* Impression de la fiche : la « comp card » */
@media print {
    .entete, .nav-fiche, .pied, .fixe, .infos .boutons, .unites, .liens-fiche, .ap-bandeau, .visionneuse { display: none !important; }
    body { padding: 0 !important; }
    .profil { display: block; padding: 0; }
    .infos { position: static; margin-bottom: 16px; }
    .infos h1 { font-size: 40px; margin-bottom: 12px; }
    .mesures { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 24px; }
    .mesures div { padding: 6px 0; }
    .mesures dd { font-size: 14px; }
    .mesures .imperial, .mesures .metric { display: inline !important; }
    .mesures .sep { display: inline !important; }
    .photos-fiche { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .photos-fiche a { break-inside: avoid; }
    .reserver { background: none; padding: 8px 0; }
}
.mesures .sep { display: none; }

/* =====================================================================
   CONTACT : les deux portes et « Réserver un mannequin »
   ===================================================================== */
.portes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.porte { display: flex; flex-direction: column; gap: 14px; padding: 36px; background: var(--gris); text-decoration: none; transition: background-color .2s; }
.porte:hover { background: #ECEBEF; color: var(--encre); }
.porte-violet { background: var(--violet-pale); }
.porte-violet:hover { background: #EFE7F5; }
.porte .sur { margin: 0; }
.porte .gros { font-weight: 500; font-size: clamp(28px, 3vw, 44px); line-height: 1.04; letter-spacing: -.035em; }
.porte .petit { font-size: 16px; line-height: 1.5; color: var(--texte); }
#reserver, #coordonnees { scroll-margin-top: 90px; }
.prep { margin: 0 0 24px; padding: 0; list-style: none; counter-reset: prep; border-top: 1px solid var(--encre); }
.prep li { counter-increment: prep; display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--filet); }
.prep li::before { content: counter(prep); grid-row: span 2; font-weight: 500; font-size: 28px; line-height: 1; letter-spacing: -.03em; color: var(--violet); }
.prep b { font-weight: 600; font-size: 18px; }
.prep span { font-size: 15px; color: var(--texte); }
.selection { margin: 0 0 20px; padding: 14px 16px; background: var(--violet-pale); font-size: 15px; line-height: 1.5; }
.selection[hidden] { display: none; }
.selection b { font-weight: 600; }
.boutons-res { display: flex; flex-wrap: wrap; gap: 10px; }
.adresse-claire { margin: 16px 0 0; font-size: 15px; line-height: 1.6; color: var(--texte); }
.adresse-claire b { font-weight: 600; color: var(--encre); overflow-wrap: anywhere; }
button.lien { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--encre); font: inherit; font-weight: 500; text-decoration: underline; cursor: pointer; }
.contact .gauche .coord:first-of-type { border-top: 0; }
@media (max-width: 900px) {
    .portes { grid-template-columns: 1fr; }
    .porte { padding: 26px 22px; }
    .boutons-res .btn { width: 100%; }
}

/* Ligne « Réseaux sociaux » de la page Contact, et liens du pied de page */
p.coord { margin: 0; }
p.coord a { text-decoration: underline; }
.menu .langues a { display: inline; }
@media (max-width: 900px) {
    .menu .langues { padding: 14px 0; font-size: 18px; }
    .menu .langues a { padding: 0; border: 0; font-size: 18px; }
}

/* =====================================================================
   COURS : la porte « Accès mannequin », puis les ateliers, en sourdine
   ===================================================================== */
.titre-mince { padding-bottom: 20px; }
.titre-mince .fil { margin-bottom: 0; }
.entree {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; flex-direction: column; justify-content: space-between; gap: 56px;
    min-height: min(560px, 72vh); padding: clamp(28px, 4.5vw, 64px);
    background: radial-gradient(120% 140% at 100% 0%, #9B62C2 0%, var(--violet) 48%, #4F2366 100%);
    color: #fff; text-decoration: none;
}
.entree::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.32); pointer-events: none; transition: inset .35s ease, border-color .35s ease; }
.entree::after {
    content: "MM."; position: absolute; right: -0.04em; bottom: -0.22em; z-index: -1;
    font-weight: 600; font-size: clamp(180px, 30vw, 440px); line-height: 1; letter-spacing: -.06em;
    color: rgba(255,255,255,.07); pointer-events: none;
}
.entree:hover { color: #fff; }
.entree:hover::before { inset: 22px; border-color: rgba(255,255,255,.6); }
.entree-sur { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.entree-titre { margin: 0; font-weight: 500; font-size: clamp(52px, 9vw, 136px); line-height: .92; letter-spacing: -.05em; color: #fff; }
.entree-titre .point { color: #fff; }
.entree-bas { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.entree-texte { max-width: 420px; font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.8); }
.entree-btn { display: inline-flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 32px; background: #fff; color: var(--encre); font-weight: 600; font-size: 18px; transition: background-color .2s, color .2s; }
.entree-btn .fl { transition: transform .25s ease; }
.entree:hover .entree-btn { background: var(--encre); color: #fff; }
.entree:hover .entree-btn .fl { transform: translateX(5px); }
.entree:focus-visible { outline: 3px solid var(--encre); outline-offset: 4px; }
.entree-aide { margin: 14px 0 0; font-size: 15px; color: var(--texte); }
.entree-aide a { color: var(--encre); text-decoration: underline; }
.ateliers { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px 7vw; padding-top: 40px; }
.ateliers h2 { margin: 0 0 10px; font-weight: 500; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.08; letter-spacing: -.03em; }
.ateliers-lead { margin: 0 0 26px; font-size: 18px; color: var(--texte); }
.ateliers-liste { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--encre); }
.ateliers-liste li { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 6px 24px; padding: 18px 0; border-bottom: 1px solid var(--filet); }
.ateliers-liste b { font-weight: 600; font-size: 17px; }
.ateliers-liste span { font-size: 16px; line-height: 1.55; color: var(--texte); }
.ateliers-aside { align-self: start; margin-top: 34px; padding: 4px 0 4px 28px; border-left: 1px solid var(--filet); }
.ateliers-aside p { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--texte); }
.ateliers-aside a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 17px; font-weight: 500; color: var(--encre); text-decoration: underline; text-underline-offset: 4px; }
.ateliers-aside a:hover { color: var(--violet); }
@media (max-width: 900px) {
    .entree { min-height: 440px; gap: 40px; padding: 32px 26px; }
    .entree::before { inset: 10px; }
    .entree-btn { width: 100%; justify-content: center; }
    .ateliers { grid-template-columns: 1fr; padding-top: 16px; }
    .ateliers-liste li { grid-template-columns: 1fr; }
    .ateliers-aside { margin-top: 0; padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--filet); }
}

/* =====================================================================
   COURS : la connexion posee DANS la carte violette
   La carte etait un lien; c'est maintenant un <form>. Ces regles ne font
   qu'ajouter : elles neutralisent les effets de survol qui n'ont plus de
   sens sur un formulaire (le cadre qui respire, le bouton qui s'inverse
   quand la souris passe n'importe ou sur la carte) et habillent les deux
   champs. Rien n'est retire, donc l'ancienne carte-lien des autres pages,
   s'il en reste, garde son comportement.
   ===================================================================== */
form.entree:hover::before { inset: 14px; border-color: rgba(255,255,255,.32); }
form.entree .entree-bas { align-items: flex-end; gap: 32px 48px; }
form.entree .entree-texte { margin: 0; }

.entree-form { display: grid; gap: 14px; width: min(100%, 340px); }
.entree-form .champ { display: grid; gap: 6px; margin: 0; }
.entree-form label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.entree-form input {
    width: 100%; min-height: 52px; padding: 0 16px;
    font-family: inherit; font-size: 16px; color: #fff;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.4); border-radius: 0;
    transition: background-color .2s, border-color .2s;
}
.entree-form input::placeholder { color: rgba(255,255,255,.55); }
.entree-form input:hover { border-color: rgba(255,255,255,.7); }
.entree-form input:focus {
    outline: none; background: rgba(255,255,255,.18);
    border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.25);
}
/* Le remplissage automatique du navigateur repeint le fond en bleu pale et
   le texte en noir : illisible sur du violet. L'ombre interieure est le
   seul moyen de reprendre la main dessus. */
.entree-form input:-webkit-autofill,
.entree-form input:-webkit-autofill:hover,
.entree-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0 1000px #6B3A8C inset;
    caret-color: #fff;
}
form.entree .entree-btn {
    width: 100%; justify-content: center;
    font-family: inherit; border: 0; border-radius: 0; cursor: pointer;
    background: #fff; color: var(--encre);
}
form.entree:hover .entree-btn { background: #fff; color: var(--encre); }
form.entree .entree-btn:hover { background: var(--encre); color: #fff; }
form.entree .entree-btn:hover .fl { transform: translateX(5px); }
form.entree .entree-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.entree-oubli { margin: 2px 0 0; font-size: 14px; }
.entree-oubli a { color: rgba(255,255,255,.85); text-decoration: underline; text-underline-offset: 3px; }
.entree-oubli a:hover { color: #fff; }

@media (max-width: 900px) {
    form.entree .entree-bas { display: grid; }
    .entree-form { width: 100%; }
}

/* =====================================================================
   COURS, SUR TELEPHONE : amener la connexion a portee de pouce
   Tout est porte par .page-cours, donc aucune autre page du site n'est
   touchee. Sur un iPhone, il fallait descendre deux ecrans avant de voir
   le champ du mot de passe : le titre de page prenait 431 px, et le titre
   decoratif de la carte 150 px de plus. On reduit les deux, sans rien
   retirer du texte — ce qui compte pour Google reste la, en entier.
   ===================================================================== */
#connexion { scroll-margin-top: 90px; }

@media (max-width: 900px) {
    /* Le H1 gardait 50 px au minimum, d'ou trois lignes sur un ecran
       etroit. Le texte est le meme, seule la taille suit la largeur. */
    .page-cours .titre-page { padding-top: 20px; padding-bottom: 24px; }
    .page-cours .titre-page h1 { font-size: clamp(34px, 9vw, 50px); }
    .page-cours .titre-page .ligne p { margin-top: 14px; font-size: 16px; }

    /* La carte n'a plus besoin d'occuper un ecran entier : ce qu'on y
       cherche, ce sont les deux champs. */
    .page-cours .entree { min-height: 0; gap: 22px; padding: 24px 20px; }
    .page-cours .entree::before { inset: 8px; }
    .page-cours .entree-sur { font-size: 11.5px; line-height: 1.35; }
    .page-cours .entree-titre { font-size: clamp(30px, 8.6vw, 46px); }
    .page-cours .entree-texte { font-size: 15.5px; }
    .page-cours form.entree .entree-bas { gap: 18px; }
    .page-cours .entree-form { gap: 12px; }

    /* Le pouce tient le telephone par le bas : les champs y sont plus
       hauts que sur un ecran d'ordinateur, pas plus petits. */
    .page-cours .entree-form input { min-height: 54px; font-size: 16px; }
    .page-cours form.entree .entree-btn { min-height: 56px; }

    /* Le « MM. » de fond deborde sur les champs quand la carte raccourcit. */
    .page-cours .entree::after { font-size: 42vw; bottom: -0.16em; }
}
@media (max-width: 520px) {
    .page-cours .entree-titre { font-size: clamp(28px, 9.2vw, 40px); }
}

/* Le fil d'Ariane, sorti du bandeau de titre pour pouvoir rester en haut
   quand le reste descend. Sur ordinateur il reprend exactement la place
   qu'il occupait dans .titre-page. */
.titre-fil { padding: 28px var(--marge) 0; }
.titre-fil + .titre-page { padding-top: 10px; }

@media (max-width: 900px) {
    /* SUR TELEPHONE, LA CONNEXION PASSE AVANT LE TITRE — a l'ecran
       seulement. L'ordre du HTML ne bouge pas : le H1 reste le premier
       titre du document, donc ce que Google lit est inchange. C'est
       l'ordre d'affichage qui suit le pouce, pas le document.
       Le fil d'Ariane reste tout en haut, la ou on le cherche. */
    .page-cours main { display: flex; flex-direction: column; }
    .page-cours .titre-fil { order: 0; padding-top: 18px; }
    .page-cours .section-connexion { order: 1; padding-top: 12px; }
    .page-cours .titre-sujet { order: 2; padding-top: 26px; }
    .page-cours .ateliers { order: 3; }
    .titre-fil + .titre-page { padding-top: 26px; }
}
