/*
  Linea Ceramica : surcouche maintenue à la main.
  Chargée après les CSS exportés par Webflow (normalize, webflow, linea-ceramica-*.webflow.css),
  elle contient uniquement les corrections et ajouts faits en local.
*/

:root {
  --lc-ease-out: cubic-bezier(.22, .61, .36, 1);
  --lc-ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --lc-duration-fast: .2s;
  --lc-duration: .35s;
}

/* ---------------------------------------------------------------
   Ancres et liens
   --------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* La barre de navigation est sticky : on évite qu'elle masque le haut des sections ciblées. */
[id] {
  scroll-margin-top: 96px;
}

/* Liens en attente de destination (<a> sans href) : pas d'apparence cliquable. */
a.lc-footer_bar-link:not([href]),
a.lc-footer_link:not([href]) {
  cursor: default;
}

a.category-card:not([href]) {
  cursor: default;
  pointer-events: none;
}

/* Page 404 */
.utility-page-wrap {
  min-height: 100vh;
  height: auto;
  padding: 48px 24px;
}

.utility-page-content {
  align-items: center;
  row-gap: 16px;
  width: min(100%, 440px);
}

.utility-page_logo img {
  display: block;
  width: 200px;
  height: auto;
  margin-bottom: 24px;
}

.utility-page_actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

/* ---------------------------------------------------------------
   Navigation
   Entre 992 et 1279 px, l'export gardait le padding desktop (100 px
   de chaque côté) et 40 px entre les liens : à 1024 px il ne restait
   plus aucun espace et « Nous contacter » passait sur deux lignes.
   --------------------------------------------------------------- */

._01-navigation {
  column-gap: 24px;
}

.text-4 {
  white-space: nowrap;
}

/* Le burger est désormais un vrai <button> (au lieu d'un div role="button"). */
.nav-burger {
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  color: inherit;
}

.nav-burger:focus-visible {
  outline: 2px solid #1c1b19;
  outline-offset: 3px;
}

/* Bloque le défilement de la page pendant que le menu mobile est ouvert. */
html.is-menu-open {
  overflow: hidden;
}

/* Le logo et le bouton s'alignent sur la marge du contenu : la barre est décalée
   du bord de --lc-nav-margin, son padding complète jusqu'à la marge de page. */
._01-navigation {
  --lc-nav-margin: 24px;
  padding-left: max(16px, calc(var(--espacements--marge-page) - var(--lc-nav-margin)));
  padding-right: max(16px, calc(var(--espacements--marge-page) - var(--lc-nav-margin)));
}

@media screen and (max-width: 991px) {
  ._01-navigation {
    --lc-nav-margin: 16px;
  }
}

/* Valeurs fluides : compactes à 992 px, identiques à l'export à 1280 px (pas de saut au seuil). */
@media screen and (min-width: 992px) and (max-width: 1279px) {
  .navigation-links {
    column-gap: clamp(22px, 22px + (100vw - 992px) * .063, 40px);
  }

  .primary-button > a {
    padding: 14px clamp(20px, 20px + (100vw - 992px) * .042, 32px);
  }
}

/* ---------------------------------------------------------------
   Galerie à défilement infini (accueil) — voir js/marquee.js
   --------------------------------------------------------------- */

.section_marquee {
  padding-top: var(--espacements--section);
  background-color: var(--couleurs--blanc-optique);
  overflow: hidden;
}

/* La galerie précède « À propos » : on évite un double espacement. */
.section_marquee + .section_about {
  padding-top: 72px;
}

.marquee {
  --marquee-gap: 16px;
  --marquee-height: clamp(200px, 24vw, 340px);
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #1c1b19 6%, #1c1b19 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #1c1b19 6%, #1c1b19 94%, transparent 100%);
}

.marquee::-webkit-scrollbar {
  display: none;
}

.marquee_track {
  display: flex;
  width: max-content;
}

.marquee_group {
  display: flex;
  flex-shrink: 0;
  gap: var(--marquee-gap);
  margin: 0;
  padding: 0 var(--marquee-gap) 0 0;
  list-style: none;
}

.marquee_item {
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4px;
  background-color: var(--couleurs--cool-gray);
}

.marquee_image {
  display: block;
  width: auto;
  height: var(--marquee-height);
  max-width: none;
  object-fit: cover;
}

/* Animation active seulement quand le script a dupliqué les images. */
.marquee.is-animated {
  overflow-x: hidden;
}

.marquee.is-animated .marquee_track {
  animation: lc-marquee var(--marquee-duration, 80s) linear infinite;
  will-change: transform;
}

.marquee.is-paused .marquee_track,
.marquee.is-offscreen .marquee_track {
  animation-play-state: paused;
}

@media (hover: hover) {
  .marquee.is-animated:hover .marquee_track {
    animation-play-state: paused;
  }
}

@keyframes lc-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-1 * var(--marquee-distance, 50%)), 0, 0);
  }
}

/* Mouvement réduit : bande défilable à la main, sans copies. */
.marquee.is-static {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.marquee.is-static .marquee_track {
  animation: none;
}

.marquee.is-static .marquee_group[data-clone] {
  display: none;
}

.marquee.is-static .marquee_item {
  scroll-snap-align: start;
}

@media (prefers-reduced-motion: reduce) {
  .marquee_track {
    animation: none !important;
  }
}

.marquee_controls {
  display: flex;
  justify-content: flex-end;
  padding: 16px var(--espacements--marge-page) 0;
}

.marquee_toggle {
  display: inline-flex;
  align-items: center;
  column-gap: 10px;
  padding: 8px 4px;
  border: 0;
  background: none;
  font-family: var(--polices--texte);
  color: var(--couleurs--anthracite);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--lc-duration-fast) var(--lc-ease-out);
}

.marquee_toggle[hidden] {
  display: none;
}

.marquee_toggle:hover {
  color: var(--couleurs--noir-pur);
}

.marquee_toggle:focus-visible {
  outline: 2px solid var(--couleurs--noir-pur);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Icône pause (deux barres) / lecture (triangle) dessinée en CSS. */
.marquee_toggle-icon {
  position: relative;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.marquee_toggle-icon::before,
.marquee_toggle-icon::after {
  content: "";
  position: absolute;
  top: 0;
  width: 3px;
  height: 10px;
  background-color: currentColor;
  transition: transform var(--lc-duration-fast) var(--lc-ease-out), opacity var(--lc-duration-fast) var(--lc-ease-out);
}

.marquee_toggle-icon::before {
  left: 1px;
}

.marquee_toggle-icon::after {
  right: 1px;
}

.marquee_toggle[aria-pressed="true"] .marquee_toggle-icon::before {
  left: 1px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 9px;
  border-color: transparent transparent transparent currentColor;
  background: none;
}

.marquee_toggle[aria-pressed="true"] .marquee_toggle-icon::after {
  opacity: 0;
}

@media screen and (max-width: 991px) {
  .section_marquee {
    padding-top: 72px;
  }

  .marquee_controls {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media screen and (max-width: 767px) {
  .marquee {
    --marquee-gap: 12px;
    --marquee-height: clamp(180px, 52vw, 240px);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .section_marquee {
    padding-top: 56px;
  }

  .section_marquee + .section_about {
    padding-top: 56px;
  }

  .marquee_controls {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ---------------------------------------------------------------
   Micro-interactions
   Effets courts (200–600 ms), même courbe que les boutons de l'export.
   --------------------------------------------------------------- */

/* Liens de navigation desktop : soulignement qui se trace depuis la gauche. */
.navigation-links .text-3 {
  position: relative;
  padding: 6px 0;
  transition: color var(--lc-duration-fast) var(--lc-ease-out);
}

.navigation-links .text-3::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--lc-duration) var(--lc-ease-out);
}

.navigation-links a:hover .text-3,
.navigation-links a:focus-visible .text-3 {
  color: #1c1b19;
}

.navigation-links a:hover .text-3::after,
.navigation-links a:focus-visible .text-3::after,
.navigation-links a.w--current .text-3::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.navigation-links a:focus-visible,
.logo-group a:focus-visible,
.primary-button a:focus-visible,
.nav-menu_link:focus-visible,
.footer a[href]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
}

.navigation-links a:focus-visible,
.logo-group a:focus-visible,
.nav-menu_link:focus-visible {
  outline-color: #1c1b19;
}

.primary-button a:focus-visible {
  outline-color: #1c1b19;
  outline-offset: 3px;
}

/* Lien « Explorer les catégories » : la flèche accompagne le survol. */
.hero_link::after {
  display: inline-block;
  transition: transform var(--lc-duration) var(--lc-ease-out);
}

.hero_link:hover::after {
  transform: translateY(3px);
}

/* Cartes « Accès rapide » : la photo s'approche légèrement au survol de la carte. */
.access-card_thumb .image_cover {
  transition: transform .6s var(--lc-ease-out);
}

@media (hover: hover) {
  .access-card:hover .access-card_thumb .image_cover {
    transform: scale(1.04);
  }
}

.access-card:focus-within .access-card_thumb .image_cover {
  transform: scale(1.04);
}

/* Menu mobile : les liens apparaissent en cascade à l'ouverture. */
.nav-menu_link,
.nav-menu_cta {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .25s var(--lc-ease-out), transform .3s var(--lc-ease-out), background-color var(--lc-duration-fast), color var(--lc-duration-fast), box-shadow var(--lc-duration-fast);
}

.nav-menu.is-open .nav-menu_link,
.nav-menu.is-open .nav-menu_cta {
  opacity: 1;
  transform: none;
}

.nav-menu.is-open .nav-menu_link:nth-child(1) { transition-delay: 40ms, 40ms, 0s, 0s, 0s; }
.nav-menu.is-open .nav-menu_link:nth-child(2) { transition-delay: 70ms, 70ms, 0s, 0s, 0s; }
.nav-menu.is-open .nav-menu_link:nth-child(3) { transition-delay: 100ms, 100ms, 0s, 0s, 0s; }
.nav-menu.is-open .nav-menu_link:nth-child(4) { transition-delay: 130ms, 130ms, 0s, 0s, 0s; }
.nav-menu.is-open .nav-menu_link:nth-child(5) { transition-delay: 160ms, 160ms, 0s, 0s, 0s; }
.nav-menu.is-open .nav-menu_cta { transition-delay: 200ms, 200ms, 0s, 0s, 0s; }

.nav-menu.is-open .nav-menu_cta:active {
  transform: scale(.97);
}

/* Apparition au défilement — classes posées par js/reveal.js uniquement. */
.lc-reveal .lc-reveal-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--lc-ease-out), transform .7s var(--lc-ease-out);
  transition-delay: var(--lc-reveal-delay, 0s);
}

.lc-reveal .lc-reveal-item.is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .navigation-links .text-3::after,
  .hero_link::after,
  .access-card_thumb .image_cover,
  .nav-menu_link,
  .nav-menu_cta,
  .lc-reveal .lc-reveal-item {
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }

  .hero_link:hover::after,
  .access-card:hover .access-card_thumb .image_cover,
  .access-card:focus-within .access-card_thumb .image_cover {
    transform: none;
  }
}

/* ---------------------------------------------------------------
   Formulaire de contact — voir js/contact-form.js
   --------------------------------------------------------------- */

.contact-form_fields {
  position: relative;
}

.contact-form_required {
  color: var(--couleurs--gris-discret);
}

.contact-form_input[aria-invalid="true"] {
  border-color: #b42318;
}

.contact-form_input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px #b4231824;
}

.contact-form_error {
  margin: 0;
  font-family: var(--polices--texte);
  color: #b42318;
  font-size: 12px;
  line-height: 1.4;
}

.contact-form_note {
  grid-column: 1 / 3;
  margin: -12px 0 0;
  font-family: var(--polices--texte);
  color: var(--couleurs--gris-discret);
  font-size: 12px;
  line-height: 1.5;
}

/* Champ piège anti-spam : hors écran pour les humains, rempli par les robots. */
.contact-form_hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form_submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  column-gap: 10px;
  border: 0;
}

.contact-form_submit:disabled {
  cursor: progress;
  opacity: .85;
  transform: none;
  box-shadow: 0 2px 6px -2px #1c1b192e;
}

.contact-form_spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid #faf8f559;
  border-top-color: var(--couleurs--blanc-optique);
  border-radius: 50%;
  animation: lc-spin .8s linear infinite;
}

.contact-form_submit.is-loading .contact-form_spinner {
  display: block;
}

@keyframes lc-spin {
  to {
    transform: rotate(360deg);
  }
}

/* États de l'envoi : réutilise les blocs Webflow .w-form-done / .w-form-fail. */
.contact-form .w-form-done,
.contact-form .w-form-fail {
  border-radius: 4px;
  font-family: var(--polices--texte);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.contact-form .w-form-done {
  padding: 24px;
  border: 1px solid var(--couleurs--bordure);
  background-color: var(--couleurs--blanc-optique);
  color: var(--couleurs--noir-pur);
  outline: none;
  animation: lc-fade-in .4s var(--lc-ease-out);
}

.contact-form .w-form-fail {
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px solid #b4231833;
  background-color: #fef3f2;
  color: #912018;
}

@keyframes lc-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

@media screen and (max-width: 767px) {
  .contact-form_note {
    grid-column: auto;
    margin-top: -8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-form_spinner {
    animation-duration: 2s;
  }

  .contact-form .w-form-done {
    animation: none;
  }
}

/* ===============================================================
   Phase 2 — mise en page
   =============================================================== */

/* ---------------------------------------------------------------
   Rythme global : marges latérales et espacement vertical fluides.
   L'export figeait la marge à 80 px jusqu'à 480 px de large, et
   mélangeait 48 px (catalogue) et 80 px (autres sections).
   --------------------------------------------------------------- */

:root {
  --espacements--marge-page: clamp(20px, 6vw, 80px);
  --espacements--section: clamp(64px, 8vw, 104px);
  --lc-radius: 6px;
  --lc-card-gap: clamp(16px, 2vw, 28px);
}

.padding-global.is-compact,
.padding-global.is-contact {
  padding-left: var(--espacements--marge-page);
  padding-right: var(--espacements--marge-page);
}

.container.is-stack.is-wide {
  max-width: 1280px;
}

.section-header {
  row-gap: 12px;
  max-width: 640px;
}

.heading_h2.is-compact {
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -.01em;
}

/* ---------------------------------------------------------------
   Accès rapide : cartes verticales (photo, titre, texte, action)
   4 colonnes ≥ 1200 px, 2 colonnes ≥ 600 px, 1 colonne en dessous.
   --------------------------------------------------------------- */

.quick-access_grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--lc-card-gap);
}

.access-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 12px;
  border-radius: var(--lc-radius);
  background-color: var(--couleurs--blanc-optique);
  transition: border-color var(--lc-duration) var(--lc-ease-out), box-shadow .5s var(--lc-ease-out), transform .5s var(--lc-ease-out);
}

.access-card_gallery {
  order: -1;
  display: block;
  height: auto;
}

.access-card_thumb:first-child {
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 0;
  border-radius: 3px;
}

.access-card_header {
  align-items: baseline;
  padding: 22px 10px 0;
}

.access-card .heading_h4 {
  font-size: clamp(20px, 1.6vw, 22px);
  letter-spacing: -.01em;
}

.access-card_index {
  font-family: var(--polices--texte);
  color: var(--couleurs--gris-discret);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
}

.access-card .text_regular {
  padding: 10px 10px 0;
  font-size: 14px;
  line-height: 1.6;
}

.access-card_footer {
  align-self: stretch;
  margin-top: auto;
  padding: 24px 10px 10px;
}

/* Toute la carte mène à la page catégorie : le lien « Consulter » s'étend sur la carte. */
.access-card .button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--lc-radius);
}

@media (hover: hover) {
  .access-card:hover {
    border-color: #1c1b192e;
    box-shadow: 0 24px 48px -32px #1c1b194d;
    transform: translateY(-3px);
  }
}

.access-card:focus-within {
  border-color: #1c1b1959;
}

@media screen and (max-width: 1199px) {
  .quick-access_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .access-card_thumb:first-child {
    aspect-ratio: 16 / 10;
  }
}

@media screen and (max-width: 991px) {
  .access-card {
    flex-basis: auto;
    padding: 12px;
  }
}

@media screen and (max-width: 767px) {
  .access-card {
    display: flex;
    padding: 10px;
  }

  .access-card_gallery {
    grid-area: auto;
  }

  .access-card_header {
    padding: 18px 8px 0;
  }

  .access-card .text_regular {
    padding: 8px 8px 0;
  }

  .access-card_footer {
    padding: 20px 8px 8px;
  }
}

@media screen and (max-width: 599px) {
  .quick-access_grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Un transform sur le bouton rétrécirait la zone cliquable étendue à la carte. */
.access-card .button,
.access-card .button:hover,
.access-card .button:active {
  transform: none;
}

/* ---------------------------------------------------------------
   Pages catégorie : grille du catalogue alignée sur les autres
   sections (même marge que la bande « Commande » et le footer).
   --------------------------------------------------------------- */

.section_catalogue {
  padding-left: var(--espacements--marge-page);
  padding-right: var(--espacements--marge-page);
  padding-bottom: var(--espacements--section);
}

.catalogue_header {
  row-gap: 12px;
  margin-bottom: clamp(28px, 3vw, 44px);
  padding-top: clamp(36px, 4vw, 56px);
}

.catalogue_grid {
  gap: clamp(32px, 3.4vw, 48px) var(--lc-card-gap);
}

.category-card {
  row-gap: 18px;
}

.category-card_image {
  border-radius: var(--lc-radius);
}

.category-card_label {
  padding-bottom: 16px;
  font-size: clamp(16px, 1.4vw, 19px);
}

/* Les cartes actives (avec href) répondent au survol ; les cartes en attente restent neutres. */
.category-card[href] .category-card_label::after {
  transition: transform var(--lc-duration) var(--lc-ease-out);
}

.category-card[href]:hover .category-card_label::after,
.category-card[href]:focus-visible .category-card_label::after {
  transform: translateX(4px);
}

.category-card[href]:focus-visible {
  outline: 2px solid var(--couleurs--noir-pur);
  outline-offset: 6px;
  border-radius: 2px;
}

@media screen and (max-width: 767px) {
  .catalogue_grid {
    gap: 28px 16px;
  }

  .category-card {
    row-gap: 12px;
  }

  .category-card_label {
    padding-bottom: 12px;
    font-size: 15px;
  }
}

@media screen and (max-width: 359px) {
  .catalogue_grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .category-card_image {
    aspect-ratio: 16 / 9;
  }
}

/* Bande « Vous souhaitez effectuer une commande ? » */
.section_contact-cta {
  padding-top: clamp(48px, 5.5vw, 72px);
  padding-bottom: clamp(48px, 5.5vw, 72px);
}

.contact-cta_copy {
  row-gap: 12px;
}

.contact-cta_copy .text_regular {
  max-width: 560px;
  font-size: 14px;
}

.section_contact-cta .container.is-row .button {
  flex-shrink: 0;
}

@media screen and (max-width: 767px) {
  .section_contact-cta .container.is-row {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 24px;
  }
}

@media screen and (max-width: 479px) {
  .section_contact-cta .container.is-row {
    align-items: stretch;
  }
}

/* ---------------------------------------------------------------
   À propos : titre à gauche, texte et liste à droite (≥ 992 px),
   lignes de lecture limitées (le paragraphe faisait 1 265 px).
   --------------------------------------------------------------- */

.section_about .container.is-stack {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(48px, 6vw, 96px);
  row-gap: 32px;
  align-items: start;
}

.section_about .section-header {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.section_about .container > .text_large,
.section_about .about_list {
  grid-column: 2;
  max-width: 640px;
}

.section_about .container > .text_large {
  color: var(--lc-text-strong);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.65;
}

.section_about .concept-banner {
  grid-column: 1 / -1;
  margin-top: clamp(24px, 4vw, 56px);
}

.about_list {
  row-gap: 0;
}

.about_item {
  column-gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--couleurs--bordure);
}

.about_item:last-child {
  border-bottom: 1px solid var(--couleurs--bordure);
}

.about_number {
  flex-basis: 32px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--couleurs--gris-discret);
}

.about_item .text_regular {
  font-size: 14px;
  line-height: 1.6;
  color: var(--lc-text-strong);
}

@media screen and (max-width: 991px) {
  .section_about .container.is-stack {
    grid-template-columns: minmax(0, 1fr);
  }

  .section_about .section-header,
  .section_about .container > .text_large,
  .section_about .about_list {
    grid-column: 1;
    grid-row: auto;
  }
}

/* ---------------------------------------------------------------
   Bandeau Linea Concept
   --------------------------------------------------------------- */

.concept-banner {
  border-radius: var(--lc-radius);
}

.concept-banner_image {
  border-radius: 4px;
}

.concept-banner_content {
  row-gap: 16px;
  max-width: 480px;
}

.concept-banner_content .text_regular.is-banner {
  font-size: 14px;
  line-height: 1.6;
}

.concept-banner_actions {
  justify-content: flex-start;
  margin-top: 8px;
}

@media screen and (max-width: 991px) {
  .heading_h3.is-banner {
    font-size: 24px;
  }

  .concept-banner_content .text_regular.is-banner {
    font-size: 13px;
  }
}

@media screen and (max-width: 479px) {
  .concept-banner_actions .button {
    flex: 1;
  }
}

/* En-têtes des pages catégorie et contact : même marge que le contenu qui suit. */
.section_hero.is-split {
  padding-left: var(--espacements--marge-page);
  padding-right: var(--espacements--marge-page);
}

/* Accueil : le texte de l'en-tête s'aligne aussi sur la marge de page. */
.hero_content.is-home {
  margin-left: var(--espacements--marge-page);
}

@media screen and (max-width: 767px) {
  .section_hero.is-home {
    padding-left: var(--espacements--marge-page);
    padding-right: var(--espacements--marge-page);
  }

  .hero_content.is-home {
    margin-left: 0;
  }
}

/* Navigation compacte dès 991 px (au lieu de 767 px) : entre 768 et 991 px,
   logo + 5 liens + bouton ne tenaient qu'avec l'écart minimum, voire débordaient.
   Reprend les règles du menu mobile de l'export (480–767 px) pour cette plage. */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .navigation-links,
  .primary-button {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .nav-menu {
    display: grid;
    grid-template-rows: auto auto auto;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-auto-flow: column;
    align-items: center;
    gap: 4px 8px;
  }

  .nav-menu_list {
    display: contents;
  }

  .nav-menu_link {
    border-bottom-width: 0;
    border-radius: 10px;
    min-height: 44px;
    font-size: 17px;
  }

  .nav-menu_cta {
    place-self: center start;
    min-height: 40px;
    margin-top: 0;
    margin-left: 14px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 8px;
    white-space: nowrap;
  }
}

/* ---------------------------------------------------------------
   Page contact (mise en page uniquement — le formulaire n'est pas modifié)
   --------------------------------------------------------------- */

.section_hero.is-split:not(.is-category) {
  padding-top: clamp(16px, 3vw, 40px);
}

.contact-form,
.contact-form .w-form-done {
  border-radius: var(--lc-radius);
}

/* ===============================================================
   Phase 2 — boutons : remplissage progressif de gauche à droite
   Le fond est un dégradé uni dont on anime la largeur (background-size) :
   pas de pseudo-élément, le texte reste au-dessus et lisible.
   Les sélecteurs reprennent ceux de l'export pour neutraliser ses
   états :hover (changement de fond instantané, translation, zoom).
   =============================================================== */

.button {
  --lc-btn-bg: transparent;
  --lc-btn-text: var(--couleurs--noir-pur);
  --lc-btn-border: var(--couleurs--noir-pur);
  --lc-fill: var(--couleurs--noir-pur);
  --lc-fill-text: var(--couleurs--blanc-optique);
}

.button.is-primary {
  --lc-btn-bg: var(--couleurs--noir-pur);
  --lc-btn-text: var(--couleurs--blanc-optique);
  --lc-btn-border: var(--couleurs--noir-pur);
  --lc-fill: var(--lc-fill-dark);
  --lc-fill-text: var(--couleurs--blanc-optique);
}

/* Boutons du hero d'accueil : le fond (croquis sur papier) est clair, ils gardent
   donc le style des boutons sur fond clair (noir plein / contour noir). */

.button,
.button:hover,
.button:active,
.button.is-primary,
.button.is-primary:hover,
.button.is-primary:active,
.button.is-large.is-home,
.button.is-large.is-home:hover,
.button.is-large.is-home:active,
.button.is-primary.is-large.is-home,
.button.is-primary.is-large.is-home:hover,
.button.is-primary.is-large.is-home:active {
  background-color: var(--lc-btn-bg);
  background-image: linear-gradient(var(--lc-fill), var(--lc-fill));
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 0% 100%;
  color: var(--lc-btn-text);
  border-color: var(--lc-btn-border);
  transform: none;
  transition:
    background-size .5s var(--lc-ease-out),
    color .3s var(--lc-ease-out) .06s,
    border-color .3s var(--lc-ease-out),
    box-shadow .4s var(--lc-ease-out);
}

/* Remplissage : survol (souris), focus clavier, et appui (tactile). */
@media (hover: hover) {
  .button:not([aria-disabled="true"]):hover,
  .button.is-primary:not([aria-disabled="true"]):hover,
  .button.is-large.is-home:not([aria-disabled="true"]):hover,
  .button.is-primary.is-large.is-home:not([aria-disabled="true"]):hover {
    background-size: 100% 100%;
    color: var(--lc-fill-text);
    border-color: var(--lc-fill);
  }
}

.button:not([aria-disabled="true"]):focus-visible,
.button.is-primary:not([aria-disabled="true"]):focus-visible,
.button.is-large.is-home:not([aria-disabled="true"]):focus-visible,
.button.is-primary.is-large.is-home:not([aria-disabled="true"]):focus-visible,
.button:not([aria-disabled="true"]):active,
.button.is-primary:not([aria-disabled="true"]):active,
.button.is-large.is-home:not([aria-disabled="true"]):active,
.button.is-primary.is-large.is-home:not([aria-disabled="true"]):active {
  background-size: 100% 100%;
  color: var(--lc-fill-text);
  border-color: var(--lc-fill);
}

.button:not([aria-disabled="true"]):active {
  transition-duration: .2s, .15s, .15s, .2s;
  transition-delay: 0s;
}

/* Bouton en attente de destination (Linea Concept) : même dessin, sans interaction. */
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .55;
  box-shadow: none;
}

.button[aria-disabled="true"]:hover {
  box-shadow: none;
}

/* Bouton « Nous contacter » de la barre (div + lien). */
.primary-button,
.primary-button:hover,
.primary-button:active {
  background-color: #1c1b19;
  background-image: linear-gradient(var(--lc-fill-dark), var(--lc-fill-dark));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transform: none;
  transition: background-size .5s var(--lc-ease-out), box-shadow .4s var(--lc-ease-out);
}

@media (hover: hover) {
  .primary-button:hover {
    background-size: 100% 100%;
  }
}

.primary-button:focus-within,
.primary-button:active {
  background-size: 100% 100%;
}

/* Bouton du menu compact. */
.nav-menu_cta,
.nav-menu_cta:hover {
  background-color: #1c1b19;
  background-image: linear-gradient(var(--lc-fill-dark), var(--lc-fill-dark));
  background-repeat: no-repeat;
  background-size: 0% 100%;
}

.nav-menu.is-open .nav-menu_cta {
  transition: opacity .25s var(--lc-ease-out), transform .3s var(--lc-ease-out), background-size .5s var(--lc-ease-out), box-shadow var(--lc-duration-fast);
}

@media (hover: hover) {
  .nav-menu_cta:hover {
    background-size: 100% 100%;
  }
}

.nav-menu_cta:focus-visible,
.nav-menu_cta:active {
  background-size: 100% 100%;
}

/* Lien « Explorer les catégories » : le filet se redessine depuis la gauche. */
.hero_link {
  border-bottom-color: transparent;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  transition: color .22s ease, background-size .5s var(--lc-ease-out);
}

@media (hover: hover) {
  .hero_link:hover {
    border-bottom-color: transparent;
    animation: lc-underline .6s var(--lc-ease-out);
  }
}

@keyframes lc-underline {
  0% { background-size: 100% 1px; background-position: 100% 100%; }
  45% { background-size: 0% 1px; background-position: 100% 100%; }
  46% { background-size: 0% 1px; background-position: 0 100%; }
  100% { background-size: 100% 1px; background-position: 0 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .primary-button,
  .nav-menu_cta {
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }

  .hero_link:hover {
    animation: none;
  }
}

/* ===============================================================
   Phase 2 — entrée des en-têtes au chargement
   Courte (≤ 0,9 s), sans délai avant l'affichage, désactivée si
   l'utilisateur préfère réduire les animations.
   =============================================================== */

@media (prefers-reduced-motion: no-preference) {
  .hero_image-wrapper .image_cover {
    animation: lc-hero-image 1.6s var(--lc-ease-out) both;
  }

  .hero_content.is-home .hero_text > *,
  .hero_content.is-home .hero_actions,
  .hero_content.is-category > .text_eyebrow,
  .hero_content.is-category > .heading_h3,
  .hero_content.is-category > .hero_glass {
    animation: lc-rise .8s var(--lc-ease-out) both;
  }

  .hero_content.is-home .hero_text > :nth-child(2),
  .hero_content.is-category > .heading_h3 {
    animation-delay: .06s;
  }

  .hero_content.is-home .hero_text > :nth-child(3),
  .hero_content.is-category > .hero_glass {
    animation-delay: .12s;
  }

  .hero_content.is-home .hero_text > :nth-child(4) {
    animation-delay: .18s;
  }

  .hero_content.is-home .hero_actions {
    animation-delay: .24s;
  }
}

@keyframes lc-hero-image {
  from {
    transform: scale(1.05);
  }
}

@keyframes lc-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* « Nous contacter » (barre) : le lien remplit tout le bouton — dans l'export,
   seul le texte (12 px de haut) était cliquable, pas le padding du div. */
.primary-button {
  flex-shrink: 0;
  padding: 0;
}

.primary-button > a {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: inherit;
}

/* Entre 992 et 1279 px, le padding fluide est défini avec la navigation (plus haut). */
@media screen and (min-width: 1280px) {
  .primary-button > a {
    padding: 14px 32px;
  }
}

/* ===============================================================
   Direction artistique — charte Figma « Direction B : Modernisme Précis »
   Palette technique froide (Blanc Optique, Cool Gray, Acier Mat,
   Anthracite, Noir Pur), Outfit gras pour les titres, Geist pour le
   texte, boutons à angles vifs. Mise en page éditoriale conservée
   (échelle typographique, filets d'ouverture de section).
   =============================================================== */

:root {
  /* Charte : Blanc Optique #faf8f5, Cool Gray #f7f4ef, Acier Mat #d1c7bd,
     Anthracite #706c66, Noir Pur #1c1b19 (identiques à l'export Webflow). */
  --couleurs--noir-pur: #1c1b19;
  --couleurs--anthracite: #706c66;
  --couleurs--cool-gray: #f7f4ef;
  --couleurs--acier-mat: #d1c7bd;
  --lc-text-strong: #3a3833;
  --lc-fill-light: #ede7df;
  --lc-fill-dark: #3a3833;
  --lc-hairline: #1c1b1924;

  /* Échelle typographique (titres Outfit, texte Geist). */
  --lc-h1: clamp(42px, 5.4vw, 80px);
  --lc-h2: clamp(28px, 3.1vw, 44px);
  --lc-h3: clamp(24px, 2.2vw, 32px);
  --lc-body: 15px;
  --lc-body-lg: clamp(16px, 1.25vw, 18px);
  --lc-measure: 62ch;
}

body {
  color: var(--couleurs--noir-pur);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background-color: var(--couleurs--noir-pur);
  color: var(--couleurs--blanc-optique);
}

.heading_h1,
.heading_h2,
.heading_h3,
.heading_h4 {
  font-weight: 700;
  letter-spacing: -.02em;
}

.heading_h2.is-compact {
  font-size: var(--lc-h2);
  line-height: 1.12;
  letter-spacing: -.025em;
}

.heading_h3.is-banner,
.heading_h3.is-compact {
  font-size: var(--lc-h3);
  line-height: 1.15;
}

/* Étiquettes de section : petites capitales espacées. */
.text_eyebrow {
  letter-spacing: .14em;
  font-weight: 600;
  color: var(--couleurs--gris-discret);
}

.text_regular {
  font-size: var(--lc-body);
  line-height: 1.65;
}

/* Ouverture de section : un filet fin au-dessus de l'étiquette et du titre. */
.section_quick-access .section-header {
  padding-top: 20px;
  border-top: 1px solid var(--lc-hairline);
  row-gap: 16px;
  max-width: none;
}

/* À propos : le filet couvre les deux colonnes (étiquette à gauche, texte à droite). */
.section_about .container.is-stack {
  padding-top: 20px;
  border-top: 1px solid var(--lc-hairline);
}

.section_about .section-header {
  row-gap: 16px;
}

.catalogue_header {
  border-top-color: var(--lc-hairline);
}

/* Boutons à angles vifs (charte) ; 4 px pour les images, 6 px pour les blocs. */
.button,
.button.is-primary,
.button.is-large.is-home,
.button.is-primary.is-large.is-home,
.primary-button,
.nav-menu_cta,
.nav-menu.is-open .nav-menu_cta {
  border-radius: 0;
}

/* ---------------------------------------------------------------
   Hero d'accueil : composition éditoriale en bas à gauche
   (référence In Common With : la photo respire, le texte s'efface).
   --------------------------------------------------------------- */

@media screen and (min-width: 768px) {
  .hero_content.is-home {
    justify-content: flex-end;
    max-width: 600px;
    padding-top: 140px;
    padding-bottom: clamp(56px, 9vh, 112px);
    row-gap: 32px;
  }

  .heading_h1.is-hero {
    font-size: var(--lc-h1);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.03em;
    text-shadow: 0 2px 24px #1c1b192e;
  }

  .hero_text {
    row-gap: 20px;
  }

  .text_large.is-hero.is-home {
    max-width: 46ch;
    font-size: var(--lc-body-lg);
    line-height: 1.6;
    text-shadow: 0 1px 12px #1c1b1938;
  }

  .text_small.is-hero.is-home {
    max-width: 52ch;
    color: #faf8f5c7;
    font-size: 13px;
    line-height: 1.6;
    text-shadow: 0 1px 12px #1c1b1938;
  }

  /* L'étiquette « Catalogue interactif » reprend le style des en-têtes catégorie. */
  .badge.is-hero {
    display: flex;
    align-items: center;
    column-gap: 14px;
    letter-spacing: .16em;
    font-weight: 600;
  }

  .badge.is-hero::before {
    content: "";
    width: 28px;
    height: 1px;
    background-color: currentColor;
  }
}

@media screen and (max-width: 767px) {
  .heading_h1.is-hero {
    font-size: clamp(30px, 8.4vw, 38px);
    font-weight: 700;
    letter-spacing: -.025em;
  }

  .text_large.is-hero.is-home {
    font-size: 15px;
    line-height: 1.6;
  }
}

/* ---------------------------------------------------------------
   Accès rapide : cartes éditoriales sans cadre
   (références Waka Waka, In Common With) — la photo porte la carte.
   --------------------------------------------------------------- */

.access-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
}

@media (hover: hover) {
  .access-card:hover {
    box-shadow: none;
    transform: none;
  }
}

.access-card_thumb:first-child {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
}

.access-card_thumb .image_cover {
  transition: transform .9s var(--lc-ease-out), filter .9s var(--lc-ease-out);
}

@media (hover: hover) {
  .access-card:hover .access-card_thumb .image_cover {
    transform: scale(1.045);
    filter: saturate(1.06);
  }
}

.access-card_header {
  padding: 22px 0 0;
  border-bottom: 1px solid var(--lc-hairline);
  padding-bottom: 14px;
}

.access-card .heading_h4 {
  font-size: clamp(21px, 1.7vw, 25px);
  font-weight: 700;
  letter-spacing: -.015em;
}

.access-card_index {
  font-size: 11px;
  letter-spacing: .14em;
}

.access-card .text_regular {
  padding: 14px 0 0;
  max-width: 34ch;
  color: var(--couleurs--anthracite);
}

.access-card_footer {
  padding: 20px 0 0;
}

/* « Consulter » devient un lien texte avec flèche (toute la carte reste cliquable). */
.access-card .button,
.access-card .button:hover,
.access-card .button:active {
  --lc-btn-border: transparent;
  column-gap: 10px;
  padding: 4px 0;
  border-color: transparent;
  background-color: transparent;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-size: 0% 1px;
  color: var(--couleurs--noir-pur);
  box-shadow: none;
  font-size: 11px;
  letter-spacing: .14em;
}

.access-card .button::before {
  content: "→";
  order: 2;
  font-family: var(--polices--texte);
  font-size: 13px;
  letter-spacing: 0;
  transition: transform var(--lc-duration) var(--lc-ease-out);
}

@media (hover: hover) {
  .access-card:hover .button {
    background-size: 100% 1px;
    color: var(--couleurs--noir-pur);
  }

  .access-card:hover .button::before {
    transform: translateX(4px);
  }
}

.access-card .button:focus-visible {
  background-size: 100% 1px;
  color: var(--couleurs--noir-pur);
  outline-offset: 6px;
}

.access-card:focus-within {
  border-color: transparent;
}

@media screen and (max-width: 1199px) {
  .access-card_thumb:first-child {
    aspect-ratio: 4 / 3;
  }
}

@media screen and (max-width: 767px) {
  .access-card {
    padding: 0;
  }

  .access-card_header,
  .access-card .text_regular,
  .access-card_footer {
    padding-left: 0;
    padding-right: 0;
  }
}

@media screen and (max-width: 599px) {
  .quick-access_grid {
    row-gap: 44px;
  }

  .access-card_thumb:first-child {
    aspect-ratio: 3 / 2;
  }
}

/* ---------------------------------------------------------------
   Flèches directionnelles sur les appels à l'action principaux
   (références KOBU, Fiasco) : la flèche indique où mène le bouton.
   --------------------------------------------------------------- */

.section_contact-cta .button::before,
.hero_actions .button.is-primary::before {
  order: 2;
  font-family: var(--polices--texte);
  font-size: 14px;
  letter-spacing: 0;
  transition: transform var(--lc-duration) var(--lc-ease-out);
}

.section_contact-cta .button::before {
  content: "→";
}

.hero_actions .button.is-primary::before {
  content: "↓";
}

.section_contact-cta .button,
.hero_actions .button {
  column-gap: 12px;
}

@media (hover: hover) {
  .section_contact-cta .button:hover::before {
    transform: translateX(4px);
  }

  .hero_actions .button.is-primary:hover::before {
    transform: translateY(3px);
  }
}

/* Pages catégorie : titres de cartes. */
.category-card_label {
  font-weight: 600;
  font-size: clamp(17px, 1.5vw, 21px);
  letter-spacing: -.01em;
  border-bottom-color: var(--lc-hairline);
}

/* ---------------------------------------------------------------
   Barre de navigation : plus opaque une fois la page défilée
   (classe posée par js/menu.js), pour rester lisible sur le contenu.
   --------------------------------------------------------------- */

._01-navigation {
  transition: background-color .4s var(--lc-ease-out), box-shadow .4s var(--lc-ease-out), border-color .4s var(--lc-ease-out);
}

._01-navigation.is-scrolled {
  background-color: #faf8f5e6;
  border-color: #faf8f5cc;
  box-shadow: 0 0 0 1px #1c1b190f, 0 16px 40px -24px #1c1b1940;
}

/* Cartes sans cadre : l'espace vertical entre rangées doit séparer clairement les cartes. */
.quick-access_grid {
  row-gap: clamp(44px, 5vw, 72px);
}

/* ---------------------------------------------------------------
   Hero d'accueil : la photo couvre la hero sans en dicter la hauteur.
   Avant, au-delà d'environ 1700 px de large, la photo (ratio 2048×1295)
   devenait plus haute que l'écran, agrandissait la cellule de grille et
   le texte, calé en bas, sortait de la hero (rogné).
   --------------------------------------------------------------- */

@media screen and (min-width: 768px) {
  .hero_frame.is-home {
    grid-template-rows: minmax(0, 1fr);
  }

  .hero_image-wrapper.is-home {
    position: absolute;
    inset: 0;
  }
}

/* Très grands écrans : plus d'air sous le texte, proportionnel à la hauteur d'écran. */
@media screen and (min-width: 1920px) {
  .hero_content.is-home {
    padding-bottom: clamp(120px, 14vh, 240px);
  }
}

/* ===============================================================
   Écran d'entrée (accueil) — couleurs et polices de la charte Figma
   « Direction B » : Noir Pur, Blanc Optique, Acier Mat, Geist.
   Séquence pilotée en CSS (se termine même sans js/intro.js) :
   0–1,35 s logo + filet + accroche, puis le rideau se lève (0,9 s).
   =============================================================== */

.lc-intro-screen {
  display: none;
}

html.lc-intro .lc-intro-screen {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  background-color: #1c1b19;
  clip-path: inset(0 0 0 0);
  animation: lc-intro-out .9s cubic-bezier(.76, 0, .24, 1) 1.35s forwards;
}

/* Écran passé : nouvelle animation (nom distinct) qui part de l'écran couvert. */
html.lc-intro.lc-intro-skip .lc-intro-screen {
  animation: lc-intro-out-fast .55s cubic-bezier(.76, 0, .24, 1) forwards;
}

html.lc-intro.lc-intro-done .lc-intro-screen {
  display: none;
}

.lc-intro-screen_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 20px;
}

/* Logo existant (PNG 864 px) passé en blanc et affiché à 432 px maximum : net sur Retina. */
.lc-intro-screen_logo {
  display: block;
  width: clamp(220px, 34vw, 432px);
  height: auto;
  aspect-ratio: 864 / 130;
  object-fit: cover;
  filter: invert(1);
  clip-path: inset(100% 0 0 0);
  animation: lc-intro-logo .9s cubic-bezier(.22, .61, .36, 1) .1s forwards;
}

.lc-intro-screen_line {
  display: block;
  width: clamp(220px, 34vw, 432px);
  height: 1px;
  background-color: #d1c7bd;
  transform: scaleX(0);
  transform-origin: left center;
  animation: lc-intro-line .8s cubic-bezier(.65, 0, .35, 1) .45s forwards;
}

.lc-intro-screen_tagline {
  margin: 0;
  font-family: var(--polices--texte);
  color: #d1c7bd;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: 0;
  animation: lc-intro-fade .6s ease .7s forwards;
}

@keyframes lc-intro-logo {
  from {
    clip-path: inset(100% 0 0 0);
    transform: translateY(14px);
  }
  to {
    clip-path: inset(0 0 0 0);
    transform: none;
  }
}

@keyframes lc-intro-line {
  to {
    transform: scaleX(1);
  }
}

@keyframes lc-intro-fade {
  to {
    opacity: 1;
  }
}

@keyframes lc-intro-out {
  to {
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
  }
}

@keyframes lc-intro-out-fast {
  to {
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
  }
}

/* L'entrée de la hero commence quand le rideau se lève (et plus tôt si l'écran est passé). */
html.lc-intro .hero_content.is-home .hero_text > :nth-child(1) { animation-delay: 1.6s; }
html.lc-intro .hero_content.is-home .hero_text > :nth-child(2) { animation-delay: 1.66s; }
html.lc-intro .hero_content.is-home .hero_text > :nth-child(3) { animation-delay: 1.72s; }
html.lc-intro .hero_content.is-home .hero_text > :nth-child(4) { animation-delay: 1.78s; }
html.lc-intro .hero_content.is-home .hero_actions { animation-delay: 1.84s; }

html.lc-intro.lc-intro-skip .hero_content.is-home .hero_text > *,
html.lc-intro.lc-intro-skip .hero_content.is-home .hero_actions {
  animation-delay: .25s;
}

@media (prefers-reduced-motion: reduce) {
  html.lc-intro .lc-intro-screen {
    display: none;
  }
}

/* ---------------------------------------------------------------
   Barre de navigation : glisse hors de l'écran quand on descend,
   revient dès qu'on remonte (classe is-hidden posée par js/menu.js).
   Entrée en glissement au chargement (après l'écran d'entrée sur l'accueil).
   --------------------------------------------------------------- */

._01-navigation {
  transition:
    transform .45s var(--lc-ease-out),
    background-color .4s var(--lc-ease-out),
    box-shadow .4s var(--lc-ease-out),
    border-color .4s var(--lc-ease-out);
}

._01-navigation.is-hidden {
  transform: translateY(calc(-100% - 12px));
  box-shadow: none;
}

@media (prefers-reduced-motion: no-preference) {
  ._01-navigation {
    animation: lc-nav-in .7s var(--lc-ease-out) .1s backwards;
  }

  html.lc-intro ._01-navigation {
    animation-delay: 1.5s;
  }

  html.lc-intro.lc-intro-skip ._01-navigation {
    animation-delay: .3s;
  }
}

@keyframes lc-nav-in {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  ._01-navigation.is-hidden {
    transform: none;
  }
}

/* ===============================================================
   Footer en tuiles (référence Mobbin : Patch), aux couleurs de la charte.
   Tuiles Noir Pur sur un cadre Cool Gray ; sans formulaire d'inscription.
   =============================================================== */

.footer.lc-footer {
  --lc-footer-gap: clamp(8px, .8vw, 12px);
  padding: var(--lc-footer-gap);
  background-color: var(--couleurs--cool-gray);
  color: var(--couleurs--blanc-optique);
}

.lc-footer_grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  grid-template-rows: auto 1fr;
  gap: var(--lc-footer-gap);
}

.lc-footer_tile {
  padding: clamp(28px, 3.4vw, 56px);
  border-radius: 4px;
  background-color: var(--couleurs--noir-pur);
}

/* Tuile marque : logo en haut, description en bas (sur toute la hauteur). */
.lc-footer_brand {
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  row-gap: 48px;
}

.lc-footer_logo {
  display: block;
  align-self: flex-start;
  transition: opacity var(--lc-duration-fast) var(--lc-ease-out);
}

/* PNG source de 864 px : affiché à 360 px au plus, il reste net sur écran Retina. */
.lc-footer_logo img {
  display: block;
  width: clamp(200px, 24vw, 360px);
  height: auto;
  aspect-ratio: 864 / 130;
  object-fit: cover;
  filter: invert(1);
}

@media (hover: hover) {
  .lc-footer_logo:hover {
    opacity: .75;
  }
}

.lc-footer_description {
  max-width: 34ch;
  margin: 0;
  font-family: var(--polices--texte);
  color: var(--couleurs--acier-mat);
  font-size: 14px;
  line-height: 1.6;
}

/* Tuile d'accroche (à la place de l'inscription à la newsletter de la référence). */
.lc-footer_statement {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  row-gap: 16px;
  min-height: clamp(160px, 16vw, 240px);
}

.lc-footer_eyebrow {
  margin: 0;
  font-family: var(--polices--texte);
  color: var(--couleurs--acier-mat);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.lc-footer_lead {
  max-width: 24ch;
  margin: 0;
  font-family: var(--polices--titres);
  color: var(--couleurs--blanc-optique);
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
}

/* Tuile de liens : 4 colonnes (Catalogue, Navigation, Linea Concept, Votre projet). */
.lc-footer_links {
  display: grid;
  /* La colonne du bouton prend sa largeur naturelle ; les trois autres se partagent le reste. */
  grid-template-columns: repeat(3, minmax(0, 1fr)) max-content;
  gap: 32px clamp(24px, 3vw, 48px);
}

.lc-footer_col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 16px;
  min-width: 0;
}

.lc-footer_heading {
  margin: 0;
  font-family: var(--polices--titres);
  color: var(--couleurs--blanc-optique);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lc-footer_list {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lc-footer_text {
  max-width: 28ch;
  margin: 0;
  font-family: var(--polices--texte);
  color: var(--couleurs--acier-mat);
  font-size: 14px;
  line-height: 1.55;
}

.lc-footer_link,
.lc-footer_bar-link {
  font-family: var(--polices--texte);
  color: var(--couleurs--acier-mat);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: color var(--lc-duration-fast) var(--lc-ease-out), background-size var(--lc-duration) var(--lc-ease-out);
}

.lc-footer_link {
  font-size: 15px;
  line-height: 1.5;
}

.lc-footer_link[aria-current="page"] {
  color: var(--couleurs--blanc-optique);
}

@media (hover: hover) {
  .lc-footer_link[href]:hover,
  .lc-footer_bar-link[href]:hover {
    color: var(--couleurs--blanc-optique);
    background-size: 100% 1px;
  }
}

.lc-footer_link[href]:focus-visible,
.lc-footer_bar-link[href]:focus-visible {
  color: var(--couleurs--blanc-optique);
  background-size: 100% 1px;
}

.lc-footer_link.is-pending {
  opacity: .55;
  cursor: not-allowed;
}

/* Bouton « Nous contacter » : inversé sur fond noir, remplissage Acier Mat. */
.lc-footer .button.lc-footer_button {
  --lc-btn-bg: var(--couleurs--blanc-optique);
  --lc-btn-text: var(--couleurs--noir-pur);
  --lc-btn-border: var(--couleurs--blanc-optique);
  --lc-fill: var(--couleurs--acier-mat);
  --lc-fill-text: var(--couleurs--noir-pur);
  column-gap: 12px;
  padding: 16px 24px;
  font-size: 11px;
  letter-spacing: .1em;
  box-shadow: none;
}

.lc-footer .button.lc-footer_button::before {
  content: "→";
  order: 2;
  font-family: var(--polices--texte);
  font-size: 14px;
  letter-spacing: 0;
  transition: transform var(--lc-duration) var(--lc-ease-out);
}

@media (hover: hover) {
  .lc-footer .button.lc-footer_button:hover::before {
    transform: translateX(4px);
  }
}

.lc-footer .button.lc-footer_button:focus-visible {
  outline-color: var(--couleurs--blanc-optique);
}

/* Bande basse : mentions, copyright, retour en haut. */
.lc-footer_bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  margin-top: var(--lc-footer-gap);
  padding: 18px clamp(28px, 3.4vw, 56px);
  border-radius: 4px;
  background-color: var(--couleurs--noir-pur);
}

.lc-footer_bar-text,
.lc-footer_bar-link {
  margin: 0;
  font-family: var(--polices--texte);
  color: var(--couleurs--acier-mat);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.lc-footer_bar-link:not([href]) {
  opacity: .55;
}

/* Sous 1440 px, quatre colonnes deviennent trop étroites pour le texte et le bouton. */
@media screen and (max-width: 1439px) {
  .lc-footer_links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }
}

@media screen and (max-width: 991px) {
  .lc-footer_grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }

  .lc-footer_brand {
    grid-row: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    row-gap: 24px;
    column-gap: 32px;
  }

}

@media screen and (max-width: 479px) {
  .lc-footer_brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .lc-footer_statement {
    min-height: 0;
  }

  .lc-footer_links {
    column-gap: 20px;
  }

  .lc-footer_cta,
  .lc-footer_col:nth-child(3) {
    grid-column: 1 / -1;
  }

  .lc-footer .button.lc-footer_button {
    align-self: stretch;
  }

  .lc-footer_bar {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 10px;
  }
}

/* ===============================================================
   Footer bleu nuit + motif de joints de carrelage (tuile d'accroche).
   Bleu nuit tiré de la palette froide de la charte (même famille que
   l'Anthracite #706c66), plus profond pour le fond.
   =============================================================== */

:root {
  --lc-nuit: #141311;
  --lc-nuit-tuile: #1c1b19;
  --lc-nuit-trait: #faf8f512;
}

.footer.lc-footer {
  background-color: var(--lc-nuit);
}

.lc-footer_tile,
.lc-footer_bar {
  border: 1px solid var(--lc-nuit-trait);
  background-color: var(--lc-nuit-tuile);
}

/* Joints de carrelage : grille fine qui s'estompe en diagonale, derrière le texte. */
.lc-footer_statement {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.lc-footer_statement::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(#faf8f514 1px, transparent 1px),
    linear-gradient(90deg, #faf8f514 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: right -1px top -1px;
  -webkit-mask-image: linear-gradient(225deg, #1c1b19 0%, #1c1b1999 35%, transparent 75%);
  mask-image: linear-gradient(225deg, #1c1b19 0%, #1c1b1999 35%, transparent 75%);
}

/* ---------------------------------------------------------------
   Boutons « Nous contacter » harmonisés (navbar, menu compact, footer)
   sur la convention des boutons du site : Geist 700, 12 px, capitales,
   angles vifs ; noir sur fond clair, blanc sur fond sombre (comme le
   hero) ; même remplissage progressif au survol.
   L'export affichait celui de la navbar en Arial sur #1c1b19.
   --------------------------------------------------------------- */

.primary-button,
.primary-button:hover,
.primary-button:active {
  background-color: var(--couleurs--noir-pur);
}

.text-4,
.nav-menu_cta {
  font-family: var(--polices--texte);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: uppercase;
  color: var(--couleurs--blanc-optique);
}

.nav-menu_cta,
.nav-menu_cta:hover {
  background-color: var(--couleurs--noir-pur);
}

.lc-footer .button.lc-footer_button {
  --lc-fill: var(--lc-fill-light);
  padding: 14px 32px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: normal;
}

.lc-footer .button.lc-footer_button::before {
  content: none;
}

/* ===============================================================
   Hero d'accueil : fond animé « du croquis à l'image »
   Calques : papier quadrillé → tracés de construction (SVG) → photo
   (images/hero-finale.webp) → croquis extrait des contours de la photo.
   Séquence 100 % CSS (~2,6 s) au chargement, après l'écran d'entrée ;
   elle se termine sur la photo entière, qui reste en fond.
   js/hero-plan.js : bouton « Revoir l'animation ».
   Sans animation (prefers-reduced-motion) : photo finale directement.
   =============================================================== */

:root {
  --hp-delay: .15s;
}

html.lc-intro {
  --hp-delay: 1.4s;
}

html.lc-intro.lc-intro-skip {
  --hp-delay: .3s;
}

/* Papier calque : Cool Gray quadrillé d'Acier Mat. */
.hero_plan {
  overflow: hidden;
  background-color: var(--couleurs--cool-gray);
  background-image:
    linear-gradient(#d1c7bd66 1px, transparent 1px),
    linear-gradient(90deg, #d1c7bd66 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero_plan-guides,
.hero_plan .hero_plan-photo,
.hero_plan-sketch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero_plan .hero_plan-photo,
.hero_plan-sketch {
  display: block;
  object-fit: cover;
}

.hero_plan-guides line,
.hero_plan-guides polyline,
.hero_plan-guides rect {
  fill: none;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  vector-effect: non-scaling-stroke;
}

.hero_plan-construction {
  stroke: #706c6659;
  stroke-width: .75;
}

.hero_plan-room {
  stroke: var(--couleurs--anthracite);
  stroke-width: 1;
}

/* État final (par défaut) : la photo entière ; croquis et tracés effacés. */
.hero_plan-guides,
.hero_plan-sketch {
  opacity: 0;
}

/* Voile clair à gauche : le texte (noir) reste lisible sur le croquis comme sur la photo. */
.hero_image-wrapper.hero_plan::after {
  display: block;
  background-image: linear-gradient(90deg, #f7f4efe6 0%, #f7f4efbf 34%, #f7f4ef00 60%);
}

/* À partir de 992 px : halo clair elliptique centré derrière le bloc de texte,
   au lieu d'un voile sur toute la moitié gauche : le haut, le centre et la droite
   de la photo sont libérés. Contraste mesuré du texte ≥ 5,2:1 de 992 à 2560 px
   (surface voilée ≈ 0,23 contre 0,30 à 0,38 auparavant). Tablette (768–991 px) :
   le texte couvre presque toute l'image, le voile linéaire est conservé. */
@media screen and (min-width: 992px) {
  .hero_image-wrapper.hero_plan::after {
    background-image: radial-gradient(40% 52% at 24% 70%, #f7f4efcc 0%, #f7f4ef9e 60%, #f7f4ef00 100%);
  }
}

/* Bouton « Revoir l'animation » : discret, en bas à droite de l'image. */
.hero_plan-replay {
  position: absolute;
  right: var(--espacements--marge-page);
  bottom: clamp(20px, 4vh, 40px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  column-gap: 8px;
  padding: 10px 14px;
  border: 1px solid #faf8f599;
  background-color: #faf8f5cc;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--polices--texte);
  color: var(--couleurs--noir-pur);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 18px -10px #1c1b1959;
  transition: background-color var(--lc-duration-fast) var(--lc-ease-out);
}

.hero_plan-replay[hidden] {
  display: none;
}

.hero_plan-replay-icon {
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1;
  transition: transform .5s var(--lc-ease-out);
}

@media (hover: hover) {
  .hero_plan-replay:hover {
    background-color: var(--couleurs--blanc-optique);
  }

  .hero_plan-replay:hover .hero_plan-replay-icon {
    transform: rotate(-180deg);
  }
}

.hero_plan-replay:focus-visible {
  outline: 2px solid var(--couleurs--noir-pur);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  /* 0 → 0,95 s : tracés de construction puis contours de la pièce. */
  .hero_plan-guides line,
  .hero_plan-guides polyline,
  .hero_plan-guides rect {
    animation: lc-hp-draw .8s cubic-bezier(.65, 0, .35, 1) both;
    animation-delay: var(--hp-delay);
  }

  .hero_plan-room > * {
    animation-delay: calc(var(--hp-delay) + .15s);
  }

  .hero_plan-guides {
    animation: lc-hp-fade-out .7s ease both;
    animation-delay: calc(var(--hp-delay) + 1.6s);
  }

  /* 0,3 → 1,3 s : le croquis se dessine ; 1,95 → 2,6 s : il s'efface. */
  .hero_plan-sketch {
    animation:
      lc-hp-sketch-in 1s cubic-bezier(.45, 0, .2, 1) both,
      lc-hp-fade-out .65s ease both;
    animation-delay: calc(var(--hp-delay) + .3s), calc(var(--hp-delay) + 1.95s);
  }

  /* 1,15 → 2,35 s : la photo émerge de la droite avec un fondu large,
     1,4 → 2,55 s : elle passe du gris à la couleur. */
  .hero_image-wrapper.hero_plan .hero_plan-photo {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 33%, #1c1b19 66%, #1c1b19 100%);
    mask-image: linear-gradient(90deg, transparent 0%, transparent 33%, #1c1b19 66%, #1c1b19 100%);
    -webkit-mask-size: 300% 100%;
    mask-size: 300% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
    animation:
      lc-hp-photo-in 1.2s cubic-bezier(.45, 0, .2, 1) both,
      lc-hp-photo-color 1.15s ease both;
    animation-delay: calc(var(--hp-delay) + 1.15s), calc(var(--hp-delay) + 1.4s);
  }
}

@keyframes lc-hp-draw {
  from { stroke-dashoffset: 1; }
}

@keyframes lc-hp-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes lc-hp-sketch-in {
  from { clip-path: inset(0 100% 0 0); opacity: 1; }
  to { clip-path: inset(0 0 0 0); opacity: 1; }
}

@keyframes lc-hp-photo-in {
  from { -webkit-mask-position: 0% 0; mask-position: 0% 0; }
  to { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
}

@keyframes lc-hp-photo-color {
  from { filter: grayscale(1) brightness(1.05); }
}

/* Texte du hero sur fond clair (ordinateur ; sur mobile il est déjà sous l'image). */
@media screen and (min-width: 768px) {
  .heading_h1.is-hero,
  .badge.is-hero {
    color: var(--couleurs--noir-pur);
    text-shadow: none;
  }

  .text_large.is-hero.is-home {
    color: var(--lc-text-strong);
    text-shadow: none;
  }

  /* Un ton plus foncé (gris du texte courant) : contraste ≥ 5,5:1 avec le halo allégé. */
  .text_small.is-hero.is-home {
    color: var(--lc-text-strong);
    text-shadow: none;
  }

  .button.is-primary.is-large.is-home:focus-visible,
  .button.is-large.is-home:focus-visible {
    outline-color: var(--couleurs--noir-pur);
  }
}

@media screen and (max-width: 767px) {
  .hero_plan {
    background-size: 24px 24px;
  }

  .hero_image-wrapper.hero_plan::after {
    display: none;
  }

  /* Sur la vignette mobile : icône seule (le libellé reste lu par les lecteurs d'écran). */
  .hero_plan-replay {
    right: 10px;
    bottom: 10px;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
  }

  .hero_plan-replay-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* Tablette : le bouton « Revoir l'animation » passe aussi en icône seule
   (le bloc de texte du hero occupe presque toute la largeur). */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .hero_plan-replay {
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
  }

  .hero_plan-replay-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* ===============================================================
   Section Linea Concept (accueil)
   Texte de présentation et appel à l'action à gauche, comparateur
   avant / après à droite (js/compare.js).
   =============================================================== */

@property --pos {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 50%;
}

.section_concept {
  padding-top: clamp(8px, 1vw, 16px);
  padding-bottom: var(--espacements--section);
  background-color: var(--couleurs--blanc-optique);
}

/* Grand écran : texte à gauche, comparateur à droite (≈ 45 % de la largeur). */
.concept_layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  column-gap: clamp(40px, 6vw, 96px);
  row-gap: 32px;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--lc-hairline);
}

/* ---- Comparateur ---- */

.compare {
  --pos: 50%;
  margin: 0;
}

.compare_frame {
  position: relative;
  /* Format naturel des deux photos (1080 × 1350, soit 4:5) : rien n'est
     coupé. La largeur suit la place disponible, mais la hauteur reste
     limitée à ~78 % de l'écran pour que l'image tienne entière à l'écran. */
  aspect-ratio: 4 / 5;
  width: min(100%, calc(78vh * 4 / 5));
  width: min(100%, calc(78svh * 4 / 5));
  margin-inline: auto;
  overflow: hidden;
  border-radius: 4px;
  background-color: var(--couleurs--cool-gray);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.compare_after,
.compare_before,
.compare_before img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.compare_after,
.compare_before img {
  display: block;
  object-fit: cover; /* même ratio que le cadre : aucun recadrage */
  pointer-events: none;
}

/* Photo « avant », découpée à la position du séparateur. */
.compare_before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.compare_label {
  position: absolute;
  top: 16px;
  padding: 7px 12px;
  background-color: #faf8f5d9;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--polices--texte);
  color: var(--couleurs--noir-pur);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity var(--lc-duration) var(--lc-ease-out);
}

.compare_label.is-before {
  left: 16px;
}

.compare_label.is-after {
  right: 16px;
}

/* Chaque étiquette s'efface quand son côté est presque masqué. */
.compare[style*="--pos: 0%"] .compare_label.is-before,
.compare[style*="--pos: 100%"] .compare_label.is-after {
  opacity: 0;
}

/* Séparateur + poignée. */
.compare_handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background-color: var(--couleurs--blanc-optique);
  box-shadow: 0 0 0 1px #1c1b191a, 0 0 18px #1c1b1940;
  pointer-events: none;
}

.compare_grip {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 6px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--couleurs--blanc-optique);
  color: var(--couleurs--noir-pur);
  font-family: var(--polices--texte);
  font-size: 18px;
  line-height: 1;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 24px -8px #1c1b1973;
  transition: transform .3s var(--lc-ease-out), background-color .2s var(--lc-ease-out), color .2s var(--lc-ease-out);
}

@media (hover: hover) {
  .compare_frame:hover .compare_grip {
    transform: translate(-50%, -50%) scale(1.06);
  }
}

.compare.is-dragging .compare_grip {
  background-color: var(--couleurs--noir-pur);
  color: var(--couleurs--blanc-optique);
  transform: translate(-50%, -50%) scale(.94);
}

/* Curseur natif : couvre l'image pour le clavier et les lecteurs d'écran,
   invisible ; le glissement à la souris/au doigt est géré par js/compare.js. */
.compare_range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.compare_range:focus-visible + .compare_handle .compare_grip {
  outline: 2px solid var(--couleurs--noir-pur);
  outline-offset: 3px;
}

.compare_caption {
  margin-top: 12px;
  text-align: center;
  font-family: var(--polices--texte);
  color: var(--couleurs--gris-discret);
  font-size: 12px;
  letter-spacing: .04em;
}

.compare_hint::before {
  content: "↔ ";
}

@media (prefers-reduced-motion: no-preference) {
  .compare.is-hinting {
    animation: lc-compare-hint 1.5s cubic-bezier(.45, 0, .2, 1);
  }
}

@keyframes lc-compare-hint {
  0% { --pos: 50%; }
  30% { --pos: 62%; }
  65% { --pos: 40%; }
  100% { --pos: 50%; }
}

/* ---- Texte et appel à l'action ---- */

.concept_text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 18px;
  max-width: 560px;
}

.concept_text .text_regular {
  margin: 0;
  color: var(--couleurs--anthracite);
}

.concept_text .concept_lead {
  color: var(--lc-text-strong);
  font-size: var(--lc-body-lg);
  line-height: 1.6;
}

.concept_cta {
  column-gap: 12px;
  margin-top: 10px;
}

.concept_cta::before {
  content: "↗";
  order: 2;
  font-family: var(--polices--texte);
  font-size: 14px;
}

/* Tablette et mobile : texte puis image, empilés. */
@media screen and (max-width: 991px) {
  .concept_layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .concept_text {
    max-width: 640px;
  }
}

@media screen and (max-width: 767px) {
  .compare_grip {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .compare_label {
    top: 10px;
    padding: 5px 8px;
    font-size: 10px;
  }

  .compare_label.is-before {
    left: 10px;
  }

  .compare_label.is-after {
    right: 10px;
  }
}

@media screen and (max-width: 479px) {
  .concept_cta {
    align-self: stretch;
  }
}

/* ===============================================================
   Accès rapide — mobile (≤ 767 px)
   Cartes compactes (vignette + titre/texte/lien) et roue continue pilotée
   par le défilement (js/quick-access.js) : une zone compacte défile avec la
   page, les cartes y tournent sur un cylindre sans jamais disparaître ni
   arrêter le défilement. Ordinateur : inchangé.
   =============================================================== */

@media screen and (max-width: 767px) {
  .section_quick-access {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .section_quick-access .container.is-stack {
    row-gap: 16px;
  }

  .section_quick-access .section-header {
    padding-top: 14px;
  }

  .quick-access_grid {
    row-gap: 12px;
  }

  /* Carte compacte : vignette à gauche, contenu à droite. */
  .access-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 14px;
    padding: 10px;
    border: 1px solid var(--lc-hairline);
    border-radius: 6px;
    background-color: var(--couleurs--blanc-optique);
    box-shadow: 0 10px 28px -22px #1c1b1940;
  }

  .access-card_gallery {
    order: 0;
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  .access-card_thumb:first-child {
    aspect-ratio: auto;
    height: 100%;
    min-height: 124px;
    border-radius: 4px;
  }

  .access-card_header {
    grid-column: 2;
    padding: 2px 0 8px;
  }

  .access-card .heading_h4 {
    font-size: 18px;
  }

  .access-card .text_regular {
    grid-column: 2;
    display: -webkit-box;
    overflow: hidden;
    padding: 8px 0 0;
    font-size: 13px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .access-card_footer {
    grid-column: 2;
    align-self: end;
    padding: 8px 0 0;
  }

  /* ---- Menu plein écran (js/quick-access.js) ---- */

  /* La section s'allonge du trajet de défilement des cartes ; son contenu reste
     fixé à l'écran pendant ce trajet puis repart avec la page. */
  .section_quick-access.is-pinned {
    height: calc(100svh + var(--qa-run, 0px));
    padding-top: 0;
    padding-bottom: 0;
    /* Sous la dernière carte, la zone de débord des voisines reste vide : la
       section suivante remonte d'autant (sa marge haute passe sous le panneau). */
    margin-bottom: -36px;
  }

  .section_quick-access.is-pinned .padding-global {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: 100svh;
    /* Place de la barre de navigation flottante (69 px + marge). */
    padding-top: 84px;
    padding-bottom: 12px;
  }

  .section_quick-access.is-pinned .container.is-stack {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    row-gap: 4px;
  }

  .section_quick-access.is-pinned .section-header {
    padding-top: 12px;
  }

  /* Scène des cartes : la carte active est centrée, ses voisines dépassent
     d'environ 45 px en haut et en bas, fondues dans les bords. */
  .quick-access_grid.is-wheel {
    --qa-inset: 60px;
    position: relative;
    display: block;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    perspective: 1000px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #1c1b19 20px, #1c1b19 calc(100% - 20px), transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #1c1b19 28px, #1c1b19 calc(100% - 28px), transparent 100%);
  }

  /* Grande carte verticale : photo en haut (elle prend la hauteur disponible),
     puis titre, texte et lien. */
  .quick-access_grid.is-wheel .access-card {
    position: absolute;
    top: var(--qa-inset);
    bottom: var(--qa-inset);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 18px 40px -28px #1c1b1959;
    backface-visibility: hidden;
    will-change: transform, opacity;
    /* L'animation est pilotée image par image : pas de transition CSS. */
    transition: border-color var(--lc-duration) var(--lc-ease-out);
  }

  .quick-access_grid.is-wheel .access-card_gallery {
    order: -1;
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
  }

  .quick-access_grid.is-wheel .access-card_thumb:first-child {
    height: 100%;
    min-height: 0;
    border-radius: 6px;
  }

  .quick-access_grid.is-wheel .access-card_header {
    padding: 14px 4px 0;
  }

  .quick-access_grid.is-wheel .access-card .heading_h4 {
    font-size: 22px;
  }

  .quick-access_grid.is-wheel .access-card .text_regular {
    padding: 8px 4px 0;
    font-size: 14px;
    line-height: 1.5;
  }

  .quick-access_grid.is-wheel .access-card_footer {
    padding: 12px 4px 4px;
  }
}

/* ===============================================================
   Hero d'accueil — mobile (≤ 767 px)
   La photo va d'un bord à l'autre de l'écran, sans cadre ni arrondi, à ses
   proportions d'origine (2000 × 1266) : rien n'est recadré ni étiré, elle est
   visible en entier. Elle commence un peu sous le haut de l'écran ; la barre de
   navigation flottante chevauche seulement sa partie haute, comme sur
   ordinateur. Le texte vient dessous, en composition éditoriale (surtitre à
   filet, titre, texte, actions), comme les en-têtes des pages catégorie.
   =============================================================== */

@media screen and (max-width: 767px) {
  .section_hero.is-home {
    /* La photo démarre 40 px sous le haut de l'écran : la barre (69 px de haut,
       16 px de marge basse) en recouvre environ les 30 premiers pixels. */
    margin-top: -45px;
    padding: 0 0 8px;
  }

  .hero_frame.is-home {
    border-width: 0;
    border-radius: 0;
    overflow: visible;
  }

  /* Format naturel de la photo : toutes les couches (tracé, croquis, photo)
     sont en object-fit: cover dans ce cadre au même ratio, donc sans recadrage. */
  .hero_image-wrapper.is-home {
    aspect-ratio: 2000 / 1266;
    height: auto;
    min-height: 0;
    max-height: none;
    border-radius: 0;
  }

  .hero_content.is-home {
    row-gap: 24px;
    margin: 0;
    padding: 28px var(--espacements--marge-page) 24px;
    border-radius: 0;
    background-color: transparent;
  }

  .hero_content.is-home .hero_text {
    row-gap: 14px;
  }

  /* Surtitre à filet, comme « Catalogue » sur les pages catégorie. */
  .badge.is-hero {
    display: flex;
    align-items: center;
    column-gap: 12px;
    align-self: flex-start;
    padding: 0;
    border-radius: 0;
    background-color: transparent;
    color: var(--couleurs--anthracite);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
  }

  .badge.is-hero::before {
    content: "";
    width: 24px;
    height: 1px;
    background-color: currentColor;
  }

  .text_small.is-hero.is-home {
    padding-top: 14px;
    border-top: 1px solid var(--lc-hairline);
  }
}

/* ===============================================================
   En-tête des pages catégorie — mobile (≤ 767 px)
   Reprend la composition tablette / ordinateur au lieu de la carte grise :
   surtitre (avec son filet) et titre, grande photo qui file jusqu'au bord
   droit de l'écran, puis encart de verre qui chevauche le bas de la photo
   avec le texte et le lien « Explorer les catégories ».
   =============================================================== */

@media screen and (max-width: 767px) {
  .section_hero.is-split.is-category {
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .hero_frame.is-split.is-category {
    grid-template-rows: auto;
    grid-template-columns: minmax(0, 1fr);
    border-width: 0;
    border-radius: 0;
    overflow: visible;
  }

  .hero_content.is-bottom.is-split.is-category {
    display: contents;
  }

  /* Une seule colonne : on annule les placements de la grille tablette (12 colonnes). */
  .hero_content.is-category > *,
  .hero_frame.is-split.is-category > .hero_image-wrapper {
    grid-column: 1;
    grid-row: auto;
  }

  .text_eyebrow.is-hero.is-category {
    display: flex;
    margin-bottom: 12px;
  }

  .text_eyebrow.is-hero.is-category::before {
    display: block;
    width: 24px;
  }

  .heading_h3.is-hero.is-category {
    margin-bottom: 20px;
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.04;
  }

  .hero_image-wrapper.is-split.is-category {
    aspect-ratio: 5 / 4;
    margin-left: 24px;
    margin-right: calc(-1 * var(--espacements--marge-page));
    border-radius: 14px 0 0 14px;
  }

  .hero_glass {
    display: flex;
    position: relative;
    z-index: 2;
    margin-top: -64px;
    margin-right: 12px;
    padding: 22px 20px 20px;
    border-radius: 14px;
  }

  .text_large.is-hero.is-category {
    font-size: 15px;
    line-height: 1.55;
  }

  .text_regular.is-hero.is-category {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.55;
  }

  .hero_link {
    display: flex;
    margin-top: 18px;
    min-height: 32px;
  }
}

/* ===============================================================
   Page Contact
   Titre et introduction en haut à gauche, hors de toute carte ; grande photo
   qui file jusqu'au bord droit de l'écran ; le formulaire, dans une carte de
   verre, chevauche le bas gauche de la photo et la déborde vers le bas
   (même esprit que les en-têtes Carrelage, Sanitaire, Matériaux, Mobilier).
   Mobile : titre, photo bord à bord, puis la carte qui remonte sur la photo.
   =============================================================== */

.section_contact-page {
  padding: clamp(8px, 1.5vw, 24px) var(--espacements--marge-page) clamp(64px, 8vw, 120px);
  overflow-x: clip;
}

.contact-page_layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto;
  column-gap: clamp(16px, 2vw, 28px);
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.contact-page_intro {
  position: relative;
  z-index: 1;
  grid-column: 1 / 6;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  padding: clamp(24px, 4vw, 64px) 0 clamp(32px, 3.5vw, 48px);
}

.contact-page_media {
  grid-column: 6 / 13;
  grid-row: 1 / 3;
  /* La photo couvre toute la hauteur titre + carte ; la carte la déborde en bas. */
  align-self: stretch;
  min-height: clamp(640px, 92vh, 960px);
  margin-bottom: 72px;
  margin-right: calc(-1 * var(--espacements--marge-page));
  overflow: hidden;
  border-radius: 18px 0 0 18px;
  background-color: var(--couleurs--cool-gray);
}

.contact-page_media .image_cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Le meuble vasque et le miroir restent visibles à droite de la carte. */
  object-position: 72% 50%;
}

.contact-page_card {
  position: relative;
  z-index: 2;
  grid-column: 1 / 8;
  grid-row: 2;
  align-self: start;
  display: flex;
  flex-direction: column;
  row-gap: 28px;
  padding: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 44px) clamp(24px, 2.6vw, 36px);
  border: 1px solid #faf8f5a6;
  border-radius: 18px;
  background-image: linear-gradient(135deg, #faf8f5f0, #f7f4efe6);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px #faf8f5cc, 0 40px 80px -40px #1c1b1959;
}

.contact-page_intro .text_eyebrow.is-line {
  display: flex;
  align-items: center;
  column-gap: 14px;
  margin: 0;
  letter-spacing: .16em;
}

.contact-page_intro .text_eyebrow.is-line::before {
  content: "";
  width: 28px;
  height: 1px;
  background-color: currentColor;
}

/* Titre en deux tons : la seconde moitié en gris, comme une réponse. */
.contact-page_title {
  margin: 0;
  font-family: var(--polices--titres);
  color: var(--couleurs--noir-pur);
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.03em;
}

.contact-page_title span {
  color: var(--couleurs--gris-discret);
}

.contact-page_lead {
  max-width: 46ch;
  margin: 0;
  color: var(--lc-text-strong);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.6;
}

.contact-page_hints {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--lc-hairline);
}

.contact-page_hints-title {
  margin: 0 0 12px;
  color: var(--couleurs--anthracite);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-page_hints-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-page_hints-list li {
  position: relative;
  padding-left: 18px;
  color: var(--lc-text-strong);
  font-size: 14px;
  line-height: 1.5;
}

.contact-page_hints-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 1px;
  background-color: var(--couleurs--anthracite);
}

.contact-page_hints-note {
  margin: 12px 0 0;
  color: var(--couleurs--anthracite);
  font-size: 13px;
  line-height: 1.5;
}

/* Formulaire dans la carte : sans cadre propre, champs blancs. */
.section_contact-page .contact-form {
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
}

.section_contact-page .contact-form_fields {
  gap: 22px 18px;
}

/* Rangée Téléphone / Ville ajoutée : le message reste la rangée extensible. */
@media screen and (min-width: 768px) {
  .section_contact-page .contact-form_fields {
    grid-template-rows: auto auto auto 1fr auto;
  }
}

.section_contact-page .contact-form_input {
  border-color: #1c1b191f;
  border-radius: 6px;
  background-color: var(--couleurs--blanc-optique);
  padding: 13px 15px;
}

.section_contact-page .contact-form_input:hover {
  border-color: var(--couleurs--acier-mat);
}

.section_contact-page .contact-form_input:focus {
  border-color: var(--couleurs--noir-pur);
}

.section_contact-page .contact-form_input.is-textarea {
  min-height: 150px;
}

.section_contact-page .contact-form_submit {
  border-radius: 0;
}

.section_contact-page .contact-form .w-form-done {
  border-radius: 12px;
}

/* Choix rapide du besoin (remplit le champ texte juste en dessous). */
.contact-form_chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.contact-form_chip {
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid var(--couleurs--acier-mat);
  border-radius: 999px;
  background-color: var(--couleurs--blanc-optique);
  color: var(--lc-text-strong);
  font-family: var(--polices--texte);
  font-size: 13px;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color var(--lc-duration) var(--lc-ease-out), border-color var(--lc-duration) var(--lc-ease-out), color var(--lc-duration) var(--lc-ease-out);
}

@media (hover: hover) {
  .contact-form_chip:hover {
    border-color: var(--couleurs--noir-pur);
  }
}

/* Choix multiples : la case native reste dans l'étiquette (clavier, lecteurs
   d'écran), masquée visuellement ; la pastille porte l'état coché. */
.contact-form_chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  column-gap: 6px;
  margin: 0;
  font-weight: 400;
}

.contact-form_chip-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.contact-form_chip:has(.contact-form_chip-input:focus-visible) {
  outline: 2px solid var(--couleurs--noir-pur);
  outline-offset: 2px;
}

.contact-form_chip:has(.contact-form_chip-input:checked) {
  border-color: var(--couleurs--noir-pur);
  background-color: var(--couleurs--noir-pur);
  color: var(--couleurs--blanc-optique);
}

/* Coche devant chaque choix sélectionné. */
.contact-form_chip:has(.contact-form_chip-input:checked)::before {
  content: "";
  width: 8px;
  height: 4px;
  margin-top: -2px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}

.contact-form_hint {
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--couleurs--gris-discret);
}

.contact-form_other {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
  margin-top: 8px;
}

.contact-form_other[hidden] {
  display: none;
}

/* Bloc Linea Concept (repris de l'accueil) : secondaire, après le formulaire. */
.section_concept.is-contact {
  padding-top: 0;
}

.section_concept.is-contact .heading_h2 {
  font-size: clamp(26px, 2.6vw, 36px);
}

@media screen and (min-width: 992px) and (max-width: 1279px) {
  .contact-page_intro {
    grid-column: 1 / 7;
  }

  .contact-page_media {
    grid-column: 7 / 13;
  }

  .contact-page_card {
    grid-column: 1 / 9;
  }
}

@media screen and (max-width: 991px) {
  .contact-page_layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }

  .contact-page_intro,
  .contact-page_media,
  .contact-page_card {
    grid-column: 1;
    grid-row: auto;
  }

  .contact-page_intro {
    padding: 16px 0 28px;
  }

  /* Photo bord à bord, sans arrondi ; la carte remonte sur son bas. */
  .contact-page_media {
    align-self: start;
    min-height: 0;
    margin-bottom: 0;
    aspect-ratio: 4 / 3;
    margin-left: calc(-1 * var(--espacements--marge-page));
    margin-right: calc(-1 * var(--espacements--marge-page));
    border-radius: 0;
  }

  .contact-page_card {
    margin-top: -120px;
    margin-right: 24px;
  }
}

@media screen and (max-width: 767px) {
  .contact-page_media {
    aspect-ratio: 4 / 5;
  }

  .contact-page_card {
    margin-top: -88px;
    margin-right: 0;
    padding: 24px 20px 20px;
    border-radius: 16px;
  }
}

@media screen and (max-width: 479px) {
  .contact-page_hints-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ===============================================================
   À propos de nous (accueil) — histoire de Linea Ceramica
   Bande gris clair : récit et chiffres clés à gauche (fixés pendant la
   lecture sur grand écran), frise chronologique à droite. js/story.js
   trace la ligne au défilement, allume chaque étape atteinte et fait
   compter les chiffres. Par défaut (sans JS, mouvement réduit) : frise
   entièrement tracée, tout est lisible.
   =============================================================== */

.section_story {
  padding-top: var(--espacements--section);
  padding-bottom: var(--espacements--section);
  background-color: var(--couleurs--cool-gray);
}

.section_story + .section_concept {
  padding-top: var(--espacements--section);
}

.story_layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  column-gap: clamp(48px, 7vw, 128px);
  align-items: start;
}

.story_intro {
  position: sticky;
  top: 112px;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.story_intro .text_eyebrow {
  margin: 0;
}

.story_heading {
  margin: 0;
}

.story_heading span {
  color: var(--couleurs--gris-discret);
}

.story_lead {
  max-width: 48ch;
  margin: 0;
  color: var(--lc-text-strong);
}

.story_text-team {
  max-width: 48ch;
  margin: 0;
  color: var(--couleurs--anthracite);
}

.story_figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 20px;
  margin: 12px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--lc-hairline);
}

.story_figure dt {
  margin-bottom: 8px;
  color: var(--couleurs--anthracite);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.story_figure dd {
  margin: 0;
  font-family: var(--polices--titres);
  color: var(--couleurs--noir-pur);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.story_figure:last-child dd {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.3;
  letter-spacing: 0;
}

/* Frise : une ligne verticale, un point par étape. */
.story_timeline {
  position: relative;
  padding-left: 44px;
}

.story_line {
  position: absolute;
  top: 21px;
  bottom: 0;
  left: 8px;
  width: 2px;
  background-color: #1c1b191f;
}

.story_line-fill {
  display: block;
  height: 100%;
  background-color: var(--couleurs--noir-pur);
  transform-origin: 50% 0;
}

.story_steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.story_step {
  position: relative;
  display: grid;
  grid-template-columns: clamp(96px, 9vw, 132px) minmax(0, 1fr);
  column-gap: 24px;
  padding-bottom: clamp(36px, 4vw, 56px);
}

.story_step:last-child {
  padding-bottom: 0;
}

/* Point centré sur la ligne, à 21 px du haut de l'étape (js/story.js : DOT). */
.story_step::before {
  content: "";
  position: absolute;
  top: 14px;
  left: -42px;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  border: 2px solid var(--couleurs--noir-pur);
  border-radius: 50%;
  background-color: var(--couleurs--noir-pur);
  box-shadow: 0 0 0 6px var(--couleurs--cool-gray);
  transition: background-color .5s var(--lc-ease-out), border-color .5s var(--lc-ease-out), transform .5s var(--lc-ease-out);
}

.story_year {
  margin: 0;
  font-family: var(--polices--titres);
  color: var(--couleurs--noir-pur);
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  transition: color .6s var(--lc-ease-out);
}

.story_body {
  padding-top: 4px;
  transition: opacity .7s var(--lc-ease-out), transform .7s var(--lc-ease-out);
}

.story_title {
  margin: 0 0 6px;
  font-family: var(--polices--titres);
  color: var(--couleurs--noir-pur);
  font-size: clamp(18px, 1.4vw, 21px);
  font-weight: 600;
  line-height: 1.3;
}

.story_text {
  max-width: 46ch;
  margin: 0;
  color: var(--lc-text-strong);
  font-size: 15px;
  line-height: 1.6;
}

/* État animé (js/story.js) : les étapes pas encore atteintes restent en retrait. */
.section_story.is-animated .story_line-fill {
  transform: scaleY(0);
}

.section_story.is-animated .story_step:not(.is-reached)::before {
  border-color: var(--couleurs--acier-mat);
  background-color: var(--couleurs--cool-gray);
  transform: scale(.75);
}

.section_story.is-animated .story_step:not(.is-reached) .story_year {
  color: var(--couleurs--acier-mat);
}

.section_story.is-animated .story_step:not(.is-reached) .story_body {
  opacity: .35;
  transform: translateY(8px);
}

@media screen and (max-width: 991px) {
  .story_layout {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 56px;
  }

  .story_intro {
    position: static;
  }
}

@media screen and (max-width: 767px) {
  .story_timeline {
    padding-left: 36px;
  }

  .story_line {
    left: 6px;
  }

  .story_step {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 6px;
    padding-bottom: 36px;
  }

  .story_step::before {
    left: -36px;
  }

  .story_year {
    font-size: 30px;
  }

  .story_figures {
    column-gap: 12px;
  }
}

/* ===============================================================
   Mentions légales — page de texte simple, même gabarit que les autres pages.
   =============================================================== */

.section_legal {
  padding-top: clamp(24px, 4vw, 64px);
  padding-bottom: var(--espacements--section);
}

.legal_layout {
  display: flex;
  flex-direction: column;
  row-gap: 28px;
  max-width: 760px;
}

.legal_layout .text_eyebrow,
.legal_layout .heading_h2 {
  margin: 0;
}

.legal_block {
  padding-top: 24px;
  border-top: 1px solid var(--lc-hairline);
}

.legal_heading {
  margin: 0 0 10px;
  font-family: var(--polices--titres);
  color: var(--couleurs--noir-pur);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.legal_block .text_regular {
  margin: 0;
  color: var(--lc-text-strong);
  line-height: 1.7;
}

.legal_link {
  color: var(--couleurs--noir-pur);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Coordonnées : pied de page et page Contact. */
.lc-footer_address {
  margin-top: 16px;
  font-style: normal;
  font-size: 13px;
  line-height: 1.7;
  color: inherit;
  opacity: .8;
}

.lc-footer_address-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.contact-page_visit {
  padding-top: 18px;
  border-top: 1px solid var(--lc-hairline);
}

.contact-page_address {
  margin: 0 0 6px;
  font-style: normal;
  color: var(--lc-text-strong);
  font-size: 14px;
  line-height: 1.6;
}

.contact-page_visit-line {
  margin: 0;
  color: var(--couleurs--anthracite);
  font-size: 14px;
  line-height: 1.6;
}

.contact-page_visit-line a {
  color: var(--couleurs--noir-pur);
  text-decoration: none;
  border-bottom: 1px solid var(--couleurs--acier-mat);
}

/* ---------------------------------------------------------------
   Accès au showroom (pied de page) — voir js/showroom-route.js
   Carte compacte dans la tuile d'accroche : aperçu de plan stylisé
   (illustration, pas une carte réelle), puis choix de l'application
   d'itinéraire. Aucun service tiers chargé : de simples liens.
   --------------------------------------------------------------- */

.lc-route {
  width: min(100%, 300px);
  border: 1px solid var(--lc-nuit-trait);
  border-radius: 4px;
  background-color: var(--lc-nuit);
  color: var(--couleurs--blanc-optique);
}

.lc-route_summary {
  display: flex;
  align-items: center;
  column-gap: 16px;
  padding: 12px;
  cursor: pointer;
  list-style: none;
  border-radius: 4px;
  -webkit-tap-highlight-color: transparent;
}

.lc-route_summary::-webkit-details-marker {
  display: none;
}

.lc-route_summary:focus-visible {
  outline: 2px solid var(--couleurs--blanc-optique);
  outline-offset: 2px;
}

.lc-route_map {
  flex: none;
  display: block;
  width: 96px;
  height: 72px;
  overflow: hidden;
  border-radius: 3px;
  background-color: var(--lc-nuit-tuile);
  background-image:
    linear-gradient(#faf8f50d 1px, transparent 1px),
    linear-gradient(90deg, #faf8f50d 1px, transparent 1px);
  background-size: 12px 12px;
}

.lc-route_map svg {
  display: block;
}

.lc-route_road {
  fill: none;
  stroke: #faf8f540;
  stroke-width: 5;
  stroke-linecap: round;
}

.lc-route_road.is-minor {
  stroke: #faf8f51f;
  stroke-width: 3;
}

.lc-route_pin {
  fill: var(--couleurs--blanc-optique);
  transform-origin: 48px 50px;
  transition: transform var(--lc-duration) var(--lc-ease-out);
}

.lc-route_pin-dot {
  fill: var(--lc-nuit);
}

.lc-route_body {
  display: flex;
  flex-direction: column;
  row-gap: 4px;
  min-width: 0;
}

.lc-route_label {
  font-family: var(--polices--texte);
  color: var(--couleurs--acier-mat);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.lc-route_address {
  font-family: var(--polices--texte);
  font-size: 13px;
  line-height: 1.5;
}

.lc-route_cta {
  display: inline-flex;
  align-items: center;
  column-gap: 8px;
  margin-top: 4px;
  font-family: var(--polices--texte);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.lc-route_chevron {
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--lc-duration-fast) var(--lc-ease-out);
}

.lc-route[open] .lc-route_chevron {
  margin-top: 3px;
  transform: rotate(-135deg);
}

@media (hover: hover) {
  .lc-route_summary:hover .lc-route_pin {
    transform: translateY(-3px);
  }
}

/* Panneau des choix : superposé sous la carte (ou au-dessus si la place
   manque à l'écran, classe posée par js/showroom-route.js), sans modifier la
   hauteur du footer. La tuile d'accroche laisse donc déborder son contenu ;
   son motif de joints reste contenu par inset: 0. */
.lc-footer_statement {
  overflow: visible;
  z-index: 1;
}

.lc-footer_statement::before {
  border-radius: inherit;
}

.lc-route {
  position: relative;
}

.lc-route_panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 2;
  padding: 12px;
  border: 1px solid #faf8f51f;
  border-radius: 4px;
  background-color: var(--lc-nuit);
  box-shadow: 0 18px 40px #1c1b1973;
  transform-origin: top center;
}

.lc-route.is-up .lc-route_panel {
  top: auto;
  bottom: calc(100% + 8px);
  transform-origin: bottom center;
}

.lc-route[open] .lc-route_panel {
  animation: lc-route-in .18s var(--lc-ease-out);
}

.lc-route.is-up[open] .lc-route_panel {
  animation-name: lc-route-in-up;
}

@keyframes lc-route-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(.98);
  }
}

@keyframes lc-route-in-up {
  from {
    opacity: 0;
    transform: translateY(6px) scale(.98);
  }
}

.lc-route_choose {
  margin: 0 0 4px;
  font-family: var(--polices--texte);
  color: var(--couleurs--acier-mat);
  font-size: 12px;
}

.lc-route_list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lc-route_link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  font-family: var(--polices--texte);
  color: var(--couleurs--blanc-optique);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid var(--lc-nuit-trait);
}

.lc-route_list li:last-child .lc-route_link {
  border-bottom: 0;
}

.lc-route_link:focus-visible {
  outline: 2px solid var(--couleurs--blanc-optique);
  outline-offset: 2px;
}

@media (hover: hover) {
  .lc-route_link:hover {
    color: var(--couleurs--acier-mat);
  }
}

.lc-route_ext {
  color: var(--couleurs--acier-mat);
}

/* Carte sous l'accroche par défaut ; à côté, en bas à droite, quand la tuile
   est assez large (requête de conteneur : la tuile change de largeur selon
   la mise en page du footer, pas seulement selon l'écran). */
.lc-footer_statement {
  container-type: inline-size;
}

.lc-route-layout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 16px;
}

.lc-footer_statement .lc-route {
  margin-top: 8px;
}

@container (min-width: 840px) {
  .lc-route-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: end;
    align-items: end;
    column-gap: 40px;
    row-gap: 16px;
  }

  .lc-footer_statement .lc-footer_eyebrow,
  .lc-footer_statement .lc-footer_lead {
    grid-column: 1;
  }

  .lc-footer_statement .lc-route {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    margin-top: 0;
  }
}

/* Ordinateur et tablette : carte un peu plus grande et plus confortable. */
@media screen and (min-width: 768px) {
  .lc-footer_statement .lc-route {
    width: 360px;
  }

  .lc-route_summary {
    column-gap: 20px;
    padding: 16px;
  }

  .lc-route_map {
    width: 128px;
    height: 96px;
  }

  .lc-route_map svg {
    width: 100%;
    height: 100%;
  }

  .lc-route_address {
    font-size: 14px;
  }

  .lc-route_cta {
    margin-top: 8px;
    font-size: 13px;
  }

  .lc-route_panel {
    padding: 14px 16px 10px;
  }

  .lc-route_choose {
    font-size: 13px;
  }

  .lc-route_link {
    min-height: 48px;
    font-size: 15px;
  }
}

/* Ordinateur : encore un peu plus grand. */
@media screen and (min-width: 992px) {
  .lc-footer_statement .lc-route {
    width: 420px;
  }

  .lc-route_summary {
    column-gap: 24px;
    padding: 20px;
  }

  .lc-route_map {
    width: 152px;
    height: 114px;
  }

  .lc-route_label {
    font-size: 12px;
  }

  .lc-route_address {
    font-size: 15px;
  }

  .lc-route_cta {
    font-size: 14px;
  }

  .lc-route_panel {
    padding: 16px 20px 12px;
  }

  .lc-route_choose {
    font-size: 14px;
  }

  .lc-route_link {
    min-height: 52px;
    font-size: 16px;
  }
}


@media (prefers-reduced-motion: reduce) {
  .lc-route_pin,
  .lc-route_chevron {
    transition: none;
  }

  .lc-route[open] .lc-route_panel {
    animation: none;
  }
}

/* ===============================================================
   Section Linea Concept : panneau compact
   Texte, trois points de prise en charge et bouton à gauche ;
   comparateur avant / après à droite, réduit et calé sur la hauteur
   du panneau. Les photos gardent leur format 4:5 (aucun recadrage) :
   seule leur hauteur cible change selon l'écran (--compare-h).
   =============================================================== */

.concept_layout {
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(32px, 4.5vw, 72px);
  align-items: center;
  padding: clamp(24px, 3.2vw, 48px);
  border-top: 0;
  border-radius: 4px;
  background-color: var(--couleurs--cool-gray);
}

.section_concept .compare {
  --compare-h: clamp(380px, 60vh, 520px);
  /* Largeur explicite (colonne « auto ») : hauteur cible × 4/5. */
  width: calc(var(--compare-h) * 4 / 5);
  max-width: 100%;
}

.section_concept .compare_frame {
  width: 100%;
}

/* Le texte occupe toute la colonne restante : pas de vide entre texte et image. */
.section_concept .concept_text {
  max-width: none;
}

.concept_points {
  display: grid;
  width: 100%;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--lc-hairline);
}

.concept_point {
  display: flex;
  align-items: baseline;
  column-gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--lc-hairline);
  font-family: var(--polices--titres);
  color: var(--couleurs--noir-pur);
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 600;
  line-height: 1.3;
}

.concept_point-num {
  flex: none;
  min-width: 2ch;
  font-family: var(--polices--texte);
  color: var(--couleurs--gris-discret);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
}

/* Tablette et mobile : texte puis comparateur, centré, dans le panneau
   (côte à côte, la colonne de texte deviendrait trop étroite). */
@media screen and (max-width: 991px) {
  .concept_layout {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 32px;
  }

  .section_concept .compare {
    --compare-h: 480px;
    justify-self: center;
  }
}

/* Mobile : le comparateur prend la largeur du panneau (hauteur ≤ 64 % de l'écran). */
@media screen and (max-width: 767px) {
  .concept_layout {
    row-gap: 28px;
    padding: 24px 16px;
  }

  .section_concept .compare {
    --compare-h: 64vh;
  }
}
