@import url("fonts/faces.css");

:root {
  --ink: #2c3338;
  --muted: #5c6b74;
  --sky: #5aa6d6;
  --sky-deep: #2f7eab;
  --paper: #f4f7f9;
  --sheet: #ffffff;
  --line: rgba(44, 51, 56, 0.14);
  --mist: #e7f1f7;
  --chip: #e3eaee;
  --body: "Nunito Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { overflow-x: clip; overflow-y: scroll; scrollbar-gutter: stable; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font-family: inherit; font-size: inherit; }
img { max-width: 100%; height: auto; display: block; }
main { flex: 1 0 auto; }
a { color: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--sky);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  z-index: 8;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.sheet { max-width: 1180px; margin: 0 auto; background: var(--sheet); }

.cartouche {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  width: 100%;
  padding: 12px 22px;
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid #d5dee4;
  position: sticky;
  top: 0;
  z-index: 5;
}

.mark {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
}
.mark-svg { width: 32px; height: 32px; display: block; }
.mark-text strong {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.head-cluster {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-left: auto;
}

.seg {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: var(--chip);
  border-radius: 999px;
}
.seg a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}
.seg a:hover { background: rgba(255, 255, 255, 0.7); }
.seg a.is-current {
  background: var(--sky);
  color: #fff;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  box-shadow: inset 0 0 0 1.5px #c5d2da;
}
.cart-link.is-current { box-shadow: inset 0 0 0 2px var(--sky); }
.cart-icon { display: block; flex: 0 0 auto; }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--sky);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}
.cart-count.is-pop { animation: cart-pop 0.45s ease; }

@keyframes cart-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

.fly-token {
  position: fixed;
  z-index: 80;
  pointer-events: none;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(44, 51, 56, 0.28);
}

.menu-btn {
  display: none;
  background: var(--sky);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  min-width: 76px;
  min-height: 40px;
  padding: 0 14px;
  cursor: pointer;
}

.lang-pick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.lang-pick select {
  min-width: 12.5rem;
  width: 12.5rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #c5d2da;
  border-radius: 999px;
  font-weight: 600;
  padding: 8px 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--sky);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { background: var(--sky-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px #8aa0ad;
}
.btn-ghost:hover { background: var(--chip); }
.btn-quote {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--sky);
}
.btn-quote:hover { background: var(--mist); }
.cartouche-cta { margin-left: 0; }

h1, h2, h3 {
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 12px;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.25rem; margin: 0 0 8px; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 700; }

.kicker {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sky-deep);
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.45rem;
  background: var(--sky);
  border-radius: 50%;
  vertical-align: 0.05em;
}

.dek { max-width: 66ch; margin: 0 0 16px; }
.page-head, .prose, .band { padding: 28px; }
.page-head { padding-bottom: 8px; }
.prose { max-width: 74ch; padding-top: 0; }
.prose h2 { margin-top: 28px; }
.prose p, .who p, .faq p { max-width: 68ch; }

.facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 1180px;
  margin: 28px max(22px, calc((100% - 1180px) / 2)) 0;
  padding-top: 22px;
  background: #fff;
  color: var(--ink);
  border: 0;
  border-top: 1px solid var(--line);
}
.facts article {
  min-width: 0;
  padding: 16px 20px 18px;
  border-right: 1px solid var(--line);
}
.facts article:last-child { border-right: 0; }
.facts strong {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 12px;
  border: 1px solid #c5d3dc;
  border-radius: 999px;
  background: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--sky-deep);
}
.facts p { margin: 0; font-size: 0.95rem; line-height: 1.4; color: var(--muted); }

.wash-order { max-width: 1180px; margin: 0 auto; }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: none;
  aspect-ratio: auto;
  min-height: 780px;
  margin: 0;
  padding: 64px 8vw;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background-color: #e7eef2;
  background-image: url("../images/hero-yard.webp");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to right, rgba(255,255,255,.78) 0%, rgba(255,255,255,.42) 28%, rgba(255,255,255,0) 52%);
}
.hero-copy { position: relative; z-index: 2; max-width: 32rem; padding: 0; margin-right: auto; }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.1rem); font-weight: 700; }
.hero .dek { font-size: 1.2rem; font-weight: 650; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.who {
  margin: 8px 28px 8px;
  padding: 22px 24px;
  background: var(--mist);
  color: var(--ink);
  border-radius: 22px;
  border-left: 6px solid var(--sky);
}
.who h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); line-height: 1.2; }
.who a { color: var(--sky-deep); font-weight: 700; }

.shelf { list-style: none; margin: 0; padding: 0; }
.shelf a {
  display: grid;
  grid-template-columns: 6.2rem minmax(0, 1fr) auto;
  gap: 12px 16px;
  align-items: baseline;
  padding: 12px 4px;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.shelf a:hover { background: var(--mist); }
.shelf .watt { font-weight: 700; font-size: 1.05rem; color: var(--sky-deep); }
.shelf .index-name { font-weight: 700; }
.shelf .price { margin: 0; font-size: 1.2rem; font-weight: 700; }

.range {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px 18px;
  padding: 8px 28px 40px;
}
.range-card { grid-column: span 4; }
.range-card:nth-child(n + 4) { grid-column: span 3; }
.range-card {
  display: grid;
  gap: 8px;
  align-content: start;
  text-decoration: none;
  color: inherit;
}
.range-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
  background: none;
  border: 0;
  border-radius: 18px;
}
.range-card .index-name { font-weight: 700; font-size: 1.25rem; line-height: 1.25; }
.range-card .price { margin: 0; font-size: 1.25rem; font-weight: 700; }
.range-card p { margin: 0; max-width: 46ch; color: var(--muted); }

.stepper { max-width: 820px; }
.step-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.step-tabs button {
  appearance: none;
  border: 0;
  background: var(--chip);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 700;
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.1;
  padding: 14px 22px 14px 18px;
  min-height: 48px;
  cursor: pointer;
  border-radius: 999px;
}
.step-tabs button[aria-selected="true"] { background: var(--sky); color: #fff; }
.step-panel {
  margin-top: 12px;
  background: var(--mist);
  color: var(--ink);
  padding: 18px 20px;
  min-height: 6rem;
  max-width: 62ch;
  border-radius: 16px;
}

.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; }
.faq details p { margin: 8px 0 0; }

.note-list { display: grid; gap: 28px; padding: 8px 28px 40px; }
.note {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-width: 0;
  max-width: 920px;
  background: none;
  border: 0;
  box-shadow: none;
}
.note img {
  width: 268px;
  height: 268px;
  max-width: 268px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  background: none;
}
.note h2, .note h2 a { font-weight: 700; }
.note h2 { margin: 0 0 8px; }
.note h2 a { color: inherit; text-decoration: none; }
.note p { margin: 0 0 12px; max-width: 62ch; }
.note p:last-child { margin-bottom: 0; }

.crumbs { margin: 0 0 12px; font-size: 0.95rem; }
.crumbs a { color: var(--sky-deep); text-underline-offset: 3px; }

.dossier {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
  gap: 28px 40px;
  align-items: start;
  padding: 8px 28px 40px;
}
.dossier .prose { padding: 0; max-width: none; }
.dossier .shots { order: -1; }
.shots {
  display: grid;
  gap: 12px;
  padding: 0;
}
.shot-main {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  background: var(--paper);
}
.shot-row { display: flex; flex-wrap: wrap; gap: 10px; }
.shot-tab {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  background: none;
  cursor: pointer;
  line-height: 0;
}
.shot-tab[aria-current="true"] { border-color: var(--ink); }
.shot-tab img {
  width: 108px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.price { margin: 0 0 12px; font-size: 1.7rem; font-weight: 700; }
.product-actions { display: grid; gap: 10px; margin-top: 8px; }
.product-actions .btn, .demande .btn { width: 100%; min-height: 52px; }

.cart-board { padding: 0 28px 8px; }

.cart-empty {
  text-align: center;
  margin: 8px auto 28px;
  max-width: 28rem;
  padding: 28px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.cart-empty p {
  margin: 0 0 14px;
}
.cart-empty .btn {
  min-height: 36px;
  padding: 0 14px;
  width: auto;
}


.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td {
  text-align: left;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.cart-table th { font-size: 0.92rem; color: var(--muted); font-weight: 700; }
.cart-item { display: flex; gap: 12px; align-items: center; }
.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 auto;
}
.qty-input {
  width: 4.2rem;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
}
.cart-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.cart-summary .row { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 8px; }
.cart-summary .total { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 1.15rem; }
.cart-summary .btn { width: 100%; margin-top: 12px; }

.line {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 14px 18px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.line-photo {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--paper);
}
.line-copy { display: grid; gap: 4px; justify-items: start; }
.line-copy a { font-weight: 700; }
.line-price { margin: 0; font-size: 1.15rem; font-weight: 700; }
.line-qty { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.line-qty button {
  width: 28px;
  height: 28px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--ink);
}
.line-btn {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
}
.qty { width: 5.5rem; }
.muted { color: var(--muted); margin: 4px 0 0; }
.cart-sum { margin: 8px 0 0; font-size: 1.45rem; font-weight: 700; }

.demande {
  max-width: 920px;
  margin: 8px 28px 36px;
  display: grid;
  gap: 14px;
  padding: 22px;
  background: #fff;
  border-radius: 28px;
  box-shadow: inset 0 0 0 1.5px #d5dee4;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { display: grid; gap: 6px; font-weight: 700; }
.demande input[type="text"],
.demande input[type="email"],
.demande input[type="tel"],
.demande input[type="number"],
.demande textarea,
.demande select {
  width: 100%;
  border: 2px solid #b7c6cf;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 12px 18px;
  font: inherit;
  font-weight: 400;
}
.demande textarea {
  border-radius: 1.75rem;
  min-height: 7rem;
  resize: vertical;
}
.err { color: #8d1d1d; margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.paybox { padding-top: 8px; border-top: 3px solid var(--sky); }
.paybox h2 { font-size: 1.45rem; }

.colophon {
  background: #e8eef2;
  color: var(--ink);
  padding: 40px 28px 28px;
  margin-top: auto;
}
.colophon-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 24px;
  align-items: start;
}
.colophon-brand {
  display: block;
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.colophon-label {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--sky-deep);
}
.colophon p {
  margin: 0 0 10px;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.45;
}
.co-name { margin: 0 0 10px; font-weight: 700; line-height: 1.35; }
.emails { display: grid; gap: 6px; margin: 0; }
.email-plain {
  display: block;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.45;
  text-decoration: none;
  cursor: text;
}
.colophon nav { display: grid; gap: 0; align-content: start; }
.colophon a, .colophon button {
  color: var(--ink);
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  display: block;
}
.colophon nav a, .colophon nav button { padding: 4px 0; }
.colophon a:hover, .colophon button:hover { color: var(--sky-deep); }

.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  background: #fff;
  border-top: 4px solid var(--sky);
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}
.cookie p { margin: 0; flex: 1 1 280px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }

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

@media (max-width: 980px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .head-cluster { width: auto; margin-left: auto; }
  .seg-nav, .lang-pick, .cartouche-cta { display: none; }
  .cartouche.is-open .seg-nav,
  .cartouche.is-open .lang-pick,
  .cartouche.is-open .cartouche-cta { display: flex; }
  .cartouche.is-open .head-cluster { width: 100%; }
  .cartouche.is-open .seg { flex-wrap: wrap; width: 100%; }
  .cartouche.is-open .lang-pick { width: 100%; }
  .cartouche.is-open .lang-pick select { width: 100%; min-width: 0; }
  .dossier, .form-row, .range { grid-template-columns: 1fr; }
  .range-card, .range-card:nth-child(n + 4) { grid-column: auto; }
  .dossier .shots { order: 0; }
  .colophon-grid { grid-template-columns: 1fr 1fr; }
  .page-head, .prose, .band { padding: 20px 16px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts article:nth-child(even) { border-right: 0; }
  .facts article:nth-child(5) { border-right: 0; }
  .facts article:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .hero {
    width: 100%;
    max-width: none;
    aspect-ratio: auto;
    min-height: 520px;
    margin: 0;
    padding: 36px 16px;
    background-size: cover;
    background-position: left center;
    border-radius: 0;
  }
  .hero::before {
    background: linear-gradient(to right, rgba(255,255,255,.8) 0%, rgba(255,255,255,.4) 36%, rgba(255,255,255,0) 64%);
  }
  .hero-copy { max-width: 22rem; padding: 0; margin-right: auto; }
  .shots { padding: 8px 16px 24px; }
  .who { margin-left: 16px; margin-right: 16px; }
  .range { padding-left: 16px; padding-right: 16px; }
  .note { grid-template-columns: 268px minmax(0, 1fr); }
  .note-list { padding-left: 16px; padding-right: 16px; }
  .demande { margin-left: 16px; margin-right: 16px; }
  .cart-board { padding-left: 16px; padding-right: 16px; }
  .cart-layout { grid-template-columns: 1fr; }
  .line { grid-template-columns: 64px minmax(0, 1fr); }
  .line-btn { grid-column: 2; justify-self: start; }
  .shelf a { grid-template-columns: 4.6rem minmax(0, 1fr); }
  .shelf .price { grid-column: 2; }
}
@media (max-width: 560px) {
  .colophon-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts article { border-right: 0; border-bottom: 1px solid var(--line); }
  .facts article:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .cart-count.is-pop { animation: none; }
  .fly-token { display: none !important; }
}
