/* Page d'accueil : héros aubergine aux photos flottantes, bandeau des matières, collections, savoir-faire. */

/* — héros — */
.hero { position: relative; overflow: hidden; color: #fff; background:
    radial-gradient(760px 520px at 78% 30%, color-mix(in srgb, var(--color-accent) 62%, transparent), transparent 70%),
    radial-gradient(520px 360px at 8% 110%, color-mix(in srgb, var(--color-accent-2) 12%, transparent), transparent 70%),
    var(--dark); }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(color-mix(in srgb, #fff 10%, transparent) 1px, transparent 1px); background-size: 26px 26px;
  mask-image: linear-gradient(90deg, #000, transparent 55%); -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 5vw, 80px); align-items: center; padding-block: clamp(48px, 6vw, 88px); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 10px; border-radius: 999px; background: color-mix(in srgb, #fff 8%, transparent); border: 1px solid color-mix(in srgb, #fff 16%, transparent); font-size: 13.5px; font-weight: 500; color: color-mix(in srgb, #fff 88%, transparent); }
.hero-eyebrow .icon { box-sizing: content-box; width: 14px; height: 14px; padding: 5px; border-radius: 50%; background: var(--color-accent-2); color: var(--color-accent-900); }
.hero-title { margin: 26px 0 0; font-weight: 800; font-size: clamp(36px, 4.6vw, 62px); line-height: 1.05; letter-spacing: -.04em; color: #fff; }
.hero-title em { font-style: normal; color: var(--color-accent-2); position: relative; white-space: nowrap; }
.hero-title em::after { content: ''; position: absolute; left: 2%; right: 2%; bottom: .02em; height: .1em; border-radius: 99px; background: var(--color-accent-2); opacity: .35; }
.hero-lead { margin: 24px 0 0; max-width: 50ch; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.7; color: color-mix(in srgb, #fff 74%, transparent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 48px); margin: 44px 0 0; padding-top: 28px; border-top: 1px solid color-mix(in srgb, #fff 14%, transparent); }
.hero-stats div { display: flex; flex-direction: column-reverse; }
.hero-stats dt { font-size: 13px; color: color-mix(in srgb, #fff 62%, transparent); }
.hero-stats dd { margin: 0; font-weight: 800; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.03em; color: #fff; font-feature-settings: 'tnum' 1; }

/* collage de trois pièces */
.hero-visual { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; justify-self: end; width: 100%; }
.hero-shot { position: absolute; display: block; overflow: hidden; border-radius: 26px; background: var(--dark-2); box-shadow: 0 34px 60px -28px #000, 0 0 0 6px color-mix(in srgb, #fff 7%, transparent); transition: transform .6s var(--ease); }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-shot span { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, #fff 92%, transparent); color: var(--color-text); font-size: 12.5px; font-weight: 700; }
.hero-shot:hover { transform: translateY(-6px) rotate(0deg); }
.hero-shot-2 span { left: auto; right: 12px; }
.hero-shot-1 { left: 0; top: 6%; width: 64%; aspect-ratio: 4 / 5; transform: rotate(-3deg); z-index: 2; animation: float 7s ease-in-out infinite; }
.hero-shot-2 { right: 0; top: 0; width: 42%; aspect-ratio: 1; transform: rotate(4deg); z-index: 1; animation: float 8s ease-in-out -2.5s infinite reverse; }
.hero-shot-3 { right: 4%; bottom: 0; width: 46%; aspect-ratio: 1; transform: rotate(-2deg); z-index: 3; animation: float 6.5s ease-in-out -4s infinite; }
.hero-seal { position: absolute; left: 50%; top: 50%; z-index: 4; width: 116px; height: 116px; margin: -40px 0 0 -30px; border-radius: 50%; background: var(--color-accent-2); color: var(--color-accent-900); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 18px 36px -14px #000; transform: rotate(-10deg); animation: float-seal 5s ease-in-out infinite; }
.hero-seal strong { font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.hero-seal span { margin-top: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.25; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 440px; }
}
/* Téléphone : les photos s'intercalent entre le paragraphe et les boutons,
   en plus petit. Le bloc texte s'efface (display: contents) pour que ses
   éléments se rangent dans la même grille que les photos. */
@media (max-width: 760px) {
  .hero-grid { gap: 0; }
  .hero-copy { display: contents; }
  .hero-eyebrow { order: 1; justify-self: start; }
  .hero-title { order: 2; }
  .hero-lead { order: 3; }
  .hero-visual { order: 4; width: min(100%, 300px); margin-top: 30px; }
  .hero-actions { order: 5; margin-top: 30px; }
  .hero-stats { order: 6; }
  .hero-shot { border-radius: 18px; box-shadow: 0 20px 36px -20px #000, 0 0 0 4px color-mix(in srgb, #fff 7%, transparent); }
  .hero-shot span { left: 8px; bottom: 8px; padding: 4px 9px; font-size: 11px; }
  .hero-shot-2 span { right: 8px; }
}
@media (max-width: 520px) { .hero-seal { width: 88px; height: 88px; } .hero-seal strong { font-size: 22px; } .hero-seal span { font-size: 9px; } }

/* — bandeau des matières — */
.marquee { overflow: hidden; padding: 22px 0; background: var(--color-accent-2); color: var(--color-accent-900); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-track span { display: flex; align-items: center; gap: 36px; padding-right: 36px; font-weight: 800; font-size: clamp(22px, 2.6vw, 36px); letter-spacing: -.02em; white-space: nowrap; }
.marquee-track i { width: 10px; height: 10px; background: var(--color-accent); border-radius: 2px; transform: rotate(45deg); }

/* — collections en défilement horizontal — */
.hz { position: relative; height: calc((var(--panels) + 1) * 90vh); }
.hz-sticky { position: sticky; top: calc(var(--header-h)); height: calc(100vh - var(--header-h)); overflow: hidden; }
.hz-track { display: flex; height: 100%; width: max-content; will-change: transform; }
.hz-intro { flex-shrink: 0; width: min(720px, 88vw); height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter); }
.hz-intro .lead { margin-top: 24px; max-width: 40ch; }
.hz-hint { display: flex; align-items: center; gap: 12px; margin-top: 34px; font-weight: 700; font-size: 16px; color: var(--color-accent-700); }
.hz-hint .icon { animation: hz-hint-bob 1.6s ease-in-out infinite; }
@keyframes hz-hint-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .hz-hint .icon { animation: none; } }
.hz-panel { flex-shrink: 0; width: min(1120px, 92vw); height: 100%; border-left: 1px solid var(--color-divider); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(24px, 5vw, 80px); align-items: center; align-content: center; padding: 60px clamp(24px, 5vw, 80px); }
.hz-copy { position: relative; }
.hz-panel { overflow: clip; }
.hz-ghost { position: absolute; top: -.62em; left: -.06em; font-weight: 800; font-size: clamp(130px, 18vw, 280px); line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--color-accent); opacity: .3; pointer-events: none; font-feature-settings: 'tnum' 1; }
.hz-copy > :not(.hz-ghost) { position: relative; }
.hz-copy .tag-outline { border-radius: 999px; padding: 5px 14px; font-weight: 600; background: var(--color-paper); }
.hz-copy h3 { margin: 22px 0 0; font-weight: 800; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.08; letter-spacing: -.035em; }
.hz-copy p { margin: 20px 0 0; max-width: 42ch; color: var(--ink-soft); }
.hz-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 12px 22px; border-radius: 999px; background: var(--color-accent); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; transition: background .25s; }
.hz-link:hover { background: var(--color-accent-700); color: #fff; }
.hz-plate { justify-self: center; height: min(58vh, 580px); aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; border-radius: 28px; background: var(--color-surface); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--color-accent-900) 45%, transparent), 0 0 0 10px var(--color-paper); }
.hz-plate img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.hz-plate:hover img { transform: scale(1.04); }
.hz-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px; display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: 15px; font-feature-settings: 'tnum' 1; }
.hz-bar { position: relative; flex: 1; height: 3px; border-radius: 3px; background: var(--color-divider); overflow: hidden; }
.hz-bar span { position: absolute; inset: 0; background: var(--color-accent); transform-origin: left; transform: scaleX(0); }
/* Sur téléphone : même défilement horizontal, un panneau par écran,
   la photo au-dessus du texte. */
@media (max-width: 760px) {
  .hz-sticky { height: calc(100svh - var(--header-h)); }
  .hz-intro { width: 100vw; }
  .hz-hint { margin-top: 24px; }
  .hz-panel { width: 100vw; grid-template-columns: 1fr; align-content: center; gap: 18px; padding: 16px var(--gutter) 64px; }
  .hz-plate { order: -1; justify-self: start; height: min(34svh, 300px); aspect-ratio: 1; box-shadow: 0 20px 40px -24px color-mix(in srgb, var(--color-accent-900) 45%, transparent), 0 0 0 6px var(--color-paper); }
  .hz-ghost { top: -.5em; font-size: 96px; }
  .hz-copy h3 { margin-top: 14px; font-size: 24px; }
  .hz-copy p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hz-link { margin-top: 16px; padding: 10px 18px; font-size: 14px; }
  .hz-progress { bottom: 20px; font-size: 13px; gap: 14px; }
}

/* — savoir-faire : frise verticale — */
.process { padding: clamp(90px, 14vh, 170px) 0; background: var(--color-paper); }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(50px, 7vw, 120px); align-items: start; }
.process-intro { position: sticky; top: calc(var(--header-h) + 50px); }
.process-intro .lead { margin: 24px 0 28px; }
.process-steps { position: relative; padding-left: 64px; display: flex; flex-direction: column; gap: clamp(56px, 10vh, 110px); }
.process-rail, .process-line { position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--color-surface); }
.process-line { background: var(--color-accent); transform-origin: top; transform: scaleY(0); }
.process-step { position: relative; }
.process-dot { position: absolute; left: -62px; top: 4px; width: 22px; height: 22px; border: 2px solid var(--color-accent-300); border-radius: 50%; background: var(--color-paper); transition: border-color .5s, background .5s, box-shadow .5s; }
.process-dot.is-active { border-color: var(--color-accent); background: var(--color-accent-2); box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-accent) 14%, transparent); }
.process-n { display: inline-flex; padding: 3px 12px; border-radius: 999px; background: var(--color-accent-100); font-weight: 700; font-size: 13px; letter-spacing: .1em; color: var(--color-accent-700); }
.process-step h3 { margin: 12px 0 0; font-weight: 800; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; letter-spacing: -.03em; }
.process-step p { margin: 14px 0 0; max-width: 46ch; color: var(--ink-soft); }
.process-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.process-tags .tag { border-radius: 999px; font-size: 12px; padding: 5px 12px; }
@media (max-width: 900px) { .process-intro { position: static; } }
