/* ============ TUBE — PAST OR ============ */

/* ---------- polices auto-hébergées (RGPD : aucun appel à Google Fonts) ---------- */
/* Cormorant Garamond & Manrope sont des polices variables : un seul fichier couvre les graisses 400 à 700. */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/cormorant-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/cormorant-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/cormorant-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/cormorant-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- variables ---------- */
:root {
  --accent: #b08d4f;            /* or 9 carats */
  --accent-soft: rgba(176, 141, 79, 0.14);
  --dark-bg: #0c0c0d;
  --dark-bg-2: #131314;
  --dark-ink: #ece9e4;
  --dark-muted: #9b968e;
  --light-bg: #f4f2ee;
  --light-bg-2: #ebe8e2;
  --light-ink: #181715;
  --light-muted: #6d6861;
  --line-dark: rgba(255, 255, 255, 0.1);
  --line-light: rgba(24, 23, 21, 0.12);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", "Helvetica Neue", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--dark-bg);
  color: var(--dark-ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.lead { font-size: 18px; }

p + p { margin-top: 1em; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(12, 12, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
  flex: none;
  text-decoration: none;
  color: var(--dark-ink);
  margin-right: auto;
}
.brand-tube {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.brand-by {
  white-space: nowrap;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dark-muted);
}
.nav-links { display: flex; gap: 24px; }
.nav-links a {
  color: var(--dark-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--dark-ink); }

.lang-switch {
  display: flex;
  border: 1px solid var(--line-dark);
  border-radius: 99px;
  overflow: hidden;
  flex: none;
}
.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--dark-muted);
  font: 600 11px/1 var(--font-body);
  letter-spacing: 0.1em;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-switch button.active { background: var(--dark-ink); color: var(--dark-bg); }

/* burger (mobile) */
.nav-burger {
  display: none;
  flex: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--dark-ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* menu déroulant mobile */
.nav-menu {
  display: none;
  border-top: 1px solid var(--line-dark);
  padding: 10px 32px 22px;
}
.nav-menu.open { display: block; }
.nav-menu a {
  display: block;
  padding: 13px 0;
  color: var(--dark-ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line-dark);
}
.nav-menu .lang-switch { margin-top: 18px; width: max-content; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font: 600 13px/1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 17px 30px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-gold {
  background: var(--accent);
  color: #0c0c0d;
}
.btn-gold:hover { background: color-mix(in oklab, var(--accent) 85%, white); }
.btn-gold .price {
  font-weight: 500;
  opacity: 0.75;
  border-left: 1px solid rgba(0, 0, 0, 0.25);
  padding-left: 12px;
}
.btn-nav { padding: 11px 18px; flex: none; }
.btn-ghost-dark {
  background: transparent;
  color: var(--dark-ink);
  border: 1px solid var(--line-dark);
}
.btn-ghost-dark:hover { border-color: var(--dark-ink); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(120% 90% at 75% 40%, #232325 0%, var(--dark-bg) 62%);
}
.hero-img {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 52%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 30%);
  mask-image: linear-gradient(90deg, transparent 0%, black 30%);
  opacity: 0.96;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 140px 0 120px;
}
.hero h1 {
  font-size: clamp(46px, 6vw, 76px);
}
.hero .sub {
  margin-top: 26px;
  font-size: 17px;
  color: var(--dark-muted);
  max-width: 44ch;
}
.hero-cta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.hero-edition {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* badges strip */
.badges {
  border-top: 1px solid var(--line-dark);
  background: var(--dark-bg);
}
.badges-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 32px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--dark-muted);
}
.badge .dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- sections ---------- */
section { scroll-margin-top: 70px; }
.section { padding: 110px 0; }
.section-light { background: var(--light-bg); color: var(--light-ink); }
.section-light .kicker { color: color-mix(in oklab, var(--accent) 80%, #5a4a28); }
.section-light .muted { color: var(--light-muted); }
.section-dark { background: var(--dark-bg); color: var(--dark-ink); }
.section-dark .muted { color: var(--dark-muted); }
.section h2 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 28px; }

.two-col {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 72px;
  align-items: center;
}

/* gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 64px;
}
.gallery figure {
  background: #0c0c0d;
  overflow: hidden;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.gallery figure:hover img { transform: scale(1.035); }
.gallery figcaption {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-muted);
  padding: 14px 2px 0;
}

/* specs */
.specs {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  list-style: none;
}
.specs li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 15px;
}
.specs .num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--accent);
  min-width: 26px;
}

/* mechanism / video */
.video-frame {
  position: relative;
  background: #000;
  border: 1px solid var(--line-dark);
}
.video-frame video {
  display: block;
  width: 100%;
  max-height: 640px;
  object-fit: contain;
  background: #000;
}

/* atelier */
.atelier-grid {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: 22px;
  margin-top: 64px;
}
.atelier-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.atelier-grid .tall { aspect-ratio: 3 / 4; }
.atelier-grid .wide { aspect-ratio: 16 / 11; }

/* pendant */
.pendant-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.pendant-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* histoire */
.histoire-grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 72px;
  align-items: center;
}
.histoire-grid img { width: 100%; }
.sig {
  margin-top: 34px;
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  color: var(--light-muted);
}

/* edition / newsletter */
.edition {
  text-align: center;
  max-width: 660px;
  margin: 0 auto;
}
.edition-count {
  font-family: var(--font-display);
  font-size: clamp(80px, 11vw, 150px);
  line-height: 1;
  color: var(--accent);
}
.edition-count small {
  font-size: 0.32em;
  color: var(--dark-muted);
  letter-spacing: 0.1em;
}
.newsletter {
  margin-top: 44px;
  display: flex;
  gap: 0;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.newsletter input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-right: 0;
  color: var(--dark-ink);
  font: 500 14px/1 var(--font-body);
  padding: 0 18px;
  outline: none;
}
.newsletter input::placeholder { color: var(--dark-muted); }
.newsletter input:focus { border-color: var(--accent); }
.newsletter-msg {
  margin-top: 16px;
  font-size: 14px;
  min-height: 1.5em;
}
.newsletter-msg.ok { color: var(--accent); }
.newsletter-msg.err { color: #d08770; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* faq */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details {
  border-bottom: 1px solid var(--line-light);
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 2px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.25s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .answer {
  padding: 0 2px 26px;
  color: var(--light-muted);
  max-width: 62ch;
}

/* footer */
footer {
  background: var(--dark-bg);
  border-top: 1px solid var(--line-dark);
  padding: 64px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand .brand-tube { font-size: 30px; }
.footer-meta {
  font-size: 13px;
  color: var(--dark-muted);
  text-align: right;
  line-height: 2;
}
.footer-meta a { color: var(--dark-muted); }
.footer-meta a:hover { color: var(--dark-ink); }
.footer-age {
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* pages annexes (mentions légales) */
.page-simple { padding: 140px 0 90px; }
.page-simple h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 40px; }
.page-simple h2 { font-size: 24px; margin: 40px 0 12px; }
.page-simple .muted { max-width: 70ch; }

/* reveal animation — visible par défaut ; masqué seulement si JS confirme le support d'IntersectionObserver */
@media (prefers-reduced-motion: no-preference) {
  html.js-reveal .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  html.js-reveal .reveal.in { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav-inner { gap: 14px; padding: 0 20px; }
  .nav-links, .nav-lang { display: none; }
  .nav-burger { display: flex; }
  .btn-nav { padding: 11px 14px; font-size: 11.5px; letter-spacing: 0.1em; }
  .wrap { padding: 0 20px; }
  .hero-img {
    position: relative;
    width: 100%;
    height: 56vh;
    -webkit-mask-image: linear-gradient(180deg, black 60%, transparent 100%);
    mask-image: linear-gradient(180deg, black 60%, transparent 100%);
  }
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-content { padding: 90px 0 70px; }
  .badges-inner { grid-template-columns: 1fr 1fr; padding: 26px 20px; }
  .two-col, .histoire-grid { grid-template-columns: 1fr; gap: 44px; }
  .gallery { grid-template-columns: 1fr; }
  .atelier-grid { grid-template-columns: 1fr; }
  .pendant-grid { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}

@media (max-width: 400px) {
  .brand-by { display: none; }
  .newsletter { flex-direction: column; }
  .newsletter input { border-right: 1px solid var(--line-dark); border-bottom: 0; padding: 15px 18px; }
  .newsletter .btn { justify-content: center; }
}
