/* =========================================================================
   SHAKI BOUTIQUE — Feuille de style principale
   Direction artistique : maison de prêt-à-porter féminin, Abidjan.
   Palette ivoire / noir encre / or antique, esprit couture éditorial.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------------------- */
:root {
  /* Couleurs */
  --ivory:      #F3EEE4;   /* fond principal, crème chaud */
  --ivory-2:    #FBF8F1;   /* panneaux clairs */
  --paper:      #FDFBF6;   /* crème du logo */
  --ink:        #15110C;   /* noir encre chaud */
  --ink-2:      #2A2318;
  --gold:       #A9843E;   /* or antique — accent principal */
  --gold-2:     #C7A365;   /* champagne, dégradés */
  --gold-3:     #E7D6AE;   /* or pâle */
  --greige:     #8A8071;   /* texte atténué */
  --line:       rgba(21, 17, 12, 0.16);
  --line-soft:  rgba(21, 17, 12, 0.08);

  /* Typographie */
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:    "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Rythme */
  --pad-x: clamp(1.4rem, 5vw, 6rem);
  --maxw: 1320px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2: cubic-bezier(0.65, 0.05, 0.36, 1);

  --sect-y: clamp(5rem, 11vw, 10rem);
}

/* -------------------------------------------------------------------------
   2. Reset & base
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, 0.55vw + 0.86rem, 1.08rem);
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Grain subtil sur toute la page pour un rendu "papier" */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

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

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

button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

::selection { background: var(--gold); color: var(--paper); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.02; }

/* -------------------------------------------------------------------------
   3. Utilitaires
   ------------------------------------------------------------------------- */
.shell { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: clamp(1.6rem, 4vw, 3rem);
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.eyebrow.is-centered { justify-content: center; }
.eyebrow.is-centered::after {
  content: "";
  width: clamp(1.6rem, 4vw, 3rem);
  height: 1px;
  background: currentColor;
  display: inline-block;
}

.display-xl {
  font-size: clamp(3rem, 9vw, 8.6rem);
  font-weight: 300;
  letter-spacing: -0.01em;
}
.display-lg { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 300; }
.display-md { font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 400; }

.serif-italic { font-style: italic; color: var(--gold); }

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 46ch;
}

.muted { color: var(--greige); }

.tracked {
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

/* Boutons */
.btn {
  --c: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 1.05rem 2rem;
  border: 1px solid var(--c);
  color: var(--c);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
  z-index: -1;
}
.btn:hover { color: var(--ivory); }
.btn:hover::after { transform: translateY(0); }
.btn.is-gold { --c: var(--gold); }
.btn.is-gold:hover { color: var(--ink); }
.btn.is-filled { background: var(--ink); color: var(--ivory); }
.btn.is-filled::after { background: var(--gold); }
.btn.is-filled:hover { color: var(--ink); }
.btn .arrow { transition: transform 0.5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Lien texte souligné animé */
.link-underline {
  position: relative;
  padding-bottom: 2px;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* -------------------------------------------------------------------------
   4. En-tête
   ------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-block: clamp(1rem, 2vw, 1.6rem);
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(243, 238, 228, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.brand img { width: auto; height: clamp(34px, 4vw, 46px); transition: height 0.5s var(--ease); }
.is-scrolled .brand img { height: 32px; }
.brand-word {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.34em;
  padding-left: 0.34em;
  line-height: 1;
}

.nav { display: flex; align-items: center; gap: clamp(1.4rem, 2.5vw, 2.8rem); }
.nav-link {
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-bottom: 3px;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-link.is-active { color: var(--gold); }

.header-cta { display: inline-flex; }

.burger {
  display: none;
  width: 42px; height: 42px;
  position: relative;
  z-index: 60;
}
.burger span {
  position: absolute;
  left: 8px; right: 8px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { bottom: 15px; }
.menu-open .burger span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { bottom: 20px; transform: rotate(-45deg); }

/* Overlay menu mobile */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--ink);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad-x);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
  pointer-events: none;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); pointer-events: auto; }
.mobile-menu a {
  font-family: var(--display);
  font-size: clamp(2.6rem, 12vw, 4.2rem);
  font-weight: 300;
  padding: 0.35rem 0;
  color: var(--ivory);
  display: flex;
  align-items: baseline;
  gap: 1rem;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.4s var(--ease);
}
.menu-open .mobile-menu a { opacity: 1; transform: none; }
.menu-open .mobile-menu a:nth-child(1) { transition-delay: 0.18s; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: 0.26s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: 0.34s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: 0.42s; }
.mobile-menu a:hover { color: var(--gold-2); }
.mobile-menu a .idx {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.mobile-menu .mm-foot {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  font-family: var(--sans);
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  color: var(--gold-3);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease) 0.5s, transform 0.5s var(--ease) 0.5s;
}
.menu-open .mobile-menu .mm-foot { opacity: 1; transform: none; }
.mobile-menu .mm-foot a { font-family: var(--sans); font-size: 0.82rem; opacity: 1; transform: none; transition: color .3s; display: inline; }

/* -------------------------------------------------------------------------
   5. Curseur personnalisé
   ------------------------------------------------------------------------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 90;
}
.cursor-dot { width: 6px; height: 6px; background: var(--gold-2); transform: translate(-50%, -50%); }
.cursor-ring {
  width: 40px; height: 40px;
  border: 1px solid var(--gold-2);
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), background 0.35s var(--ease), opacity 0.3s;
}
.cursor-ring.is-hover { width: 66px; height: 66px; background: rgba(199,163,101,0.12); }
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }

/* -------------------------------------------------------------------------
   6. Héros
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: clamp(7rem, 12vh, 10rem);
  padding-bottom: clamp(3rem, 8vh, 6rem);
  overflow: hidden;
}
/* Grand monogramme fantôme en fond */
.hero-ghost {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(62vw, 760px);
  opacity: 0.06;
  filter: grayscale(1);
  pointer-events: none;
  user-select: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  width: 100%;
}
.hero-title { margin: 1.6rem 0 0; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1.05s var(--ease);
}
.hero.is-in .hero-title .line > span { transform: none; }
.hero-title .line:nth-child(2) > span { transition-delay: 0.08s; }
.hero-title .line:nth-child(3) > span { transition-delay: 0.16s; }

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding-bottom: 0.6rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease) 0.5s, transform 0.9s var(--ease) 0.5s;
}
.hero.is-in .hero-side { opacity: 1; transform: none; }
.hero-side .rule { width: 100%; height: 1px; background: var(--line); }

.hero-eyebrow {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s var(--ease) 0.2s, transform 0.8s var(--ease) 0.2s;
}
.hero.is-in .hero-eyebrow { opacity: 1; transform: none; }

.hero-meta {
  position: absolute;
  left: var(--pad-x);
  bottom: clamp(1.6rem, 4vh, 3rem);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--greige);
  opacity: 0;
  transition: opacity 0.9s var(--ease) 0.8s;
}
.hero.is-in .hero-meta { opacity: 1; }
.scroll-cue {
  width: 1px; height: 46px;
  background: linear-gradient(var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--gold);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0% { top: -50%; } 60%,100% { top: 100%; } }

/* -------------------------------------------------------------------------
   7. Bandeau défilant (marquee)
   ------------------------------------------------------------------------- */
.marquee {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  border-block: 1px solid var(--ink);
  padding-block: clamp(1.1rem, 2.4vw, 1.7rem);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  padding: 0 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 2.8rem;
  white-space: nowrap;
}
.marquee-track span::after {
  content: "";
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* -------------------------------------------------------------------------
   8. Sections génériques
   ------------------------------------------------------------------------- */
.section { padding-block: var(--sect-y); position: relative; }
.section.on-paper { background: var(--ivory-2); }
.section.on-ink { background: var(--ink); color: var(--ivory); }
.section.on-ink .muted { color: var(--gold-3); }
.section.on-ink .eyebrow { color: var(--gold-2); }

.section-head { max-width: 720px; }
.section-head .display-lg { margin-top: 1.2rem; }

/* Numéro chapitre décoratif */
.chapter-no {
  font-family: var(--display);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  line-height: 0.8;
}

/* -------------------------------------------------------------------------
   9. Univers — cartes catégories avec dessins au trait
   ------------------------------------------------------------------------- */
.univers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.cat-card {
  background: var(--ivory);
  padding: clamp(2rem, 4vw, 3.4rem);
  min-height: clamp(320px, 40vw, 460px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: background 0.6s var(--ease);
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--paper), var(--ivory-2));
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.cat-card:hover { background: var(--paper); }
.cat-card:hover::before { opacity: 1; }
.cat-card > * { position: relative; z-index: 1; }

.cat-top { display: flex; justify-content: space-between; align-items: flex-start; }
.cat-no {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--gold);
}
.cat-art { width: clamp(84px, 12vw, 128px); height: auto; }
.cat-art path, .cat-art line, .cat-art circle, .cat-art ellipse {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
/* Animation trait au défilement */
.cat-card .cat-art [data-draw] {
  stroke-dasharray: var(--len, 400);
  stroke-dashoffset: var(--len, 400);
  transition: stroke-dashoffset 1.4s var(--ease);
}
.cat-card.is-visible .cat-art [data-draw] { stroke-dashoffset: 0; }

.cat-body { margin-top: auto; }
.cat-name {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 400;
  margin-bottom: 0.4rem;
}
.cat-name .amp { color: var(--gold); font-style: italic; }
.cat-desc { color: var(--greige); max-width: 34ch; font-size: 0.98rem; }
.cat-more {
  margin-top: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}
.cat-more .arrow { color: var(--gold); transition: transform 0.5s var(--ease); }
.cat-card:hover .cat-more .arrow { transform: translateX(5px); }

/* -------------------------------------------------------------------------
   10. La Maison — éditorial
   ------------------------------------------------------------------------- */
.maison-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.maison-quote {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.9rem, 3.6vw, 3.4rem);
  line-height: 1.24;
}
.maison-quote .drop {
  font-size: 1.3em;
  color: var(--gold);
  font-style: italic;
}
.maison-body p { color: var(--ink-2); margin-bottom: 1.2rem; max-width: 52ch; }
.maison-body p:last-child { margin-bottom: 0; }

/* Panneau emblème (logo sur crème) */
.emblem-panel {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  position: relative;
}
.emblem-panel::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid var(--line-soft);
  pointer-events: none;
}
.emblem-panel img { width: min(74%, 320px); }

/* Valeurs / piliers */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-block: 1px solid var(--line-soft);
  margin-top: clamp(3rem, 6vw, 5rem);
}
.pillar { background: var(--ivory); padding: clamp(1.8rem, 3vw, 2.6rem) clamp(1.4rem,2.5vw,2rem); }
.on-ink .pillars { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.08); }
.on-ink .pillar { background: var(--ink); }
.pillar .p-no { font-size: 0.72rem; letter-spacing: 0.24em; color: var(--gold); }
.pillar h3 { font-size: 1.6rem; margin: 0.9rem 0 0.6rem; }
.pillar p { color: var(--greige); font-size: 0.95rem; max-width: 30ch; }

/* -------------------------------------------------------------------------
   11. Rendez-vous / Contact
   ------------------------------------------------------------------------- */
.rdv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.rdv-info { display: flex; flex-direction: column; gap: 2.2rem; }
.info-block .label {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.7rem;
}
.info-block .value {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 400;
  line-height: 1.3;
}
.info-block .value a { transition: color 0.4s var(--ease); }
.info-block .value a:hover { color: var(--gold); }
.info-block .sub { color: var(--greige); font-size: 0.95rem; margin-top: 0.3rem; }

/* Carte décorative de localisation */
.map-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  aspect-ratio: 5 / 6;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.map-card .map-lines {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}
.map-card .map-lines line { stroke: var(--line-soft); stroke-width: 1; }
.map-card .map-lines .road { stroke: var(--line); stroke-width: 1.4; }
.map-card .pin {
  position: absolute;
  top: 42%; left: 54%;
  transform: translate(-50%, -100%);
}
.map-card .pin .dot {
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  position: relative;
  margin: 0 auto;
}
.map-card .pin .ping {
  position: absolute;
  inset: -10px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  animation: ping 2.6s var(--ease) infinite;
}
@keyframes ping {
  0% { transform: scale(0.4); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}
.map-card .pin .tag {
  margin-top: 0.5rem;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 0.35rem 0.7rem;
  white-space: nowrap;
}
.map-card .map-cta { position: relative; z-index: 2; }

/* Formulaire */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.4rem; }
.field { position: relative; display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--greige);
  margin-bottom: 0.6rem;
}
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 0.6rem 0;
  transition: border-color 0.4s var(--ease);
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field select { cursor: pointer; }
.form-note { color: var(--greige); font-size: 0.86rem; margin-top: 1.2rem; }
.form-status { font-size: 0.9rem; margin-top: 1rem; min-height: 1.2em; color: var(--gold); }

/* -------------------------------------------------------------------------
   12. CTA final
   ------------------------------------------------------------------------- */
.cta-final { text-align: center; }
.cta-final .display-lg { margin: 1.4rem auto 2rem; max-width: 20ch; }
.cta-final .btn-row { display: inline-flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* -------------------------------------------------------------------------
   13. Pied de page
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--ivory);
  padding-block: clamp(3.5rem, 7vw, 6rem) 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { width: 96px; margin-bottom: 1.4rem; filter: brightness(0) invert(1); opacity: 0.94; }
.footer-brand p { color: var(--gold-3); max-width: 34ch; font-size: 0.95rem; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.3rem;
  font-weight: 400;
}
.footer-col a, .footer-col p { display: block; color: var(--ivory); opacity: 0.82; margin-bottom: 0.7rem; font-size: 0.96rem; transition: opacity 0.3s, color 0.3s; }
.footer-col a:hover { opacity: 1; color: var(--gold-2); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.8rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.76rem; letter-spacing: 0.08em; color: var(--gold-3); opacity: 0.8; }
.footer-bottom .made { color: var(--greige); }

/* -------------------------------------------------------------------------
   14. Révélations au défilement
   ------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* Séparateur ornemental or */
.ornament { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--gold); }
.ornament::before, .ornament::after { content: ""; height: 1px; width: clamp(3rem, 12vw, 8rem); background: currentColor; opacity: 0.5; }
.ornament .dia { width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); }

/* -------------------------------------------------------------------------
   15. En-tête de page interne
   ------------------------------------------------------------------------- */
.page-hero {
  padding-top: clamp(9rem, 18vh, 13rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  text-align: center;
}
.page-hero .display-xl { font-size: clamp(3rem, 8vw, 6.5rem); }
.page-hero .lead { margin: 1.6rem auto 0; text-align: center; }
.breadcrumb {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--greige);
  margin-bottom: 1.6rem;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--gold); padding: 0 0.5rem; }

/* Catégorie détaillée (page collections) */
.detail-row {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line-soft);
}
.detail-row:last-child { border-bottom: 1px solid var(--line-soft); }
.detail-art { width: clamp(120px, 18vw, 200px); }
.detail-art path, .detail-art line, .detail-art circle, .detail-art ellipse {
  fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke;
}
.detail-content .kicker { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.detail-content h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin: 0.6rem 0 1rem; font-weight: 400; }
.detail-content p { color: var(--ink-2); max-width: 60ch; margin-bottom: 1.2rem; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
.detail-tags span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--greige);
  border: 1px solid var(--line);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}

/* -------------------------------------------------------------------------
   16. Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; align-items: start; gap: 2.5rem; }
  .hero-side { max-width: 520px; }
  .maison-grid { grid-template-columns: 1fr; }
  .emblem-panel { order: -1; max-width: 440px; }
}

@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
  .univers-grid { grid-template-columns: 1fr; }
  .rdv { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .detail-row { grid-template-columns: 1fr; text-align: left; }
  .detail-art { width: 120px; }
}

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .brand-word { display: none; }
  .cta-final .btn-row { flex-direction: column; width: 100%; }
  .cta-final .btn { justify-content: center; }
}

/* -------------------------------------------------------------------------
   17. Accessibilité — mouvement réduit
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .hero-title .line > span { transform: none; }
  .reveal { opacity: 1; transform: none; }
  .cat-card .cat-art [data-draw] { stroke-dashoffset: 0; }
  .marquee-track { animation: none; }
  .cursor-dot, .cursor-ring { display: none; }
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: auto; }
}

/* Focus visible net */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
