@import url("models-maintenance.css");
/*
 * DIRECTORY MODELS — feuille de style commune aux pages HTML.
 * Les textes, les liens et les photos se modifient directement dans chaque page.
 * Les polices et les images sont locales : aucune ressource distante nécessaire.
 */

/* ========================================================================== 
   01. Polices, variables et fondations
   ========================================================================== */

@font-face {
  font-family: "Directory Serif";
  src: url("../polices/libre-bodoni.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Directory Serif";
  src: url("../polices/libre-bodoni-italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Directory Sans";
  src: url("../polices/jost-variable.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #626262;
  --dark: #333;
  --muted: #8a8a8a;
  --line: #dadada;
  --header: 55px;
  --serif: "Directory Serif", "Bodoni MT", Didot, Georgia, serif;
  --sans: "Directory Sans", Futura, Arial, sans-serif;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

body[data-page="home"],
body.menu-open,
body.modal-open,
body.lightbox-open {
  overflow: hidden;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 400;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border-radius: 0;
}

button:disabled {
  cursor: default;
}

input,
textarea,
select {
  border-radius: 0;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

button:focus-visible,
a:focus-visible {
  outline: 1px solid #4d4d4d;
  outline-offset: 6px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 1px solid #777;
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

/* Les pages restent lisibles sans JavaScript. Les contrôles interactifs seuls
   sont masqués ; le script ajoute .js-enabled à l’élément html. */
html:not(.js-enabled) .js-only {
  display: none !important;
}

::selection {
  background: #dad7d0;
  color: #222;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -70px;
  left: 15px;
  z-index: 100;
  padding: 8px 15px;
  background: #fff;
  border: 1px solid #777;
}

.skip-link:focus {
  top: 8px;
}

#main {
  outline: 0;
}

.page {
  padding-top: var(--header);
  min-height: calc(100svh - 220px);
}

.page h1[tabindex],
.page h2[tabindex] {
  outline: none;
}

/* ========================================================================== 
   02. Textes, boutons et icônes
   ========================================================================== */

.icon-button {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  padding: 7px;
  flex: none;
}

.icon-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
}

.outline-button,
.button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid currentColor;
  padding: 8px 24px;
  background: transparent;
  font-family: var(--sans);
  font-size: 10px;
  line-height: 1.3;
  font-weight: 300;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .18s, color .18s;
}

.outline-button:hover,
.button:hover {
  background: #626262;
  color: #fff;
  border-color: #626262;
}

.button--dark {
  color: #fff;
  background: #606060;
  border-color: #606060;
}

.button--dark:hover {
  background: #444;
  border-color: #444;
}

.text-button {
  border: 0;
  background: transparent;
  font-size: 11px;
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-link {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.text-link span {
  margin-left: 14px;
}

.eyebrow {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 9px;
  letter-spacing: .11em;
  text-transform: uppercase;
}

/* ========================================================================== 
   03. En-tête commun
   ========================================================================== */

.site-header {
  height: var(--header);
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
}

.hamburger,
.close-button {
  position: relative;
  padding: 0;
}

.hamburger span {
  position: absolute;
  left: 7px;
  right: 7px;
  height: 1px;
  background: currentColor;
}

.hamburger span:nth-child(1) { top: 8px; }
.hamburger span:nth-child(2) { top: 17px; }
.hamburger span:nth-child(3) { top: 26px; }

.close-button span {
  position: absolute;
  left: 5px;
  width: 27px;
  height: 1px;
  background: currentColor;
  transform: rotate(45deg);
}

.close-button span:last-child {
  transform: rotate(-45deg);
}

.header-logo {
  width: 250px;
  flex: none;
}

.header-logo img,
.menu-logo img {
  width: 100%;
  height: auto;
}

.header-category {
  display: flex;
  align-items: center;
  position: relative;
  margin-left: 7px;
  min-width: 145px;
  max-width: 240px;
}

.header-category select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 10px 24px 10px 0;
  border: 0;
  background: transparent;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

.header-category > span:last-child {
  position: absolute;
  right: 3px;
  pointer-events: none;
  font-size: 16px;
  color: #777;
}

.header-search {
  display: flex;
  align-items: center;
  width: 210px;
  min-width: 0;
  margin-left: auto;
  gap: 3px;
}

.header-search input {
  width: 100%;
  min-width: 0;
  font-size: 11px;
  letter-spacing: .03em;
  border: 0;
  border-bottom: 1px solid #aaa;
  background: transparent;
  padding: 4px 2px 6px;
  text-align: center;
  font-weight: 400;
}

.header-search input:focus {
  border-color: #333;
}

.header-search .icon-button {
  width: 28px;
  height: 28px;
  padding: 4px;
}

.header-selection {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 38px;
  flex: none;
  font-size: 11px;
}

.header-selection svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #777;
  stroke-width: 1.1;
}

.header-selection:hover svg {
  stroke: #222;
}

.header-selection span {
  font-weight: 400;
}

/* ========================================================================== 
   04. Accueil — Paris, logo et accès unique aux mannequins
   ========================================================================== */

.home {
  position: relative;
  min-height: 100svh;
  height: 100svh;
  overflow: hidden;
  padding: 0;
  color: #f4f4f4;
  background: #777;
}

.home-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.home-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  filter: grayscale(1);
  animation: paris-drift 26s ease-in-out infinite alternate;
  transform: scale(1.06);
}

.home-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 29%);
}

.home-apply {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 35px;
  transform: translateX(-50%);
  width: 212px;
  min-height: 31px;
  height: 31px;
  font-size: 10px;
  padding: 7px 15px;
  letter-spacing: .045em;
  border-color: rgb(255 255 255 / 80%);
}

.home-apply:hover {
  background: #fff;
  color: #555;
  border-color: #fff;
}

.home-center {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  text-align: center;
}

.home-logo {
  width: 425px;
  max-width: 82vw;
  margin: auto;
  line-height: 1;
  font-size: 0;
}

.home-logo img {
  width: 100%;
  height: auto;
}

.home-discover {
  display: flex;
  justify-content: center;
  margin-top: 58px;
  padding: 0 24px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.4;
}

.home-discover a {
  position: relative;
}

.home-discover a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform .2s;
}

.home-discover a:hover::after,
.home-discover a:focus-visible::after {
  transform: scaleX(1);
}

.home-motion {
  position: absolute;
  left: 20px;
  bottom: 20px;
  opacity: .75;
  color: #fff;
}

.home-motion svg {
  width: 16px;
  height: 16px;
}

.play-path { display: none; }
body.motion-paused .pause-path { display: none; }
body.motion-paused .play-path { display: block; }
body.motion-paused .home-backdrop img { animation-play-state: paused; }

body[data-page="home"] > .site-header,
body[data-page="home"] > .site-footer {
  display: none;
}

@keyframes paris-drift {
  from { transform: scale(1.06) translate3d(-.4%, 0, 0); }
  to { transform: scale(1.14) translate3d(.4%, -.8%, 0); }
}

/* ========================================================================== 
   05. Menu plein écran
   ========================================================================== */

.site-menu {
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  border: 0;
  padding: 0;
  overflow-y: auto;
  background: #fff;
  color: var(--ink);
  overscroll-behavior: contain;
}

.site-menu::backdrop {
  background: rgb(255 255 255 / 90%);
}

.site-menu[open] {
  animation: fade-in .18s ease-out;
}

.menu-header {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 55px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
}

.menu-logo {
  width: 250px;
  min-width: 0;
}

.menu-header > .outline-button {
  margin-left: auto;
  min-width: 165px;
  min-height: 26px;
  flex: none;
  padding: 5px 18px;
  font-size: 10px;
  white-space: nowrap;
}

.menu-columns {
  max-width: 1160px;
  margin: 100px auto 65px;
  display: grid;
  grid-template-columns: 1.15fr 1fr .85fr;
  gap: 70px;
  padding: 0 30px;
}

.menu-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  font-family: var(--serif);
  font-size: 45px;
  font-style: italic;
  line-height: 1.3;
}

.menu-categories a {
  transition: color .18s;
  width: max-content;
  max-width: 100%;
  color: #929292;
}

.menu-categories a:hover,
.menu-categories a[aria-current] {
  color: #3e3e3e;
}

.menu-models {
  min-width: 0;
  text-align: center;
}

.menu-models h2 {
  font-size: 27px;
  letter-spacing: .045em;
  margin: 10px 0 23px;
}

.menu-models h2:not(:first-child) {
  margin-top: 65px;
}

.menu-models > a {
  display: block;
  font-size: 14px;
  letter-spacing: .065em;
  margin: 0 0 20px;
}

.menu-information {
  min-width: 0;
  padding: 18px 0 0 35px;
}

.menu-information h2 {
  font-size: 16px;
  letter-spacing: .02em;
  margin: 55px 0 20px;
}

.menu-information > a,
.menu-info-group a {
  display: block;
  font-size: 13px;
  letter-spacing: .04em;
  line-height: 1.9;
}

.menu-information .menu-instagram {
  margin-bottom: 32px;
}

.menu-columns a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ========================================================================== 
   06. Catalogue, catégories, filtres et cartes des mannequins
   ========================================================================== */

/* Temporary catalogue screen. Its visibility is controlled by the first import above. */
.models-maintenance {
  display: none;
  min-height: calc(100svh - var(--header) - 220px);
  max-width: 920px;
  margin: 0 auto;
  padding: 90px 28px 100px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.models-maintenance .eyebrow {
  margin-bottom: 27px;
  letter-spacing: .18em;
}

.models-maintenance-title {
  max-width: 800px;
  font-family: var(--serif);
  font-size: clamp(34px, 5.3vw, 66px);
  line-height: 1.12;
  letter-spacing: -.035em;
  color: var(--ink);
  text-wrap: balance;
}

.models-maintenance-intro {
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.8;
}

.models-maintenance-note {
  max-width: 460px;
  margin-top: 25px;
  font-size: 12px;
  line-height: 1.75;
}

.models-maintenance-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 30px;
  margin-top: 30px;
  font-size: 11px;
}

@media (max-width: 599px) {
  .models-maintenance { min-height: calc(100svh - var(--header)); padding: 72px 24px 80px; }
  .models-maintenance-intro { font-size: 14px; }
  .models-maintenance-actions { flex-direction: column; }
}

.board-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 35px 28px 20px;
  min-height: 106px;
  gap: 20px;
}

.board-heading h1 {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.2;
  color: #686868;
}

.board-heading p {
  font-size: 12px;
  letter-spacing: .035em;
  margin-top: 6px;
}

.board-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 28px;
  gap: 20px;
  font-size: 11px;
  letter-spacing: .04em;
}

.gender-filter {
  display: flex;
  gap: 26px;
}

.gender-filter button {
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0 0 6px;
  font-size: 11px;
  font-weight: 400;
  color: #8a8a8a;
}

.gender-filter button[aria-pressed="true"] {
  color: #444;
  border-color: #777;
}

.board-tools-right {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 400;
}

.sort-control select {
  border: 0;
  background: transparent;
  font-size: 10px;
  padding: 4px 20px 4px 4px;
  color: #777;
  max-width: 170px;
}

.alphabet {
  display: flex;
  justify-content: center;
  gap: 13px;
  align-items: center;
  padding: 19px 15px 29px;
  flex-wrap: wrap;
  min-height: 65px;
}

.alphabet button {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 12px;
  font-weight: 400;
  color: #777;
  min-width: 9px;
  line-height: 1.4;
}

.alphabet button:disabled {
  color: #ddd;
}

.alphabet button[aria-pressed="true"],
.alphabet button.is-active {
  color: #222;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.alphabet button:first-child {
  font-size: 10px;
  margin-right: 15px;
  letter-spacing: .04em;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  align-items: start;
}

.model-card {
  position: relative;
  min-width: 0;
}

.model-image-link,
.model-photo {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  background: #ecebea;
}

/* Les cartes recadrent la photo ; la fiche et l’agrandissement l’affichent entière. */
img.photo,
.model-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.model-image-link .photo,
.model-photo img {
  transition: filter .25s;
}

.card-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0 0 0 / 28%);
  color: #fff;
  opacity: 0;
  transition: opacity .25s;
  font-size: 10px;
  letter-spacing: .07em;
  font-family: var(--sans);
  font-weight: 400;
}

.model-image-link:hover .photo,
.model-image-link:focus-visible .photo {
  filter: blur(2px) brightness(.72);
}

.model-image-link:hover .card-hover,
.model-image-link:focus-visible .card-hover {
  opacity: 1;
}

.favorite-button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgb(255 255 255 / 86%);
  color: #626262;
  opacity: .8;
  font-family: Arial, sans-serif;
  font-size: 20px;
  line-height: 1;
}

.favorite-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.favorite-button:hover,
.favorite-button:focus-visible {
  opacity: 1;
}

.favorite-button.is-selected svg,
.favorite-button[aria-pressed="true"] svg {
  fill: currentColor;
}

.card-summary {
  padding: 11px 18px 24px;
  min-height: 89px;
}

.card-summary h2,
.card-summary h3 {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.1;
}

.card-category {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.2;
  margin-top: 3px;
}

.empty-state {
  text-align: center;
  padding: 85px 25px 110px;
}

.empty-state h1,
.empty-state h2 {
  font-family: var(--serif);
  font-size: 34px;
  margin-bottom: 16px;
}

.empty-state p {
  font-size: 14px;
  max-width: 450px;
  margin: 0 auto 28px;
}

.not-found {
  padding-top: 170px;
}

/* ========================================================================== 
   07. Portfolio, mensurations, photographies et agrandissement
   ========================================================================== */

.portfolio-stage,
.profile-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(100px, 1fr) auto minmax(100px, 1fr);
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 32px 7% 0;
}

.portfolio-side-name,
.portfolio-side-category,
.profile-side-name,
.profile-side-category {
  min-width: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 48px);
  font-style: italic;
  line-height: 1.15;
  font-weight: 400;
  overflow-wrap: break-word;
}

.portfolio-side-name,
.profile-side-name {
  text-align: right;
}

.portfolio-side-category,
.profile-side-category {
  text-align: left;
  max-width: 220px;
  font-size: clamp(25px, 2.9vw, 43px);
}

.portfolio-main-photo,
.profile-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 58vw;
  min-width: 0;
}

.profile-photo-button,
#gallery-main {
  display: block;
  border: 0;
  padding: 0;
  background: #f7f7f5;
  aspect-ratio: 3 / 4;
  height: clamp(400px, calc(100svh - 230px), 830px);
  width: auto;
  max-width: 100%;
  cursor: zoom-in;
}

.profile-photo-button > img.photo,
#gallery-main > img.photo {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.profile-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  padding: 0;
  width: 40px;
  height: 55px;
  color: #777;
  font-size: 52px;
  line-height: 1;
  z-index: 2;
  font-family: Georgia, serif;
}

.profile-arrow.prev { left: 14px; }
.profile-arrow.next { right: 14px; }
.profile-arrow:disabled { opacity: .15; }

.profile-counter {
  position: absolute;
  bottom: 6px;
  right: 12px;
  font-size: 10px;
  background: rgb(255 255 255 / 84%);
  padding: 2px 7px;
  letter-spacing: .06em;
}

.profile-details,
.profile-meta {
  text-align: center;
  padding: 18px 35px 0;
}

.profile-name {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.2;
}

.profile-categories {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  margin: 5px 0 12px;
}

.profile-categories a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.measurements {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 10px 26px;
  font-size: 11px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.measurements > div,
.measurements > li {
  display: flex;
  gap: 7px;
}

.measurements dt {
  font-weight: 300;
}

.measurements dd {
  margin: 0;
  color: #999;
  font-weight: 300;
}

.profile-bio {
  font-size: 10px;
  max-width: 620px;
  margin: 20px auto 0;
  color: #999;
}

.profile-bio:empty {
  display: none;
}

.profile-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding: 22px 20px 20px;
}

.profile-actions button,
.profile-actions a {
  border: 0;
  background: none;
  padding: 5px 0;
  font-size: 10px;
  letter-spacing: .055em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 300;
}

.profile-actions button:hover:not(:disabled),
.profile-actions a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.profile-actions button:disabled {
  color: #aaa;
}

.profile-actions .is-selected {
  color: #222;
}

.profile-back {
  display: block;
  width: max-content;
  max-width: 100%;
  font-size: 10px;
  margin: 25px auto 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.profile-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 14px 30px 0;
  min-height: 35px;
}

.profile-topline .profile-back {
  margin: 0;
  text-align: left;
  font-size: 9px;
}

.portfolio-section,
.digitals-section {
  padding: 65px 5% 45px;
  scroll-margin-top: var(--header);
}

.portfolio-section > h2,
.digitals-section > h2 {
  font-family: var(--serif);
  font-size: 34px;
  text-align: center;
  margin-bottom: 15px;
}

.portfolio-section > p,
.digitals-section > p {
  text-align: center;
  font-size: 13px;
  margin: 0 auto 28px;
  max-width: 650px;
}

.digitals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  max-width: 700px;
  margin: auto;
  align-items: start;
}

.digitals-grid figure {
  min-width: 0;
  margin: 0;
}

.digital-photo-button,
.digitals-grid > a {
  display: block;
  border: 0;
  padding: 0;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #f7f7f5;
  cursor: zoom-in;
}

.digitals-grid img.photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.digitals-grid figcaption {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-align: center;
  margin-top: 12px;
}

.print-brand {
  display: none;
}

/* Cette notice figure seulement dans les fichiers du dossier modeles/. */
.template-notice {
  max-width: 1100px;
  margin: 0 auto;
  padding: 21px 30px;
  border-bottom: 1px solid #e6e6e6;
  color: #808080;
  font-size: 11px;
  line-height: 1.7;
}

.template-notice strong {
  font-weight: 400;
}

.template-notice p {
  margin-top: 5px;
}

.template-notice a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.template-field {
  border-bottom: 1px dotted #bbb;
}

.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 65px 70px 45px;
  border: 0;
  background: rgb(255 255 255 / 99%);
  color: #555;
  overflow: hidden;
}

.lightbox::backdrop {
  background: #fff;
}

.lightbox-top {
  position: absolute;
  top: 15px;
  left: 25px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.lightbox-top > span {
  font-family: var(--serif);
  font-size: 20px;
}

.lightbox-image {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image img,
.lightbox-image .photo {
  max-width: 100%;
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  font-size: 54px;
  color: #888;
  font-family: Georgia, serif;
  line-height: 1;
  padding: 10px;
}

.lightbox-arrow:disabled { opacity: .2; }
#lightbox-prev { left: 15px; }
#lightbox-next { right: 15px; }

.lightbox-counter {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: .1em;
}

/* Le nom est également présenté à gauche de la photo sur grand écran.
   Sans JavaScript, le h1 original reste visible et accessible. */
@media (min-width: 768px) {
  .js-enabled .profile-meta > .profile-name {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .js-enabled .profile-meta > .profile-categories {
    display: none;
  }

  .js-enabled .profile-meta .measurements {
    margin-top: 0;
  }
}

/* ========================================================================== 
   08. Sélection de profils et demande de casting
   ========================================================================== */

.section-heading {
  text-align: center;
  padding: 65px 25px 50px;
}

.section-heading h1 {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 15px;
}

.section-heading p {
  font-size: 14px;
}

.selection-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 10px 25px 30px;
  font-size: 12px;
}

.selection-grid {
  margin: 0 auto;
  max-width: 1200px;
}

.selection-grid .card-summary {
  padding-bottom: 30px;
}

.booking-form {
  max-width: 920px;
  margin: 65px auto 80px;
  padding: 45px 30px 0;
  border-top: 1px solid #ddd;
}

.booking-form > h2 {
  font-family: var(--serif);
  font-size: 34px;
  margin-bottom: 20px;
}

.booking-ready {
  padding: 25px 0;
  margin-top: 25px;
  border-top: 1px solid #ddd;
}

.booking-ready h3 {
  font-family: var(--serif);
  font-size: 27px;
  margin-bottom: 20px;
}

.booking-ready p {
  margin-top: 15px;
}

/* ========================================================================== 
   09. Agence
   ========================================================================== */

.agency-intro,
.agency-text {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10vw;
  max-width: 1100px;
  margin: 0 auto;
  padding: 85px 30px 80px;
  align-items: start;
}

.agency-intro h1,
.agency-text h2 {
  font-family: var(--serif);
  font-size: clamp(46px, 5vw, 73px);
  line-height: 1.07;
}

.agency-intro h1 em,
.agency-text h2 em {
  font-weight: 400;
}

.agency-intro p:not(.eyebrow),
.agency-text p {
  font-size: 17px;
  line-height: 1.7;
}

.agency-intro p + p,
.agency-text p + p {
  margin-top: 24px;
}

.agency-intro .eyebrow {
  margin: 8px 0 30px;
}

.agency-text {
  padding-top: 75px;
  padding-bottom: 95px;
}

.agency-text a:not(.outline-button) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.agency-text .outline-button {
  margin-top: 30px;
}

/* ========================================================================== 
   10. Candidature et champs des formulaires
   ========================================================================== */

.application-heading {
  text-align: center;
  padding: 75px 20px 65px;
}

.application-heading h1 {
  font-family: var(--serif);
  font-size: 57px;
  line-height: 1.2;
  margin-bottom: 15px;
}

.application-heading p {
  font-size: 16px;
}

.application-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 680px);
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px 90px;
}

.application-guidance h2 {
  font-family: var(--serif);
  font-size: 25px;
  margin-bottom: 24px;
}

.application-guidance p,
.application-guidance li {
  font-size: 13px;
  line-height: 1.7;
}

.application-guidance ul {
  padding-left: 15px;
  margin: 20px 0;
}

.form-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  gap: 20px;
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #999;
}

.form-progress li {
  border-top: 1px solid #d7d7d7;
  padding-top: 12px;
}

.form-progress span {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 7px;
  color: #999;
}

.form-progress [aria-current="step"] {
  color: #444;
  border-color: #555;
}

.form-progress [aria-current="step"] span {
  color: #555;
}

.form-step h2 {
  font-family: var(--serif);
  font-size: 29px;
  margin: 0 0 15px;
  outline: none;
}

.form-note {
  font-size: 12px;
  line-height: 1.7;
  font-weight: 300;
  color: #808080;
}

.form-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-note p + p {
  margin-top: 15px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 30px;
  margin: 30px 0;
}

.field {
  min-width: 0;
}

.field-wide,
.field--full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.field label span {
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
  color: #999;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  display: block;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #c5c5c5;
  background: #fff;
  color: #555;
  font-size: 15px;
  font-weight: 300;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: #555;
}

.field textarea {
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  font-size: 12px;
  color: #aaa;
}

.field small {
  display: block;
  font-size: 10px;
  color: #999;
  margin-top: 4px;
}

.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px 25px;
  margin: 30px 0 20px;
}

.form-actions .button,
.form-actions .outline-button {
  min-height: 37px;
}

.application-privacy {
  font-size: 10px;
  padding-top: 20px;
  margin-top: 25px;
  border-top: 1px solid #ddd;
}

.form-status:not(:empty) {
  border-left: 1px solid #777;
  padding-left: 15px;
  margin: 20px 0;
  color: #555;
}

.application-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: 0 20px;
  margin: 25px 0;
  font-size: 12px;
}

.application-summary dt,
.application-summary dd {
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
  overflow-wrap: anywhere;
}

.application-summary dd {
  white-space: pre-wrap;
}

/* ========================================================================== 
   11. Contact
   ========================================================================== */

.contact-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 9vw;
  padding: 90px 35px 100px;
  align-items: start;
}

.contact-copy {
  min-width: 0;
}

.contact-copy h1 {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1.1;
  margin-bottom: 60px;
}

.contact-copy h1 em {
  display: block;
  font-size: .87em;
}

.contact-block + .contact-block {
  margin-top: 36px;
}

.contact-block h2 {
  font-size: 11px;
  letter-spacing: .08em;
  margin-bottom: 10px;
  font-weight: 400;
}

.contact-block p,
.contact-block a {
  font-size: 15px;
}

.contact-block a {
  overflow-wrap: anywhere;
}

.contact-block a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-photo {
  height: 620px;
  max-height: 75svh;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
  filter: grayscale(1);
}

/* ========================================================================== 
   12. Mentions légales et confidentialité
   ========================================================================== */

.legal {
  max-width: 850px;
  margin: auto;
  padding: 120px 30px 90px;
}

.legal h1 {
  font-family: var(--serif);
  font-size: 50px;
  line-height: 1.2;
  margin-bottom: 48px;
}

.legal h2 {
  font-family: var(--serif);
  font-size: 26px;
  margin: 35px 0 14px;
}

.legal p,
.legal li {
  font-size: 14px;
  line-height: 1.75;
}

.legal p {
  margin: 14px 0;
}

.legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal .outline-button {
  margin-top: 25px;
}

/* ========================================================================== 
   13. Pied de page et notifications
   ========================================================================== */

.site-footer {
  border-top: 1px solid #eee;
  padding: 55px 6% 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 25px 60px;
  background: #fff;
  font-size: 12px;
}

.footer-brand > a {
  display: block;
  width: 250px;
  max-width: 100%;
  margin-bottom: 25px;
}

.footer-brand img {
  width: 100%;
  height: auto;
}

.footer-brand p {
  font-size: 11px;
  line-height: 1.9;
}

.footer-brand p a {
  overflow-wrap: anywhere;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-note {
  grid-column: 1 / -1;
  font-size: 8px;
  letter-spacing: .09em;
  margin-top: 25px;
  color: #aaa;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 15px);
  z-index: 80;
  background: #fff;
  border: 1px solid #c8c8c8;
  box-shadow: 0 3px 20px rgb(0 0 0 / 4%);
  padding: 12px 22px;
  max-width: calc(100vw - 30px);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}

.toast.is-visible,
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ========================================================================== 
   14. Tablettes et mobiles
   Les dimensions du logo tiennent compte des boutons et des marges du header.
   ========================================================================== */

@media (max-width: 1279px) {
  .model-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .site-header { gap: 18px; }
  .header-logo, .menu-logo { width: 230px; }
  .menu-columns { gap: 35px; }
  .portfolio-side-name, .profile-side-name { font-size: 39px; }
  .portfolio-side-category, .profile-side-category { font-size: 33px; }
  .application-layout { gap: 55px; }
}

@media (max-width: 1023px) {
  .model-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .header-category { min-width: 125px; max-width: 190px; }
  .header-category select { font-size: 9px; }
  .header-search { width: 170px; }
  .menu-categories { font-size: 38px; }
  .menu-columns { padding: 0 40px; gap: 30px; }
  .menu-information { padding-left: 10px; }
  .menu-models h2 { font-size: 23px; }
  .portfolio-stage, .profile-stage {
    grid-template-columns: minmax(60px, 1fr) auto minmax(60px, 1fr);
    padding-left: 5%;
    padding-right: 5%;
  }
  .portfolio-side-name, .profile-side-name { font-size: 29px; }
  .portfolio-side-category, .profile-side-category { font-size: 26px; }
  .portfolio-main-photo, .profile-carousel { max-width: 62vw; }
  .profile-photo-button, #gallery-main {
    height: calc(100svh - 245px);
    min-height: 360px;
  }
  .profile-arrow { font-size: 40px; }
  .profile-arrow.prev { left: 4px; }
  .profile-arrow.next { right: 4px; }
  .application-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 40px; }
  .contact-layout { gap: 5vw; }
  .contact-copy h1 { font-size: 44px; }
  .contact-photo { height: 560px; }
  .agency-intro, .agency-text { gap: 6vw; }
}

@media (max-width: 767px) {
  :root { --header: 88px; }

  /* Le logo et les icônes occupent la première ligne ; les filtres, la seconde. */
  .site-header {
    height: 55px;
    padding: 0 15px;
    gap: 14px;
    border-bottom: 1px solid #eee;
  }
  .site-header::after {
    content: "";
    position: absolute;
    top: 55px;
    left: 0;
    right: 0;
    height: 33px;
    background: #fff;
    border-bottom: 1px solid #eee;
    z-index: -1;
  }
  .header-logo { width: clamp(180px, calc(100vw - 155px), 220px); }
  .header-selection { margin-left: auto; }
  .header-category {
    position: absolute;
    left: 20px;
    top: 55px;
    height: 33px;
    margin: 0;
    max-width: calc(100vw - 205px);
    min-width: 0;
    width: 190px;
  }
  .header-category select { padding: 7px 20px 7px 0; font-size: 8px; }
  .header-category > span:last-child { font-size: 13px; }
  .header-search {
    position: absolute;
    right: 15px;
    top: 57px;
    height: 28px;
    width: 156px;
  }
  .header-search input { font-size: 10px; padding: 2px 0 3px; text-align: left; }
  .header-search .icon-button { width: 23px; height: 23px; }

  .home-logo { width: 390px; max-width: 82vw; }
  .home-discover { margin-top: 43px; font-size: 20px; }

  .menu-columns {
    margin-top: 65px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px 25px;
    padding: 0 35px;
  }
  .menu-categories { font-size: 33px; gap: 17px; }
  .menu-models h2 { font-size: 20px; }
  .menu-models h2:not(:first-child) { margin-top: 42px; }
  .menu-models > a { font-size: 12px; }
  .menu-information {
    grid-column: 1 / -1;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 25px;
  }
  .menu-information h2 { margin: 20px 0 10px; }
  .menu-information > a,
  .menu-info-group a { font-size: 12px; }
  .menu-information .menu-instagram { grid-column: 1 / -1; }
  .menu-header { padding: 0 15px; gap: 14px; }
  .menu-logo { width: 200px; }
  .menu-header > .outline-button { min-width: 0; padding: 5px 10px; font-size: 8px; }

  .board-heading { padding: 30px 20px 19px; align-items: start; min-height: 103px; }
  .board-heading h1 { font-size: 25px; }
  .board-heading p { font-size: 11px; max-width: 290px; }
  .board-tools { padding: 0 20px; }
  .board-tools-right { gap: 10px; }
  .board-tools-right > span { font-size: 9px; }
  .sort-control select { max-width: 115px; font-size: 9px; padding-right: 10px; }
  .gender-filter { gap: 20px; }
  .alphabet { gap: 12px; padding-top: 20px; padding-bottom: 24px; }
  .alphabet button { font-size: 10px; }
  .model-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-summary { padding: 11px 12px 24px; min-height: 86px; }
  .card-summary h2, .card-summary h3 { font-size: 21px; }
  .card-category { font-size: 17px; }

  .portfolio-stage, .profile-stage { display: block; padding: 20px 42px 0; }
  .portfolio-side-name, .portfolio-side-category,
  .profile-side-name, .profile-side-category { display: none; }
  .portfolio-main-photo, .profile-carousel { max-width: 100%; width: 100%; margin: auto; }
  .profile-photo-button, #gallery-main {
    height: auto;
    min-height: 0;
    max-height: none;
    width: 100%;
    aspect-ratio: 3 / 4;
  }
  .profile-arrow { font-size: 45px; width: 35px; }
  .profile-arrow.prev { left: 3px; }
  .profile-arrow.next { right: 3px; }
  .profile-details, .profile-meta { padding: 24px 20px 0; }
  .profile-name { font-size: 28px; }
  .measurements { gap: 9px 16px; font-size: 10px; line-height: 1.6; }
  .profile-actions { gap: 10px 20px; padding-top: 18px; }
  .profile-actions a, .profile-actions button { font-size: 9px; }
  .portfolio-section, .digitals-section { padding: 45px 22px; }
  .portfolio-section > h2, .digitals-section > h2 { font-size: 29px; }
  .profile-topline { padding: 12px 20px 0; gap: 15px; }
  .profile-topline .profile-back { font-size: 8px; }
  .profile-bio { font-size: 9px; max-width: 310px; }
  .template-notice { padding: 18px 20px; font-size: 10px; }
  .lightbox { padding: 65px 32px 45px; }
  .lightbox-top { left: 18px; right: 12px; }
  .lightbox-top > span { font-size: 18px; }
  .lightbox-arrow { font-size: 40px; padding: 2px; }
  #lightbox-prev { left: 2px; }
  #lightbox-next { right: 2px; }

  .section-heading { padding: 50px 20px 40px; }
  .section-heading h1 { font-size: 41px; }
  .section-heading p { font-size: 13px; }
  .selection-toolbar { flex-wrap: wrap; gap: 14px 22px; font-size: 11px; }
  .selection-toolbar > span { width: 100%; text-align: center; }
  .booking-form { margin: 40px auto 50px; padding: 35px 25px 0; }
  .booking-form > h2 { font-size: 31px; }

  .agency-intro, .agency-text { padding: 55px 25px; grid-template-columns: 1fr; gap: 35px; }
  .agency-intro h1, .agency-text h2 { font-size: 54px; }
  .agency-intro p:not(.eyebrow), .agency-text p { font-size: 16px; }

  .application-heading { padding: 50px 20px 42px; }
  .application-heading h1 { font-size: 44px; }
  .application-heading p { font-size: 14px; }
  .application-layout { grid-template-columns: 1fr; padding: 0 25px 65px; gap: 35px; }
  .application-guidance { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .application-guidance h2 { grid-column: 1 / -1; font-size: 24px; }
  .application-guidance ul { margin: 0; }
  .application-guidance > p:last-of-type { grid-column: 1 / -1; font-size: 11px; margin-top: 17px; }

  .contact-layout { grid-template-columns: minmax(0, 1fr); padding: 55px 25px 65px; gap: 45px; }
  .contact-copy h1 { font-size: clamp(34px, 10vw, 48px); margin-bottom: 40px; }
  .contact-photo { height: 380px; }
  .legal { padding: 135px 25px 60px; }
  .legal h1 { font-size: 40px; margin-bottom: 35px; }
  .legal h2 { font-size: 24px; }
  .legal p, .legal li { font-size: 13px; }

  .site-footer {
    padding: 40px 25px 25px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
    font-size: 11px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand > a { width: 235px; margin-bottom: 18px; }
  .footer-note { font-size: 7px; margin-top: 4px; }
}

@media (max-width: 599px) {
  .home-logo { width: 350px; max-width: 84vw; }
  .home-discover { margin-top: 36px; font-size: 18px; padding: 0 20px; }
  .home-apply { top: 28px; width: 178px; height: 29px; min-height: 29px; font-size: 9px; }
  .home-motion { left: 12px; bottom: 16px; }
  .home-backdrop img { object-position: 53% 55%; }

  .menu-columns {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    padding: 0 20px;
    margin-top: 40px;
    gap: 40px 14px;
  }
  .menu-categories { font-size: clamp(24px, 7vw, 31px); gap: 16px; }
  .menu-models h2 { font-size: 15px; letter-spacing: .02em; overflow-wrap: anywhere; }
  .menu-models > a { font-size: 11px; line-height: 1.5; margin-bottom: 18px; letter-spacing: .02em; }
  .menu-models h2:not(:first-child) { margin-top: 35px; }
  .menu-logo { width: 180px; }
  .menu-header { gap: 8px; padding: 0 12px; }
  .menu-header .close-button { width: 30px; }
  .menu-header > .outline-button { font-size: 7px; padding: 5px 6px; letter-spacing: .04em; }
  .menu-information h2 { font-size: 13px; }

  .board-heading { padding: 27px 17px 17px; }
  .board-heading p { font-size: 10px; max-width: 235px; }
  .board-tools { padding: 0 17px; gap: 8px; }
  .board-tools-right > span { font-size: 8px; }
  .sort-control select { font-size: 8px; max-width: 97px; }
  .alphabet { padding: 17px 20px 23px; gap: 9px 11px; min-height: 70px; }
  .alphabet button { font-size: 9px; }
  .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-summary { padding: 10px 14px 24px; }
  .card-category { font-size: 18px; }
  .favorite-button { width: 27px; height: 27px; right: 8px; top: 8px; }
  .empty-state { padding: 60px 25px 80px; }
  .empty-state h1, .empty-state h2 { font-size: 29px; }

  .portfolio-stage, .profile-stage { padding: 20px 27px 0; }
  .profile-arrow { width: 28px; font-size: 34px; }
  .profile-arrow.prev { left: 0; }
  .profile-arrow.next { right: 0; }
  .profile-details, .profile-meta { padding-top: 21px; }
  .profile-counter { bottom: 7px; right: 7px; font-size: 8px; }
  .measurements { max-width: 355px; margin-left: auto; margin-right: auto; font-size: 9px; gap: 7px 16px; }
  .profile-actions { gap: 9px 20px; }
  .profile-back { font-size: 9px; }
  .digitals-grid { gap: 9px; }

  .section-heading h1 { font-size: 37px; }
  .selection-toolbar .text-button { font-size: 10px; }
  .selection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-grid { grid-template-columns: 1fr; gap: 25px; }
  .field input, .field textarea, .field select { font-size: 16px; }
  .field label { font-size: 9px; }
  .application-guidance { display: block; }
  .application-guidance ul { margin: 17px 0; }
  .application-guidance p { font-size: 12px; }
  .application-heading h1 { font-size: 36px; }
  .form-progress { gap: 14px; font-size: 9px; }
  .form-progress span { font-size: 26px; }
  .form-step h2 { font-size: 27px; }
  .form-note { font-size: 11px; }
  .form-actions .button { font-size: 9px; padding: 9px 17px; }
  .application-summary { font-size: 11px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
  .agency-intro h1, .agency-text h2 { font-size: 46px; }
  .agency-text p, .agency-intro p:not(.eyebrow) { font-size: 15px; }
  .contact-photo { height: 330px; }
  .footer-brand > a { width: 230px; }
}

@media (max-width: 359px) {
  .site-header { gap: 10px; padding: 0 12px; }
  .header-logo { width: min(190px, calc(100vw - 136px)); }
  .menu-logo { width: 155px; }
  .menu-header { padding: 0 10px; gap: 7px; }
  .home-discover { font-size: 17px; }
  .gender-filter { gap: 14px; }
  .board-tools-right { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .home-backdrop img { transform: none; }
}

/* ========================================================================== 
   15. Impression : fiche mannequin ou sélection, depuis les vrais contenus HTML
   Aucun contenu dupliqué ni feuille cachée à générer en JavaScript.
   ========================================================================== */

@page {
  size: A4 landscape;
  margin: 12mm;
}

@media print {
  html,
  body {
    background: #fff !important;
    color: #222 !important;
    overflow: visible !important;
  }

  .site-header,
  .site-footer,
  .site-menu,
  .lightbox,
  .toast,
  .skip-link,
  .template-notice,
  .profile-topline,
  .profile-actions,
  .profile-arrow,
  .profile-counter,
  .portfolio-side-name,
  .portfolio-side-category,
  .profile-side-name,
  .profile-side-category,
  .selection-toolbar,
  .booking-form,
  .favorite-button,
  .card-hover,
  .js-only {
    display: none !important;
  }

  .page {
    padding: 0;
    min-height: 0;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  .print-brand {
    display: block;
    width: 75mm;
    max-width: 100%;
    height: auto;
  }

  .template-field {
    border: 0;
  }

  /* Comp card : identité en tête, photo principale et deux photographies. */
  body[data-page="portfolio"] #profile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    grid-template-areas:
      "brand brand"
      "details details"
      "photo digitals";
    gap: 4mm;
    margin: 0;
    padding: 0;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  body[data-page="portfolio"] #profile > .print-brand {
    grid-area: brand;
  }

  body[data-page="portfolio"] .profile-details,
  body[data-page="portfolio"] .profile-meta {
    grid-area: details;
    padding: 0;
    text-align: left;
  }

  body[data-page="portfolio"] #profile .profile-name {
    display: block;
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 2mm;
    padding: 0;
    overflow: visible;
    clip-path: none;
    white-space: normal;
    font-size: 24pt;
    line-height: 1.1;
  }

  body[data-page="portfolio"] #profile .profile-categories {
    display: block;
    font-size: 9pt;
    margin: 0 0 2mm;
  }

  body[data-page="portfolio"] #profile .measurements {
    justify-content: flex-start;
    max-width: none;
    gap: 2mm 5mm;
    margin: 0;
    font-size: 8pt;
    line-height: 1.4;
  }

  body[data-page="portfolio"] .measurements dd {
    color: #555;
  }

  body[data-page="portfolio"] .profile-bio {
    display: none;
  }

  body[data-page="portfolio"] .portfolio-stage,
  body[data-page="portfolio"] .profile-stage {
    grid-area: photo;
    display: block;
    min-width: 0;
    padding: 0;
  }

  body[data-page="portfolio"] .portfolio-main-photo,
  body[data-page="portfolio"] .profile-carousel {
    display: block;
    width: 100%;
    max-width: none;
    height: 115mm;
    margin: 0;
  }

  body[data-page="portfolio"] #gallery-main,
  body[data-page="portfolio"] .profile-photo-button {
    display: block;
    width: 100%;
    height: 115mm;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    background: none;
  }

  body[data-page="portfolio"] .digitals-section {
    grid-area: digitals;
    padding: 0;
    min-width: 0;
  }

  body[data-page="portfolio"] .digitals-section > h2,
  body[data-page="portfolio"] .digitals-section > p {
    display: none;
  }

  body[data-page="portfolio"] .digitals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3mm;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  body[data-page="portfolio"] .digitals-grid figure {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  /* Une comp card conserve deux vues en plus du portrait principal.
     Les autres photos restent disponibles dans la galerie du site. */
  body[data-page="portfolio"] .digitals-grid > figure:nth-child(n + 3) {
    display: none;
  }

  body[data-page="portfolio"] .digital-photo-button,
  body[data-page="portfolio"] .digitals-grid > a {
    width: 100%;
    height: 115mm;
    aspect-ratio: auto;
    background: none;
  }

  body[data-page="portfolio"] #profile img.photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  body[data-page="portfolio"] .digitals-grid figcaption {
    font-size: 7pt;
    margin-top: 2mm;
  }

  /* Sélection : toutes les cartes existantes, sans formulaires ni commandes. */
  body[data-page="selection"] .section-heading {
    padding: 0 0 7mm;
    text-align: left;
  }

  body[data-page="selection"] .section-heading h1 {
    font-size: 24pt;
    margin-bottom: 2mm;
  }

  body[data-page="selection"] .section-heading p {
    font-size: 9pt;
  }

  body[data-page="selection"] .selection-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6mm;
    max-width: none;
    margin: 0;
  }

  body[data-page="selection"] .model-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  body[data-page="selection"] .model-image-link,
  body[data-page="selection"] .model-photo {
    height: 82mm;
    aspect-ratio: auto;
  }

  body[data-page="selection"] .model-card .photo {
    object-fit: cover;
    filter: none;
  }

  body[data-page="selection"] .card-summary {
    min-height: 0;
    padding: 3mm 0 0;
  }

  body[data-page="selection"] .card-summary h2,
  body[data-page="selection"] .card-summary h3 {
    font-size: 14pt;
  }

  body[data-page="selection"] .card-category {
    font-size: 10pt;
  }

  body[data-page="selection"] .empty-state .outline-button {
    display: none;
  }

  /* Les pages de texte peuvent elles aussi être imprimées normalement. */
  .legal {
    max-width: none;
    padding: 0;
  }

  .legal h1 {
    font-size: 26pt;
    margin-bottom: 6mm;
  }

  .legal h2 {
    font-size: 16pt;
    break-after: avoid;
  }

  .legal p,
  .legal li {
    font-size: 10pt;
  }
}
