/*
Theme Name: Eva Clean
Theme URI: https://www.evaclean.net/
Author: Jereweb
Author URI: https://www.jereweb.com/
Description: Thème sur mesure de la laverie Eva Clean à Lens — blanc et bleu du logo.
Version: 1.1.2
Requires at least: 6.5
Requires PHP: 8.1
License: Propriétaire
Text Domain: evaclean
*/

:root {
  --blue: #0e4391;
  --blue-deep: #0a2f68;
  --blue-night: #071f45;
  --blue-soft: #eef3fb;
  --blue-mist: #f6f9fd;
  --line: #dde6f2;
  --ink: #0b1f3d;
  --text: #3d4f69;
  --muted: #7587a1;
  --white: #fff;
  --ok: #157a52;
  --ok-bg: #e5f5ee;
  --warn: #9a6512;
  --warn-bg: #fdf3e1;
  --red: #b4303a;
  --red-bg: #fbe8e9;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 31, 61, .04), 0 12px 32px rgba(14, 67, 145, .08);
  --wrap: 1160px;
  --font: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
h1, h2, h3 { color: var(--ink); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(38px, 5.4vw, 66px); letter-spacing: -.045em; }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 22px; letter-spacing: -.02em; }
h1 em, h2 em { font-style: normal; color: var(--blue); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid rgba(14, 67, 145, .35); outline-offset: 3px; border-radius: 6px; }

.evc-wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.evc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.evc-skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.evc-skip:focus { left: 8px; }

.evc-kicker {
  font: 500 12px/1 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.evc-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.evc-lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--text); max-width: 34em; }

/* Boutons */
.evc-btn, .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px;
  background: var(--blue); color: #fff !important; border: 1.5px solid var(--blue);
  font: 700 15px/1 var(--font); letter-spacing: .01em; text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 8px 20px rgba(14, 67, 145, .22);
}
.evc-btn:hover, .wp-block-button__link:hover { background: var(--blue-deep); border-color: var(--blue-deep); transform: translateY(-1px); }
.evc-btn--small { padding: 11px 20px; font-size: 14px; box-shadow: none; }
.evc-btn--ghost, .is-style-outline .wp-block-button__link {
  background: transparent; color: var(--blue) !important; border-color: var(--line); box-shadow: none;
}
.evc-btn--ghost:hover, .is-style-outline .wp-block-button__link:hover { background: var(--blue-soft); border-color: var(--blue-soft); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* En-tête */
.evc-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.evc-header.is-scrolled { border-bottom-color: var(--line); }
.admin-bar .evc-header { top: 32px; }
.evc-header__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.evc-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.evc-brand img { width: 44px; height: 44px; border-radius: 50%; }
.evc-brand__name { font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -.02em; line-height: 1.05; }
.evc-brand__name small { display: block; font: 500 10px/1.6 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.evc-nav { display: flex; align-items: center; gap: 28px; }
.evc-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.evc-menu a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.evc-menu a:hover { color: var(--blue); }
.evc-burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.evc-burger span:not(.evc-sr) { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Accueil */
.evc-home > .wp-block-group { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.evc-hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px);
  align-items: start; padding: clamp(16px, 2.5vw, 32px) 0 clamp(40px, 5vw, 64px);
}
.evc-hero h1 { margin-top: 18px; }
.evc-hero__text { padding-top: clamp(0px, 2vw, 24px); }
.evc-hero__media { position: relative; }
.evc-hero__media .wp-block-image { margin: 0; }
.evc-hero__media img {
  width: 100%; aspect-ratio: 4 / 3.7; object-fit: cover;
  border-radius: 28px; box-shadow: var(--shadow);
}
.evc-hero__media .evc-dispo { position: absolute; left: -28px; bottom: 28px; }

.evc-open {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue);
  font: 600 14px/1 var(--font);
}
.evc-open__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 4px rgba(117, 135, 161, .18); }
.evc-open.is-open { background: var(--ok-bg); color: var(--ok); }
.evc-open.is-open .evc-open__dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(21, 122, 82, .18); animation: evc-pulse 2s infinite; }
.evc-open.is-late { background: var(--warn-bg); color: var(--warn); }
.evc-open.is-late .evc-open__dot { background: var(--warn); }
@keyframes evc-pulse { 50% { box-shadow: 0 0 0 7px rgba(21, 122, 82, 0); } }

.evc-dispo {
  background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: 20px;
  padding: 20px 22px; box-shadow: var(--shadow); min-width: 280px; backdrop-filter: blur(8px);
}
.evc-dispo__label { font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.evc-dispo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.evc-dispo__grid strong { display: block; font-size: 38px; line-height: 1; color: var(--blue); font-weight: 800; letter-spacing: -.04em; }
.evc-dispo__grid span { font-size: 13px; color: var(--text); }
.evc-dispo__link { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; text-decoration: none; }

.evc-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.evc-strip p { margin: 0; padding: 24px 24px; font-size: 14px; color: var(--muted); border-left: 1px solid var(--line); }
.evc-strip p:first-child { border-left: 0; padding-left: 0; }
.evc-strip strong { display: block; font-size: 28px; color: var(--ink); letter-spacing: -.03em; font-weight: 800; margin-bottom: 4px; }

.evc-section { padding: clamp(40px, 5vw, 64px) 0 0; }
.evc-intro { max-width: 40em; font-size: 18px; }

.evc-cards { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0 0 !important; }
.evc-cards--dry { grid-template-columns: repeat(2, 1fr); margin-top: 20px !important; }
.evc-card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 30px 26px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.evc-card:hover { border-color: #c5d4ea; box-shadow: var(--shadow); transform: translateY(-2px); }
.evc-card h3 { font-size: 46px; letter-spacing: -.05em; margin: 6px 0 4px; }
.evc-card p:last-child { margin: 0; font-size: 15px; }
.evc-card__tag { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 !important; }
.evc-card__price { font-size: 22px; font-weight: 800; color: var(--blue); margin: 0 0 14px !important; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.evc-card__price small { font-size: 14px; font-weight: 600; color: var(--muted); }
.evc-card--feature { background: var(--blue); border-color: var(--blue); color: rgba(255, 255, 255, .82); }
.evc-card--feature h3, .evc-card--feature .evc-card__price { color: #fff; }
.evc-card--feature .evc-card__tag { color: rgba(255, 255, 255, .6); }
.evc-card--feature .evc-card__price { border-color: rgba(255, 255, 255, .2); }

.evc-section--split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.evc-hours { margin: 0; background: var(--blue-mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 30px; }
.evc-hours div { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.evc-hours div:last-child { border-bottom: 0; }
.evc-hours dt { color: var(--text); }
.evc-hours dd { margin: 0; font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }

.evc-features { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 36px 0 0 !important; border-top: 1px solid var(--line); }
.evc-features > .wp-block-column { padding: 30px 30px 0 0; }
.evc-features > .wp-block-column + .wp-block-column { padding-left: 30px; border-left: 1px solid var(--line); }
.evc-features h3 { font-size: 20px; }
.evc-features p { font-size: 15px; }

.evc-contact {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: clamp(48px, 6vw, 80px); padding: clamp(48px, 6vw, 80px) !important;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  border-radius: 28px; color: rgba(255, 255, 255, .85);
}
/* Motif discret de hublot de machine */
.evc-contact::before, .evc-contact::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
  top: 50%; right: -140px; transform: translateY(-50%);
}
.evc-contact::before { width: 460px; height: 460px; border: 46px solid rgba(255, 255, 255, .06); }
.evc-contact::after { width: 260px; height: 260px; right: -40px; border: 2px solid rgba(255, 255, 255, .12); background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .10), transparent 60%); }
.evc-contact h2, .evc-contact .evc-kicker { color: #fff; }
.evc-contact a:not(.wp-block-button__link) { color: #fff; }
.evc-contact .wp-block-button__link { background: #fff; color: var(--blue) !important; border-color: #fff; box-shadow: none; }
.evc-contact .is-style-outline .wp-block-button__link { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .4); }
.evc-contact .is-style-outline .wp-block-button__link:hover { background: rgba(255, 255, 255, .1); }

/* Pages simples */
.evc-page { padding: clamp(24px, 3.5vw, 44px) 0 clamp(48px, 7vw, 96px); max-width: 820px; }
.evc-page__head { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.evc-prose h2 { font-size: 24px; margin-top: 1.8em; }

/* Pied de page */
.evc-footer { margin-top: clamp(72px, 9vw, 120px); background: var(--blue-night); color: rgba(255, 255, 255, .72); font-size: 15px; }
.evc-footer a { color: #fff; text-decoration: none; }
.evc-footer a:hover { text-decoration: underline; }
.evc-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding: 64px 0 40px; }
.evc-footer__brand img { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 18px; }
.evc-footer__title { font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 16px; }
.evc-social { display: flex; gap: 16px; flex-wrap: wrap; }
.evc-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 22px 0 30px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .5); }

/* ---------- Disponibilités (/statut/) — mêmes classes que l'ancienne page ---------- */
.evc-statut .shell { padding: clamp(24px, 3.5vw, 44px) 0 0; }
.evc-statut-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.evc-statut-hero h1 { font-size: clamp(36px, 4.6vw, 56px); }
.evc-statut-hero .evc-lead { margin: 0; font-size: 17px; }
.updated { flex: 0 0 auto; font: 500 12px/1 var(--mono); color: var(--muted); background: var(--blue-mist); border: 1px solid var(--line); padding: 10px 14px; border-radius: 999px; }
.tables-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.machine-group { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.group-title-row { padding: 22px 24px 18px; border-bottom: 1px solid var(--line); background: var(--blue-mist); }
.group-title-row h2 { font-size: 20px; margin: 0; letter-spacing: -.02em; }
.table-wrap { overflow-x: auto; }
.machine-group table { width: 100%; border-collapse: collapse; }
.machine-group th { background: #fff; color: var(--muted); font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 14px 24px; text-align: left; }
.machine-group td { padding: 16px 24px; border-top: 1px solid #edf2f8; color: var(--text); font-size: 15px; }
.machine-group td:first-child { font: 500 15px var(--mono); color: var(--blue); width: 16%; }
.machine-group td:nth-child(2) { font-weight: 700; color: var(--ink); white-space: nowrap; }
.machine-group td:nth-child(3) { white-space: nowrap; text-align: right; }
.machine-group thead th:last-child { text-align: right; }
.machine-group-row th { padding: 14px 24px 10px; background: var(--white); color: var(--blue); border-top: 1px solid var(--line); font: 700 13px var(--font); letter-spacing: 0; text-transform: none; }
.machine-group-row:first-child th { border-top: 0; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.available { background: var(--ok-bg); color: var(--ok); }
.busy, .countdown { background: var(--warn-bg); color: var(--warn); }
.washer-cycle { background: var(--blue-soft); color: var(--blue); }
.down { background: var(--red-bg); color: var(--red); }
.unknown { background: #eef1f5; color: var(--muted); }
.empty { text-align: center !important; color: var(--muted); padding: 40px !important; }
.evc-statut-note { margin-top: 22px; font: 500 12px var(--mono); color: var(--muted); text-align: center; }
#toast { position: fixed; right: 20px; bottom: 20px; background: var(--ink); color: #fff; padding: 13px 17px; border-radius: 10px; opacity: 0; transform: translateY(10px); transition: .25s; pointer-events: none; font-size: 13px; }
#toast.show { opacity: 1; transform: none; }

/* ---------- Liens (/liens/) — page autonome ---------- */
body.evc-links { background: var(--blue) linear-gradient(170deg, var(--blue) 0%, var(--blue-deep) 55%, var(--blue-night) 100%) fixed; min-height: 100vh; }
.evc-linkpage { width: min(520px, 100% - 40px); margin: 0 auto; padding: 48px 0 40px; text-align: center; color: #fff; }
.evc-linkpage__avatar img { width: 132px; height: 132px; margin: 0 auto 24px; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, .25); }
.evc-linkpage__name { color: #fff; font-size: 22px; letter-spacing: -.02em; line-height: 1.3; margin-bottom: 8px; }
.evc-linkpage__desc { color: rgba(255, 255, 255, .7); font-size: 15px; }
.evc-linkpage__social { display: flex; justify-content: center; gap: 14px; margin: 20px 0 28px; }
.evc-linkpage__social a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .12); transition: background .2s, transform .2s; }
.evc-linkpage__social a:hover { background: rgba(255, 255, 255, .22); transform: translateY(-2px); }
.evc-linkpage__social img { width: 26px; height: 26px; border-radius: 6px; }
.evc-linkpage__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.evc-linkpage__btn {
  display: flex; align-items: center; gap: 16px; padding: 10px 22px 10px 10px;
  background: #fff; color: var(--ink); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18); transition: transform .2s, box-shadow .2s;
}
.evc-linkpage__btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, .24); color: var(--blue); }
.evc-linkpage__icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: var(--blue-soft); display: grid; place-items: center; overflow: hidden; color: var(--blue); }
.evc-linkpage__icon img { width: 46px; height: 46px; object-fit: cover; border-radius: 50%; }
.evc-linkpage__icon svg { width: 24px; height: 24px; }
.evc-linkpage__label { flex: 1; text-align: left; }
.evc-linkpage__foot { margin-top: 30px; font-size: 13px; color: rgba(255, 255, 255, .65); }
.evc-linkpage__foot a { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .evc-hero { grid-template-columns: 1fr; }
  .evc-hero__media .evc-dispo { left: 16px; right: 16px; bottom: 16px; min-width: 0; }
  .evc-hero__media img { aspect-ratio: 4 / 3; }
  .evc-cards { grid-template-columns: 1fr; }
  .evc-cards--dry { grid-template-columns: 1fr; }
  .evc-section--split { grid-template-columns: 1fr; }
  .evc-features { grid-template-columns: 1fr; border-top: 0; }
  .evc-features > .wp-block-column, .evc-features > .wp-block-column + .wp-block-column { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
  .tables-stack { grid-template-columns: 1fr; }
  .evc-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .evc-contact::before { width: 320px; height: 320px; right: -160px; }
  .evc-contact::after { display: none; }
}
@media (max-width: 820px) {
  .evc-burger { display: block; }
  .evc-nav {
    position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 24px;
    transform: translateY(-120%); transition: transform .25s; visibility: hidden;
  }
  .admin-bar .evc-nav { top: 124px; }
  .evc-nav.is-open { transform: none; visibility: visible; }
  .evc-menu { flex-direction: column; gap: 0; }
  .evc-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .evc-nav .evc-btn { margin-top: 18px; }
  .evc-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .evc-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .evc-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .evc-strip { grid-template-columns: 1fr 1fr; }
  .evc-strip p:nth-child(3) { border-left: 0; padding-left: 0; }
  .evc-strip p:nth-child(n+3) { border-top: 1px solid var(--line); }
  .evc-statut-hero { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 782px) { .admin-bar .evc-header { top: 46px; } }
@media (max-width: 520px) {
  body { font-size: 16px; }
  .evc-wrap, .evc-home > .wp-block-group { width: calc(100% - 32px); }
  .evc-card { padding: 24px; }
  .evc-hours { padding: 4px 20px; }
  .evc-hours dd { font-size: 22px; }
  .machine-group td, .machine-group th { padding-left: 14px; padding-right: 14px; }
  .machine-group td:nth-child(2) { white-space: normal; }
  .evc-contact { padding: 36px 24px !important; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Neutralise les marges automatiques des blocs dans les grilles */
.evc-hero > *, .evc-hero__text > *:first-child, .evc-section--split > *, .evc-strip > *, .evc-hero__media > * { margin-block-start: 0; }
.evc-cards > .wp-block-column, .evc-features > .wp-block-column { margin: 0 !important; flex-basis: auto !important; }
/* Thème classique : WordPress ajoute un conteneur intérieur aux groupes — on le rend transparent pour la mise en page */
.evc-home .wp-block-group__inner-container { display: contents; }

/* ---------- 1.0.6 : cartes machines toutes en bleu ---------- */
.evc-card { background: var(--blue); border-color: var(--blue); color: rgba(255, 255, 255, .82); }
.evc-card:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.evc-card h3, .evc-card .evc-card__price { color: #fff; }
.evc-card .evc-card__tag, .evc-card__price small { color: rgba(255, 255, 255, .6); }
.evc-card .evc-card__price { border-color: rgba(255, 255, 255, .2); }
.evc-section.evc-tips { padding-top: clamp(24px, 3vw, 36px); }

/* ---------- Demande de facture ---------- */
.evc-facture fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 8px; margin: 0 0 20px; }
.evc-facture legend { padding: 0 8px; font-weight: 800; color: var(--ink); font-size: 17px; }
.evc-facture label { display: block; font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 14px; }
.evc-facture label small { font-weight: 400; color: var(--muted); }
.evc-facture input[type=text], .evc-facture input[type=email], .evc-facture input[type=tel], .evc-facture input[type=date],
.evc-facture input[type=number], .evc-facture select, .evc-facture textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: 400 16px/1.3 var(--font); color: var(--ink);
  background: #fff; border: 1px solid #c9d6e8; border-radius: 10px;
}
.evc-facture input:focus, .evc-facture select:focus, .evc-facture textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(14, 67, 145, .15); }
.evc-facture input[type=file] { display: block; margin-top: 8px; font-size: 14px; }
.evc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.evc-grid .evc-full { grid-column: 1 / -1; }
.evc-lignes { display: grid; gap: 10px; margin-bottom: 14px; }
.evc-ligne { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; background: var(--blue-mist); border-radius: 12px; }
.evc-ligne__txt strong { display: block; color: var(--ink); }
.evc-ligne__txt span { font-size: 13px; color: var(--muted); }
.evc-ligne__qte { display: flex !important; align-items: center; gap: 8px; margin: 0 !important; }
.evc-ligne__qte input[type=number] { width: 92px; margin: 0; text-align: center; font-weight: 700; }
.evc-ligne__qte em { font-style: normal; font-size: 12px; color: var(--muted); width: 48px; }
.evc-aide { font-size: 13px; color: var(--muted); }
.evc-facture__total { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; margin: 4px 0 20px; background: var(--blue); color: #fff; border-radius: var(--radius); }
.evc-facture__total strong { font-size: 26px; }
.evc-consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.evc-consent input { margin-top: 4px; }
.evc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.evc-facture-err { background: var(--red-bg); color: var(--red); padding: 14px 18px; border-radius: 12px; }
.evc-facture-ok { text-align: center; padding: 40px 0; }
@media (max-width: 600px) {
  .evc-grid { grid-template-columns: 1fr; }
  .evc-facture fieldset { padding: 18px 16px 4px; }
  .evc-ligne { flex-direction: column; align-items: stretch; }
  .evc-ligne__qte input[type=number] { width: 100%; }
}

/* ---------- 1.0.7 : lavage (bleu plein) / séchage (blanc, bordure bleue) ---------- */
.evc-subhead { display: flex; align-items: center; gap: 12px; margin: 40px 0 0 !important; font-size: 22px; color: var(--ink); }
.evc-subhead::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.evc-subhead + .evc-cards { margin-top: 16px !important; }
.evc-cards--dry .evc-card { background: #fff; border: 2px solid var(--blue); color: var(--text); }
.evc-cards--dry .evc-card:hover { background: var(--blue-mist); border-color: var(--blue); }
.evc-cards--dry .evc-card h3 { color: var(--blue); }
.evc-cards--dry .evc-card .evc-card__price { color: var(--ink); border-color: var(--line); }
.evc-cards--dry .evc-card .evc-card__tag, .evc-cards--dry .evc-card__price small { color: var(--muted); }

/* ---------- 1.0.8 : haut de page resserré (16 px sous le menu) ---------- */
.evc-hero { padding-top: 16px; }
.evc-hero__text { padding-top: 0; }
.evc-hero .evc-open { margin-top: 0; }

/* ---------- 1.0.9 : demande de facture pensée pour le téléphone ---------- */
.evc-step { border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin: 0 0 14px; background: #fff; }
.evc-step__title { display: flex; align-items: center; gap: 12px; font-size: 20px; letter-spacing: -.02em; margin: 0 0 10px; }
.evc-step__title > span { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 15px; }
.evc-step__title small { font-weight: 500; font-size: 13px; color: var(--muted); letter-spacing: 0; }
.evc-step__label { font-weight: 700; font-size: 14px; color: var(--ink); margin: 14px 0 8px; }
.evc-step .evc-aide { margin: -4px 0 12px; }
.evc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.evc-chip { position: relative; display: inline-flex !important; align-items: center; min-height: 44px; margin: 0 !important; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: 600 15px/1 var(--font) !important; color: var(--ink) !important; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.evc-chip.is-on { background: var(--blue); border-color: var(--blue); color: #fff !important; }
.evc-chip input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.evc-chip--date input[type=date] { position: absolute; inset: 0; width: 100% !important; height: 100%; margin: 0 !important; opacity: 0; cursor: pointer; }
.evc-facture .evc-lignes { gap: 8px; margin: 0; }
.evc-facture .evc-ligne { flex-direction: row; align-items: center; gap: 10px; padding: 10px 8px 10px 14px; background: var(--blue-mist); border: 1.5px solid transparent; border-radius: 14px; transition: border-color .15s, background .15s; }
.evc-facture .evc-ligne.is-on { background: #fff; border-color: var(--blue); }
.evc-facture .evc-ligne__txt { min-width: 0; }
.evc-facture .evc-ligne__txt strong { font-size: 17px; }
.evc-stepper { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.evc-stepper__btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; font: 700 24px/1 var(--font); cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.evc-stepper__btn[data-step="-1"] { background: #fff; color: var(--blue); border: 1.5px solid #c9d6e8; }
.evc-stepper__btn:active { transform: scale(.92); }
.evc-facture .evc-stepper input[type=number] { width: 46px; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; text-align: center; font: 800 20px/1 var(--font); color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.evc-stepper input::-webkit-outer-spin-button, .evc-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.evc-stepper__unit { font-size: 12px; color: var(--muted); margin-left: -4px; }
.evc-stepper__unit:empty { display: none; }
.evc-field { display: block; margin-bottom: 12px; }
.evc-field small { font-weight: 400; color: var(--muted); }
.evc-row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; }
.evc-more summary { display: flex; align-items: center; min-height: 44px; color: var(--blue); font-weight: 700; font-size: 14px; cursor: pointer; }
.evc-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; font-size: 14px !important; line-height: 1.4; margin: 6px 0 0 !important; cursor: pointer; }
.evc-check input { flex: 0 0 22px; width: 22px; height: 22px; margin: 0; accent-color: var(--blue); }
.evc-check--rgpd { margin: 10px 4px 14px !important; }
.evc-file { position: relative; display: flex !important; align-items: center; justify-content: center; min-height: 52px; margin-bottom: 12px !important; border: 1.5px dashed #b9c9e2; border-radius: 14px; color: var(--blue) !important; font-weight: 700 !important; text-align: center; padding: 0 12px; cursor: pointer; }
.evc-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.evc-recap { border-color: var(--blue); }
.evc-recap ul { margin: 0; padding-left: 20px; }
.evc-recap li { font-size: 15px; margin: 4px 0; }
.evc-facture__alert { background: var(--red-bg); color: var(--red); padding: 12px 16px; border-radius: 12px; font-weight: 600; }
.evc-facture__bar {
  position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); margin: 0 -1px;
  background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 18px 18px 0 0; box-shadow: 0 -10px 28px rgba(14, 67, 145, .12);
}
.evc-facture__bar span { display: block; font-size: 12px; color: var(--muted); }
.evc-facture__bar strong { font-size: 22px; color: var(--ink); letter-spacing: -.02em; }
.evc-facture__bar .evc-btn { padding: 15px 22px; }
.evc-facture__bar .evc-btn:disabled { opacity: .6; }
.evc-facture-ok__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; font-size: 32px; font-weight: 800; }
@media (max-width: 600px) {
  .evc-step { padding: 16px 14px; border-radius: 16px; }
  .evc-facture .evc-ligne { flex-direction: row; align-items: center; }
  .evc-facture .evc-stepper input[type=number] { width: 42px; }
  .evc-facture__bar { margin: 0 -16px; border-radius: 16px 16px 0 0; }
  .evc-facture__bar .evc-btn { padding: 14px 18px; font-size: 15px; }
}

/* 1.0.11 : titres des étapes du formulaire (annule la marge des pages de texte) */
.evc-facture .evc-step__title { margin: 0 0 10px; font-size: 20px; }

/* ---------- Programme fidélité (/fidelite/) ---------- */
.evc-fid { margin: 12px 0 8px; }
.evc-fid table { width: calc(100% + 16px); margin: 0 -8px; border-collapse: separate; border-spacing: 8px; table-layout: fixed; }
.evc-fid th, .evc-fid td { border: 2px solid var(--blue); border-radius: 12px; padding: 12px 6px; text-align: center; font: 800 18px/1.2 var(--font); color: var(--ink); background: #fff; }
.evc-fid thead th { font-size: 14px; font-weight: 700; color: var(--blue); background: var(--blue-soft); }
.evc-fid thead th.evc-fid__vide { border: 0; background: none; }
.evc-fid tbody th { width: 22%; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; }
.evc-fid .evc-fid__bonus td { background: var(--blue); color: #fff; }
.evc-fid .evc-fid__bonus th { background: #fff; color: var(--blue); }
.evc-fid .evc-fid__carte { font-size: 15px; }
.evc-fid--mobile { display: none; }
.evc-fid__note { font-size: 14px; color: var(--muted); margin-top: 6px; }
.evc-fid-steps { counter-reset: fid; list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.evc-fid-steps li { counter-increment: fid; position: relative; padding: 16px 18px 16px 62px; background: var(--blue-mist); border: 1px solid var(--line); border-radius: 14px; }
.evc-fid-steps li::before { content: counter(fid); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font: 800 16px/32px var(--font); text-align: center; }
@media (max-width: 680px) {
  .evc-fid table { border-spacing: 4px; width: calc(100% + 8px); margin: 0 -4px; }
  .evc-fid th, .evc-fid td { font-size: 12px; padding: 9px 1px; border-radius: 8px; border-width: 1.5px; letter-spacing: -.02em; }
  .evc-fid thead th, .evc-fid tbody th { font-size: 10px; line-height: 1.15; }
  .evc-fid tbody th { width: 21%; padding-left: 3px; padding-right: 3px; }
  .evc-fid .evc-fid__carte { font-size: 10px; }
}
@media (max-width: 360px) {
  .evc-fid th, .evc-fid td { font-size: 11px; }
  .evc-fid thead th, .evc-fid tbody th, .evc-fid .evc-fid__carte { font-size: 9px; }
}

/* =====================================================================
   1.1.0 — Habillage « bandeaux photo, vagues, titres capitales »
   ===================================================================== */
:root {
  --accent: #1f74d1;
  --wave-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 70 C 260 10 520 0 760 45 C 1000 90 1220 95 1440 35 L1440 100 L0 100 Z'/%3E%3C/svg%3E");
  --wave-night: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23071f45' d='M0 70 C 260 10 520 0 760 45 C 1000 90 1220 95 1440 35 L1440 100 L0 100 Z'/%3E%3C/svg%3E");
  --wave-white-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 0 L1440 0 L1440 40 C 1180 95 940 100 700 60 C 460 20 220 15 0 55 Z'/%3E%3C/svg%3E");
}

/* En-tête bleu nuit + bande bleue */
.evc-header { background: var(--blue-night); backdrop-filter: none; border-bottom: 4px solid var(--accent); }
.evc-header.is-scrolled { border-bottom-color: var(--accent); }
.evc-brand__name { color: #fff; }
.evc-brand__name small { color: rgba(255, 255, 255, .6); }
.evc-nav { gap: 22px; align-self: stretch; }
.evc-menu { gap: 0; align-self: stretch; }
.evc-menu li { display: flex; }
.evc-menu a { display: flex; align-items: center; padding: 0 15px; color: #fff; font-size: 14px; font-weight: 600; transition: background .2s; }
.evc-menu a:hover, .evc-menu a.is-current { background: var(--accent); color: #fff; }
.evc-header .evc-btn { background: transparent; border: 2px solid #fff; border-radius: 10px; box-shadow: none; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.evc-header .evc-btn:hover { background: var(--accent); border-color: var(--accent); }
.evc-burger span:not(.evc-sr) { background: #fff; }

/* Titres de section en capitales */
.evc-section h2, .evc-prose h2 { text-transform: uppercase; color: var(--blue); letter-spacing: .01em; font-weight: 800; }
.evc-section h2 { font-size: clamp(26px, 3.2vw, 40px); }
.evc-prose h2 { font-size: clamp(22px, 2.6vw, 30px); }
.evc-section h2 em { color: var(--ink); }

/* Accueil : grand bandeau photo pleine largeur */
.evc-home > .evc-hero {
  width: 100%; max-width: none; margin: 0; position: relative; isolation: isolate;
  grid-template-columns: 1.15fr .85fr; align-items: center;
  min-height: clamp(520px, 76vh, 760px);
  padding: clamp(48px, 7vw, 100px) max(24px, calc((100% - var(--wrap)) / 2)) clamp(110px, 12vw, 170px);
  color: rgba(255, 255, 255, .88);
  background: linear-gradient(100deg, rgba(7, 31, 69, .94) 0%, rgba(7, 31, 69, .74) 48%, rgba(7, 31, 69, .38) 100%), url(assets/img/laverie-machines.jpg) center / cover no-repeat;
}
.evc-home > .evc-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(50px, 7vw, 100px); background: var(--wave-white) center bottom / 100% 100% no-repeat; pointer-events: none; z-index: 0; }
.evc-home > .evc-hero > * { position: relative; z-index: 1; }
.evc-hero h1 { color: #fff; text-transform: uppercase; font-weight: 300; letter-spacing: .01em; font-size: clamp(34px, 4.8vw, 62px); line-height: 1.05; }
.evc-hero h1 em { color: #fff; font-weight: 800; }
.evc-hero h1::after { content: ""; display: block; width: 110px; height: 4px; margin-top: 22px; border-radius: 2px; background: var(--accent); }
.evc-hero p { color: rgba(255, 255, 255, .86); }
.evc-hero .wp-block-button__link { background: transparent; border: 2px solid #fff; border-radius: 10px; color: #fff !important; box-shadow: none; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.evc-hero .wp-block-button__link:hover { background: #fff; color: var(--blue-night) !important; border-color: #fff; }
.evc-hero .is-style-fill .wp-block-button__link { background: var(--accent); border-color: var(--accent); }
.evc-hero__media { display: flex; justify-content: flex-end; align-items: center; }
.evc-hero__media .wp-block-image, .evc-hero__media figure { display: none; }
.evc-hero__media .evc-dispo { position: static; }

/* Bandeau des chiffres */
.evc-strip { border: 0; gap: 14px; margin-top: 8px; }
.evc-strip p, .evc-strip p:first-child { border: 2px solid var(--blue); border-radius: 14px; padding: 18px 20px; text-align: center; color: var(--text); }
.evc-strip strong { color: var(--blue); text-transform: uppercase; }

/* Bloc contact : bande sombre pleine largeur avec vague */
.evc-home > .evc-contact {
  width: 100%; max-width: none; border-radius: 0; margin-bottom: 0;
  padding: clamp(110px, 12vw, 150px) max(24px, calc((100% - var(--wrap)) / 2)) clamp(56px, 7vw, 90px) !important;
  background: var(--blue-night);
}
.evc-home > .evc-contact::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; width: auto; height: clamp(50px, 7vw, 100px); border: 0; border-radius: 0; transform: none; background: var(--wave-white-top) center top / 100% 100% no-repeat; }
.evc-home > .evc-contact::after { display: none; }
.evc-contact h2 { text-transform: uppercase; }
.home .evc-footer { margin-top: 0; }

/* Pages : bandeau photo + titre capitales */
.evc-pagehero {
  position: relative; isolation: isolate; text-align: center; color: #fff;
  padding: clamp(48px, 7vw, 90px) 0 clamp(90px, 10vw, 130px);
  background: linear-gradient(rgba(7, 31, 69, .8), rgba(7, 31, 69, .8)), url(assets/img/laverie-machines.jpg) center / cover no-repeat;
}
.evc-pagehero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(40px, 6vw, 80px); background: var(--wave-white) center bottom / 100% 100% no-repeat; z-index: 0; }
.evc-pagehero .evc-kicker { color: rgba(255, 255, 255, .7); justify-content: center; }
.evc-pagehero h1 { color: #fff; text-transform: uppercase; font-weight: 300; letter-spacing: .01em; font-size: clamp(30px, 4.6vw, 56px); margin: 0; }
.evc-pagehero h1 strong { font-weight: 800; }
.evc-page { padding-top: clamp(12px, 2vw, 24px); }

/* Pied de page : vague */
.evc-footer { position: relative; }
.evc-footer::before { content: ""; position: absolute; left: 0; right: 0; top: calc(-1 * clamp(40px, 6vw, 80px) + 1px); height: clamp(40px, 6vw, 80px); background: var(--wave-night) center bottom / 100% 100% no-repeat; pointer-events: none; }

/* Bandeau cookies */
.evc-cookies { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; padding: 14px 20px; background: var(--blue-night); color: rgba(255, 255, 255, .88); font-size: 14px; line-height: 1.45; border-top: 3px solid var(--accent); box-shadow: 0 -8px 24px rgba(7, 31, 69, .25); }
.evc-cookies[hidden] { display: none; }
.evc-cookies p { margin: 0; max-width: 720px; }
.evc-cookies a { color: #fff; }
.evc-cookies__btns { display: flex; gap: 10px; }
.evc-cookies button { border: 2px solid var(--accent); background: var(--accent); color: #fff; border-radius: 999px; padding: 9px 20px; font: 700 14px/1 var(--font); cursor: pointer; }
.evc-cookies button[data-evc-cookies="refuse"] { background: transparent; border-color: rgba(255, 255, 255, .6); }

@media (max-width: 960px) {
  .evc-home > .evc-hero { grid-template-columns: 1fr; min-height: 0; }
  .evc-hero__media { justify-content: flex-start; }
  .evc-hero__media .evc-dispo { position: static; width: 100%; min-width: 0; }
}
@media (max-width: 820px) {
  .evc-nav { background: var(--blue-night); border-bottom: 4px solid var(--accent); align-self: auto; }
  .evc-menu li { display: block; }
  .evc-menu a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); height: auto; font-size: 17px; }
  .evc-menu a:hover, .evc-menu a.is-current { background: none; color: #8fc1f5; }
  .evc-strip { gap: 10px; }
  .evc-strip p:nth-child(3), .evc-strip p:nth-child(n+3) { border: 2px solid var(--blue); padding: 16px; }
}
@media (max-width: 520px) {
  .evc-home > .evc-hero, .evc-home > .evc-contact { padding-left: 16px !important; padding-right: 16px !important; }
  .evc-cookies { justify-content: flex-start; padding-bottom: 18px; }
}
.evc-home .evc-contact h2 { color: #fff; }
