/* Laqa — « Nuit d’or, édition Prestige » (chargé après app.css et design.css, qu’il prolonge).
   Direction : un palais de nuit — arches orientales, filets d’or, étoile à huit branches, typographie éditoriale très grande,
   mouvements lents et précis. Tout fonctionne sans animation (prefers-reduced-motion) et sans ce fichier (design précédent). */

/* ============================================================
   1. Jetons
   ============================================================ */
:root {
  --gold-1: #F7E3A1;
  --gold-2: #E7C46A;
  --gold-3: #C59B27;
  --gold-4: #8F6A12;
  --gold-line: linear-gradient(90deg, transparent, var(--gold-2), var(--gold-1), var(--gold-2), transparent);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.33, 1, .68, 1);
  --hair: color-mix(in srgb, var(--gold) 32%, var(--line));
  --ring: 0 0 0 3px color-mix(in srgb, var(--gold) 34%, transparent);
  --arch-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140' preserveAspectRatio='none'%3E%3Cpath d='M0 140V58C0 30 18 12 50 0 82 12 100 30 100 58V140Z'/%3E%3C/svg%3E");
}

/* ============================================================
   2. Fondations : sélection, barres de défilement, focus, changement de page
   ============================================================ */
::selection { background: color-mix(in srgb, var(--gold) 38%, transparent); color: inherit; }
html { scrollbar-color: color-mix(in srgb, var(--gold) 55%, var(--line)) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--gold) 50%, var(--line)); border-radius: 99px; border: 3px solid var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
body { text-rendering: optimizeLegibility; }
/* Passage d’un espace à l’autre (accueil, Mon événement, Espace Pro…) : fondu doux.
   « backwards » et non « both » : une fois le fondu fini, la page redevient une page ordinaire (pas de calque ni de contexte d’empilement en plus). */
main [data-view]:not([hidden]) { animation: view-in .55s var(--ease-soft) backwards; }
@keyframes view-in { from { opacity: 0; } }

/* Performances : les décors animés s’arrêtent quand ils ne sont pas à l’écran ou quand une fenêtre est ouverte par-dessus —
   géré par design.js, animation par animation (sans règle CSS sur le conteneur : rien à recalculer). */

/* ============================================================
   3. Boutons, puces, champs
   ============================================================ */
.btn { position: relative; isolation: isolate; overflow: hidden; letter-spacing: .01em;
  transition: background .3s, border-color .3s, color .3s, transform .35s var(--ease-expo), box-shadow .35s, background-position .8s; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .34) 50%, transparent 68%); transform: translateX(-130%); transition: transform .9s var(--ease-expo); }
.btn:hover::after { transform: translateX(130%); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn.ghost::after { background: linear-gradient(115deg, transparent 32%, color-mix(in srgb, var(--gold) 22%, transparent) 50%, transparent 68%); }
.btn.gold { background: linear-gradient(115deg, #F8E6A8 0%, #E7C46A 30%, #C99E2C 55%, #F2D27C 80%, #B58612 100%); background-size: 220% 100%; color: #1A1208;
  box-shadow: 0 14px 34px -14px rgba(197, 155, 39, .85), inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(120, 84, 10, .35); }
.btn.gold:hover { background-position: 100% 0; box-shadow: 0 20px 44px -16px rgba(197, 155, 39, .95), inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -1px 0 rgba(120, 84, 10, .35); }
.btn.lg { padding: 1rem 1.9rem; border-radius: 16px; }
.chip, .cat-tab, .select-sm { transition: background .25s, border-color .25s, color .25s, box-shadow .25s, transform .3s var(--ease-expo); }
.chip:hover, .cat-tab:hover { transform: translateY(-1px); }
.chip[aria-pressed="true"], .cat-tab[aria-pressed="true"] { box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 26%, transparent); }
.input, .field input, .field select, .field textarea { border-radius: 14px; transition: border-color .25s, box-shadow .25s, background .25s; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: var(--ring); }
.eyebrow { letter-spacing: .2em; }
.eyebrow::before { width: 30px; background: linear-gradient(90deg, transparent, currentColor); }

/* ============================================================
   4. En-tête : se resserre au défilement, filet d’or de progression
   ============================================================ */
header.top .top-in { position: relative; transition: height .45s var(--ease-expo), background .45s, box-shadow .45s, border-color .45s; }
header.top .top-in::after { content: ""; position: absolute; left: 26px; right: 26px; bottom: -1px; height: 1px; border-radius: 1px; pointer-events: none;
  background: linear-gradient(90deg, var(--gold-3), var(--gold-1)); transform-origin: left; transform: scaleX(var(--sp, 0)); opacity: .9; }
/* Filet de progression piloté directement par le défilement quand le navigateur sait le faire (aucun script à chaque image) */
@supports (animation-timeline: scroll()) {
  header.top .top-in::after { animation: read-progress linear both; animation-timeline: scroll(root block); }
  @keyframes read-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
/* En-tête au défilement : fond plus dense et filet d’or. La hauteur ne change pas : la page ne bouge pas sous le doigt. */
.scrolled header.top .top-in { background: color-mix(in srgb, var(--surface) 88%, transparent);
  border-color: color-mix(in srgb, var(--gold) 26%, var(--line)); box-shadow: 0 18px 44px -22px rgba(14, 10, 8, .6); }
.logo { transition: letter-spacing .4s var(--ease-expo); }
.logo:hover { letter-spacing: .01em; }
.main-nav a, .main-nav summary { position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease-expo); }
.main-nav a:hover::after { transform: scaleX(1); }

/* ============================================================
   5. Héros
   ============================================================ */
.hero { min-height: min(1000px, 100svh); padding: calc(var(--header-h) + 52px) 0 104px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); grid-template-areas: "copy arches" "search search" "meta meta";
  column-gap: clamp(28px, 4vw, 72px); align-items: center; text-align: left; }
.hero-copy { grid-area: copy; position: relative; z-index: 2; }
.hero-arches { grid-area: arches; }
.hero .search-box { grid-area: search; margin-top: 46px; }
.hero-meta { grid-area: meta; }
.hero h1 { font-size: clamp(3.1rem, 6.5vw, 6.7rem); line-height: .93; letter-spacing: -.032em; font-weight: 500; margin-bottom: 26px; }
.hw { display: inline-block; }
.rotator { margin-top: -.04em; }
.rotator > span { font-size: .96em; }
.hero .lead { font-size: clamp(1.02rem, 1.2vw, 1.14rem); line-height: 1.65; color: rgba(255, 255, 255, .78); max-width: 46ch; }
.hero .slogan { font-size: clamp(1.4rem, 2.2vw, 1.85rem); margin-top: 18px; background: linear-gradient(100deg, var(--gold-1), var(--gold-2) 45%, var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Boutons d’action du haut de page : l’un doré (chercher), l’autre en filet (garanties) */
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-cta .btn { min-height: 54px; }
.hero-ghost { background: rgba(255, 255, 255, .06); color: #F6E8C4; border: 1px solid rgba(231, 196, 106, .55); }
.hero-ghost:hover { background: rgba(231, 196, 106, .14); border-color: var(--gold-1); color: #fff; }
.btn span[aria-hidden] { display: inline-block; transition: transform .45s var(--ease-expo); }
.btn:hover span[aria-hidden] { transform: translateX(3px); }
/* Deux parcours dans l’en-tête (visiteurs) : « Organiser un événement » mis en avant d’un filet d’or */
#planLink, #proLink { white-space: nowrap; }
/* Place pour les deux parcours : une spécialité de moins dans le menu sur les écrans moyens (toutes restent dans « Toutes les prestations ») */
.nav-cats > a[data-cat-link]:nth-of-type(n+4) { display: none; }
@media (max-width: 1100px) { .nav-cats > a[data-cat-link] { display: none; } }
.plan-link { color: var(--ink); border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent) !important; border-radius: 999px; }
.plan-link:hover { background: color-mix(in srgb, var(--gold) 14%, transparent); }
/* Menu du téléphone : choix du parcours, puis connexion discrète */
.drawer-account .btn.gold { color: #1A1208; }
.drawer-login { display: block; margin: 6px auto 0; font-size: .92rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
/* Raccourcis de l’espace client : liens et boutons au même style */
.pro-quick a { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font-size: .88rem; font-weight: 500; white-space: nowrap; text-decoration: none; }
.pro-quick a:hover { border-color: var(--accent); color: var(--accent); }
/* Bouton d’action en fin de section */
.sec-cta { display: flex; justify-content: center; margin-top: clamp(30px, 4vw, 46px); }
@media (max-width: 640px) {
  .hero-cta { margin-top: 24px; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .sec-cta .btn { width: 100%; justify-content: center; }
}
.hero-kicker { border-color: rgba(231, 196, 106, .4); background: rgba(231, 196, 106, .08); color: #F6E8C4; letter-spacing: .2em; }

/* Entrée en scène : mots, texte, recherche et chiffres se lèvent l’un après l’autre.
   Seuls les mots du titre sortent d’un léger flou ; les grands blocs (recherche, texte) montent sans flou, plus léger à calculer. */
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }
@keyframes rise-blur { from { opacity: 0; transform: translateY(30px); filter: blur(8px); } }
/* « backwards » : l’état de départ s’applique pendant l’attente, puis l’élément redevient normal (rien ne reste « animé » ensuite) */
.hero .hx { animation: rise 1.15s var(--ease-expo) backwards; animation-delay: calc(var(--d, 0) * 1ms); }
.hero .hw { animation: rise-blur 1.15s var(--ease-expo) backwards; animation-delay: calc(var(--d, 0) * 1ms); }

/* Arches orientales : photo dans une arche brisée, double filet d’or, plancher lumineux */
.hero-arches { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: clamp(10px, 1.5vw, 22px);
  height: clamp(400px, 39vw, 590px); padding-bottom: 30px; }
/* Les arches remontent doucement au défilement : piloté par le défilement lui-même (sinon par design.js, sur ce seul élément) */
@media (min-width: 1001px) and (prefers-reduced-motion: no-preference) {
  .hero-arches { will-change: transform; }
  @supports (animation-timeline: scroll()) {
    .hero-arches { animation: arches-drift linear both; animation-timeline: scroll(root block); animation-range: 0 100vh; }
    @keyframes arches-drift { to { translate: 0 -7vh; } }
  }
}
.hero-arches::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: 16px; height: 1px; background: var(--gold-line); opacity: .75; }
.hero-arches::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: -6px; height: 72px; z-index: -1;
  background: radial-gradient(50% 100% at 50% 100%, rgba(231, 196, 106, .26), rgba(231, 196, 106, .08) 45%, transparent 72%); }
.arch { position: relative; margin: 0; flex: none; width: 28%; aspect-ratio: 100 / 140; --d: 9px;
  transform: translate3d(calc(var(--px, 0) * var(--d)), calc(var(--py, 0) * var(--d) + var(--lift, 0px)), 0); transition: transform .9s var(--ease-expo);
  animation: arch-in 1.6s var(--ease-expo) backwards; animation-delay: var(--ad, .5s); }
.arch.a1 { --ad: .62s; --d: 7px; }
.arch.a2 { width: 37%; --lift: -26px; --ad: .44s; --d: 14px; z-index: 2; }
.arch.a3 { --ad: .8s; --d: 10px; }
@keyframes arch-in { from { clip-path: inset(100% -12% -12% -12%); opacity: 0; } to { clip-path: inset(-12% -12% -12% -12%); opacity: 1; } }
.arch::before { content: ""; position: absolute; inset: -12% -18% -4%; z-index: -1; background: radial-gradient(closest-side, rgba(231, 196, 106, .28), rgba(231, 196, 106, .1) 55%, transparent); }
.arch-img { position: absolute; inset: 0; overflow: hidden; background: #1A120D;
  -webkit-mask: var(--arch-mask) 0 0 / 100% 100% no-repeat; mask: var(--arch-mask) 0 0 / 100% 100% no-repeat; }
.arch-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 236, 190, .14), transparent 30%, transparent 55%, rgba(14, 10, 8, .7)); }
.arch-img img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; animation: ken 24s ease-in-out infinite alternate; }
.arch.a1 .arch-img img { animation-delay: -8s; }
.arch.a3 .arch-img img { animation-delay: -15s; }
@keyframes ken { from { transform: scale(1.04); } to { transform: scale(1.16) translateY(-2%); } }
.arch-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.arch-line path { fill: none; stroke: rgba(231, 196, 106, .9); stroke-width: 1.2; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s var(--ease-soft) forwards; animation-delay: calc(var(--ad, .5s) + .35s); }
.arch-line path.in { stroke: rgba(247, 227, 161, .5); stroke-width: 1; animation-delay: calc(var(--ad, .5s) + .7s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.arch figcaption { position: absolute; left: 50%; bottom: 9%; translate: -50% 0; z-index: 1; white-space: nowrap; padding: 6px 14px; border-radius: 999px;
  font: italic 500 clamp(.95rem, 1.2vw, 1.15rem)/1 var(--serif); letter-spacing: .02em; color: #FBF2DC;
  background: rgba(20, 13, 8, .68); border: 1px solid rgba(231, 196, 106, .35); }
/* Rotation par « transform » (et non « rotate ») : sur un SVG, seule « transform » est calculée par la carte graphique */
.khatam { position: absolute; z-index: -1; width: 78%; left: 11%; top: -3%; overflow: visible; opacity: .55; animation: khatam-spin 160s linear infinite; }
.khatam g { fill: none; stroke: rgba(231, 196, 106, .55); stroke-width: .6; }
.khatam rect, .khatam circle { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3s var(--ease-soft) .3s forwards; }
.khatam circle:last-child { stroke-dasharray: .004 .012; stroke-dashoffset: 0; opacity: .7; animation: none; }
@keyframes khatam-spin { to { transform: rotate(360deg); } }
/* L’entrée ne reste pas appliquée après coup (« backwards ») : le flottement peut alors tourner sur la carte graphique */
.hero-arches .hs-chip { animation: float 7s ease-in-out infinite, rise 1.2s var(--ease-expo) backwards; }
.hero-arches .hs-chip.k1 { left: -4%; top: 22%; animation-delay: -1s, 1.2s; }
.hero-arches .hs-chip.k2 { right: -3%; top: 46%; bottom: auto; animation-delay: -3s, 1.35s; }
.hero-arches .hs-chip.k3 { left: 0; right: 0; bottom: -30px; width: fit-content; margin: 0 auto; animation-delay: -4.5s, 1.5s; }
.hs-chip { background: rgba(28, 19, 12, .82); border-color: rgba(231, 196, 106, .32); backdrop-filter: none; -webkit-backdrop-filter: none; }

/* Poussière d’or */
.sparks { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sparks i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--gold-1); box-shadow: 0 0 10px 2px rgba(247, 227, 161, .65);
  opacity: 0; animation: twinkle 5.5s ease-in-out infinite; }
.sparks i:nth-child(1) { left: 8%; top: 22%; animation-delay: -.4s; }
.sparks i:nth-child(2) { left: 18%; top: 64%; animation-delay: -1.8s; width: 2px; height: 2px; }
.sparks i:nth-child(3) { left: 31%; top: 14%; animation-delay: -3.1s; }
.sparks i:nth-child(4) { left: 42%; top: 82%; animation-delay: -.9s; width: 2px; height: 2px; }
.sparks i:nth-child(5) { left: 53%; top: 30%; animation-delay: -2.6s; }
.sparks i:nth-child(6) { left: 61%; top: 9%; animation-delay: -4.2s; width: 2px; height: 2px; }
.sparks i:nth-child(7) { left: 69%; top: 70%; animation-delay: -1.2s; }
.sparks i:nth-child(8) { left: 76%; top: 18%; animation-delay: -3.7s; width: 4px; height: 4px; }
.sparks i:nth-child(9) { left: 84%; top: 55%; animation-delay: -2.1s; width: 2px; height: 2px; }
.sparks i:nth-child(10) { left: 91%; top: 28%; animation-delay: -.2s; }
.sparks i:nth-child(11) { left: 95%; top: 78%; animation-delay: -4.8s; width: 2px; height: 2px; }
.sparks i:nth-child(12) { left: 4%; top: 88%; animation-delay: -3.3s; }
.sparks i:nth-child(13) { left: 26%; top: 40%; animation-delay: -5.1s; width: 2px; height: 2px; }
.sparks i:nth-child(14) { left: 48%; top: 52%; animation-delay: -2.9s; width: 2px; height: 2px; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 45% { opacity: .9; transform: scale(1); } 60% { opacity: .5; } }

/* Barre de recherche : verre sombre, champs séparés par des filets */
.hero .search-box { border-radius: 24px; padding: 10px; background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .05) inset; }
.hero .search-field { padding: 12px 20px; border-radius: 16px; }
.hero .search-field label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hero .search-field select, .hero .search-field input { font-size: 1rem; color: var(--ink); }
.hero .search-box .btn { border-radius: 16px; padding: 0 34px; font-size: 1rem; }

/* Chiffres sous la recherche */
.hero-meta { margin-top: 26px; gap: 0; }
.hero-meta span { display: inline-flex; align-items: baseline; gap: 6px; color: rgba(255, 255, 255, .62); font-size: .88rem; letter-spacing: .02em; }
.hero-meta span + span::before { content: "✦"; color: var(--gold-2); font-size: .6rem; margin: 0 18px; transform: translateY(-2px); }
.hero-meta b { font: 600 1.08rem/1 var(--sans); color: #F6E8C4; margin-right: 2px; }

/* Invitation à défiler */
.scroll-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; z-index: 3; display: grid; justify-items: center; gap: 10px;
  background: none; border: 0; color: rgba(255, 255, 255, .55); font: 500 .66rem var(--sans); letter-spacing: .28em; text-transform: uppercase; cursor: pointer;
  animation: rise 1.2s var(--ease-expo) 1.4s backwards; }
.scroll-cue:hover { color: var(--gold-1); }
.scroll-cue i { position: relative; width: 1px; height: 42px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: linear-gradient(transparent, var(--gold-1));
  transform: translateY(-100%); animation: cue 2.2s var(--ease-soft) infinite; }
@keyframes cue { to { transform: translateY(275%); } }

/* ============================================================
   6. Ruban défilant
   ============================================================ */
.mq { padding: 22px 0; }
.mq::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--night) 0%, transparent 14%, transparent 86%, var(--night) 100%); }
.mq-track span { font: italic 500 clamp(1.25rem, 2vw, 1.7rem)/1.2 var(--serif); letter-spacing: .01em; text-transform: none; color: rgba(245, 239, 232, .58); }
.mq-track span::after { color: var(--gold-2); font-size: .8rem; margin: 0 34px; }

/* ============================================================
   7. Titres de section : mots qui montent, phrase d’introduction
   ============================================================ */
section.block { padding: clamp(80px, 9vw, 128px) 0; }
.sec-h { gap: 18px 40px; margin-bottom: clamp(30px, 3.4vw, 46px); }
.sec-h h2 { font-size: clamp(2.7rem, 5.6vw, 5rem); font-weight: 500; letter-spacing: -.03em; line-height: .96; }
.sec-lead { max-width: 42ch; color: var(--muted); font-size: 1.02rem; line-height: 1.6; padding-bottom: 6px; }
.how .sec-lead { color: rgba(245, 239, 232, .62); }
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .14em; margin-bottom: -.14em; }
.sw > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-expo); transition-delay: calc(var(--i, 0) * 70ms); }
.is-in .sw > span, .sw-done .sw > span { transform: none; }

/* ============================================================
   8. Univers
   ============================================================ */
/* Au repos les cartes n’ont aucune transformation (pas de calque graphique par carte) ; l’inclinaison 3D n’existe qu’au survol. */
#catsGrid { counter-reset: cat; perspective: 1400px; }
.cat-card { counter-increment: cat; border-radius: 28px; outline: 1px solid transparent; outline-offset: -12px; transform: none;
  transition: transform .7s var(--ease-expo), box-shadow .7s var(--ease-expo), outline-color .5s; }
.cat-card:hover { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
  outline-color: rgba(247, 227, 161, .6); box-shadow: 0 46px 80px -44px rgba(14, 10, 8, .85); }
.cat-card img { transition: transform 1.2s var(--ease-expo), filter .6s; filter: saturate(.92); }
.cat-card:hover img { transform: scale(1.08); filter: saturate(1.05); }
.cat-card::before { background: linear-gradient(180deg, rgba(12, 9, 7, 0) 34%, rgba(12, 9, 7, .55) 64%, rgba(12, 9, 7, .9)); }
.cat-card div { margin: 0; width: 100%; padding: 22px 24px; display: grid; gap: 4px; background: none; border: 0; border-radius: 0;
  backdrop-filter: none; -webkit-backdrop-filter: none; }
.cat-card div::before { content: counter(cat, decimal-leading-zero); font: 600 .7rem/1 var(--sans); letter-spacing: .22em; color: var(--gold-2); margin-bottom: 6px; }
.cat-card h3 { font-weight: 500; letter-spacing: -.01em; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.cat-card small { font-size: .78rem; letter-spacing: .04em; color: rgba(255, 255, 255, .75); opacity: 1; }
.cat-card div::after { content: "↗"; top: auto; bottom: 22px; right: 22px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(247, 227, 161, .55); background: rgba(20, 13, 8, .6); font-size: 1rem; transform: translateY(8px) scale(.8); }
.cat-card:hover div::after { transform: none; opacity: 1; }
.cat-card:first-child div { padding: 30px 34px; }
.cat-card:first-child h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
.cat-card:nth-child(11):last-child { grid-column: span 2; } /* 11 univers : la dernière ligne est complète */
.cat-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
/* « Maquillage & Coiffure » partage la photo de la mariée : gros plan sur le visage, pour ne pas faire doublon avec « Negafa » */
.cat-card[data-slug="beaute"] img { object-position: 50% 31%; scale: 2.3; transform-origin: 84% 46%; }
.cat-card[data-slug="henne"] img { filter: none; }

/* ============================================================
   9. Résultats et cartes prestataires
   ============================================================ */
.filter-bar { border: 1px solid var(--hair); border-radius: 26px; box-shadow: 0 18px 40px -30px rgba(30, 18, 10, .45); }
#providerGrid { perspective: 1600px; }
.grid { gap: 34px 26px; }
.card { border: 1px solid transparent; border-radius: 28px; padding: 10px;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              linear-gradient(150deg, color-mix(in srgb, var(--gold) 40%, var(--line)), var(--line) 34%, var(--line) 66%, color-mix(in srgb, var(--gold) 28%, var(--line))) border-box;
  transform: none; transition: transform .7s var(--ease-expo), box-shadow .7s var(--ease-expo); }
.card:hover { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-8px);
  box-shadow: 0 46px 80px -46px rgba(30, 18, 10, .6), 0 0 0 1px color-mix(in srgb, var(--gold) 50%, transparent); }
.card-media { border-radius: 20px; }
.card-media::before { content: ""; position: absolute; inset: auto 0 0; height: 40%; z-index: 1; pointer-events: none; background: linear-gradient(transparent, rgba(12, 9, 7, .28)); }
.card-media img { transition: transform 1.3s var(--ease-expo); }
.card:hover .card-media img { transform: scale(1.07); }
.card-media .badges, .fav-btn { z-index: 2; }
.card-media .badge { background: rgba(255, 255, 255, .93); backdrop-filter: none; -webkit-backdrop-filter: none; font-weight: 600; }
.fav-btn { transition: transform .4s var(--ease-expo), background .3s; }
.fav-btn:hover { transform: scale(1.12); }
.card-body { padding: 16px 10px 8px; }
.card-cat { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.card-title { font-size: 1.65rem; font-weight: 500; letter-spacing: -.012em; margin-top: 2px; }
.card-foot { border-top: 1px solid var(--hair); }
.price-from small { letter-spacing: .06em; }
.price-from strong { font-size: 1.28rem; }
.card-go::before { content: "→"; order: 2; transition: transform .45s var(--ease-expo); }
.card-go:hover::before { transform: translateX(3px); }
.card-top { padding: 2px 8px 10px; }
.card-top span { display: inline-flex; padding: 3px 10px; border-radius: 999px; background: var(--success-soft); }
.skeleton { border-radius: 28px; background: linear-gradient(100deg, var(--surface-2) 30%, color-mix(in srgb, var(--gold) 16%, var(--surface-2)) 50%, var(--surface-2) 70%); background-size: 200% 100%; }
.empty, .empty-launch { border-radius: 28px; }

/* ============================================================
   10. « Réserver sur Laqa » : fil d’or qui se trace, grands chiffres gravés
   ============================================================ */
.how { padding: clamp(96px, 11vw, 150px) 0; }
.how .steps { gap: 24px; }
.how .steps::before { top: 66px; transform: scaleX(0); transform-origin: left; transition: transform 2s var(--ease-expo) .2s; }
.how .steps.is-in::before { transform: scaleX(1); }
.how .step { padding: 30px 30px 32px; border-radius: 30px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); border-color: rgba(231, 196, 106, .18); }
.how .step::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .6s;
  background: radial-gradient(80% 60% at 50% 0%, rgba(231, 196, 106, .14), transparent 70%); }
.how .step:hover::after { opacity: 1; }
.how .step b { width: auto; height: auto; display: block; background: none; border: 0; box-shadow: none; margin-bottom: 22px;
  font: italic 500 clamp(4rem, 6vw, 5.4rem)/.9 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(231, 196, 106, .75);
  background-image: linear-gradient(180deg, rgba(247, 227, 161, .22), transparent 80%); -webkit-background-clip: text; background-clip: text; }
.how .step h3 { font-size: 1.9rem; font-weight: 500; margin: 6px 0 10px; }
.step-ico { position: absolute; right: 26px; top: 28px; width: 26px; height: 26px; color: var(--gold-2); opacity: .8; }

/* Pages ville (recherche.php) : texte de la ville, conseils locaux */
.town-intro { max-width: 78ch; margin: -6px 0 26px; display: grid; gap: 10px; line-height: 1.7; color: var(--ink-2); }
.town-tips { max-width: 78ch; margin: 44px 0 10px; }
.town-tips h2 { font-size: 1.7rem; margin-bottom: 12px; }
.town-tips ul { margin: 0 0 12px 22px; display: grid; gap: 8px; line-height: 1.65; }
.town-tips a, .town-empty a.btn.ghost { white-space: normal; }
.town-tips p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Guide « Bien remplir sa fiche » (guide-prestataire.php) */
.guide-page .eyebrow { color: var(--gold-text); }
.guide-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; }
.guide-toc a { padding: 7px 13px; border: 1px solid var(--hair); border-radius: 999px; font-size: .86rem; color: var(--ink); text-decoration: none; }
.guide-toc a:hover { border-color: var(--gold); color: var(--gold-text); }
.guide-page h2 { scroll-margin-top: calc(var(--header-h) + 20px); }
.guide-tip { margin: 26px 0 8px; padding: 18px 20px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line));
  background: color-mix(in srgb, var(--gold) 8%, var(--surface)); line-height: 1.65; }
.guide-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.complete-guide { margin: 12px 0 0; }
.complete-guide a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   10 ter. Réalisations (photos des prestataires) et témoignages (avis vérifiés) — statiques
   ============================================================ */
.real-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 14px; }
.real-tile { position: relative; overflow: hidden; border: 0; padding: 0; border-radius: 22px; cursor: pointer; background: var(--surface-2); text-align: left; }
.real-tile:nth-child(1), .real-tile:nth-child(6) { grid-column: span 2; grid-row: span 2; }
.real-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-expo); }
.real-tile:hover img { transform: scale(1.05); }
.real-tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 50%, rgba(12, 9, 7, .82)); }
.real-tile span { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; display: grid; gap: 2px; color: #fff; }
.real-tile b { font: 500 1.15rem/1.2 var(--serif); }
.real-tile small { font-size: .78rem; color: rgba(255, 255, 255, .78); }
.real-tile:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.quote-card { margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 28px 26px 24px; border-radius: 26px; border: 1px solid var(--hair); background: var(--surface); }
.quote-card .stars { color: var(--gold-text); letter-spacing: .12em; }
.quote-card blockquote { margin: 0; font: italic 400 1.18rem/1.55 var(--serif); color: var(--ink); }
.quote-card figcaption { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--hair); font-size: .86rem; color: var(--muted); display: grid; gap: 4px; }
.quote-card figcaption b { color: var(--ink); }
.quote-card .link-btn { font: inherit; color: var(--accent); }
#reviewsNotice a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) { .real-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; } .real-tile:nth-child(6) { grid-column: auto; grid-row: auto; } .quote-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .real-grid { grid-auto-rows: 150px; gap: 10px; } }
@media (prefers-reduced-motion: reduce) { .real-tile img { transition: none; } .real-tile:hover img { transform: none; } }

/* ============================================================
   10 bis. « Réservez l’esprit tranquille » : garanties (statique, aucun effet coûteux)
   ============================================================ */
.trust { padding-top: clamp(80px, 9vw, 128px); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.trust-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 24px; border-radius: 26px;
  border: 1px solid var(--hair); background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, var(--gold) 8%), var(--surface) 140px);
  transition: border-color .4s, transform .5s var(--ease-expo); }
.trust-card::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 1px; background: var(--gold-line); opacity: .8; }
.trust-card:hover { border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); transform: translateY(-3px); }
.trust-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; margin-bottom: 6px;
  border: 1px solid color-mix(in srgb, var(--gold) 60%, transparent); color: var(--gold); font: 600 1.15rem/1 var(--sans);
  background: color-mix(in srgb, var(--gold) 10%, transparent); }
.trust-card h3 { font-size: 1.45rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.15; }
.trust-card p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.6; }
.trust-card .trust-fig { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--hair); color: var(--ink); font-weight: 600; font-size: .86rem; }
.trust-fig .link-btn { font: inherit; color: var(--accent); }
.trust-foot { margin: 26px 0 0; max-width: 92ch; line-height: 1.6; }
.trust-foot a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .trust-grid { grid-template-columns: minmax(0, 1fr); } .trust-card { padding: 24px 20px 20px; } }
@media (prefers-reduced-motion: reduce) { .trust-card, .trust-card:hover { transition: none; transform: none; } }

/* ============================================================
   11. Bannière Pro : texte à gauche, tarifs en carton d’invitation à droite
   ============================================================ */
.pro-banner { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(30px, 5vw, 72px); align-items: center;
  text-align: left; padding: clamp(40px, 6vw, 88px); border-radius: 40px; }
.pro-banner h2 { font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: .98; letter-spacing: -.03em; margin-bottom: 18px; }
.pro-banner h2 em { color: var(--gold-1); }
.pro-banner p { margin: 0 0 22px; max-width: 50ch; }
.pb-points { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; color: rgba(245, 239, 232, .86); }
.pb-points li { display: flex; gap: 12px; align-items: baseline; }
.pb-points li::before { content: "✦"; color: var(--gold-2); font-size: .7rem; flex: none; }
.pb-ticket { position: relative; text-align: center; padding: 42px 30px 36px; border-radius: 28px; color: #F5EFE8;
  background: linear-gradient(165deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02) 60%), rgba(20, 13, 8, .74);
  border: 1px solid rgba(231, 196, 106, .5);
  box-shadow: 0 50px 90px -45px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .14); transform: rotate(1.5deg); transition: transform .8s var(--ease-expo); }
.pb-ticket:hover { transform: rotate(0deg) translateY(-4px); }
.pb-ticket::before { content: ""; position: absolute; inset: 9px; border-radius: 21px; border: 1px solid rgba(231, 196, 106, .22); pointer-events: none; }
.pb-t-k { display: block; font: 600 .7rem var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-2); }
.pb-t-price { margin: 16px 0 6px !important; display: flex; justify-content: center; align-items: baseline; gap: 6px; max-width: none !important; }
.pb-t-price b { font: 500 clamp(3.2rem, 5.4vw, 4.6rem)/1 var(--serif); letter-spacing: -.02em;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2) 60%, var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pb-t-price small { font-size: 1rem; color: rgba(245, 239, 232, .7); }
.pb-t-line { margin: 0 auto 4px !important; font-size: .95rem; color: rgba(245, 239, 232, .8) !important; }
.pb-t-line b { color: var(--gold-1); font-weight: 600; }
.pb-t-or { display: block; margin: 14px 0; color: var(--gold-2); font-size: .8rem; }
.pb-t-note { margin: 18px auto 0 !important; padding-top: 16px; border-top: 1px dashed rgba(231, 196, 106, .3); font-size: .82rem; color: rgba(245, 239, 232, .6) !important; }

/* ============================================================
   12. Pied de page
   ============================================================ */
footer { padding-top: clamp(70px, 8vw, 110px); }
footer::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--zellige) 0 0 / 84px; opacity: .045;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
footer .wrap { position: relative; z-index: 1; }
footer h3, footer h4 { font-size: .74rem; font-family: var(--sans); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
footer ul a, footer ul button { position: relative; transition: color .3s, padding-left .4s var(--ease-expo); }
footer ul a:hover, footer ul button:hover { padding-left: 6px; }
.giant { font-size: clamp(5rem, 23vw, 19rem); line-height: .78; letter-spacing: -.045em; margin-top: 46px;
  background: linear-gradient(180deg, rgba(247, 227, 161, .5), rgba(231, 196, 106, .12) 55%, rgba(231, 196, 106, 0) 88%); -webkit-background-clip: text; background-clip: text; }
.giant span { color: var(--gold-2); -webkit-text-fill-color: var(--gold-2); opacity: .55; }
.to-top { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.to-top:hover { color: var(--gold-1); }

/* ============================================================
   13. Fenêtres, fiche prestataire, réservation
   ============================================================ */
dialog { border-radius: 30px; border: 1px solid var(--hair); box-shadow: 0 60px 120px -40px rgba(10, 7, 5, .7); }
dialog[open] { animation: dlg-in .55s var(--ease-expo); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(22px) scale(.97); } }
/* Fond des fenêtres : voile sombre sans flou (un flou plein écran se recalcule à chaque image du défilement de la fiche) */
dialog::backdrop { background: rgba(10, 7, 5, .78); backdrop-filter: none; -webkit-backdrop-filter: none; }
dialog.drawer[open] { animation: drawer-in .45s var(--ease-expo); }
.dlg-close { background: color-mix(in srgb, var(--surface-2) 94%, transparent); backdrop-filter: none; -webkit-backdrop-filter: none; transition: transform .4s var(--ease-expo), background .3s; }
.dlg-close:hover { transform: rotate(90deg); }
.dlg-title { font-weight: 500; letter-spacing: -.02em; }
.pv-head h2 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); letter-spacing: -.025em; }
.gallery { border-radius: 24px; }
.gallery img { transition: transform 1.2s var(--ease-expo); }
.tech { border-radius: 20px; transition: border-color .3s; }
.tech[open] { border-color: var(--hair); }
.formula { border-radius: 16px; transition: border-color .3s, box-shadow .3s, transform .4s var(--ease-expo); }
.formula:hover { transform: translateY(-1px); }
.formula[aria-pressed="true"] { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold), 0 14px 30px -20px color-mix(in srgb, var(--gold) 70%, transparent); }
.book-panel { border-radius: 26px; border-color: var(--hair); box-shadow: 0 40px 80px -50px rgba(30, 18, 10, .55); }
.cal { border-radius: 18px; }
.cal-day.selected { background: linear-gradient(135deg, var(--gold-1), var(--gold-3)); color: #1A1208; box-shadow: 0 8px 18px -8px rgba(197, 155, 39, .8); }
.slot[aria-pressed="true"] { background: linear-gradient(135deg, var(--gold-1), var(--gold-3)); border-color: transparent; color: #1A1208; }
.slot { border-radius: 12px; transition: border-color .25s, transform .3s var(--ease-expo); }
.slot:hover:not(:disabled) { transform: translateY(-1px); }

/* ============================================================
   14. Espaces client, Pro et administration
   ============================================================ */
.dash-head h1 { font-size: clamp(2.6rem, 5vw, 3.8rem); letter-spacing: -.03em; }
.panel { border-radius: 28px; background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 94%, var(--gold) 6%), var(--surface) 160px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 24px 50px -40px rgba(30, 18, 10, .35); }
.stat { position: relative; overflow: hidden; border-radius: 22px; }
.stat::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 1px; background: var(--gold-line); opacity: .7; }
.stat .num { font-size: 1.9rem; letter-spacing: -.025em; }
.tab { position: relative; transition: color .3s; }
.tab[aria-selected="true"] { border-bottom-color: var(--gold); }
.table tbody tr { transition: background .25s; }
.booking { border-radius: 20px; transition: box-shadow .4s, transform .5s var(--ease-expo), border-color .3s; }
.booking:hover { transform: translateY(-2px); border-color: var(--hair); }
.countdown { border-radius: 30px; border-color: rgba(231, 196, 106, .3); }
.notif-panel, .menu-pop, .nav-more-pop, .ac-list { border-radius: 20px; border-color: var(--hair); box-shadow: 0 40px 80px -40px rgba(14, 10, 8, .55); }

/* Messages : verre sombre, filet d’or */
.toast { border-radius: 18px; background: rgba(24, 16, 11, .95); border: 1px solid rgba(231, 196, 106, .28); }

/* ============================================================
   15. Connexion et page partenaire
   ============================================================ */
.auth-box h1, .partner-form h1, .partner-intro-box h1 { letter-spacing: -.025em; }
.choice { border-radius: 20px; transition: box-shadow .4s, transform .5s var(--ease-expo), border-color .3s; }
.choice:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 24px 50px -30px color-mix(in srgb, var(--gold) 60%, transparent); }

/* ============================================================
   16. Tablettes et téléphones
   ============================================================ */
@media (max-width: 1000px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "search" "arches" "meta"; }
  .hero-arches { height: auto; max-width: 460px; width: 100%; margin: 40px auto 0; padding-bottom: 22px; translate: none; }
  .hero-arches .hs-chip { display: none; }
  .hero .search-box { margin-top: 34px; }
  .scroll-cue { display: none; }
  .pro-banner { grid-template-columns: 1fr; }
  .pb-ticket { transform: none; max-width: 460px; }
}
@media (max-width: 640px) {
  .hero { padding: calc(var(--header-h) + 30px) 0 54px; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 3.5rem); }
  .hero .search-box { padding: 6px; }
  .hero .search-field { padding: 10px 14px; }
  .hero .search-box .btn { padding: 15px 20px; margin: 6px 0 0; }
  .hero-arches { max-width: 360px; margin-top: 30px; }
  .arch figcaption { font-size: .82rem; padding: 4px 10px; bottom: 8%; }
  .hero-meta span + span::before { margin: 0 10px; }
  .hero-meta { justify-content: center; }
  .sec-h h2 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .cat-card div { padding: 14px 16px; }
  .cat-card div::after { width: 32px; height: 32px; bottom: 14px; right: 14px; }
  .cat-card:first-child div { padding: 20px 22px; }
  .card-title { font-size: 1.45rem; }
  .how .step b { font-size: 3.6rem; }
  .pro-banner { padding: 34px 22px; border-radius: 28px; }
  .pb-ticket { padding: 34px 20px 28px; }
  .giant { margin-top: 30px; }
}

/* ============================================================
   17. Mouvements réduits : tout est immédiatement visible et immobile
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero .hx, .hero .hw, .arch, .arch-img img, .arch-line path, .khatam, .khatam rect, .khatam circle, .sparks i, .scroll-cue, .scroll-cue i::after,
  .hero-arches .hs-chip, main [data-view]:not([hidden]), dialog[open] { animation: none !important; }
  .arch-line path, .khatam rect, .khatam circle { stroke-dashoffset: 0; }
  .sparks { display: none; }
  .sw > span { transform: none; transition: none; }
  .how .steps::before { transform: none; transition: none; }
  .btn::after { display: none; }
  .hero-arches { translate: none; }
}
