/* ==========================================================================
   KOA — feuille de style partagée
   Mobile-first (maquette 402 px) · desktop : contenu centré, max 1120 px
   ========================================================================== */

:root {
  --ink: #14120E;
  --cream: #E5DBC8;
  --card: #EFE7D8;
  --line: #CDBFA6;
  --field-border: #DDD5CA;
  --gold: #D8B160;
  --gold-deep: #A8792A;
  --walnut: #2A1C12;
  --text: #1A1712;
  --body: #4B4338;
  --muted: #7A736C;
  --placeholder: #ABA49C;
  /* Variantes texte AA (≥ 4,5:1 sur crème, carte et blanc) — les tokens ci-dessus restent pour bordures et décors */
  --gold-text: #7C5A1F;
  --muted-text: #645E59;
  --label: #3F3A35;
  --white: #FFFFFF;

  --f-display: "Jost", system-ui, sans-serif;
  --f-ui: "Inter", system-ui, sans-serif;
  --f-logo: "Joan", Georgia, serif;

  --nav-h: 64px;
  --gutter: 20px;
  --max: 1120px;
  --radius: 8px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--f-display);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.on-light :focus-visible, main :focus-visible { outline-color: var(--gold-deep); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 999px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typo utilitaire ---------- */
.eyebrow {
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.on-dark .eyebrow, .eyebrow--gold { color: var(--gold); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 28px;
  border: 1px solid transparent; border-radius: 999px;
  font-family: var(--f-display); font-weight: 600; font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #E2BE73; }
.btn--outline { border-color: var(--gold-deep); color: var(--gold-text); border-radius: 2px; background: transparent; }
.btn--outline:hover { background: var(--gold-text); color: var(--white); }
.btn--outline-gold { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn--outline-gold:hover { background: var(--gold); color: var(--ink); }
.btn:active { transform: translateY(1px); }

.link-arrow {
  font-family: var(--f-display); font-weight: 500; font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  color: var(--gold-text);
  padding-bottom: 4px; border-bottom: 1px solid currentColor;
}
.link-arrow:hover { color: var(--text); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: var(--ink);
  color: #EDE6D8;
}
.nav__inner {
  height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 12px;
  display: grid; grid-template-columns: 1fr 1fr auto 1fr 1fr; align-items: center;
}
.nav__link {
  position: relative; justify-self: center;
  padding: 10px 6px;
  font-family: var(--f-display); font-size: 13px; font-weight: 400;
  text-decoration: none; color: #EDE6D8;
  transition: color .2s;
}
.nav__link:hover { color: var(--gold); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%;
  background: var(--gold);
}
.nav__logo {
  padding: 4px 18px;
  font-family: var(--f-logo); font-size: 28px; line-height: 1; letter-spacing: .04em;
  color: var(--gold); text-decoration: none;
}
main { padding-top: var(--nav-h); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink); color: #B9B1A3;
  text-align: center;
  padding: 44px var(--gutter) 40px;
}
.footer__logo {
  display: inline-block;
  font-family: var(--f-logo); font-size: 30px; line-height: 1; letter-spacing: .04em;
  color: var(--gold); text-decoration: none;
}
.footer__tag { margin-top: 12px; font-size: 12px; }
.footer__links {
  margin-top: 18px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0;
  font-size: 11px; font-weight: 500; letter-spacing: .14em;
}
.footer__links li + li::before { content: "·"; color: var(--gold); padding: 0 8px; }
.footer__links a { color: var(--gold); text-decoration: none; }
.footer__links a:hover { color: #EDE6D8; }

/* ---------- Bandeau sombre (B2B / aide) ---------- */
.band {
  background:
    radial-gradient(120% 140% at 0% 0%, #4A3220 0%, transparent 55%),
    var(--walnut);
  color: #E9E0CF;
  text-align: center;
  padding: 56px var(--gutter);
}
.band__title {
  margin-top: 12px;
  font-family: var(--f-display); font-weight: 500; font-size: 24px; line-height: 1.2;
  color: #F4EDE0;
}
.band__text { max-width: 34em; margin: 10px auto 0; font-size: 13px; line-height: 1.6; color: #CFC4B1; }
.band__actions { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ==========================================================================
   Landing (index.html)
   ========================================================================== */

/* Hero */
.hero {
  position: relative; overflow: hidden;
  height: clamp(520px, 130vw, 560px);
  background: var(--walnut);
  color: var(--white); text-align: center;
}
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,18,14,.78) 0%, rgba(20,18,14,.42) 30%, rgba(20,18,14,0) 55%);
}
.hero__content { position: relative; z-index: 1; padding: 44px var(--gutter) 0; }
.hero__title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(30px, 8.6vw, 56px); line-height: 1.12; letter-spacing: .06em;
  color: var(--gold);
}
.hero__sub { margin-top: 14px; font-size: 13px; color: #EFE7D8; }
.hero__cta { margin-top: 20px; }

/* Nos modèles */
.models { padding: 60px 0 56px; text-align: center; }
.section-title {
  font-family: var(--f-display); font-weight: 600;
  font-size: 23px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text);
}
.models__list {
  position: relative;
  margin-top: 30px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.models__rail {
  position: absolute; left: 16.66%; right: 16.66%; top: 30px;
  display: flex;
}
.models__rail i {
  position: relative; flex: 1; margin: 0 42px;
  border-top: 1px solid var(--gold);
}
.models__rail i::before, .models__rail i::after {
  content: ""; position: absolute; top: -3px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}
.models__rail i::before { left: -2px; }
.models__rail i::after { right: -2px; }
.model-item {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  text-decoration: none; color: var(--text);
  padding: 0 4px 6px;
  border-radius: 8px;
}
.model-item__icon {
  width: 66px; height: 60px;
  display: grid; place-items: center;
  background: var(--cream);
}
.model-item__icon svg { width: 54px; height: 54px; stroke: var(--text); transition: stroke .25s; }
.model-item:hover .model-item__icon svg { stroke: var(--gold-deep); }
.model-item__name { margin-top: 14px; font-weight: 500; font-size: 14px; }
.model-item__desc { margin-top: 4px; font-size: 11.5px; line-height: 1.4; color: var(--gold-text); max-width: 10em; }
.models__more { display: inline-block; margin-top: 36px; }

/* Blocs produit */
.products { padding: 8px 0 40px; }
.product {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 12px;
  padding: 44px 0;
}
.product__media { position: relative; }
.product__media img { position: relative; z-index: 1; width: 100%; filter: drop-shadow(0 18px 14px rgba(42, 28, 18, .18)); }
.product__media::after {
  content: ""; position: absolute; left: 14%; right: 14%; bottom: 2%; height: 12%;
  background: radial-gradient(closest-side, rgba(42, 28, 18, .32), transparent);
  filter: blur(6px);
}
.product--reverse .product__media { order: 2; }
.product__name {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(24px, 6.4vw, 40px); line-height: 1.1; color: var(--text);
}
.product__edition { margin-top: 6px; font-style: italic; font-weight: 300; font-size: 14px; color: var(--body); }
.product__text { margin-top: 12px; font-size: 12.5px; line-height: 1.7; color: var(--body); }
.product__cta { margin-top: 18px; min-width: 112px; }

/* ==========================================================================
   En-tête de page intérieure
   ========================================================================== */
.page-head { padding: 40px 0 28px; text-align: center; }
.page-head__title {
  margin-top: 10px;
  font-family: var(--f-display); font-weight: 500;
  font-size: 29px; line-height: 1.15; color: var(--text);
}
.page-head__text { max-width: 30em; margin: 8px auto 0; font-size: 13px; color: var(--body); }

/* ==========================================================================
   Produits — cartes tarifs
   ========================================================================== */
.price-cards { display: grid; gap: 16px; }
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 14px 10px;
}
.price-card__head { display: flex; align-items: center; gap: 14px; }
.price-card__thumb {
  flex: none; width: 72px; height: 72px; border-radius: 10px;
  background: #E3D7C2; overflow: hidden; display: grid; place-items: center;
}
.price-card__thumb img { width: 86%; height: 86%; object-fit: contain; }
.price-card__name {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-display); font-weight: 500; font-size: 19px; color: var(--text);
}
.dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--ink)); }
.price-card__meta { margin-top: 4px; font-family: var(--f-ui); font-size: 11px; color: var(--muted-text); }
.price-table { width: 100%; margin-top: 16px; border-collapse: collapse; font-family: var(--f-ui); font-size: 12px; }
.price-table th {
  padding: 6px 0 8px; text-align: left; font-weight: 500; font-size: 10.5px; color: var(--muted-text);
  border-bottom: 1px solid var(--line);
}
.price-table td { padding: 10px 0; font-weight: 600; color: var(--text); border-bottom: 1px solid rgba(205, 191, 166, .55); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table th:last-child, .price-table td:last-child { text-align: right; }

/* ==========================================================================
   Catégories
   ========================================================================== */
.cat-grid { display: grid; gap: 24px; padding-bottom: 56px; }
.cat-card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: 4px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(42, 28, 18, .04), 0 10px 30px -18px rgba(42, 28, 18, .35);
}
.cat-card__media { aspect-ratio: 704 / 400; overflow: hidden; background: var(--card); }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-card:hover .cat-card__media img { transform: scale(1.04); }
.cat-card__body { flex: 1; display: flex; flex-direction: column; padding: 20px 18px 22px; }
.cat-card__title { margin-top: 10px; font-family: var(--f-display); font-weight: 500; font-size: 23px; line-height: 1.2; color: var(--text); }
.cat-card__text { margin-top: 10px; font-size: 13px; line-height: 1.65; color: var(--body); }
.cat-card__actions { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cat-card__actions .btn { min-width: 150px; }
.cat-card__link { font-size: 12px; font-weight: 500; color: var(--gold-text); text-decoration: none; padding: 8px 0; }
.cat-card__link:hover { text-decoration: underline; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.filters a {
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card);
  font-size: 12px; color: var(--text); text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.filters a:hover { border-color: var(--gold-deep); background: var(--white); }
.faq { padding-bottom: 56px; }
.faq-group + .faq-group { margin-top: 36px; }
.faq-group__title { margin-bottom: 12px; }
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  transition: background-color .25s, border-color .25s;
}
.faq-item[open] { background: var(--white); border-color: var(--gold); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 56px; padding: 14px 14px 14px 16px;
  font-weight: 500; font-size: 14px; line-height: 1.4; color: var(--text);
  cursor: pointer; list-style: none; border-radius: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
  flex: none; position: relative; width: 26px; height: 26px; border-radius: 50%; background: #E3D7C2;
  transition: background-color .25s;
}
.faq-item__icon::before, .faq-item__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -.75px 0 0 -5px;
  background: var(--text); transition: transform .25s var(--ease);
}
.faq-item__icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-item__icon { background: var(--gold); }
.faq-item[open] .faq-item__icon::after { transform: rotate(0deg); }
.faq-item__answer { padding: 0 16px 16px; font-size: 13px; line-height: 1.7; color: var(--body); }

/* ==========================================================================
   404
   ========================================================================== */
.notfound {
  min-height: calc(100vh - var(--nav-h) - 180px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 64px var(--gutter); text-align: center;
}
.notfound__code {
  font-family: var(--f-logo); font-size: 112px; line-height: 1; color: var(--gold);
  text-shadow: 0 1px 0 rgba(168, 121, 42, .4);
}
.notfound__title { margin-top: 12px; font-family: var(--f-display); font-weight: 500; font-size: 26px; color: var(--text); }
.notfound__text { max-width: 26em; margin-top: 10px; font-size: 14px; color: var(--body); }
.notfound__actions { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ==========================================================================
   Formulaires (produits, b2b)
   ========================================================================== */
.form { padding: 36px 0 48px; }
.form-section + .form-section { margin-top: 40px; }
.form-section__title {
  padding-bottom: 10px; margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.form-grid { display: grid; gap: 16px; }
.form-grid--2 { grid-template-columns: 1fr 1fr; gap: 12px; }

.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field__label, .field-label {
  font-family: var(--f-ui); font-weight: 700; font-size: 10px; color: var(--label);
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
}
.field__aside { font-weight: 500; font-size: 10px; color: var(--muted-text); }
.field__aside a { color: var(--gold-text); }
.field__aside--value { color: var(--gold-text); }
.input, .select, .textarea {
  width: 100%; height: 44px; padding: 0 14px;
  background: var(--white); border: 1px solid var(--field-border); border-radius: var(--radius);
  font-family: var(--f-ui); font-size: 14px; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.textarea { height: auto; min-height: 104px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: var(--placeholder); }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%237A736C' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.select:invalid { color: var(--placeholder); }
.select option { color: var(--text); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(216, 177, 96, .3); }
.field__error { min-height: 0; font-family: var(--f-ui); font-size: 11px; color: #A2321F; }
.field__error:empty { display: none; }
.is-invalid .input, .is-invalid .select, .is-invalid .textarea { border-color: #C0563F; }

/* Cartes radio modèle */
.choice-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-card { position: relative; cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice-card__box {
  display: flex; flex-direction: column; align-items: center; height: 100%;
  padding: 6px 6px 12px;
  background: var(--white); border: 1.5px solid var(--field-border); border-radius: 10px;
  text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
.choice-card__img {
  width: 100%; aspect-ratio: 1.15; border-radius: 7px; background: #EFE8DB;
  display: grid; place-items: center; overflow: hidden;
}
.choice-card__img img { width: 78%; height: 86%; object-fit: contain; }
.choice-card__name {
  margin-top: 10px;
  font-family: var(--f-display); font-weight: 600; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text);
}
.choice-card__price { margin-top: 2px; font-family: var(--f-ui); font-size: 10px; color: var(--muted-text); }
.choice-card__check {
  position: absolute; top: 8px; right: 8px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  display: grid; place-items: center;
  opacity: 0; transform: scale(.6); transition: opacity .2s, transform .2s;
}
.choice-card__check svg { width: 11px; height: 11px; }
.choice-card input:checked + .choice-card__box { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.choice-card input:checked + .choice-card__box .choice-card__check { opacity: 1; transform: none; }
.choice-card input:focus-visible + .choice-card__box { outline: 2px solid var(--gold-deep); outline-offset: 2px; }

/* Contrôle segmenté (taille) */
.segmented {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  padding: 4px; margin: 0; border: 1px solid var(--field-border); border-radius: 10px; background: var(--white);
  min-width: 0;
}
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 44px; padding: 6px 2px; border-radius: 7px;
  font-family: var(--f-ui); font-weight: 600; font-size: 12px; color: var(--text);
  transition: background-color .2s, color .2s;
}
.segmented small { font-weight: 400; font-size: 9.5px; color: var(--muted-text); }
.segmented input:checked + span { background: var(--ink); color: var(--white); }
.segmented input:checked + span small { color: #CFC6B8; }
.segmented input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 1px; }

/* Encadré prix */
.price-box {
  padding: 14px 16px;
  background: var(--white); border: 1px solid var(--field-border); border-radius: 12px;
}
.price-box__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-box__label { font-family: var(--f-ui); font-size: 11px; color: var(--muted-text); }
.price-box__recap { margin-top: 2px; font-family: var(--f-ui); font-weight: 600; font-size: 12.5px; color: var(--text); }
.price-box__price { font-family: var(--f-display); font-weight: 600; font-size: 25px; letter-spacing: .02em; color: var(--text); white-space: nowrap; }
.price-box__total { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--field-border); }
.price-box__total .price-box__price { font-size: 19px; color: var(--gold-text); }
.price-box__note { font-family: var(--f-ui); font-size: 10.5px; color: var(--muted-text); }

/* Pastilles coloris */
.swatches { display: flex; flex-wrap: wrap; gap: 9px; border: 0; margin: 0; padding: 0; min-width: 0; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch span {
  display: block; width: 36px; height: 36px; border-radius: 50%;
  background: var(--c); border: 2px solid var(--cream);
  box-shadow: 0 0 0 1px rgba(20, 18, 14, .12);
  transition: box-shadow .2s;
}
.swatch--custom span {
  background: var(--white); border: 1.5px dashed var(--muted);
  display: grid; place-items: center; font-family: var(--f-ui); font-size: 18px; line-height: 1; color: var(--body);
}
.swatch input:checked + span { box-shadow: 0 0 0 2px var(--gold); }
.swatch input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.custom-color { margin-top: 10px; }

/* Stepper quantité */
.stepper {
  display: grid; grid-template-columns: 44px 1fr 44px; align-items: center;
  height: 52px; padding: 4px;
  background: var(--white); border: 1px solid var(--field-border); border-radius: 10px;
}
.stepper button {
  width: 44px; height: 42px; border: 0; border-radius: 7px;
  background: var(--card); color: var(--text); font-size: 18px; line-height: 1;
}
.stepper button:disabled { color: var(--placeholder); cursor: not-allowed; }
.stepper__value { display: flex; align-items: baseline; justify-content: center; gap: 5px; font-family: var(--f-ui); font-weight: 600; font-size: 14px; color: var(--text); }
.stepper__value input {
  width: 3.4ch; border: 0; padding: 0; background: transparent; text-align: right;
  font-weight: 600; -moz-appearance: textfield;
}
.stepper__value input::-webkit-inner-spin-button, .stepper__value input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__value input:focus { outline: none; }
.stepper:focus-within { border-color: var(--gold-deep); }

/* Encadré info (paiement) */
.info-box {
  margin-top: 32px; padding: 16px 16px 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
}
.info-box__title { font-family: var(--f-ui); font-weight: 700; font-size: 12px; color: var(--text); }
.info-box__text { margin-top: 8px; font-family: var(--f-ui); font-size: 11.5px; line-height: 1.65; color: var(--muted-text); }

.btn--submit { width: 100%; min-height: 54px; margin-top: 24px; font-size: 12.5px; }
.form__after { margin-top: 18px; text-align: center; }
.form__after a { font-family: var(--f-display); font-weight: 500; font-size: 11px; letter-spacing: .1em; color: var(--gold-text); text-decoration: none; }
.form__after a:hover { text-decoration: underline; }

/* ---------- B2B ---------- */
.back-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 20px;
  font-size: 12px; color: var(--body); text-decoration: none;
}
.back-link:hover { color: var(--gold-text); }
.page-head--b2b { padding-top: 20px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile {
  padding: 14px 6px 12px; text-align: center;
  background: var(--white); border-radius: 10px;
  box-shadow: 0 1px 0 rgba(42, 28, 18, .04);
}
.tile__value { font-family: var(--f-display); font-weight: 500; font-size: 22px; line-height: 1.1; color: var(--text); }
.tile__label { margin-top: 6px; font-family: var(--f-ui); font-weight: 700; font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-text); }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.chip {
  min-width: 52px; height: 32px; padding: 0 14px;
  border: 1px solid var(--field-border); border-radius: 999px; background: var(--white);
  font-family: var(--f-ui); font-weight: 600; font-size: 12px; color: var(--text);
  transition: background-color .2s, color .2s;
}
.chip:hover { border-color: var(--gold-deep); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chips__note { font-family: var(--f-ui); font-size: 10.5px; color: var(--gold-text); }
.consent { margin-top: 22px; }
.consent label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-family: var(--f-ui); font-size: 12px; line-height: 1.55; color: var(--body); }
.consent input {
  flex: none; appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px; margin: 1px 0 0; border: 1px solid var(--field-border); border-radius: 4px; background: var(--white);
  display: grid; place-items: center; cursor: pointer;
}
.consent input:checked { background: var(--ink); border-color: var(--ink); }
.consent input:checked::after { content: ""; width: 10px; height: 6px; margin-top: -2px; border: solid var(--gold); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.consent.is-invalid input { border-color: #C0563F; }
.form__reassure { margin-top: 14px; text-align: center; font-family: var(--f-ui); font-size: 11px; color: var(--muted-text); }

/* ==========================================================================
   Modale de confirmation
   ========================================================================== */
.modal {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; padding: 20px;
  background: rgba(20, 18, 14, .62);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.modal[hidden] { display: none; }
.modal__dialog {
  position: relative; width: 100%; max-width: 380px;
  padding: 36px 24px 24px;
  background: #F6F1E8; border-radius: 18px; text-align: center;
  box-shadow: 0 24px 60px rgba(20, 18, 14, .35);
  animation: modal-in .35s var(--ease);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal__close {
  position: absolute; top: 10px; right: 10px;
  width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted-text);
  display: grid; place-items: center;
}
.modal__close:hover { background: var(--card); color: var(--text); }
.modal__icon {
  width: 52px; height: 52px; margin: 0 auto; border-radius: 50%;
  background: var(--gold); color: var(--ink); display: grid; place-items: center;
}
.modal__title { margin-top: 18px; font-family: var(--f-display); font-weight: 500; font-size: 26px; color: var(--text); }
.modal__text { margin-top: 10px; font-family: var(--f-ui); font-size: 12.5px; line-height: 1.65; color: var(--body); }
.modal__actions { margin-top: 22px; display: grid; gap: 10px; }
.modal__actions .btn { width: 100%; min-height: 48px; border-radius: 12px; }
.modal__actions .btn--outline { border-radius: 12px; }

/* ==========================================================================
   Animations (GSAP) — état initial posé en JS seulement
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Desktop
   ========================================================================== */
@media (min-width: 768px) {
  :root { --gutter: 32px; --nav-h: 72px; }
  .nav__inner { max-width: 760px; }
  .nav__link { font-size: 14px; }
  .nav__logo { font-size: 32px; padding-inline: 40px; }

  .hero { height: min(86vh, 760px); }
  .hero__media img { object-position: 50% 78%; }
  .hero__content { padding-top: 72px; }
  .hero__sub { font-size: 16px; }

  .models { padding: 96px 0 88px; }
  .section-title { font-size: 30px; }
  .models__list { max-width: 760px; margin: 44px auto 0; }
  .models__rail { top: 42px; }
  .models__rail i { margin: 0 64px; }
  .model-item__icon { width: 96px; height: 84px; }
  .model-item__icon svg { width: 76px; height: 76px; }
  .model-item__name { font-size: 17px; }
  .model-item__desc { font-size: 13px; }

  .product { gap: 64px; padding: 48px 0; max-width: 960px; margin-inline: auto; }
  .product__media { max-width: 400px; justify-self: center; }
  .product__text { font-size: 15px; max-width: 30em; }
  .product__edition { font-size: 17px; }

  .page-head { padding: 64px 0 40px; }
  .page-head__title { font-size: 40px; }
  .page-head__text { font-size: 15px; }
  .price-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; padding-bottom: 88px; }
  .form { max-width: 680px; margin-inline: auto; padding-top: 64px; }
  .choice-card__name { font-size: 12px; }
  .swatch span { width: 40px; height: 40px; }

  .band { padding: 88px var(--gutter); }
  .band__title { font-size: 34px; }
  .band__text { font-size: 15px; }
}

@media (min-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .tiles { max-width: 680px; margin-inline: auto; gap: 16px; }
  .tile__value { font-size: 28px; }
  .tile__label { font-size: 10px; }
}

@media (min-width: 768px) {
  .faq { max-width: 760px; margin-inline: auto; padding-bottom: 88px; }
  .faq-item summary { font-size: 15px; padding-inline: 20px 16px; }
  .faq-item__answer { padding-inline: 20px; font-size: 14px; }
}
.faq-item__answer a { color: var(--gold-text); }
