/* ==========================================================================
   Wash N Go — Nos laveries (liste + fiche laverie)
   Loaded after da-v2.css, only on these pages. Uses the v2 palette tokens
   (--c-*), no new colours or fonts.
   ========================================================================== */

/* ---------- Shared bits ---------- */
.lav-section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.lav-section[id],
.band-green[id] { scroll-margin-top: calc(var(--header-h, 91px) + 3.5rem); }
.lav-section .section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.lav-section h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.lav-section .section-head p { font-size: 1.0625rem; margin-top: 1rem; }

/* Provisional content marker (removed once real data is entered in WP) */
.lav-todo,
.lav-hero-facts .lav-todo {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border: 1.5px dashed #C9A227;
  border-radius: 999px;
  background: #FFF8DB;
  color: #6B5410;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  vertical-align: middle;
  max-width: 100%;
}

/* Open / closed pill */
.lav-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem 0.4rem 0.7rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--c-mint);
  color: var(--c-deep);
}
.lav-status::before {
  content: '';
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 0 4px rgba(8,127,91,0.18);
}
.lav-status.is-closed { background: #FDECEC; color: #8A1C1C; }
.lav-status.is-closed::before { background: #D64545; box-shadow: 0 0 0 4px rgba(214,69,69,0.18); }
.lav-status.is-unknown { background: var(--c-cream); color: var(--c-muted); }
.lav-status.is-unknown::before { background: var(--c-muted); box-shadow: none; }
.lav-status small { font-weight: 500; opacity: 0.85; font-size: inherit; }

.lav-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--c-mint);
  color: var(--c-deep);
}
.lav-icon svg { width: 26px; height: 26px; }

/* Wash N Go machine pictograms (PNG used as a mask, so they take the
   surrounding text colour: deep green on mint, white on the map pin…) */
.lav-glyph {
  display: inline-block;
  flex-shrink: 0;
  width: 26px; height: 26px;
  background-color: currentColor;
  -webkit-mask: var(--glyph) center / contain no-repeat;
          mask: var(--glyph) center / contain no-repeat;
}
.lav-glyph--lave  { --glyph: url("../img/icons/lave-linge.png?v=2"); }
.lav-glyph--seche { --glyph: url("../img/icons/seche-linge.png?v=2"); }
.lav-machines-group h3 .lav-glyph { width: 30px; height: 30px; color: var(--c-green); }
.lav-map-pin .lav-glyph { transform: rotate(45deg); width: 30px; height: 30px; }
.lav-card-photo--empty .lav-glyph { width: 64px; height: 64px; opacity: 0.55; }

/* icons inside buttons (theme SVGs carry no width/height of their own) */
.page-laveries .btn > svg { flex-shrink: 0; width: 18px; height: 18px; }

/* Breadcrumb */

.lav-breadcrumb { font-size: 0.875rem; margin-bottom: 1.25rem; }
.lav-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; padding: 0; margin: 0; }
.lav-breadcrumb li { display: inline-flex; align-items: center; gap: 0.35rem; color: rgba(255,255,255,0.7); }
.lav-breadcrumb li + li::before { content: '/'; opacity: 0.5; }
.lav-breadcrumb a { color: rgba(255,255,255,0.85); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.35); }
.lav-breadcrumb a:hover { color: #fff; }
.lav-breadcrumb [aria-current] { color: #fff; }

/* ---------- Hero (fiche laverie) ---------- */
.lav-hero {
  padding: var(--header-h, 91px) var(--panel-gap) 0;
}
.lav-hero-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(1.5rem, 4.5vw, 4.5rem);
  border-radius: var(--radius-xl);
  background: var(--c-deep);
  color: #fff;
}
.lav-hero-panel::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 420px; height: 420px;
  left: -140px; bottom: -220px;
  border-radius: 50%;
  background: rgba(116,221,126,0.12);
}
.lav-hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 4.6vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 1rem 0 1.25rem;
}
.lav-hero h1 .hl { color: var(--c-accent); display: block; }
.lav-hero-lead { color: rgba(255,255,255,0.85); font-size: clamp(1.05rem, 1.3vw, 1.2rem); max-width: 46ch; margin-bottom: 1.5rem; }
.lav-hero-facts { display: grid; gap: 0.75rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.lav-hero-facts li { display: flex; align-items: flex-start; gap: 0.75rem; color: #fff; font-size: 1rem; }
.lav-hero-facts svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 0.15rem; color: var(--c-accent); }
.lav-hero-facts span { color: rgba(255,255,255,0.75); }
.lav-hero-facts a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.4); }
.lav-hero-facts a:hover { text-decoration-color: var(--c-accent); }
.lav-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.lav-hero .btn-primary { background: var(--c-accent); color: var(--c-deep); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.lav-hero .btn-primary:hover { background: #fff; }
.lav-hero .btn-ghost { border-color: rgba(255,255,255,0.55); color: #fff; }
.lav-hero .btn-ghost:hover { background: #fff; border-color: #fff; color: var(--c-deep); }
.lav-hero-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3.4;
  border-radius: calc(var(--radius-xl) - 0.5rem);
  overflow: hidden;
}
.lav-hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transform-origin: 60% 45%;
  animation: lav-hero-drift 18s ease-in-out infinite alternate;
  will-change: transform;
}
/* Slow zoom and pan on the hero photo */
@keyframes lav-hero-drift {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.12) translate(-2%, 1.5%); }
}

/* In-page quick nav (sticky under the header) */
.lav-subnav {
  position: sticky;
  top: var(--header-h, 91px);
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.lav-subnav ul {
  display: flex;
  gap: 0.5rem;
  margin: 0 auto;
  padding: 0.75rem var(--container-pad);
  max-width: var(--container-max);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.lav-subnav ul::-webkit-scrollbar { display: none; }
.lav-subnav a {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--c-deep);
  background: var(--c-mint-pale);
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out);
}
.lav-subnav a:hover,
.lav-subnav a.is-active { background: var(--c-deep); color: #fff; }

/* ---------- Machines & tarifs ---------- */
.lav-machines-group + .lav-machines-group { margin-top: clamp(2rem, 4vw, 3rem); }
.lav-machines-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-bottom: 1.25rem; }
.lav-machines-group h3 { font-size: 1.5rem; margin: 0; display: flex; align-items: center; gap: 0.75rem; }
.lav-detergent-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.55rem 1.1rem 0.55rem 0.85rem;
  border-radius: 999px;
  background: var(--c-green);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(16,60,50,0.12));
}
.lav-detergent-badge svg { flex: none; width: 22px; height: 22px; color: var(--c-accent); }
.lav-detergent-badge strong { font-weight: 800; }
.lav-detergent-badge small { display: block; font-size: 0.8125rem; font-weight: 500; opacity: 0.85; }
@media (max-width: 520px) {
  .lav-detergent-badge { border-radius: var(--radius-md); }
}
.lav-machines {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.lav-machine {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--c-mint-pale);
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.lav-machine:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.lav-machine--dry { background: var(--c-cream); }
.lav-machine-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lav-machine--dry .lav-icon { background: #FFE9BF; }
.lav-machine-kind { font-size: 0.9375rem; font-weight: 600; color: var(--c-muted); }
.lav-machine-cap {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--c-charcoal);
  line-height: 1;
}
.lav-machine-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(16,60,50,0.1);
}
.lav-machine-price strong {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--c-green);
  line-height: 1;
}
.lav-machine-price span { font-size: 0.9375rem; font-weight: 600; color: var(--c-deep); }
.lav-machine p { margin: 0; font-size: 0.9375rem; line-height: 1.5; }

.lav-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-top: clamp(1.5rem, 3vw, 2rem); }
.lav-note {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
}
.lav-note .lav-icon { width: 44px; height: 44px; border-radius: 12px; }
.lav-note .lav-icon svg { width: 22px; height: 22px; }
.lav-note strong { display: block; color: var(--c-charcoal); margin-bottom: 0.2rem; }
.lav-note p { margin: 0; font-size: 0.9375rem; }
.lav-note--pay { background: var(--c-deep); border-color: var(--c-deep); }
.lav-note--pay .lav-icon { background: var(--c-accent); }
.lav-note--pay strong { color: #fff; font-size: 1.0625rem; margin-bottom: 0.6rem; }
.lav-pay { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.lav-pay li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
}
.lav-pay svg { width: 18px; height: 18px; color: var(--c-accent); }

/* ---------- Services ---------- */
.lav-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.lav-service {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: #fff;
}
.lav-service h3 { font-size: 1.125rem; margin-bottom: 0.3rem; }
.lav-service p { margin: 0; font-size: 0.9375rem; line-height: 1.5; }

/* ---------- Accès ---------- */
.lav-access { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.lav-map {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  height: 100%;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 40%, rgba(8,127,91,0.10) 0 18%, transparent 19%),
    linear-gradient(90deg, rgba(16,60,50,0.06) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(rgba(16,60,50,0.06) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--c-mint-pale);
}
.lav-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Map loads by itself as the section nears the screen (lazy iframe); the
   pin stays underneath while it loads */
.lav-map-placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
.lav-map-pin {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--c-green);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.lav-map-pin svg { transform: rotate(45deg); width: 28px; height: 28px; }

.lav-access-info { display: flex; flex-direction: column; gap: 1.25rem; }
.lav-address {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--c-deep);
  color: #fff;
}
.lav-address strong { display: block; font-family: var(--font-heading); font-size: 1.375rem; letter-spacing: -0.02em; margin-bottom: 0.35rem; }
.lav-address p { color: rgba(255,255,255,0.8); margin: 0 0 1.25rem; }
.lav-address .btn-primary { background: var(--c-accent); color: var(--c-deep); }
.lav-address .btn-primary:hover { background: #fff; }
.lav-access-text { font-size: 1.0625rem; margin: 0; }
.lav-access-list { display: grid; gap: 0.75rem; list-style: none; padding: 0; margin: 0; }
.lav-access-list li { display: flex; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: var(--radius-md); background: var(--c-mint-pale); }
.lav-access-list .lav-icon { width: 44px; height: 44px; border-radius: 12px; background: #fff; }
.lav-access-list .lav-icon svg { width: 22px; height: 22px; }
.lav-access-list h3 { font-size: 1rem; margin-bottom: 0.2rem; letter-spacing: -0.01em; }
.lav-access-list p { margin: 0; font-size: 0.9375rem; }

/* ---------- Horaires ---------- */
.lav-hours { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.lav-hours-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.35rem;
  font-size: 1rem;
}
.lav-hours-table caption { text-align: left; margin-bottom: 0.5rem; }
.lav-hours-table th,
.lav-hours-table td { padding: 0.95rem 1.25rem; background: #fff; }
.lav-hours-table th { text-align: left; font-weight: 600; color: var(--c-charcoal); border-radius: var(--radius-md) 0 0 var(--radius-md); }
.lav-hours-table td { text-align: right; color: var(--c-muted); font-variant-numeric: tabular-nums; border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.lav-hours-table td .is-closed-day { color: #8A1C1C; font-weight: 600; }
.lav-hours-table tr.is-today th,
.lav-hours-table tr.is-today td { background: var(--c-deep); color: #fff; }
.lav-hours-table tr.is-today th::after {
  content: "Aujourd’hui";
  margin-left: 0.6rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--c-accent);
  color: var(--c-deep);
  font-size: 0.75rem;
  font-weight: 700;
}
.lav-hours-side { display: flex; flex-direction: column; gap: 1rem; }
.lav-hours-card { padding: 1.5rem; border-radius: var(--radius-lg); background: #fff; }
.lav-hours-card h3 { font-size: 1.125rem; display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem; }
.lav-hours-card h3 svg { width: 22px; height: 22px; color: var(--c-green); }
.lav-hours-card p { margin: 0; font-size: 0.9375rem; }
.lav-hours-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.lav-hours-card li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9375rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--color-border); }
.lav-hours-card li:last-child { border-bottom: 0; padding-bottom: 0; }
.lav-hours-card li strong { color: var(--c-charcoal); }
.lav-hours-card--alert { background: var(--c-cream); }

/* ---------- FAQ ---------- */
.lav-faq { max-width: 860px; margin-inline: auto; }
.lav-faq .section-head { text-align: center; margin-inline: auto; }
.lav-faq-list { display: grid; gap: 0.75rem; }
.lav-faq-item { border-radius: var(--radius-md); background: var(--c-mint-pale); transition: background-color 200ms var(--ease-out); }
.lav-faq-item.is-open { background: var(--c-cream); }
.lav-faq-item h3 { margin: 0; font-size: inherit; letter-spacing: normal; }
.lav-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 1.5rem;
  border: 0;
  background: none;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-charcoal);
  text-align: left;
  cursor: pointer;
  border-radius: var(--radius-md);
}
.lav-faq-q:focus-visible { outline: 3px solid var(--c-green); outline-offset: 2px; }
.lav-faq-q::after {
  content: '';
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23103C32' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 260ms var(--ease-out);
}
.lav-faq-q[aria-expanded="true"]::after { transform: rotate(45deg); }
.lav-faq-a { padding: 0 1.5rem 1.4rem; }
.lav-faq-a p { margin: 0; font-size: 1rem; }
.lav-faq-a p + p { margin-top: 0.6rem; }
.lav-faq-a[hidden] { display: none; }

/* ---------- Assistance ---------- */
.lav-help {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  background: var(--c-lemon);
}
.lav-help .lav-icon { width: 72px; height: 72px; border-radius: 22px; background: var(--c-deep); color: var(--c-accent); }
.lav-help .lav-icon svg { width: 34px; height: 34px; }
.lav-help h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 0.5rem; }
.lav-help p { margin: 0; color: var(--c-deep); font-size: 1.0625rem; max-width: 58ch; }
.lav-help .btn-primary { background: var(--c-deep); box-shadow: 0 10px 30px rgba(16,60,50,0.25); }
.lav-help .btn-primary:hover { background: var(--c-green); }

/* ---------- Cards (liste + autres laveries) ---------- */
.lav-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  list-style: none;
  padding: 0;
  margin: 0;
}
.lav-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--color-border);
  transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
}
.lav-card-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; margin: 0; background: var(--c-mint-pale); }
.lav-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.lav-card-actions .btn-primary svg { flex-shrink: 0; width: 18px; height: 18px; transition: transform 350ms var(--ease-out); }

/* Hover only where there is a real pointer (no sticky hover on phones).
   Public cards lift and grow slightly; partner cards (not links) only
   float, with a softer shadow and no "clickable" cue. */
@media (hover: hover) and (pointer: fine) {
  .lav-card:not(.lav-card--partner):hover { transform: translateY(-5px) scale(1.015); box-shadow: var(--shadow-lg); }
  .lav-card:not(.lav-card--partner):hover .lav-card-photo img { transform: scale(1.05); }
  .lav-card:not(.lav-card--partner):hover .lav-card-actions .btn-primary svg { transform: translateX(4px); }
  .lav-card--partner { transition-duration: 600ms; }
  .lav-card--partner:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .lav-card--partner:hover .lav-card-photo img { transform: scale(1.04); }
}
.lav-card-photo .lav-status { position: absolute; top: 0.9rem; left: 0.9rem; box-shadow: var(--shadow-md); }
.lav-card-photo--empty { display: grid; place-items: center; color: var(--c-green); }
.lav-card-photo--empty svg { width: 56px; height: 56px; opacity: 0.6; }
.lav-card-body { display: flex; flex-direction: column; gap: 0.9rem; flex: 1; padding: 1.4rem 1.5rem 1.5rem; }
.lav-card-where { font-size: 0.875rem; font-weight: 600; color: var(--c-green); margin: 0; }
.lav-card h3 { font-size: 1.375rem; line-height: 1.15; margin: 0; }
.lav-card h3 a { color: inherit; }
.lav-card h3 a:hover { color: var(--c-green); }
.lav-card-facts { display: grid; gap: 0.55rem; list-style: none; padding: 0; margin: 0; }
.lav-card-facts li { display: flex; gap: 0.6rem; font-size: 0.9375rem; color: var(--c-muted); }
.lav-card-facts svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 0.15rem; color: var(--c-green); }
.lav-card-actions { display: grid; grid-template-columns: 1fr auto; gap: 0.6rem; margin-top: auto; padding-top: 0.4rem; }
.lav-card-actions .btn { justify-content: center; min-width: 0; white-space: normal; text-align: center; line-height: 1.2; }
.lav-card-actions .btn-ghost { padding-inline: 1.1rem; }
/* Phones: both buttons full width, one per line (easier to tap) */
@media (max-width: 520px) {
  .lav-card-actions { grid-template-columns: 1fr; }
  .lav-card-actions .btn { min-height: 52px; }
}

/* Public laverie: the whole card opens the laverie page (title link
   stretched over the card); the buttons stay clickable on top */
.lav-card--link { position: relative; }
.lav-card--link h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.lav-card--link h3 a:focus-visible { outline: none; }
.lav-card--link:has(h3 a:focus-visible) { outline: 3px solid var(--c-green); outline-offset: 3px; }
.lav-card--link .lav-card-actions { position: relative; z-index: 2; }

/* Partner laverie: static showcase card — no link, no hover, bigger photo */
.lav-card--partner { cursor: default; }
.lav-card--partner .lav-card-photo { aspect-ratio: 4 / 3; }
.lav-card--partner .lav-card-body { gap: 0.6rem; }
.lav-kind {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem 0.4rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  color: var(--c-deep);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}
.lav-kind svg { width: 16px; height: 16px; color: var(--c-green); }
.lav-card-private {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: auto 0 0;
  padding-top: 0.4rem;
  font-size: 0.8125rem;
  color: var(--c-muted);
}
.lav-card-private svg { flex-shrink: 0; width: 15px; height: 15px; }
.lav-card-partner { margin: -0.35rem 0 0; font-size: 0.9375rem; font-weight: 600; color: var(--c-deep); }
.lav-card-desc { margin: 0; font-size: 0.9375rem; line-height: 1.5; }
.lav-others-more { margin-top: 2rem; }

.lav-help-contacts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 0.75rem !important; }
.lav-help-contacts a { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; color: var(--c-deep); }
.lav-help-contacts svg { width: 18px; height: 18px; }

/* ---------- Page « Nos laveries » ---------- */
.lav-list-hero { padding: var(--header-h, 91px) var(--panel-gap) 0; }
.lav-list-hero-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 5rem);
  border-radius: var(--radius-xl);
  background: var(--c-deep);
}
.lav-list-hero-panel::before,
.lav-list-hero-panel::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: rgba(116,221,126,0.12);
}
.lav-list-hero-panel::before { width: 460px; height: 460px; right: -120px; top: -220px; animation: lav-drift 16s ease-in-out infinite alternate; }
.lav-list-hero-panel::after { width: 220px; height: 220px; right: 18%; bottom: -150px; background: rgba(231,245,123,0.12); animation: lav-drift 12s ease-in-out -4s infinite alternate-reverse; }
@keyframes lav-drift { to { transform: translate(-36px, 24px) scale(1.06); } }
.lav-list-hero h1 { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.75rem); line-height: 1; letter-spacing: -0.045em; margin: 1rem 0 1.25rem; }
.lav-list-hero h1 .hl { color: var(--c-accent); white-space: nowrap; }
.lav-list-hero p { color: rgba(255,255,255,0.85); font-size: clamp(1.05rem, 1.3vw, 1.2rem); max-width: 56ch; margin: 0; }
.lav-list-hero .lav-breadcrumb { margin-bottom: 0; }
.lav-list-jump { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.lav-list-jump .btn-primary { background: var(--c-accent); color: var(--c-deep); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.lav-list-jump .btn-primary:hover { background: #fff; }
.lav-list-jump .btn-ghost { border-color: rgba(255,255,255,0.55); color: #fff; }
.lav-list-jump .btn-ghost:hover { background: #fff; border-color: #fff; color: var(--c-deep); }


/* Section rhythm: the white of the intro fades into the green band of the
   partners, then back to white, instead of hard-edged blocks. The gradient
   is painted outside the container (border-image outset) without widening
   the page. */
.lav-flow-in { border-image: linear-gradient(180deg, transparent 55%, var(--color-green-pale)) fill 0 / / 0 100vmax; }
/* Tighter gap between the public laveries and the partners band */
.lav-flow-in { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.lav-flow-in + .band-green > .lav-section { padding-top: clamp(2rem, 4vw, 3.5rem); }
.lav-flow-out { border-image: linear-gradient(180deg, var(--color-green-pale), transparent 45%) fill 0 / / 0 100vmax; }

/* Scroll reveal (laveries.js + the "lav-anim" class set in <head>): each
   group fades and rises in when it enters the screen, its items one after
   another; cards start once their section title is in. Uses `translate`, so
   card hovers (`transform`) keep working. Without JS, or with reduced
   motion, nothing is hidden. */
.lav-anim [data-lav-reveal] > * {
  opacity: 0;
  translate: 0 22px;
  transition-property: opacity, translate, transform, box-shadow;
  transition-duration: 700ms, 900ms, 400ms, 400ms;
  transition-timing-function: var(--ease-out);
  transition-delay: calc(var(--lav-d, 0ms) + var(--lav-i, 0) * 90ms), calc(var(--lav-d, 0ms) + var(--lav-i, 0) * 90ms), 0s, 0s;
}
.lav-anim .lav-cards[data-lav-reveal] > * { --lav-d: 180ms; }
.lav-anim [data-lav-reveal].is-in > * { opacity: 1; translate: none; }

.lav-pro-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: var(--c-cream);
}
.lav-pro-banner h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 0.35rem; }
.lav-pro-banner p { margin: 0; }

/* ---------- Mobile sticky action bar ---------- */
.lav-actionbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .lav-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lav-help { grid-template-columns: minmax(0, 1fr); }
  .lav-help .lav-icon { display: none; }
  .lav-help .btn { justify-self: start; }
}

@media (max-width: 860px) {
  .lav-hero-panel { grid-template-columns: minmax(0, 1fr); }
  .lav-hero-photo { aspect-ratio: 16 / 10; }
  .lav-access,
  .lav-hours { grid-template-columns: minmax(0, 1fr); }
  .lav-map { min-height: 320px; height: auto; }
}

@media (max-width: 700px) {
  .lav-hero-panel { padding: 1.5rem 1.25rem; border-radius: var(--radius-lg); }
  .lav-hero h1 { margin-top: 0.75rem; }
  .lav-hero-lead { margin-bottom: 1.25rem; }
  .lav-hero-facts { margin-bottom: 1.5rem; }
  .lav-hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .lav-hero-photo { border-radius: var(--radius-md); }
  .lav-services { grid-template-columns: minmax(0, 1fr); }
  .lav-service { padding: 1.25rem; }
  .lav-machines { grid-template-columns: minmax(0, 1fr); }
  .lav-machine { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "icon cap price" "icon desc desc"; column-gap: 1rem; row-gap: 0.35rem; align-items: center; padding: 1.1rem 1.25rem; }
  .lav-machine-top { display: contents; }
  .lav-machine-top .lav-icon { grid-area: icon; align-self: start; width: 46px; height: 46px; }
  .lav-machine-top > div { grid-area: cap; }
  .lav-machine-price { grid-area: price; flex-direction: column; align-items: flex-end; gap: 0.1rem; border: 0; padding: 0; text-align: right; }
  .lav-machine-price strong { font-size: 1.75rem; }
  .lav-machine-price span { font-size: 0.8125rem; }
  .lav-machine p { grid-area: desc; font-size: 0.875rem; }
  .lav-machine-cap { font-size: 1.375rem; }
  .lav-hours-table th, .lav-hours-table td { padding: 0.8rem 1rem; }
  .lav-faq-q { padding: 1.1rem 1.25rem; }
  .lav-faq-a { padding: 0 1.25rem 1.25rem; }
  .lav-help { border-radius: var(--radius-lg); }
  .lav-help .btn { width: 100%; justify-content: center; }
  .lav-list-hero-panel { border-radius: var(--radius-lg); }
  .lav-list-jump .btn { flex: 1 1 auto; justify-content: center; }

  /* Itinéraire / Tarifs / Horaires always one tap away */
  .lav-actionbar {
    position: fixed;
    z-index: 90;
    left: 0.75rem; right: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 0.4rem;
    padding: 0.4rem;
    border-radius: 999px;
    background: var(--c-deep);
    box-shadow: 0 12px 32px rgba(16,60,50,0.35);
    transform: translateY(calc(100% + 1.5rem));
    transition: transform 320ms var(--ease-out);
  }
  .lav-actionbar.is-visible { transform: none; }
  .lav-actionbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 46px;
    border-radius: 999px;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
  }
  .lav-actionbar a:first-child { background: var(--c-accent); color: var(--c-deep); }
  .lav-actionbar svg { width: 18px; height: 18px; }
  body.has-actionbar .site-footer { padding-bottom: 5.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .lav-card, .lav-card-photo img, .lav-machine, .lav-actionbar, .lav-faq-q::after { transition: none; }
  .lav-card:hover, .lav-card:hover .lav-card-photo img { transform: none !important; }
  .lav-list-hero-panel::before, .lav-list-hero-panel::after { animation: none; }
  .lav-hero-photo img { animation: none; }
}
