/* ===================================
   KALLON — CSS principal
   Extrait du prototype index.html
=================================== */

/* FONTS */
@font-face { font-family: 'Collapse'; src: url('/fonts/CollapseTrial-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Collapse'; src: url('/fonts/CollapseTrial-Light.otf') format('opentype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Collapse'; src: url('/fonts/CollapseTrial-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Collapse'; src: url('/fonts/CollapseTrial-Italic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'NeueMontreal'; src: url('/fonts/PPNeueMontreal-Book.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'NeueMontreal'; src: url('/fonts/PPNeueMontreal-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'NeueMontreal'; src: url('/fonts/PPNeueMontreal-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'NeueMontreal'; src: url('/fonts/PPNeueMontreal-Thin.otf') format('opentype'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'NeueMontreal'; src: url('/fonts/PPNeueMontreal-Italic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }

/* RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body { font-family: 'NeueMontreal', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 400; color: #111; background: #fff; line-height: 1.5; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { background: none; border: none; cursor: pointer; font-family: inherit; color: inherit; }

/* TYPOGRAPHY */
.t-display { font-family: 'Collapse', 'Times New Roman', serif; font-weight: 400; letter-spacing: 0.02em; line-height: 1.05; padding-left: 0.05em; }
.t-editorial { font-family: 'NeueMontreal', sans-serif; font-weight: 200; line-height: 1.65; letter-spacing: 0.01em; }
.t-nav { font-family: 'NeueMontreal', sans-serif; font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; }
.t-caption { font-family: 'NeueMontreal', sans-serif; font-weight: 400; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: #888; }

/* HEADER */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.75rem 2.5rem; transition: background 0.4s ease; }
.header--scrolled { background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); }
.header--dark .logo-svg path { fill: #fff; }
.header--dark .nav-link { color: #fff; }
.header--dark .cart-icon line, .header--dark .cart-icon polyline, .header--dark .cart-icon path { stroke: #fff; }
.header--dark .burger span { background: #fff; }
.logo { flex-shrink: 0; }
.logo-svg { height: 22px; width: auto; }
.logo-svg path { fill: #111; transition: fill 0.3s ease; }
.nav-desktop { display: flex; align-items: center; gap: 2.5rem; }
.nav-link { position: relative; padding: 0.25rem 0; transition: color 0.3s ease; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: currentColor; transition: width 0.3s ease; }
.nav-link:hover::after { width: 100%; }
.nav-link--active::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.cart-icon { width: 18px; height: 18px; }
.cart-icon line, .cart-icon polyline, .cart-icon path { stroke: #111; transition: stroke 0.3s ease; }
.burger { display: none; flex-direction: column; gap: 5px; padding: 4px 0; cursor: pointer; }
.burger span { display: block; width: 22px; height: 1.5px; background: #111; transition: background 0.3s ease, transform 0.3s ease; }

/* MOBILE MENU */
.mobile-menu { position: fixed; inset: 0; z-index: 200; display: flex; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.mobile-menu.is-open { opacity: 1; pointer-events: all; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.2); }
.mobile-menu__panel { position: relative; margin-left: auto; width: 70%; max-width: 380px; background: rgba(255,255,255,0.92); backdrop-filter: blur(20px); padding: 6rem 2.5rem 3rem; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94); }
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__close { position: absolute; top: 1.75rem; right: 2.5rem; font-size: 1.5rem; font-weight: 200; line-height: 1; }
.mobile-menu__links { display: flex; flex-direction: column; gap: 1.25rem; }
.mobile-menu__link { font-family: 'NeueMontreal', sans-serif; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.12em; text-transform: uppercase; }
.mobile-menu__separator { width: 2.5rem; height: 1px; background: #111; margin: 1.5rem 0; }

/* HERO */
.hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; background: #1a1a1a; }
.hero__image { position: absolute; inset: 0; background-size: cover; background-position: center center; opacity: 0.9; }
.hero__image--placeholder { background: linear-gradient(160deg, #2a2a2a 0%, #0d0d0d 100%); opacity: 1; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.0) 35%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.55) 100%); pointer-events: none; }
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 2.5rem 4.5rem; }
.hero__overtitle { font-family: 'NeueMontreal', sans-serif; font-weight: 200; font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 1.25rem; }
.hero__title { font-family: 'Collapse', 'Times New Roman', serif; font-weight: 400; font-style: italic; font-size: clamp(3rem, 8vw, 6.5rem); line-height: 0.95; color: #fff; max-width: 700px; }
.hero__subtitle { font-family: 'NeueMontreal', sans-serif; font-weight: 200; font-size: 1rem; color: rgba(255,255,255,0.7); margin-top: 1.75rem; max-width: 380px; line-height: 1.6; }
.hero__scroll { position: absolute; bottom: 2rem; right: 2.5rem; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.hero__scroll-text { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.4); writing-mode: vertical-rl; }
.hero__scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,0.25); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.7); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0% { top: -100%; } 50% { top: 100%; } 100% { top: 100%; } }

/* EDITORIAL */
.editorial { padding: 8rem 2.5rem 6rem; max-width: 1200px; margin: 0 auto; }
.editorial__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.editorial__left { padding-right: 2rem; }
.editorial__issue { display: inline-block; font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: #999; border: 1px solid #ddd; padding: 0.35rem 0.85rem; margin-bottom: 2.5rem; }
.editorial__heading { font-size: clamp(2.5rem, 5.5vw, 4.5rem); margin-bottom: 2rem; padding-left: 0.05em; }
.editorial__tagline { font-family: 'NeueMontreal', sans-serif; font-weight: 500; font-size: 0.875rem; letter-spacing: 0.06em; color: #444; margin-bottom: 2.5rem; }
.editorial__body { font-size: 0.9375rem; color: #555; max-width: 440px; }
.editorial__right { position: relative; }
.editorial__cover { position: relative; aspect-ratio: 3/4; background: #f0ede8; overflow: hidden; }
.editorial__cover-img { width: 100%; height: 100%; object-fit: cover; }
.editorial__cover-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1rem; }
.editorial__cover-placeholder-logo { font-family: 'Collapse', 'Times New Roman', serif; font-size: 2.5rem; letter-spacing: 0.08em; color: #bbb; }
.editorial__cover-placeholder-sub { font-size: 0.8125rem; letter-spacing: 0.15em; text-transform: uppercase; color: #bbb; }
.editorial__cover-label { position: absolute; bottom: -0.75rem; right: -0.75rem; background: #111; color: #fff; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.6rem 1.1rem; }

/* SOMMAIRE */
.sommaire { padding: 5rem 2.5rem 7rem; border-top: 1px solid #eee; }
.sommaire__inner { max-width: 1200px; margin: 0 auto; }
.sommaire__header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4rem; }
.sommaire__title { font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: #999; }
.sommaire__count { font-family: 'Collapse', 'Times New Roman', serif; font-size: 1rem; color: #bbb; }
.sommaire__list { display: flex; flex-direction: column; }
.sommaire__item { display: grid; grid-template-columns: 3.5rem 1fr auto; gap: 2rem; align-items: baseline; padding: 1.5rem 0; border-bottom: 1px solid #eee; cursor: pointer; transition: padding-left 0.35s ease; }
.sommaire__item:first-child { border-top: 1px solid #eee; }
.sommaire__item:hover { padding-left: 1rem; }
.sommaire__item:hover .sommaire__item-title { color: #111; }
.sommaire__item-num { font-family: 'Collapse', 'Times New Roman', serif; font-size: 0.875rem; color: #ccc; }
.sommaire__item-title { font-family: 'Collapse', 'Times New Roman', serif; font-size: 1.5rem; color: #444; transition: color 0.3s ease; }
.sommaire__item-tag { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: #aaa; white-space: nowrap; }

/* PRODUCTS */
.products { padding: 6rem 2.5rem 8rem; background: #f8f7f5; }
.products__inner { max-width: 1200px; margin: 0 auto; }
.products__header { margin-bottom: 4rem; }
.products__overtitle { font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: #999; margin-bottom: 1.25rem; }
.products__title { font-family: 'Collapse', 'Times New Roman', serif; font-style: italic; font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; }
.products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.product-card { display: flex; flex-direction: column; cursor: pointer; }
.product-card__image { aspect-ratio: 3/4; background: #eae7e1; margin-bottom: 1.5rem; overflow: hidden; position: relative; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); }
.product-card:hover .product-card__image img { transform: scale(1.04); }
.product-card__image-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.product-card__image-placeholder span { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: #c5c0b8; }
.product-card__type { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: #999; margin-bottom: 0.5rem; }
.product-card__name { font-family: 'Collapse', 'Times New Roman', serif; font-size: 1.25rem; margin-bottom: 0.75rem; line-height: 1.2; }
.product-card__price { font-family: 'NeueMontreal', sans-serif; font-weight: 500; font-size: 0.875rem; color: #111; margin-bottom: 1.25rem; }
.product-card__cta { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; padding-bottom: 0.25rem; border-bottom: 1px solid #111; align-self: flex-start; transition: gap 0.3s ease; }
.product-card:hover .product-card__cta { gap: 0.85rem; }
.product-card__cta-arrow { font-size: 0.875rem; transition: transform 0.3s ease; }

/* QUOTE */
.quote-section { padding: 8rem 2.5rem; text-align: center; max-width: 800px; margin: 0 auto; }
.quote-section__text { font-family: 'Collapse', 'Times New Roman', serif; font-style: italic; font-size: clamp(1.5rem, 3.5vw, 2.25rem); line-height: 1.4; color: #333; margin-bottom: 2rem; }
.quote-section__author { font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: #aaa; }

/* SOON BADGE */
.product-card__soon {
  display: inline-block;
  font-family: 'NeueMontreal', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #999;
  border: 1px solid #ddd;
  padding: 0.4rem 1rem;
  margin-top: 0.25rem;
}

/* ABOUT TEASER */
.about-teaser { padding: 0 2.5rem 8rem; max-width: 1200px; margin: 0 auto; }
.about-teaser__grid { display: grid; grid-template-columns: 5fr 4fr; gap: 6rem; align-items: center; }
.about-teaser__image { aspect-ratio: 4/5; background: #e8e5df; overflow: hidden; }
.about-teaser__image-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.about-teaser__image-placeholder span { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: #c5c0b8; }
.about-teaser__content { padding: 2rem 0; }
.about-teaser__overtitle { font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: #999; margin-bottom: 2rem; }
.about-teaser__heading { font-family: 'Collapse', 'Times New Roman', serif; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 400; line-height: 1.15; margin-bottom: 2rem; }
.about-teaser__body { font-size: 0.9375rem; font-weight: 200; color: #555; line-height: 1.7; margin-bottom: 2.5rem; max-width: 380px; }
.about-teaser__link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; padding-bottom: 0.25rem; border-bottom: 1px solid #111; transition: gap 0.3s ease; }
.about-teaser__link:hover { gap: 0.85rem; }

/* FOOTER */
.footer { border-top: 1px solid #eee; padding: 3rem 2.5rem; }
.footer__inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer__left { display: flex; align-items: center; gap: 3rem; }
.footer__logo-svg { height: 16px; width: auto; }
.footer__logo-svg path { fill: #111; }
.footer__links { display: flex; gap: 2rem; }
.footer__link { font-size: 0.8125rem; letter-spacing: 0.08em; color: #888; transition: color 0.3s ease; }
.footer__link:hover { color: #111; }
.footer__right { font-size: 0.75rem; letter-spacing: 0.06em; color: #bbb; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .header { padding: 1.5rem; }
  .nav-desktop { display: none; }
  .burger { display: flex; }
  .hero__content { padding: 0 1.5rem 3.5rem; }
  .editorial { padding: 5rem 1.5rem 4rem; }
  .editorial__grid { grid-template-columns: 1fr; gap: 3rem; }
  .editorial__left { padding-right: 0; }
  .editorial__right { max-width: 400px; }
  .sommaire { padding: 4rem 1.5rem 5rem; }
  .sommaire__item { grid-template-columns: 2.5rem 1fr; gap: 1rem; }
  .sommaire__item-tag { display: none; }
  .products { padding: 4rem 1.5rem 5rem; }
  .products__grid { grid-template-columns: 1fr; gap: 3rem; max-width: 400px; }
  .quote-section { padding: 5rem 1.5rem; }
  .about-teaser { padding: 0 1.5rem 5rem; }
  .about-teaser__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer { padding: 2rem 1.5rem; }
  .footer__inner { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer__left { flex-direction: column; gap: 1.5rem; }
}

@media (max-width: 600px) {
  .hero__title { font-size: 2.5rem; }
  .editorial__heading { font-size: 2.25rem; }
  .sommaire__item-title { font-size: 1.15rem; }
}

/* CONTENT PAGES — styles pour le contenu riche du back-office */
.editorial__body h2 {
  font-family: 'Collapse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  margin: 2.5rem 0 1rem;
  color: #111;
}

.editorial__body h2:first-child { margin-top: 0; }

.editorial__body h3 {
  font-family: 'NeueMontreal', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  margin: 2rem 0 0.75rem;
  color: #222;
}

.editorial__body p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1rem;
}

.editorial__body p:last-child { margin-bottom: 0; }

.editorial__body strong { font-weight: 500; color: #333; }

.editorial__body a {
  color: #111;
  border-bottom: 1px solid #ccc;
  transition: border-color 0.2s;
}

.editorial__body a:hover { border-color: #111; }

.editorial__body ul, .editorial__body ol {
  margin: 1rem 0;
  padding-left: 1.25rem;
}

.editorial__body li {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 0.5rem;
}

.editorial__body blockquote {
  border-left: 2px solid #ddd;
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #777;
}

/* ANIMATIONS */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
