/* ===========================================================
   NÔMA PARIS — Page vitrine
   =========================================================== */

:root {
  --ivory: #f7f3ec;
  --ivory-soft: #efe9dd;
  --black: #1a1815;
  --black-soft: #3a3733;
  --beige: #cbb495;
  --beige-soft: #e4d8c4;
  --border: #d8c9b4;

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --max-width: 1180px;
  --section-pad: clamp(64px, 9vw, 128px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--black);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

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

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--black-soft);
  opacity: 0.7;
  margin: 0 0 18px;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  margin: 0;
  color: var(--black);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: 0.01em;
}

.section-intro {
  max-width: 640px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-intro.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.lede {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--black-soft);
  margin-top: 18px;
}

.signature {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

/* ---------- Reveal on scroll ----------
   Content stays visible (opacity: 1) at all times — only a subtle
   upward slide is deferred, so nothing can be left invisible if the
   scroll observer fails to fire. */
.reveal {
  transform: translateY(18px);
  transition: transform 0.8s ease;
}
.reveal.is-visible {
  transform: translateY(0);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 26px 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header.scrolled {
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(8px);
  padding: 16px 0;
  box-shadow: 0 1px 0 rgba(26, 24, 21, 0.06);
}

.logotype {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  letter-spacing: 0.22em;
  font-weight: 600;
}
.logotype .accent { color: var(--beige); }

.nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links a {
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nav-links a:hover { border-color: var(--black); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 1px;
  background: var(--black);
  display: block;
}

/* ---------- Hero ----------
   A single large brand photo, shown at its native aspect ratio so
   nothing is ever cropped — the photo already carries its own brand
   text. No price here — that lives in the product sheet below. */
.hero {
  padding: 116px 20px 20px;
}
.hero-media { max-width: 1400px; margin: 0 auto; }
.hero-media .photo-frame {
  height: auto;
  aspect-ratio: 1280 / 853;
}

.photo-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--ivory-soft);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame.photo-contain img { object-fit: contain; }

/* ---------- Generic photo aspect wrapper (for non-hero) ---------- */
.photo-frame.ratio-portrait { aspect-ratio: 4 / 5; }
.photo-frame.ratio-square { aspect-ratio: 1 / 1; }

/* ---------- Product sheet ---------- */
.product-sheet {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border);
}
.product-sheet-inner {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.product-media {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.product-media .photo-frame { max-height: 50vh; }
.product-media .product-price { display: flex; width: 100%; }

.product-info .eyebrow { margin-bottom: 10px; }
.product-name {
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  margin-bottom: 16px;
}
.product-desc {
  color: var(--black-soft);
  max-width: 440px;
  margin: 0 0 26px;
}
.product-features {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-features li {
  font-size: 0.92rem;
  color: var(--black-soft);
  padding-left: 20px;
  position: relative;
}
.product-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 1px;
  background: var(--beige);
}
.product-price {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 28px;
  background: var(--ivory-soft);
  border: 1px solid var(--border);
}
.product-price .price-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black-soft);
}
.product-price .price-value {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 600;
}
.product-price .price-availability {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black-soft);
  opacity: 0.75;
}

/* ---------- Presentation ---------- */
.presentation {
  padding: var(--section-pad) 0;
}
.presentation .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}
.presentation .text-col p { color: var(--black-soft); margin: 16px 0; }

/* ---------- Details ---------- */
.details { padding: var(--section-pad) 0; background: var(--ivory-soft); }
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.spec-card {
  padding: 26px 24px;
  background: var(--ivory);
  border: 1px solid var(--border);
}
.spec-card .spec-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black-soft);
  margin-bottom: 10px;
}
.spec-card .spec-value {
  font-family: var(--font-serif);
  font-size: 1.25rem;
}
.details-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* ---------- Functionality ---------- */
.functionality { padding: var(--section-pad) 0; }
.usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(28px, 4vw, 48px);
}
.usage-card { text-align: center; }
.usage-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 18px;
  color: var(--black);
}
.usage-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; }
.usage-card h3 {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.usage-card p { font-size: 0.92rem; color: var(--black-soft); margin: 0; }

/* ---------- About ---------- */
.about {
  padding: var(--section-pad) 0;
  background: var(--black);
  color: var(--ivory);
}
.about .container { max-width: 760px; text-align: center; }
.about .eyebrow { color: var(--beige-soft); opacity: 0.9; }
.about p { color: rgba(247, 243, 236, 0.78); margin: 20px 0; font-size: 1.05rem; }
.about .signature { font-size: 1.6rem; margin-top: 32px; color: var(--beige-soft); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 56px 0 36px;
  background: var(--black);
  color: rgba(247, 243, 236, 0.7);
  border-top: 1px solid rgba(247, 243, 236, 0.12);
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.site-footer .logotype { color: var(--ivory); }
.site-footer .signature { color: var(--beige-soft); }
.footer-links {
  display: flex;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 10px 0;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-links a { opacity: 0.8; }
.footer-links a:hover { opacity: 1; }
.footer-note {
  font-size: 0.72rem;
  opacity: 0.5;
  margin-top: 18px;
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 96px 14px 14px; }

  .presentation .container { grid-template-columns: 1fr; }
  .presentation .media-col { order: -1; }

  .product-sheet-inner { grid-template-columns: 1fr; }
  .product-media { max-width: 260px; margin: 0 auto; }
  .product-media .photo-frame { max-height: 42vh; }

  .details-photos { grid-template-columns: 1fr; }
}

/* ---------- Mobile nav panel ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--ivory);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateY(-100%);
  transition: transform 0.45s ease;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 1.6rem;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
