/* Rezo Déco : feuille de style de la boutique.
   Bleu nuit + or, photos produit en grand, beaucoup d'air. */
:root {
  --navy: #1a3a5c;
  --navy-2: #24507c;
  --gold: #c9a84c;
  --gold-soft: #f6efdc;
  --ink: #0f172a;
  --muted: #5b6678;
  --line: #e3e8ee;
  --soft: #f4f6f8;
  --wood: #e6cfa6;
  --white: #ffffff;
  --ok: #1d7a46;
  --warn: #a35f00;
  --radius: 14px;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.num { font-variant-numeric: tabular-nums; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0; }
h1, h2, h3 { font-family: var(--display); font-stretch: 118%; color: var(--navy); line-height: 1.08; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(30px, 4.6vw, 52px); }
h2 { font-weight: 800; font-size: clamp(24px, 3vw, 34px); }
h3 { font-weight: 700; font-size: 18px; }
.lead { color: var(--muted); font-size: 18px; max-width: 60ch; }
.muted { color: var(--muted); }

/* Bandeau + en-tête */
.bandeau { background: var(--navy); color: #fff; font-size: 13px; }
.bandeau .wrap { display: flex; justify-content: space-between; gap: 12px; padding-block: 8px; flex-wrap: wrap; }
.bandeau b { color: var(--gold); font-weight: 600; }
.entete { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.entete > .wrap { display: flex; align-items: center; gap: 20px; padding-block: 14px; }
.logo { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 24px; letter-spacing: .02em; text-decoration: none; color: var(--navy); white-space: nowrap; }
.logo span { color: var(--gold); }
.recherche { flex: 1; position: relative; max-width: 620px; margin-inline: auto; }
.recherche input { width: 100%; padding: 11px 16px 11px 42px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); }
.recherche svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.panier-lien { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; white-space: nowrap; }
.panier-lien .n { background: var(--gold); color: #1a1405; border-radius: 999px; font-size: 12px; font-weight: 700; min-width: 22px; height: 22px; display: inline-grid; place-items: center; padding: 0 6px; }
.icone { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu { border-top: 1px solid var(--line); }
.menu .wrap { display: flex; gap: 6px 26px; padding-block: 10px; overflow-x: auto; scrollbar-width: none; font-size: 14.5px; }
.menu .wrap::-webkit-scrollbar { display: none; }
.menu a { text-decoration: none; color: var(--muted); white-space: nowrap; }
.menu a:hover, .menu a.actif { color: var(--navy); }
.menu .groupe { font-weight: 600; color: var(--navy); white-space: nowrap; }
@media (max-width: 760px) {
  .entete > .wrap { flex-wrap: wrap; gap: 12px; }
  .bandeau .wrap span:last-child { display: none; }
  .menu .wrap { font-size: 14px; gap: 18px; }
  .recherche { order: 3; flex-basis: 100%; }
  .panier-lien { margin-left: auto; }
  .panier-lien .txt { display: none; }
}

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--navy); background: var(--navy); color: #fff; font-weight: 600; padding: 13px 24px; border-radius: 999px; text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--navy-2); }
.btn.or { background: var(--gold); border-color: var(--gold); color: #1a1405; }
.btn.or:hover { background: #d8b95d; }
.btn.clair { background: #fff; color: var(--navy); }
.btn.clair:hover { background: var(--soft); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* Accueil */
.hero { background: var(--soft); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-block: 64px; }
.hero h1 { margin-top: 16px; }
.hero .lead { margin: 22px 0 32px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .mosaique { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero .mosaique img { aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 12px; width: 100%; background: #fff; }
.hero .mosaique img:nth-child(2) { transform: translateY(24px); }
.hero .mosaique img:nth-child(5) { transform: translateY(24px); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 40px; } }
.atouts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; padding-block: 36px; border-bottom: 1px solid var(--line); }
.atouts div { display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.atouts b { display: block; color: var(--ink); font-size: 15.5px; }
.atouts .icone { color: var(--gold); width: 26px; height: 26px; flex: none; }
.section { padding-block: 56px; }
.section-tete { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.section-tete p { margin: 6px 0 0; color: var(--muted); }
.section-tete a { color: var(--navy); font-weight: 600; text-decoration: none; white-space: nowrap; }
.rayons { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.rayon-tuile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; background: var(--soft); aspect-ratio: 4 / 5; }
.rayon-tuile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.rayon-tuile:hover img { transform: scale(1.05); }
.rayon-tuile .legende { position: absolute; inset: auto 0 0 0; padding: 18px; background: linear-gradient(transparent, rgba(15,30,50,.82)); color: #fff; }
.rayon-tuile .legende b { display: block; font-family: var(--display); font-stretch: 112%; font-size: 19px; line-height: 1.15; }
.rayon-tuile .legende span { font-size: 13px; opacity: .85; }

/* Cartes produit */
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 34px 20px; }
.carte { text-decoration: none; display: grid; gap: 10px; align-content: start; }
.carte .photo { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--soft); display: grid; place-items: center; }
.carte.bois .photo { background: var(--wood); }
.carte .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.carte.tableaux .photo img { object-fit: contain; padding: 14px; }
.carte:hover .photo img { transform: scale(1.04); }
.carte .sc { font-size: 12.5px; color: var(--muted); }
.carte .titre { font-weight: 500; font-size: 15px; line-height: 1.35; }
.carte .prix { font-weight: 700; }
.carte .prix span { font-weight: 400; color: var(--muted); font-size: 14px; }
@media (max-width: 520px) { .grille { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; } }

/* Rayon */
.rayon-tete { padding-block: 40px 10px; }
.rayon-tete p { margin: 12px 0 0; }
.fil { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.fil a { text-decoration: none; }
.fil a:hover { color: var(--navy); }
.filtres { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding-block: 18px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.puces { display: flex; gap: 8px; flex-wrap: wrap; width: 100%; }
.puce { border: 1px solid var(--line); background: #fff; padding: 7px 14px; border-radius: 999px; font-size: 14px; cursor: pointer; }
.puce small { color: var(--muted); margin-left: 4px; }
.puce[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.puce[aria-pressed="true"] small { color: inherit; opacity: .75; }
.filtres select { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.compte { margin-left: auto; color: var(--muted); font-size: 14px; }
.plus { text-align: center; margin-top: 44px; }

/* Fiche produit */
.fiche { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; padding-block: 30px 60px; }
@media (max-width: 900px) { .fiche { grid-template-columns: 1fr; gap: 28px; } }
.fiche .photo { border-radius: 16px; overflow: hidden; background: var(--soft); aspect-ratio: 1; display: grid; place-items: center; position: sticky; top: 130px; }
.fiche.bois .photo { background: var(--wood); }
.fiche .photo img { width: 100%; height: 100%; object-fit: cover; }
.fiche.tableaux .photo img { object-fit: contain; padding: 28px; }
@media (max-width: 900px) { .fiche .photo { position: static; } }
.fiche h1 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 10px; }
.fiche .prix { font-family: var(--display); font-stretch: 110%; font-size: 34px; font-weight: 800; margin-top: 18px; }
.fiche .prix small { font-family: var(--body); font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.fiche .desc { color: var(--muted); margin: 18px 0 0; }
.choix { margin-top: 28px; border: 0; padding: 0; }
.choix legend { font-weight: 600; font-size: 15px; margin-bottom: 12px; padding: 0; }
.options { display: grid; gap: 10px; }
.options.deux { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 520px) { .options.deux { grid-template-columns: 1fr; } }
.option { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 14px 16px; text-align: left; cursor: pointer; transition: border-color .15s; }
.option:hover { border-color: #9aa7b8; }
.option[aria-pressed="true"] { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.option b { display: block; font-weight: 600; }
.option small { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; margin-top: 3px; }
.option .p { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.option .q { font-size: 12.5px; margin-top: 4px; display: block; }
.q-Excellente { color: var(--ok); } .q-Bonne { color: var(--muted); } .q-loin { color: var(--warn); }
.achat { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.qte { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qte button { width: 46px; height: 48px; border: 0; background: none; cursor: pointer; font-size: 20px; }
.qte span { min-width: 30px; text-align: center; font-variant-numeric: tabular-nums; }
.achat .btn { flex: 1; min-width: 220px; }
.rassure { list-style: none; padding: 22px 0 0; margin: 28px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 14.5px; }
.rassure li { display: flex; gap: 12px; }
.rassure .icone { color: var(--gold); flex: none; }
.carac { background: var(--soft); border-radius: var(--radius); padding: 22px 24px; margin-top: 26px; }
.carac h2 { font-size: 17px; font-stretch: 100%; }
.carac dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; margin: 14px 0 0; font-size: 14.5px; }
.carac dt { color: var(--muted); }
.carac dd { margin: 0; text-align: right; }
details.tarifs { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-top: 18px; }
details.tarifs summary { cursor: pointer; font-weight: 600; }
.table-wrap { overflow-x: auto; margin-top: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
th:first-child, td:first-child { text-align: left; }
th { color: var(--muted); font-weight: 500; font-size: 13px; }

/* Panier */
.panier { display: grid; grid-template-columns: 1fr 360px; gap: 48px; padding-block: 40px 70px; }
@media (max-width: 900px) { .panier { grid-template-columns: 1fr; } }
.ligne { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center; padding-block: 18px; border-bottom: 1px solid var(--line); }
.ligne img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; background: var(--soft); }
.ligne .t { font-weight: 600; text-decoration: none; }
.ligne .v { color: var(--muted); font-size: 14px; }
.ligne .act { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.ligne .act button.rm { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 13.5px; padding: 0; }
.ligne .qte button { width: 34px; height: 34px; font-size: 16px; }
.recap { background: var(--soft); border-radius: var(--radius); padding: 26px; align-self: start; position: sticky; top: 130px; }
.recap .r { display: flex; justify-content: space-between; padding-block: 6px; }
.recap .total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; font-weight: 700; font-size: 19px; }
.recap .btn { width: 100%; margin-top: 20px; }
.recap .note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.alerte { background: var(--gold-soft); border-radius: 12px; padding: 14px 16px; font-size: 14.5px; }
.vide { text-align: center; padding: 60px 0; color: var(--muted); }

/* Pages de texte */
.texte { max-width: 760px; padding-block: 48px 80px; }
.texte h1 { margin-bottom: 24px; }
.texte h2 { font-size: 22px; margin: 34px 0 10px; }
.texte p, .texte li { color: #334155; }
.texte .a-completer { background: var(--gold-soft); padding: 2px 6px; border-radius: 4px; }

/* Pied de page */
.pied { background: var(--navy); color: #d7e1ec; margin-top: 40px; font-size: 14.5px; }
.pied .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: 54px 30px; }
@media (max-width: 860px) { .pied .wrap { grid-template-columns: 1fr 1fr; } }
.pied h3 { color: #fff; font-size: 15px; font-stretch: 100%; margin-bottom: 12px; }
.pied a { color: #d7e1ec; text-decoration: none; display: block; padding: 3px 0; }
.pied a:hover { color: #fff; }
.pied .logo { color: #fff; font-size: 22px; }
.pied .bas { border-top: 1px solid rgba(255,255,255,.12); }
.pied .bas .wrap { display: flex; justify-content: space-between; padding-block: 18px; grid-template-columns: none; font-size: 13px; color: #9fb2c7; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14.5px; z-index: 50; box-shadow: 0 8px 30px rgba(0,0,0,.2); }
.toast a { color: var(--gold); margin-left: 10px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
