﻿/* Accueil Modèle Photo 2026 - styles isolés à la page index-v5.asp */
.mp-home {
  --mp-blue: #42a4e8;
  --mp-blue-dark: #247fbd;
  --mp-ink: #252530;
  --mp-muted: #656575;
  --mp-soft: #f3f7fa;
  --mp-white: #fff;
  color: var(--mp-ink);
  font-size: 16px;
  line-height: 1.65;
}

.mp-home *, .mp-home *::before, .mp-home *::after { box-sizing: border-box; }
.mp-home img { max-width: 100%; height: auto; }
.mp-home a:focus-visible { outline: 3px solid rgba(66,164,232,.35); outline-offset: 3px; }
.mp-home-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.mp-home-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  align-items: center;
  background: #17171f url('/img/header.jpg') center/cover no-repeat;
  color: var(--mp-white);
}
.mp-home-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,16,23,.92) 0%, rgba(16,16,23,.72) 48%, rgba(16,16,23,.18) 100%); }
.mp-home-hero-inner { position: relative; z-index: 1; max-width: 710px; padding: 70px 0; }
.mp-home-brand { display: block; width: min(360px, 78vw); margin-bottom: 28px; }
.mp-home h1, .mp-home h2, .mp-home h3, .mp-home p { margin-top: 0; }
.mp-home h1 { color: var(--mp-white); font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -.035em; margin-bottom: 20px; }
.mp-home-lead { max-width: 660px; color: rgba(255,255,255,.9); font-size: clamp(1rem, 2vw, 1.18rem); margin-bottom: 30px; }
.mp-home-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mp-home-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 7px; font-weight: 700; text-decoration: none; }
.mp-home-button-primary { background: var(--mp-blue); color: #fff; }
.mp-home-button-primary:hover { background: var(--mp-blue-dark); }
.mp-home-button-secondary { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.08); }
.mp-home-button-secondary:hover { background: #fff; color: var(--mp-ink); }

.mp-home-models { background: #fff; padding: 42px 0 48px; }
.mp-home > .bloc-banc { padding-top: 42px; background: #fff; }
.mp-home > .bloc-banc > .top-model { width: min(1120px, calc(100% - 40px)); margin: 0 auto 42px; }
.mp-home > .bloc-banc > .content { max-width: 1120px; padding: 0 0 55px; }
.mp-home > .bloc-banc > .content > .recherche-M { margin-bottom: 22px; }
.mp-home > .bloc-banc > .content > .menu-recherche { max-width: 1120px; margin-bottom: 28px; border-radius: 7px; }
.mp-home > .bloc-banc .bloc-infos { max-width: 1120px; margin-bottom: 42px; }
.mp-home > .bloc-banc .bloc-infos > table { border-collapse: separate; border-spacing: 20px 0; margin-left: -20px; width: calc(100% + 40px) !important; }
.mp-home > .bloc-banc .mail-photo { border-radius: 8px; }
.mp-home > .bloc-banc .pub img { border-radius: 8px; }
.mp-home > .bloc-banc .mp-home-stats-cell {
  width: 320px;
  padding: 0;
  vertical-align: top;
}
.mp-home > .bloc-banc .mp-home-stats-panel {
  box-sizing: border-box;
  width: 100%;
  padding: 22px 22px 20px;
  background: #42a4e8;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(30,40,55,.12);
}
.mp-home > .bloc-banc .mp-home-stats-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mp-home > .bloc-banc .mp-home-stats-panel li { margin: 0 0 10px; }
.mp-home > .bloc-banc .mp-home-stats-panel li:last-child { margin-bottom: 0; }
.mp-home-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.mp-home-eyebrow { margin-bottom: 6px; color: var(--mp-blue-dark); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mp-home h2 { color: var(--mp-ink); font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.18; margin-bottom: 12px; }
.mp-home-section-head h2 { margin-bottom: 0; }
.mp-home-text-link { color: var(--mp-blue-dark); font-weight: 700; white-space: nowrap; }
.mp-home .top-model .slick-track { display: flex !important; align-items: stretch; }
.mp-home .top-model .mp-home-model-card,
.mp-home .top-model .slick-slide.mp-home-model-card {
  display: flex !important;
  flex-direction: column;
  float: none;
  width: 145px !important;
  height: 220px !important;
  min-width: 145px;
  max-width: 145px;
  overflow: hidden;
  margin: 0 7px;
  border-radius: 9px;
  background: var(--mp-soft);
  box-shadow: 0 8px 22px rgba(32,40,55,.09);
}
.mp-home .top-model .mp-home-model-photo {
  display: block;
  flex: 0 0 160px;
  width: 145px;
  height: 160px;
  overflow: hidden;
  background: #e5e7ea;
}
.mp-home .top-model .mp-home-model-photo img {
  display: block;
  width: 145px !important;
  height: 160px !important;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}
.mp-home .top-model .mp-home-model-photo:hover img { transform: scale(1.035); }
.mp-home .top-model .mp-home-model-info {
  display: block;
  flex: 0 0 60px;
  width: 145px;
  min-height: 60px;
  margin: 0;
  padding: 9px 7px;
  overflow: hidden;
  color: var(--mp-muted);
  font-size: .69rem !important;
  line-height: 1.35;
  text-align: center;
}

.mp-home-search { padding: 50px 0; background: var(--mp-soft); }
.mp-home-search-intro { max-width: 720px; margin-bottom: 24px; }
.mp-home-search .recherche-M { margin-bottom: 18px; }
.mp-home-search .recherche-M p { border-radius: 7px; background: #fff; box-shadow: 0 5px 18px rgba(30,40,55,.06); }
.mp-home-search .menu-recherche { border-radius: 7px; }

.mp-home-dashboard { padding: 50px 0; background: #fff; }
.mp-home-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: stretch; }
.mp-home-access { overflow: hidden; border: 1px solid #e2e5e8; border-radius: 10px; background: #fff; box-shadow: 0 10px 28px rgba(30,40,55,.07); }
.mp-home-access .mail-photo { width: auto; height: auto; min-height: 58px; margin: 0; padding: 17px 20px; }
.mp-home-access .pub { height: auto; padding: 20px; }
.mp-home-access .pub img { display: block; border-radius: 7px; }
.mp-home-stats { height: 100%; padding: 24px; border-radius: 10px; background: var(--mp-blue); color: #fff; }
.mp-home-stats ul { display: grid; gap: 13px; list-style: none; margin: 0; padding: 0; }
.mp-home-stats li { padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.24); }
.mp-home-stats li:last-child { padding-bottom: 0; border-bottom: 0; }
.mp-home-stats strong { display: inline-block; margin-right: 4px; font-size: 1.45rem; }
.mp-home-stats a { font-weight: 700; }

.mp-home-audiences { padding: 58px 0; background: var(--mp-soft); }
.mp-home > .bloc-banc .mp-home-audiences { margin: 0 calc(50% - 50vw); padding-right: max(20px, calc((100vw - 1120px)/2)); padding-left: max(20px, calc((100vw - 1120px)/2)); }
.mp-home-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.mp-home-card { padding: 30px; border: 1px solid #e1e5e9; border-radius: 10px; background: #fff; box-shadow: 0 10px 28px rgba(30,40,55,.06); }
.mp-home-card h2 { font-size: 1.55rem; }
.mp-home-card p { padding: 0; color: var(--mp-muted); font-size: .96rem; line-height: 1.65; text-align: left; }
.mp-home-list { margin: 20px 0 24px; padding: 0; list-style: none; }
.mp-home-list li { position: relative; padding: 6px 0 6px 27px; }
.mp-home-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--mp-blue-dark); font-weight: 800; }
.mp-home-card .mp-home-button-secondary { border-color: var(--mp-blue); color: var(--mp-blue-dark); background: transparent; }
.mp-home-card .mp-home-button-secondary:hover { background: var(--mp-blue); color: #fff; }

.mp-home-seo { padding: 62px 0 8px; }
.mp-home-seo > h2 { max-width: 820px; }
.mp-home-seo-intro { max-width: 940px; margin-bottom: 30px; color: var(--mp-muted); font-size: 1rem; line-height: 1.75; text-align: left; }
.mp-home-seo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.mp-home-seo-item { padding: 26px; border: 1px solid #e1e5e9; border-radius: 10px; background: #fff; }
.mp-home-seo-item h2 { margin-bottom: 10px; font-size: 1.28rem; }
.mp-home-seo-item p { margin-bottom: 14px; padding: 0; color: var(--mp-muted); font-size: .94rem; line-height: 1.7; text-align: left; }
.mp-home-seo-item .mp-home-text-link { display: inline-block; white-space: normal; }

.mp-home-trust { padding: 58px 0; background: var(--mp-ink); color: #fff; }
.mp-home > .bloc-gris { padding: 56px 0; background: var(--mp-ink); }
.mp-home > .bloc-gris > .content { max-width: 1120px; padding: 0; }
.mp-home > .bloc-gris .contenu-right { max-width: 720px; }
.mp-home > .bloc-gris .contenu-right h2 { margin: 26px 0 8px; color: #fff; font-size: 1.35rem; }
.mp-home > .bloc-gris .contenu-right p { color: rgba(255,255,255,.78); font-size: .95rem; line-height: 1.7; text-align: left; }
.mp-home > .bloc-gris .lien-utile { border-radius: 9px; overflow: hidden; box-shadow: 0 14px 32px rgba(0,0,0,.28); }
.mp-home > .bloc-gris .lien-utile h3 { color: #fff; }
.mp-home > .bloc-gris .lien-utile ul { padding-left: 18px; }
.mp-home > .bloc-gris .contenu-right > a img { margin-top: 24px; border-radius: 9px; box-shadow: 0 12px 25px rgba(0,0,0,.3); }
.mp-home-trust h2 { color: #fff; }
.mp-home-trust-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 36px; align-items: start; }
.mp-home-trust p { color: rgba(255,255,255,.78); }
.mp-home-links { padding: 24px; border-radius: 10px; background: rgba(255,255,255,.07); }
.mp-home-links h3 { margin-bottom: 14px; color: #fff; }
.mp-home-links ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mp-home-links a { color: #fff; }
.mp-home-links a:hover { color: #8ecbf3; }
.mp-home-legal { margin-top: 22px; font-size: .82rem; color: rgba(255,255,255,.6); }

@media (max-width: 960px) {
  .mp-home-dashboard-grid, .mp-home-trust-grid { grid-template-columns: 1fr; }
  .mp-home-search .recherche-M td { display: block; width: 100%; }
  .mp-home-search .recherche-M p { width: 100%; }
  .mp-home > .bloc-banc > .content, .mp-home > .bloc-gris > .content { width: min(100% - 40px, 1120px); margin-right: auto; margin-left: auto; }
  .mp-home > .bloc-banc .bloc-infos > table { border-spacing: 0; margin-left: 0; width: 100% !important; }
  .mp-home > .bloc-banc .bloc-infos > table > tbody > tr > td { display: block; width: 100%; }
  .mp-home > .bloc-banc .mp-home-stats-cell { width: 100%; padding-top: 20px; }
  .mp-home > .bloc-gris .lien-utile { float: none; width: 100%; margin: 0 0 35px; }
}

@media (max-width: 680px) {
  .mp-home-shell { width: min(100% - 28px, 1120px); }
  .mp-home-hero { min-height: 380px; background-position: 62% center; }
  .mp-home-hero::before { background: rgba(16,16,23,.76); }
  .mp-home-hero-inner { padding: 52px 0; }
  .mp-home-actions, .mp-home-actions .mp-home-button { width: 100%; }
  .mp-home-section-head { display: block; }
  .mp-home-section-head .mp-home-text-link { display: inline-block; margin-top: 10px; }
  .mp-home-cards { grid-template-columns: 1fr; }
	.mp-home-seo-grid { grid-template-columns: 1fr; }
	.mp-home-seo { padding-top: 46px; }
	.mp-home-seo-item { padding: 22px 20px; }
  .mp-home-card { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .mp-home *, .mp-home *::before, .mp-home *::after { scroll-behavior: auto !important; transition: none !important; }
}
