/* La feuille de style du site Signalisation Graf.

   Les couleurs, la police, l'échelle des titres, les rayons et la largeur du contenu sont des variables, dans
   « @layer theme » (mode clair) et dans « [data-theme="dark"] » (mode sombre), plus bas : pour changer une couleur
   du site, c'est là. Les pages emploient des classes utilitaires (bg-page, text-ink, text-muted, bg-brand...) : cette
   feuille est la compilation de Tailwind CSS qui les définit. Une classe absente d'ici n'a aucun effet ; voir le
   README pour en ajouter.

   La plaque gravée de l'accueil (.plate-metal, .plate-shadow) et les pastilles de matériaux des produits (.swatch-*)
   gardent leurs couleurs dans les deux modes : ce sont des matériaux réels. */

/* Overpass, la police du site (fonts/), en latin et latin étendu. */
@font-face {
  font-family: Overpass;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/overpass-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Overpass;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/overpass-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Arial ajustée aux mesures d'Overpass, le temps que la police arrive : le texte ne bouge pas. */
@font-face {
  font-family: "Overpass Fallback";
  src: local(Arial);
  ascent-override: 87.67%;
  descent-override: 38.03%;
  line-gap-override: 0%;
  size-adjust: 100.72%;
}

:root {
  --font-overpass: "Overpass", "Overpass Fallback";
}

/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-translate-x: 0;
      --tw-translate-y: 0;
      --tw-border-style: solid;
      --tw-leading: initial;
      --tw-tracking: initial;
      --tw-ordinal: initial;
      --tw-slashed-zero: initial;
      --tw-numeric-figure: initial;
      --tw-numeric-spacing: initial;
      --tw-numeric-fraction: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-inset-shadow: 0 0 #0000;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-duration: initial;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: var(--font-overpass), "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: .25rem;
    --text-sm: .875rem;
    --text-sm--line-height: calc(1.25 / .875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --font-weight-normal: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --tracking-wide: .025em;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --radius-md: 6px;
    --radius-lg: 10px;
    --radius-xl: 14px;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --color-page: #eceeef;
    --color-surface: #fff;
    --color-raised: #f5f6f7;
    --color-header: #fff;
    --color-paper: #fff;
    --color-ink: #14181b;
    --color-muted: #4f5960;
    --color-rule: #cdd2d6;
    --color-brand: #c8141b;
    --color-brand-hover: #a80f16;
    --color-brand-ink: #b0121a;
    --color-on-brand: #fff;
    --color-band: #14181b;
    --color-band-ink: #eceeef;
    --color-band-muted: #a9b2b8;
    --color-field: #fff;
    --color-field-border: #8a949b;
    --text-display: clamp(3rem, 5vw, 4.5rem);
    --text-display--line-height: .98;
    --text-display--letter-spacing: -.025em;
    --text-section: clamp(2.25rem, 3.6vw, 3.25rem);
    --text-section--line-height: 1.02;
    --text-section--letter-spacing: -.02em;
    --text-title: 2.25rem;
    --text-title--line-height: 1.05;
    --text-title--letter-spacing: -.02em;
    --container-site: 1200px;
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

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

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }

  :root {
    color-scheme: light;
  }

  [data-theme="dark"] {
    color-scheme: dark;
    --color-page: #15181a;
    --color-surface: #1c2023;
    --color-raised: #23282b;
    --color-header: #101315;
    --color-ink: #e9ecee;
    --color-muted: #a1abb2;
    --color-rule: #30363b;
    --color-brand: #d3171f;
    --color-brand-hover: #b8121a;
    --color-brand-ink: #ff8085;
    --color-band: #0b0d0e;
    --color-band-ink: #e9ecee;
    --color-band-muted: #a1abb2;
    --color-field: #15181a;
    --color-field-border: #5f6970;
  }

  .theme-switching, .theme-switching * {
    transition: none !important;
  }

  body {
    background: var(--color-page);
    color: var(--color-ink);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  :focus-visible {
    outline: 2px solid var(--color-brand-ink);
    outline-offset: 3px;
  }

  ::selection {
    background: #c8141b40;
  }

  @supports (color: color-mix(in lab, red, red)) {
    ::selection {
      background: color-mix(in srgb, var(--color-brand) 25%, transparent);
    }
  }

  button, [role="button"], label[for], input[type="radio"], input[type="checkbox"] {
    cursor: pointer;
  }
}

@layer components {
  .swatch {
    border-radius: 4px;
    flex: none;
    width: 18px;
    height: 18px;
    display: inline-block;
  }

  .swatch-painted-aluminum {
    background: linear-gradient(135deg, #1f2326 50%, #c8141b 50%);
    box-shadow: inset 0 0 0 1px #00000026;
  }

  .swatch-brass {
    background: linear-gradient(135deg, #e6c873, #b48c34);
  }

  .swatch-stainless {
    background: linear-gradient(135deg, #e9ecee, #9ea5aa);
  }

  .swatch-anodized-clear {
    background: linear-gradient(135deg, #f4f5f6, #bfc5c9);
    box-shadow: inset 0 0 0 1px #0000001f;
  }

  .swatch-anodized-bronze {
    background: linear-gradient(135deg, #a2876a, #5e4a34);
  }

  .swatch-lamicoid {
    background: linear-gradient(135deg, #1e1f21 50%, #fff 50%);
    box-shadow: inset 0 0 0 1px #0003;
  }

  .swatch-oak {
    background: repeating-linear-gradient(100deg, #7a3f24 0 3px, #8e4d2e 3px 5px);
  }

  .swatch-brushed-aluminum {
    background: repeating-linear-gradient(0deg, #ffffff38 0 1px, transparent 1px 3px), linear-gradient(135deg, #e3e6e8, #a3a9ad);
    box-shadow: inset 0 0 0 1px #0000001f;
  }

  .swatch-green-white {
    background: linear-gradient(135deg, #2a9d7f 50%, #fff 50%);
    box-shadow: inset 0 0 0 1px #0003;
  }

  .swatch-orange {
    background: linear-gradient(135deg, #ff9a3c, #e8620c);
  }

  .plate-shadow {
    box-shadow: 0 1px 2px #14181b2e, 0 6px 14px -6px #14181b59;
  }

  [data-theme="dark"] .plate-shadow {
    box-shadow: 0 1px 2px #0000008c, 0 6px 14px -6px #000000bf;
  }

  .plate-metal {
    background: #c9cdd0;
  }
}

@layer utilities {
  .sr-only {
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    position: absolute;
    overflow: hidden;
  }

  .absolute {
    position: absolute;
  }

  .relative {
    position: relative;
  }

  .inset-0 {
    inset: 0;
  }

  .top-\[46\%\] {
    top: 46%;
  }

  .right-3\.5 {
    right: calc(var(--spacing) * 3.5);
  }

  .bottom-3\.5 {
    bottom: calc(var(--spacing) * 3.5);
  }

  .left-1\/2 {
    left: 50%;
  }

  .m-0 {
    margin: 0;
  }

  .-mx-5 {
    margin-inline: calc(var(--spacing) * -5);
  }

  .mx-auto {
    margin-inline: auto;
  }

  .mr-auto {
    margin-right: auto;
  }

  .-mb-px {
    margin-bottom: -1px;
  }

  .mb-2\.5 {
    margin-bottom: calc(var(--spacing) * 2.5);
  }

  .ml-auto {
    margin-left: auto;
  }

  .block {
    display: block;
  }

  .contents {
    display: contents;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

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

  .aspect-\[16\/10\] {
    aspect-ratio: 16 / 10;
  }

  .size-0 {
    width: 0;
    height: 0;
  }

  .size-5 {
    width: calc(var(--spacing) * 5);
    height: calc(var(--spacing) * 5);
  }

  .size-6 {
    width: calc(var(--spacing) * 6);
    height: calc(var(--spacing) * 6);
  }

  .size-11 {
    width: calc(var(--spacing) * 11);
    height: calc(var(--spacing) * 11);
  }

  .size-full {
    width: 100%;
    height: 100%;
  }

  .h-11 {
    height: calc(var(--spacing) * 11);
  }

  .h-\[260px\] {
    height: 260px;
  }

  .h-\[320px\] {
    height: 320px;
  }

  .h-auto {
    height: auto;
  }

  .min-h-dvh {
    min-height: 100dvh;
  }

  .w-fit {
    width: fit-content;
  }

  .w-full {
    width: 100%;
  }

  .max-w-\[26rem\] {
    max-width: 26rem;
  }

  .max-w-\[30rem\] {
    max-width: 30rem;
  }

  .max-w-\[34rem\] {
    max-width: 34rem;
  }

  .max-w-\[80\%\] {
    max-width: 80%;
  }

  .max-w-prose {
    max-width: 65ch;
  }

  .max-w-site {
    max-width: var(--container-site);
  }

  .min-w-0 {
    min-width: 0;
  }

  .min-w-11 {
    min-width: calc(var(--spacing) * 11);
  }

  .flex-\[1\.4_1_520px\] {
    flex: 1.4 520px;
  }

  .flex-\[1_1_360px\] {
    flex: 360px;
  }

  .flex-\[1_1_480px\] {
    flex: 480px;
  }

  .flex-\[2_1_380px\] {
    flex: 2 380px;
  }

  .flex-\[3_1_460px\] {
    flex: 3 460px;
  }

  .flex-\[5_1_340px\] {
    flex: 5 340px;
  }

  .flex-\[7_1_560px\] {
    flex: 7 560px;
  }

  .flex-none {
    flex: none;
  }

  .basis-full {
    flex-basis: 100%;
  }

  .-translate-x-1\/2 {
    --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }

  .-translate-y-full {
    --tw-translate-y: -100%;
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }

  .resize-y {
    resize: vertical;
  }

  .scroll-mt-4 {
    scroll-margin-top: calc(var(--spacing) * 4);
  }

  .\[scrollbar-width\:thin\] {
    scrollbar-width: thin;
  }

  .grid-cols-\[minmax\(110px\,max-content\)_minmax\(0\,1fr\)\] {
    grid-template-columns: minmax(110px, max-content) minmax(0, 1fr);
  }

  .grid-cols-\[minmax\(130px\,max-content\)_minmax\(0\,1fr\)\] {
    grid-template-columns: minmax(130px, max-content) minmax(0, 1fr);
  }

  .grid-cols-\[repeat\(auto-fit\,minmax\(min\(200px\,100\%\)\,1fr\)\)\] {
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  }

  .grid-cols-\[repeat\(auto-fit\,minmax\(min\(220px\,100\%\)\,1fr\)\)\] {
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  }

  .flex-col {
    flex-direction: column;
  }

  .flex-wrap {
    flex-wrap: wrap;
  }

  .items-center {
    align-items: center;
  }

  .items-end {
    align-items: flex-end;
  }

  .items-start {
    align-items: flex-start;
  }

  .justify-between {
    justify-content: space-between;
  }

  .justify-center {
    justify-content: center;
  }

  .gap-1 {
    gap: var(--spacing);
  }

  .gap-1\.5 {
    gap: calc(var(--spacing) * 1.5);
  }

  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }

  .gap-2\.5 {
    gap: calc(var(--spacing) * 2.5);
  }

  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }

  .gap-3\.5 {
    gap: calc(var(--spacing) * 3.5);
  }

  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }

  .gap-5 {
    gap: calc(var(--spacing) * 5);
  }

  .gap-6 {
    gap: calc(var(--spacing) * 6);
  }

  .gap-7 {
    gap: calc(var(--spacing) * 7);
  }

  .gap-8 {
    gap: calc(var(--spacing) * 8);
  }

  .gap-10 {
    gap: calc(var(--spacing) * 10);
  }

  .gap-12 {
    gap: calc(var(--spacing) * 12);
  }

  .gap-14 {
    gap: calc(var(--spacing) * 14);
  }

  .gap-\[18px\] {
    gap: 18px;
  }

  .gap-\[88px\] {
    gap: 88px;
  }

  .gap-x-2 {
    column-gap: calc(var(--spacing) * 2);
  }

  .gap-x-5 {
    column-gap: calc(var(--spacing) * 5);
  }

  .gap-x-6 {
    column-gap: calc(var(--spacing) * 6);
  }

  .gap-x-7 {
    column-gap: calc(var(--spacing) * 7);
  }

  .gap-x-8 {
    column-gap: calc(var(--spacing) * 8);
  }

  .gap-x-9 {
    column-gap: calc(var(--spacing) * 9);
  }

  .gap-x-16 {
    column-gap: calc(var(--spacing) * 16);
  }

  .gap-y-1 {
    row-gap: var(--spacing);
  }

  .gap-y-2\.5 {
    row-gap: calc(var(--spacing) * 2.5);
  }

  .gap-y-3 {
    row-gap: calc(var(--spacing) * 3);
  }

  .gap-y-5 {
    row-gap: calc(var(--spacing) * 5);
  }

  .gap-y-6 {
    row-gap: calc(var(--spacing) * 6);
  }

  .gap-y-7 {
    row-gap: calc(var(--spacing) * 7);
  }

  .gap-y-10 {
    row-gap: calc(var(--spacing) * 10);
  }

  .gap-y-12 {
    row-gap: calc(var(--spacing) * 12);
  }

  .gap-y-20 {
    row-gap: calc(var(--spacing) * 20);
  }

  .self-start {
    align-self: flex-start;
  }

  .overflow-hidden {
    overflow: hidden;
  }

  .overflow-x-auto {
    overflow-x: auto;
  }

  .scroll-smooth {
    scroll-behavior: smooth;
  }

  .rounded-lg {
    border-radius: var(--radius-lg);
  }

  .rounded-md {
    border-radius: var(--radius-md);
  }

  .rounded-xl {
    border-radius: var(--radius-xl);
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .border-x-8 {
    border-inline-style: var(--tw-border-style);
    border-inline-width: 8px;
  }

  .border-t {
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
  }

  .border-t-\[9px\] {
    border-top-style: var(--tw-border-style);
    border-top-width: 9px;
  }

  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }

  .border-b-\[3px\] {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 3px;
  }

  .border-field-border {
    border-color: var(--color-field-border);
  }

  .border-rule {
    border-color: var(--color-rule);
  }

  .border-transparent {
    border-color: #0000;
  }

  .border-x-transparent {
    border-inline-color: #0000;
  }

  .border-t-brand {
    border-top-color: var(--color-brand);
  }

  .bg-band {
    background-color: var(--color-band);
  }

  .bg-brand {
    background-color: var(--color-brand);
  }

  .bg-field {
    background-color: var(--color-field);
  }

  .bg-header {
    background-color: var(--color-header);
  }

  .bg-page {
    background-color: var(--color-page);
  }

  .bg-paper {
    background-color: var(--color-paper);
  }

  .bg-raised {
    background-color: var(--color-raised);
  }

  .bg-surface {
    background-color: var(--color-surface);
  }

  .stroke-rule {
    stroke: var(--color-rule);
  }

  .object-cover {
    object-fit: cover;
  }

  .p-3\.5 {
    padding: calc(var(--spacing) * 3.5);
  }

  .p-\[clamp\(24px\,3\.5vw\,48px\)\] {
    padding: clamp(24px, 3.5vw, 48px);
  }

  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }

  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }

  .px-3\.5 {
    padding-inline: calc(var(--spacing) * 3.5);
  }

  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }

  .px-5 {
    padding-inline: calc(var(--spacing) * 5);
  }

  .px-7 {
    padding-inline: calc(var(--spacing) * 7);
  }

  .px-\[22px\] {
    padding-inline: 22px;
  }

  .px-\[30px\] {
    padding-inline: 30px;
  }

  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }

  .py-3 {
    padding-block: calc(var(--spacing) * 3);
  }

  .py-3\.5 {
    padding-block: calc(var(--spacing) * 3.5);
  }

  .py-16 {
    padding-block: calc(var(--spacing) * 16);
  }

  .py-24 {
    padding-block: calc(var(--spacing) * 24);
  }

  .py-\[11px\] {
    padding-block: 11px;
  }

  .py-\[13px\] {
    padding-block: 13px;
  }

  .py-\[14px\] {
    padding-block: 14px;
  }

  .py-\[17px\] {
    padding-block: 17px;
  }

  .py-\[72px\] {
    padding-block: 72px;
  }

  .pt-1 {
    padding-top: var(--spacing);
  }

  .pt-2 {
    padding-top: calc(var(--spacing) * 2);
  }

  .pt-4 {
    padding-top: calc(var(--spacing) * 4);
  }

  .pt-12 {
    padding-top: calc(var(--spacing) * 12);
  }

  .pt-14 {
    padding-top: calc(var(--spacing) * 14);
  }

  .pt-16 {
    padding-top: calc(var(--spacing) * 16);
  }

  .pt-24 {
    padding-top: calc(var(--spacing) * 24);
  }

  .pr-6 {
    padding-right: calc(var(--spacing) * 6);
  }

  .pr-8 {
    padding-right: calc(var(--spacing) * 8);
  }

  .pb-2 {
    padding-bottom: calc(var(--spacing) * 2);
  }

  .pb-9 {
    padding-bottom: calc(var(--spacing) * 9);
  }

  .pb-24 {
    padding-bottom: calc(var(--spacing) * 24);
  }

  .pb-\[104px\] {
    padding-bottom: 104px;
  }

  .text-center {
    text-align: center;
  }

  .text-display {
    font-size: var(--text-display);
    line-height: var(--tw-leading, var(--text-display--line-height));
    letter-spacing: var(--tw-tracking, var(--text-display--letter-spacing));
  }

  .text-section {
    font-size: var(--text-section);
    line-height: var(--tw-leading, var(--text-section--line-height));
    letter-spacing: var(--tw-tracking, var(--text-section--letter-spacing));
  }

  .text-title {
    font-size: var(--text-title);
    line-height: var(--tw-leading, var(--text-title--line-height));
    letter-spacing: var(--tw-tracking, var(--text-title--letter-spacing));
  }

  .text-base {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }

  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }

  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }

  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }

  .text-\[13px\] {
    font-size: 13px;
  }

  .text-\[15px\] {
    font-size: 15px;
  }

  .text-\[17px\] {
    font-size: 17px;
  }

  .text-\[30px\] {
    font-size: 30px;
  }

  .text-\[40px\] {
    font-size: 40px;
  }

  .text-\[clamp\(36px\,4vw\,44px\)\] {
    font-size: clamp(36px, 4vw, 44px);
  }

  .leading-\[1\.05\] {
    --tw-leading: 1.05;
    line-height: 1.05;
  }

  .leading-\[1\.55\] {
    --tw-leading: 1.55;
    line-height: 1.55;
  }

  .leading-normal {
    --tw-leading: var(--leading-normal);
    line-height: var(--leading-normal);
  }

  .leading-relaxed {
    --tw-leading: var(--leading-relaxed);
    line-height: var(--leading-relaxed);
  }

  .leading-snug {
    --tw-leading: var(--leading-snug);
    line-height: var(--leading-snug);
  }

  .leading-tight {
    --tw-leading: var(--leading-tight);
    line-height: var(--leading-tight);
  }

  .font-bold {
    font-weight: var(--font-weight-bold);
  }

  .font-extrabold {
    font-weight: var(--font-weight-extrabold);
  }

  .font-normal {
    font-weight: var(--font-weight-normal);
  }

  .font-semibold {
    font-weight: var(--font-weight-semibold);
  }

  .tracking-\[-0\.02em\] {
    --tw-tracking: -.02em;
    letter-spacing: -.02em;
  }

  .tracking-\[-0\.015em\] {
    --tw-tracking: -.015em;
    letter-spacing: -.015em;
  }

  .tracking-wide {
    --tw-tracking: var(--tracking-wide);
    letter-spacing: var(--tracking-wide);
  }

  .text-balance {
    text-wrap: balance;
  }

  .text-pretty {
    text-wrap: pretty;
  }

  .break-words {
    overflow-wrap: break-word;
  }

  .whitespace-nowrap {
    white-space: nowrap;
  }

  .text-band-ink {
    color: var(--color-band-ink);
  }

  .text-band-muted {
    color: var(--color-band-muted);
  }

  .text-brand-ink {
    color: var(--color-brand-ink);
  }

  .text-ink {
    color: var(--color-ink);
  }

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

  .text-on-brand {
    color: var(--color-on-brand);
  }

  .uppercase {
    text-transform: uppercase;
  }

  .not-italic {
    font-style: normal;
  }

  .tabular-nums {
    --tw-numeric-spacing: tabular-nums;
    font-variant-numeric: var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, );
  }

  .underline {
    text-decoration-line: underline;
  }

  .underline-offset-4 {
    text-underline-offset: 4px;
  }

  .accent-brand {
    accent-color: var(--color-brand);
  }

  .opacity-0 {
    opacity: 0;
  }

  .opacity-100 {
    opacity: 1;
  }

  .shadow-card {
    --tw-shadow: 0 30px 60px -40px var(--tw-shadow-color, #00000059);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .ring, .ring-1 {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .inset-ring-1 {
    --tw-inset-ring-shadow: inset 0 0 0 1px var(--tw-inset-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .inset-ring-\[1\.5px\] {
    --tw-inset-ring-shadow: inset 0 0 0 1.5px var(--tw-inset-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .ring-rule {
    --tw-ring-color: var(--color-rule);
  }

  .inset-ring-band-muted {
    --tw-inset-ring-color: var(--color-band-muted);
  }

  .inset-ring-field-border {
    --tw-inset-ring-color: var(--color-field-border);
  }

  .inset-ring-ink {
    --tw-inset-ring-color: var(--color-ink);
  }

  .transition-colors {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-opacity {
    transition-property: opacity;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .duration-300 {
    --tw-duration: .3s;
    transition-duration: .3s;
  }

  .placeholder\:text-muted::placeholder {
    color: var(--color-muted);
  }

  @media (hover: hover) {
    .hover\:bg-brand-hover:hover {
      background-color: var(--color-brand-hover);
    }

    .hover\:bg-raised:hover {
      background-color: var(--color-raised);
    }

    .hover\:text-band-muted:hover {
      color: var(--color-band-muted);
    }

    .hover\:text-brand-ink:hover {
      color: var(--color-brand-ink);
    }

    .hover\:text-ink:hover {
      color: var(--color-ink);
    }

    .hover\:inset-ring-band-ink:hover {
      --tw-inset-ring-color: var(--color-band-ink);
    }

    .hover\:inset-ring-brand-ink:hover {
      --tw-inset-ring-color: var(--color-brand-ink);
    }
  }

  .focus\:not-sr-only:focus {
    clip-path: none;
    white-space: normal;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    position: static;
    overflow: visible;
  }

  .focus\:fixed:focus {
    position: fixed;
  }

  .focus\:top-4:focus {
    top: calc(var(--spacing) * 4);
  }

  .focus\:left-4:focus {
    left: calc(var(--spacing) * 4);
  }

  .focus\:z-50:focus {
    z-index: 50;
  }

  .focus\:rounded-md:focus {
    border-radius: var(--radius-md);
  }

  .focus\:bg-ink:focus {
    background-color: var(--color-ink);
  }

  .focus\:px-4:focus {
    padding-inline: calc(var(--spacing) * 4);
  }

  .focus\:py-2:focus {
    padding-block: calc(var(--spacing) * 2);
  }

  .focus\:text-page:focus {
    color: var(--color-page);
  }

  .focus-visible\:border-brand-ink:focus-visible {
    border-color: var(--color-brand-ink);
  }

  .focus-visible\:outline-none:focus-visible {
    --tw-outline-style: none;
    outline-style: none;
  }

  .has-checked\:bg-ink:has(:checked) {
    background-color: var(--color-ink);
  }

  .has-checked\:text-surface:has(:checked) {
    color: var(--color-surface);
  }

  .has-checked\:inset-ring-ink:has(:checked) {
    --tw-inset-ring-color: var(--color-ink);
  }

  .has-focus-visible\:outline-2:has(:focus-visible) {
    outline-style: var(--tw-outline-style);
    outline-width: 2px;
  }

  .has-focus-visible\:outline-offset-3:has(:focus-visible) {
    outline-offset: 3px;
  }

  .has-focus-visible\:outline-brand-ink:has(:focus-visible) {
    outline-color: var(--color-brand-ink);
  }

  .aria-\[current\=page\]\:border-brand[aria-current="page"] {
    border-color: var(--color-brand);
  }

  .aria-\[current\=page\]\:text-ink[aria-current="page"] {
    color: var(--color-ink);
  }

  .aria-\[current\=page\]\:shadow-\[inset_0_-3px_0_var\(--color-brand\)\][aria-current="page"] {
    --tw-shadow: inset 0 -3px 0 var(--tw-shadow-color, var(--color-brand));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  @media (min-width: 40rem) {
    .sm\:col-span-2 {
      grid-column: span 2 / span 2;
    }

    .sm\:mx-0 {
      margin-inline: 0;
    }

    .sm\:h-\[440px\] {
      height: 440px;
    }

    .sm\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm\:grid-cols-\[minmax\(130px\,max-content\)_minmax\(0\,1fr\)\] {
      grid-template-columns: minmax(130px, max-content) minmax(0, 1fr);
    }

    .sm\:px-0 {
      padding-inline: 0;
    }

    .sm\:px-10 {
      padding-inline: calc(var(--spacing) * 10);
    }

    .sm\:py-24 {
      padding-block: calc(var(--spacing) * 24);
    }

    .sm\:pt-16 {
      padding-top: calc(var(--spacing) * 16);
    }

    .sm\:pt-\[72px\] {
      padding-top: 72px;
    }
  }

  @media (min-width: 48rem) {
    .md\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (min-width: 64rem) {
    .lg\:ml-0 {
      margin-left: 0;
    }

    .lg\:block {
      display: block;
    }

    .lg\:flex {
      display: flex;
    }

    .lg\:hidden {
      display: none;
    }

    .lg\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lg\:gap-x-8 {
      column-gap: calc(var(--spacing) * 8);
    }

    .lg\:pb-\[104px\] {
      padding-bottom: 104px;
    }
  }

  @media (min-width: 80rem) {
    .xl\:inline {
      display: inline;
    }

    .xl\:gap-x-9 {
      column-gap: calc(var(--spacing) * 9);
    }

    .xl\:gap-x-12 {
      column-gap: calc(var(--spacing) * 12);
    }
  }

  .dark\:block:where([data-theme="dark"], [data-theme="dark"] *) {
    display: block;
  }

  .dark\:hidden:where([data-theme="dark"], [data-theme="dark"] *) {
    display: none;
  }
}

@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-leading {
  syntax: "*";
  inherits: false
}

@property --tw-tracking {
  syntax: "*";
  inherits: false
}

@property --tw-ordinal {
  syntax: "*";
  inherits: false
}

@property --tw-slashed-zero {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-figure {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-spacing {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-fraction {
  syntax: "*";
  inherits: false
}

@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-ring-inset {
  syntax: "*";
  inherits: false
}

@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}

@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-duration {
  syntax: "*";
  inherits: false
}

/* La galerie de réalisations des pages de produits : les photos d'exemples (images/<catégorie>/), en grille, chacune
   sur un fond blanc avec sa légende. Sur la page « Tous », elles sont groupées par catégorie (.gallery-group). */
@layer components {
  .gallery {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }

  .gallery-group {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .gallery-grid {
    display: grid;
    /* Two photos across on a phone, about 220px each on a larger screen. */
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  @media (min-width: 40rem) {
    .gallery-grid {
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 2rem 1.5rem;
    }
  }

  .gallery-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0;
  }

  .gallery-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    background: var(--color-paper);
    box-shadow: 0 0 0 1px var(--color-rule);
  }

  /* The photos are small (208 × 220): never shown larger than they are. */
  .gallery-frame img {
    display: block;
    width: 80%;
    max-width: 208px;
    height: auto;
  }

  .gallery-item figcaption {
    font-size: 15px;
    line-height: 1.45;
    color: var(--color-muted);
    text-wrap: pretty;
  }
}

/* Les pages légales (politique de confidentialité, conditions d'utilisation) : un long texte en colonne de lecture,
   des intertitres numérotés, des listes à puces. Et, au bas de chaque page, la ligne du droit d'auteur avec leurs liens
   (.footer-legal) ; sous le formulaire de soumission, l'avis sur l'usage des renseignements (.form-privacy). */
@layer components {
  .legal-page {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding-top: 3rem;
    padding-bottom: 104px;
  }

  @media (min-width: 40rem) {
    .legal-page {
      padding-top: 4rem;
    }
  }

  .legal-head {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .legal-updated {
    font-size: 15px;
    color: var(--color-muted);
  }

  .legal {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 46rem;
    font-size: 17px;
    line-height: 1.65;
  }

  .legal section {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
  }

  .legal h2 {
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-wrap: balance;
  }

  .legal p,
  .legal li {
    text-wrap: pretty;
  }

  .legal ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 1.25rem;
    list-style: disc;
  }

  .legal li::marker {
    color: var(--color-muted);
  }

  .legal a,
  .form-privacy a {
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 150ms;
  }

  .legal a:hover,
  .form-privacy a:hover {
    color: var(--color-brand-ink);
  }

  .legal code {
    font-size: 0.9em;
    padding: 0.1em 0.35em;
    border-radius: 4px;
    background: var(--color-raised);
  }

  .footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 1.5rem;
    font-size: 13px;
    color: var(--color-muted);
  }

  .footer-legal nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
  }

  .footer-legal a,
  .footer-legal button {
    transition: color 150ms;
  }

  .footer-legal a:hover,
  .footer-legal button:hover {
    color: var(--color-brand-ink);
  }

  .footer-legal button {
    cursor: pointer;
  }

  .footer-legal a[aria-current="page"] {
    color: var(--color-ink);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .form-privacy {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-muted);
  }
}

/* Les heures d'ouverture de la page Nous joindre : les jours à gauche, les heures à droite. */
@layer components {
  .hours {
    display: grid;
    /* The days wrap before the hours do, where the column is narrow. */
    grid-template-columns: minmax(0, max-content) max-content;
    gap: 0.125rem 1rem;
    margin: 0;
  }

  .hours dd {
    margin: 0;
    font-variant-numeric: tabular-nums;
  }
}

/* Le carrousel de produits de l'accueil, juste sous l'en-tête : une rangée de photos, quatre à la fois (deux sur un
   téléphone : --per-view), qui avance toute seule de quatre en quatre, ou au doigt, ou par ses flèches ; chaque photo
   mène à sa catégorie. Les plaques découpées et les produits en aluminium d'abord. Sur un téléphone, la rangée déborde
   jusqu'aux bords de l'écran. */
@layer components {
  .carousel {
    border-bottom: 1px solid var(--color-rule);
  }

  .carousel-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-block: 1.5rem 1.75rem;
  }

  .carousel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .carousel-title {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }

  .carousel-head-end {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  /* On a phone the title and the three buttons fill the row: the link to all the products is in the menu, and under
     the plate. */
  .carousel-all {
    display: none;
    margin-right: 0.5rem;
    font-size: 15px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 150ms;
  }

  @media (min-width: 40rem) {
    .carousel-all {
      display: inline;
    }
  }

  .carousel-all:hover {
    color: var(--color-brand-ink);
  }

  .carousel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--color-surface);
    color: var(--color-ink);
    box-shadow: inset 0 0 0 1px var(--color-rule);
    transition: color 150ms, box-shadow 150ms;
  }

  .carousel-button:hover:not(:disabled) {
    color: var(--color-brand-ink);
    box-shadow: inset 0 0 0 1px var(--color-brand-ink);
  }

  .carousel-button:disabled {
    opacity: 0.4;
    cursor: default;
  }

  .carousel-track {
    --per-view: 2;
    display: flex;
    gap: 1rem;
    margin: 0 -1.25rem;
    padding: 2px 1.25rem;
    list-style: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1.25rem;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }

  .carousel-track::-webkit-scrollbar {
    display: none;
  }

  @media (min-width: 40rem) {
    .carousel-track {
      margin: 0;
      padding: 2px;
      scroll-padding-inline: 2px;
    }
  }

  @media (min-width: 48rem) {
    .carousel-track {
      --per-view: 4;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .carousel-track {
      scroll-behavior: auto;
    }
  }

  /* --per-view photos fill the width of the row, with their gaps. */
  .carousel-slide {
    flex: 0 0 auto;
    width: calc((100% - (var(--per-view) - 1) * 1rem) / var(--per-view));
    scroll-snap-align: start;
  }

  .carousel-slide a {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .carousel-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--color-paper);
    box-shadow: 0 0 0 1px var(--color-rule);
    transition: box-shadow 150ms;
  }

  .carousel-slide a:hover .carousel-frame {
    box-shadow: 0 0 0 2px var(--color-brand-ink);
  }

  @media (min-width: 48rem) {
    .carousel-frame {
      aspect-ratio: 4 / 3;
    }
  }

  /* The photos are small (208 × 220): never shown larger than they are. */
  .carousel-frame img {
    display: block;
    width: auto;
    height: auto;
    max-width: 82%;
    max-height: 84%;
  }

  /* The pause button shows what it will do: pause while the strip moves, play while it is stopped. */
  [data-carousel-toggle][data-state="playing"] .carousel-icon-play,
  [data-carousel-toggle]:not([data-state="playing"]) .carousel-icon-pause {
    display: none;
  }

  .carousel-caption {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-wrap: pretty;
  }

  .carousel-slide a:hover .carousel-caption {
    color: var(--color-brand-ink);
  }

  .carousel-category {
    font-size: 13px;
    color: var(--color-muted);
  }
}

/* Le logo de l'en-tête, du pied de page et de la page 404, en deux versions (mode clair, mode sombre). */
@layer components {
  .site-logo {
    width: auto;
    height: 44px;
  }

  @media (min-width: 40rem) {
    .site-logo {
      height: 52px;
    }
  }
}

/* L'accueil, sous la plaque : un mot sur l'entreprise (le reste est sur la page À propos), puis quelques produits, ceux
   que la page des produits détaille, chacun menant à sa fiche. */
@layer components {
  .home-more {
    display: flex;
    flex-direction: column;
    gap: 5.5rem;
    padding-block: 6rem 6.5rem;
  }

  .home-intro {
    display: grid;
    gap: 1.5rem 4rem;
  }

  @media (min-width: 64rem) {
    .home-intro {
      grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
      align-items: baseline;
    }
  }

  .home-intro-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .home-link {
    font-size: 1rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 150ms;
  }

  .home-link:hover {
    color: var(--color-brand-ink);
  }

  .featured {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }

  .featured-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem 4rem;
  }

  .featured-grid {
    display: grid;
    gap: 3rem 2rem;
    list-style: none;
  }

  @media (min-width: 48rem) {
    .featured-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  .featured-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .featured-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    margin-bottom: 0.5rem;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--color-paper);
    box-shadow: 0 0 0 1px var(--color-rule);
    transition: box-shadow 150ms;
  }

  /* The photos are small: never shown larger than they are. */
  .featured-frame img {
    display: block;
    width: auto;
    height: auto;
    max-width: 76%;
    max-height: 82%;
  }

  .featured-title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.25;
    text-wrap: balance;
    transition: color 150ms;
  }

  /* The whole card is the link of its title. */
  .featured-title a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
  }

  .featured-title a:focus-visible {
    outline: none;
  }

  .featured-title a:focus-visible::after {
    outline: 2px solid var(--color-brand-ink);
    outline-offset: 3px;
  }

  .featured-card:hover .featured-frame {
    box-shadow: 0 0 0 2px var(--color-brand-ink);
  }

  .featured-card:hover .featured-title {
    color: var(--color-brand-ink);
  }

  .featured-text {
    max-width: 34rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-muted);
    text-wrap: pretty;
  }

  /* The heading of the About page: its title, and a line beside it. */
  .about-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem 4rem;
    padding-block: 3rem 3.5rem;
  }

  @media (min-width: 40rem) {
    .about-head {
      padding-block: 4rem;
    }
  }
}

/* Le consentement aux témoins (js/site.js) : un bandeau au bas de l'écran à la première visite, « Tout refuser » et
   « Tout accepter » de même poids, et une fenêtre de choix, que le bouton « Paramètres des témoins » du pied de page
   rouvre en tout temps. */
@layer components {
  .consent-banner {
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    padding: 0 0.75rem 0.75rem;
    pointer-events: none;
  }

  .consent-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 2rem;
    max-width: 68rem;
    margin-inline: auto;
    padding: 1.125rem 1.25rem;
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    color: var(--color-ink);
    box-shadow: 0 0 0 1px var(--color-rule), 0 12px 32px rgb(0 0 0 / 0.2);
    pointer-events: auto;
  }

  .consent-body {
    display: flex;
    flex: 1 1 26rem;
    flex-direction: column;
    gap: 0.375rem;
  }

  .consent-title {
    font-size: 1rem;
    font-weight: 800;
  }

  .consent-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-muted);
    text-wrap: pretty;
  }

  .consent-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.625rem;
  }

  /* Refusing and accepting look the same: neither is pushed. */
  .consent-button {
    min-height: 44px;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    background: var(--color-ink);
    color: var(--color-surface);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: opacity 150ms;
  }

  .consent-button:hover {
    opacity: 0.85;
  }

  .consent-button-quiet {
    background: transparent;
    color: var(--color-ink);
    box-shadow: inset 0 0 0 1.5px var(--color-ink);
  }

  .consent-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.625rem 0.375rem;
    font-size: 15px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color 150ms;
  }

  .consent-link:hover {
    color: var(--color-brand-ink);
  }

  /* On a phone, the two buttons share the row. */
  @media (max-width: 39.99rem) {
    .consent-banner .consent-actions {
      width: 100%;
    }

    .consent-banner .consent-button {
      flex: 1 1 calc(50% - 0.3125rem);
    }
  }

  .consent-dialog {
    width: min(34rem, calc(100% - 2rem));
    max-height: calc(100dvh - 2rem);
    margin: auto;
    padding: 0;
    overflow: auto;
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    color: var(--color-ink);
    box-shadow: 0 0 0 1px var(--color-rule), 0 24px 48px rgb(0 0 0 / 0.3);
  }

  .consent-dialog::backdrop {
    background: rgb(0 0 0 / 0.5);
  }

  .consent-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem 1.5rem;
  }

  .consent-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .consent-dialog-title {
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1.2;
  }

  .consent-close {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: -0.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color 150ms, color 150ms;
  }

  .consent-close:hover {
    background: var(--color-raised);
    color: var(--color-brand-ink);
  }

  .consent-intro {
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-muted);
  }

  .consent-category {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-rule);
  }

  .consent-category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 44px;
    font-size: 16px;
    font-weight: 700;
  }

  label.consent-category-head {
    cursor: pointer;
  }

  .consent-always {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-muted);
  }

  .consent-check {
    flex: none;
    width: 22px;
    height: 22px;
    accent-color: var(--color-brand);
    cursor: pointer;
  }

  .consent-category-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-muted);
    text-wrap: pretty;
  }

  .consent-dialog .consent-actions {
    padding-top: 0.5rem;
  }
}

/* Les photos de produits prises en 2026 : grandes, elles remplissent leur cadre, dans la fiche d'un produit
   (.product-frame), la galerie, le carrousel et l'accueil. Détourée sur fond blanc (.photo-fit), la photo s'y loge
   entière, son blanc fondu dans celui du cadre ; prise en place, sur son mur (.photo-fill), elle le couvre. Les
   anciennes photos, petites, gardent leur taille. */
@layer components {
  .product-frame,
  .gallery-frame {
    overflow: hidden;
  }

  :is(.product-frame, .gallery-frame, .carousel-frame, .featured-frame) img:is(.photo-fit, .photo-fill) {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
  }

  :is(.product-frame, .gallery-frame, .carousel-frame, .featured-frame) img.photo-fit {
    object-fit: contain;
  }

  :is(.product-frame, .gallery-frame, .carousel-frame, .featured-frame) img.photo-fill {
    object-fit: cover;
  }
}
