/* =========================================================
   IMPORT DES POLICES PRIVÃ‰ES (PP HATTON)
   ========================================================= */
@font-face {
  font-family: 'PP Hatton';
  src: url('contents/fonts/PP%20Hatton%20Ultralight%20200.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'PP Hatton';
  src: url('contents/fonts/PP%20Hatton%20Medium%20500.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'PP Hatton';
  src: url('contents/fonts/PP%20Hatton%20Bold%20700.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

/* =========================================================
   COMMON TOKENS / BASE / HEADER / FOOTER
   ========================================================= */
:root {
  --font-main: 'Montserrat', sans-serif;
  --font-title: 'PP Hatton', serif;

  --bg: #ffffff;
  --panel: #ffffff;
  --text: #111111;
  --muted: #6f6a63;
  --line: #e9e2d8;
  --soft: #efe8dd;

  --max: 1240px;
  --radius: 24px;
  --shadow: 0 20px 60px rgba(17,17,17,.08);
  --page-x: 24px;
  --page-x-mobile: 16px;

  --header-bg: rgba(255,255,255,.82);
  --header-border: rgba(233,226,216,.8);
  --logo-size: 26px;
  --logo-spacing: .4em;
  --nav-size: 11px;
  --nav-spacing: .2em;
  --footer-size: 12px;
  --footer-spacing: .12em;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }

/* =========================================================
   SHARED HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  backdrop-filter: blur(14px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--page-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-family: var(--font-title);
  font-size: var(--logo-size);
  letter-spacing: var(--logo-spacing);
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  font-size: var(--nav-size);
  font-weight: 600;
  letter-spacing: var(--nav-spacing);
  text-transform: uppercase;
  color: var(--muted);
  transition: .25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
}

/* =========================================================
   MOBILE MENU DEFAULT = HIDDEN ON DESKTOP
   ========================================================= */
.mobile-menu-toggle {
  display: none;
}

.mobile-menu-panel {
  display: none;
}

/* =========================================================
   SHARED FOOTER
   ========================================================= */
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--page-x) 48px;
  color: var(--muted);
}

.footer-line {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: var(--footer-size);
  letter-spacing: var(--footer-spacing);
  text-transform: uppercase;
}

/* =========================================================
   UNIFIED MODEL CARD RATIO 2/3
   ========================================================= */
.model-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: #f5f5f7;
}

.model-card img {
  width: 100% !important;
  height: 100% !important;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover !important;
  object-position: center 12% !important;
  scale: 1.12;
  transition: scale 0.6s ease;
}

.model-card:hover img {
  scale: 1.16;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .main-nav { gap: 20px; }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px var(--page-x-mobile) !important;
  }

  .logo-link img {
    height: 24px !important;
    width: auto !important;
    object-fit: contain;
  }

  .main-nav {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: inline-flex !important;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(17,17,17,.08);
    background: rgba(255,255,255,.96);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    position: relative;
    z-index: 10002;
  }

  .mobile-menu-toggle span,
  .mobile-menu-toggle span::before,
  .mobile-menu-toggle span::after {
    content: "";
    display: block;
    width: 14px;
    height: 1.5px;
    background: var(--text);
    border-radius: 999px;
    position: absolute;
    transition: .22s ease;
  }

  .mobile-menu-toggle span {
    position: relative;
    background: var(--text);
  }

  .mobile-menu-toggle span::before {
    top: -5px;
  }

  .mobile-menu-toggle span::after {
    top: 5px;
  }

  .mobile-menu-toggle.is-open span {
    background: transparent;
  }

  .mobile-menu-toggle.is-open span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .mobile-menu-toggle.is-open span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .mobile-menu-panel {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 10001;
    background-color: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
  }

  .mobile-menu-panel.is-open {
    transform: translateX(0);
  }

  .mobile-menu-inner {
    height: 100dvh;
    padding: 88px 24px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
  }

  .mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
  }

  .mobile-menu-nav a {
    font-family: var(--font-title);
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text);
    text-transform: none;
  }

  .mobile-menu-nav a.subtle-link,
  .mobile-menu-legal {
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .mobile-menu-bottom {
    display: flex;
    justify-content: center;
    padding-top: 24px;
  }

  .site-footer {
    display: none !important;
  }
}