/* Jocker Cuir — global pre-footer brand components (services strip).
   Loaded once, unconditionally, from the shared layout
   (resources/views/monsite/layouts/app.blade.php), same pattern as
   header-b2b-menu.css. Relies on the design tokens (--ink, --paper,
   --cream, --sand, --white, --line, --serif, --sans) already declared in
   :root by whichever page-specific stylesheet is also loaded — it does
   not redeclare them, to avoid a second source of truth. Palette is
   intentionally black / white / beige only (see PART 4 of the frontend
   cleanup) — do not reintroduce the old --olive/--sage military-green
   tokens here.

   The 3-card pre-footer promo strip (.prefooter-nav/.prefooter-card —
   "Sur mesure" / "Offre entreprise" / "Projet sur mesure") that used to
   render here too was removed entirely (JOCKER CUIR — FOOTER CLEANUP —
   REMOVE THE 3-COLUMN PROMO / CTA STRIP ONLY): its markup
   (prefooter-navigation.blade.php) and this file's own now-orphaned
   .prefooter-* rules are both gone, not merely hidden. */

/* Storefront logo — single shared source
   (monsite/partials/site-logo.blade.php), included from the desktop
   header, mobile menu, nav drawer, and footer. When an admin uploads a
   logo (Paramètres du site → Identité), this is the only sizing rule
   that applies to it everywhere — a fixed visual box so the uploaded
   image's own source dimensions can never enlarge the header (the
   header itself stays a fixed 80px tall; max-height here just keeps the
   image comfortably inside it). The text-wordmark fallback (.logo /
   .footer-logo) is untouched — its own font-size rules in each page's
   own stylesheet still apply whenever no image is configured. */
.site-logo{display:inline-flex;align-items:center}
.site-logo__img{display:block;width:auto;max-width:200px;max-height:48px;object-fit:contain}
@media(max-width:780px){
  .site-logo__img{max-height:38px;max-width:160px}
}
/* Footer-only contrast fix: the uploaded logo is a single raster asset
   (no separate light/dark variant, no inline SVG) shared by the header
   (light background — left untouched) and the footer (dark #1b1b18 —
   where a dark logo reads as nearly invisible). brightness(0) flattens
   every visible pixel to solid black regardless of its original color,
   then invert(1) flips that to solid white — a display-only filter that
   preserves the asset's exact shape/transparency without altering the
   uploaded file itself. Scoped to .footer-logo only. */
.footer-logo .site-logo__img{filter:brightness(0) invert(1)}

.services-strip{border-block:1px solid var(--line);background:var(--paper)}
.services-strip-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.service-item{
  padding:44px 30px;display:flex;gap:18px;align-items:center;
  border-right:1px solid var(--line);
}
.service-item:last-child{border-right:0}
.service-item i{font-size:1.45rem;color:var(--ink);width:1.45rem;text-align:center}
.service-item strong{display:block;font-family:var(--sans);font-size:1.15rem;font-weight:400;color:var(--ink)}
.service-item small{color:#6f6a62}

@media (max-width:780px){
  .services-strip-grid{grid-template-columns:repeat(2,1fr)}
  .service-item:nth-child(2){border-right:0}
  .service-item:nth-child(-n+2){border-bottom:1px solid var(--line)}
}

@media (max-width:520px){
  .services-strip-grid{grid-template-columns:1fr}
  .service-item{border-right:0;border-bottom:1px solid var(--line)}
  .service-item:last-child{border-bottom:0}
}

/* Optional "strong" section title — bold uppercase sans-serif, for the
   rare section that wants a shopping/commerce feel (e.g. a bestsellers
   grid) instead of the editorial serif .section-title used everywhere
   else. Deliberately opt-in only: existing .section-title headings keep
   their current serif treatment (this file adds the class, it does not
   reassign it anywhere — see the typography audit for why). */
.section-title--strong{
  font-family:var(--sans);font-weight:700;
  text-transform:uppercase;letter-spacing:-.03em;line-height:.95;
  font-size:clamp(2.625rem,5.5vw,5.125rem);
}

/* Lucrin-inspired typography utilities — pure typography only (no color,
   no background: every page already owns its own text color via the
   existing --ink/--olive/etc. tokens, and mixing a color rule into a
   reusable typography class would fight whichever context uses it next).
   .section-title and .eyebrow (defined per-page, identical rules
   everywhere) already carry equivalent styling for their own ~20+
   existing call sites, so this task does not reassign any of them —
   these three classes exist for markup that wants the same typographic
   principle spelled out explicitly by name, and for the small number of
   genuinely emotional/storytelling eyebrows called out in the typography
   audit (e.g. "Ils nous font confiance", "La grille sculpturale"). */
.editorial-title{
  font-family:var(--sans);font-weight:400;
  line-height:.98;letter-spacing:-.02em;
}
/* Compound selector (not a bare .editorial-eyebrow rule): this file
   loads BEFORE every page-specific stylesheet that defines .eyebrow
   (see resources/views/monsite/layouts/app.blade.php), so a same-
   specificity .editorial-eyebrow rule would lose the cascade to
   .eyebrow's own text-transform/letter-spacing/font-weight on source
   order alone. .eyebrow.editorial-eyebrow's higher specificity wins
   regardless of load order, matching how this class is always applied
   in markup — alongside .eyebrow, never standalone. */
.eyebrow.editorial-eyebrow{
  font-family:var(--sans);font-weight:400;font-style:normal;
  letter-spacing:0;text-transform:none;
}
.section-eyebrow{
  font-family:var(--sans);font-weight:600;
  text-transform:uppercase;letter-spacing:.15em;
}

/* Currency switcher — one shared partial included in the header,
   footer, and mobile menu (see _currency-switcher-form.blade.php), so
   this single rule set covers all three instead of being duplicated
   per page like most header/footer CSS in this project. Deliberately
   minimal: no flags, no bright colors, compact, matches the header's
   existing typography/icon-btn sizing conventions — never an oversized
   dropdown. */
.currency-switcher{display:inline-flex;align-items:center}
.currency-switcher__select{
  appearance:none;-webkit-appearance:none;
  border:0;background:transparent;color:inherit;
  font-family:var(--sans);font-size:.8rem;font-weight:500;
  letter-spacing:.04em;text-transform:uppercase;
  cursor:pointer;padding:0 18px 0 4px;height:44px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='currentColor' stroke-width='1.3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 4px center;
}
.currency-switcher__select:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.currency-switcher__submit{
  border:1px solid currentColor;background:transparent;color:inherit;
  font-family:var(--sans);font-size:.68rem;letter-spacing:.05em;
  text-transform:uppercase;padding:4px 10px;cursor:pointer;
}
.footer-currency .currency-switcher__select,
.mobile-currency .currency-switcher__select{height:auto;padding:0 16px 0 4px}
.mobile-currency{display:flex;align-items:center;gap:4px}

/* ============================================================
   Typography system — Phase 1 (premium editorial pass). Named
   tokens layered on top of the pre-existing --sans/--serif/
   --font-display/--font-body tokens (still declared per-page in
   each page stylesheet's own :root — untouched, do not duplicate
   here). These are the new named scale/tracking tokens the global
   heading/eyebrow/nav rules below (and each page's own .eyebrow /
   .section-title / .nav-link / .btn / .header-main rules) read
   from, so a future scale change only ever happens in one place. */
:root{
  --font-sans:"Manrope",Arial,sans-serif;
  --text-xs:.75rem;
  --text-sm:.875rem;
  --text-base:1rem;
  --text-lg:1.125rem;
  --text-xl:1.25rem;
  --heading-xl:clamp(2.75rem,4.2vw,3.75rem);
  --heading-lg:clamp(2.25rem,3vw,3rem);
  --heading-md:clamp(1.375rem,1.8vw,1.75rem);
  --heading-sm:clamp(1.125rem,1.2vw,1.3rem);
  --tracking-eyebrow:.12em;
  /* JOCKER CUIR — HEADER TYPOGRAPHY REFINEMENT: reduced from .1em —
     the single source of truth for every page's own .nav-link rule
     (var(--tracking-menu,...), 21 identical per-page declarations). */
  --tracking-menu:.07em;
}
body{font-size:var(--text-base)}
/* Header icon glyphs (search/account/cart — the personalization CTA's
   pencil icon already had its own 18px rule) — normalized to a
   consistent optical size across all three; .icon-btn itself (44px
   hit area) is untouched. */
.icon-btn i{font-size:19px}

/* ============================================================
   Motion system — the one shared reveal/hover language for the
   storefront (site-motion.js owns the IntersectionObserver that
   adds .is-visible; every visual rule lives here). See that file's
   own header comment for the full data-reveal-* markup contract.

   Progressive enhancement: [data-reveal] renders fully visible by
   default (the bare rule right below) — the hidden initial state
   only activates once html.has-reveal-js is present, added
   synchronously in <head> before first paint (layouts/app.blade.php).
   Content can never ship permanently invisible if JS fails to load.
   ============================================================ */
:root{
  --motion-fast:250ms;
  --motion-base:420ms;
  --motion-slow:480ms;
  --motion-ease:cubic-bezier(.22,1,.36,1);
  --motion-distance:16px;
}
@media (max-width:640px){
  /* Mobile: smaller travel distance (already established) + shorter
     durations still — sections scroll past quickly on a phone, so the
     reveal needs to keep up without losing the smooth premium curve. */
  :root{
    --motion-distance:10px;
    --motion-fast:200ms;
    --motion-base:360ms;
    --motion-slow:400ms;
  }
}

[data-reveal]{opacity:1;transform:none}

html.has-reveal-js [data-reveal]{
  opacity:0;
  transition:opacity var(--motion-base) var(--motion-ease),transform var(--motion-base) var(--motion-ease);
  transition-delay:var(--reveal-delay,0ms);
  will-change:opacity,transform;
}
html.has-reveal-js [data-reveal="up"]{transform:translateY(var(--motion-distance))}
html.has-reveal-js [data-reveal="left"]{transform:translateX(calc(var(--motion-distance) * -1))}
html.has-reveal-js [data-reveal="right"]{transform:translateX(var(--motion-distance))}
html.has-reveal-js [data-reveal="image"]{
  transform:scale(.985);
  transition-duration:var(--motion-slow);
}
html.has-reveal-js [data-reveal="fade"]{transform:none}

html.has-reveal-js [data-reveal].is-visible{
  opacity:1;transform:none;will-change:auto;
}

@media (prefers-reduced-motion:reduce){
  html.has-reveal-js [data-reveal]{
    opacity:1;transform:none;transition:none;transition-delay:0s;
  }
}

/* Product/collection/article card hover — one consolidated image-zoom
   rule for the whole brand, replacing what used to be three different,
   duplicated-per-page zoom amounts (.product-media img 1.035,
   .category-card img 1.06, .article-card img 1.04 — see product.css /
   collection.css / index.css / blog.css history). Scoped to real
   pointer/hover devices only — never forced on touch. */
@media (hover:hover) and (pointer:fine){
  .product-card .product-media img,
  .category-card img,
  .article-card img{
    transition:transform var(--motion-fast) var(--motion-ease);
  }
  .product-card:hover .product-media img,
  .category-card:hover img,
  .article-card:hover img{
    transform:scale(1.025);
  }

  /* Editorial "Voir tout…"/"En savoir plus"-style text links (.text-link,
     used site-wide) — a small arrow nudge on hover, never a scale-up or
     glow (see .btn/.btn-outline's own already-good background-swap hover,
     left untouched, same restraint). */
  .text-link i{transition:transform var(--motion-fast) var(--motion-ease)}
  .text-link:hover i{transform:translateX(3px)}
}

/* Visually hidden but read by assistive tech and search engines — used
   only for a fallback <h1> when a CMS-driven page has no visible heading
   text configured (same technique as .enterprise-hero__sr-title). */
.u-visually-hidden{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
