/* Raima Mobilier SARL · catalogue public */
:root {
  --bleu: #1F5FD1; --bleu-fonce: #133F8F; --bleu-clair: #4FA3F7; --bleu-pale: #EAF2FF;
  --rouge: #D9262E; --marine: #1A2433; --gris: #5F6B7A; --bord: #E3E8F0; --fond: #F4F6FA;
  --wa: #1FAF54; --vert: #0F8A5F;
}
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--marine); background: var(--fond); }
a { color: inherit; text-decoration: none; }
h1, h2 { margin: 0; line-height: 1.15; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
symbol .plein { fill: currentColor; stroke: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: 14px; border: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.btn.grand { padding: 13px 18px; font-size: 15.5px; }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: #179446; }
.btn-contour { border-color: var(--bord); background: #fff; color: var(--marine); }
.btn-blanc { background: #fff; color: var(--bleu); }
.btn-bleu { background: var(--bleu); color: #fff; }
.btn-icone { width: 44px; padding: 10px 0; background: var(--bleu-pale); color: var(--bleu); }
.btn-icone span:empty { display: none; }

/* en-tête */
.v-entete { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px; background: #fff; box-shadow: 0 2px 12px rgba(26, 36, 51, .07); }
.v-entete::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: linear-gradient(90deg, var(--bleu) 0 62%, var(--rouge) 62% 100%); }
.v-logo img { height: 48px; display: block; }
.v-contacts { display: flex; gap: 8px; }
.v-contacts .btn { padding: 9px 11px; }
.v-contacts .btn-contour span { display: none; }

/* bannière */
.v-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 85% 20%, rgba(79, 163, 247, .55), transparent 45%), linear-gradient(135deg, var(--bleu-fonce) 0%, var(--bleu) 55%, #2F7BE8 100%); }
.v-hero::before { content: ""; position: absolute; right: -60px; top: -40px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .07); }
.v-hero-texte { position: relative; max-width: 1180px; margin: 0 auto; padding: 30px 18px 26px; }
.v-hero-sur { display: inline-block; margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; background: var(--rouge); padding: 4px 10px; border-radius: 6px; }
.v-hero h1 { font-size: 31px; letter-spacing: -.6px; font-weight: 800; }
.v-hero p { max-width: 560px; color: rgba(255, 255, 255, .9); margin: 12px 0 18px; }
.v-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.v-hero-bande { position: relative; display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; background: var(--rouge); padding: 9px 14px; font-weight: 800; letter-spacing: .3px; font-size: 15px; }

/* catégories */
.v-categories { position: sticky; top: 64px; z-index: 9; display: flex; gap: 8px; overflow-x: auto; padding: 12px 14px; background: var(--fond); scrollbar-width: none; max-width: 1212px; margin: 0 auto; }
.v-categories a { flex: none; padding: 8px 14px; border-radius: 22px; background: #fff; border: 1.5px solid var(--bord); font-weight: 700; font-size: 14px; color: var(--gris); }
.v-categories a i { font-style: normal; font-size: 12px; color: #9AA4B2; margin-left: 2px; }
.v-categories a.actif { background: var(--marine); border-color: var(--marine); color: #fff; }
.v-categories a.actif i { color: rgba(255, 255, 255, .7); }

/* grille d'articles */
.v-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 1212px; margin: 0 auto; padding: 4px 14px 30px; }
.v-carte { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(26, 36, 51, .06), 0 6px 18px rgba(26, 36, 51, .07); }
.v-photo { position: relative; display: block; aspect-ratio: 1 / 1; background: linear-gradient(180deg, #EEF3FA, #fff); overflow: hidden; }
.v-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.v-carte:hover .v-photo img { transform: scale(1.03); }
.v-dispo { position: absolute; left: 8px; top: 8px; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 20px; background: rgba(255, 255, 255, .92); }
.v-dispo.oui { color: var(--vert); } .v-dispo.non { color: #C26A00; }
.v-carte-corps { display: flex; flex-direction: column; gap: 3px; padding: 10px 11px 12px; flex: 1; }
.v-cat { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--bleu); }
.v-carte h2 { font-size: 14.5px; font-weight: 700; }
.v-dim { margin: 0; font-size: 12.5px; color: var(--gris); }
.v-prix { margin: 4px 0 0; font-size: 19px; font-weight: 800; color: var(--rouge); letter-spacing: -.3px; font-variant-numeric: tabular-nums; }
.v-prix small { font-size: 12px; font-weight: 800; }
.v-carte-actions { display: flex; gap: 6px; margin-top: auto; padding-top: 9px; }
.v-carte-actions .btn-whatsapp { flex: 1; padding: 10px 8px; }
.v-vide { grid-column: 1 / -1; text-align: center; color: var(--gris); padding: 40px 0; }
.copie { background: var(--vert) !important; color: #fff !important; }

/* fiche article */
.v-fil { max-width: 1180px; margin: 0 auto; padding: 14px 18px 0; font-size: 13.5px; color: var(--gris); }
.v-fil a { font-weight: 700; color: var(--bleu); }
.v-fiche { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: 1180px; margin: 0 auto; padding: 12px 14px 24px; }
.v-fiche-photo { aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #EEF3FA, #fff); box-shadow: 0 6px 22px rgba(26, 36, 51, .08); }
.v-fiche-photo img { width: 100%; height: 100%; object-fit: cover; }
.v-fiche-infos { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.v-fiche-infos h1 { font-size: 26px; letter-spacing: -.4px; }
.v-fiche-prix { display: inline-flex; align-items: baseline; gap: 6px; align-self: flex-start; background: var(--rouge); color: #fff; padding: 8px 16px; border-radius: 12px; font-variant-numeric: tabular-nums; }
.v-fiche-prix b { font-size: 30px; letter-spacing: -.5px; }
.v-fiche-prix b.petit { font-size: 18px; }
.v-fiche-prix span { font-weight: 800; }
.v-dispo-ligne { font-weight: 700; font-size: 14px; }
.v-dispo-ligne.oui { color: var(--vert); } .v-dispo-ligne.non { color: #C26A00; }
.v-dispo-ligne::before { content: "●"; margin-right: 6px; }
.v-desc { margin: 0; color: #3A4554; }
.v-carac { margin: 0; background: #fff; border: 1px solid var(--bord); border-radius: 14px; overflow: hidden; }
.v-carac div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--bord); }
.v-carac div:first-child { border-top: 0; }
.v-carac dt { color: var(--gris); font-weight: 600; }
.v-carac dd { margin: 0; font-weight: 700; text-align: right; }
.v-fiche-actions { display: flex; flex-wrap: wrap; gap: 8px; } .v-fiche-actions .btn-whatsapp { flex: 1 1 230px; } .v-fiche-actions .btn-contour { flex: 1 1 120px; }
.v-partage { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 6px; color: var(--gris); font-weight: 700; font-size: 14px; }
.v-partage .rond { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 20px; }
.v-partage .rond span:empty { display: none; }
.rond.wa { background: var(--wa); } .rond.fb { background: #1877F2; } .rond.lien { background: var(--marine); }
.v-similaires { max-width: 1212px; margin: 0 auto; padding: 0 14px 30px; }
.v-similaires h2 { font-size: 18px; margin: 0 0 12px; }
.v-grille.petite { padding: 0; }
.v-carte.mini b { font-size: 13.5px; }
.v-carte.mini .v-prix { font-size: 16px; }

/* pied de page */
.v-pied { background: var(--marine); color: #C9D2DE; padding: 26px 18px 30px; text-align: center; }
.v-pied-logo { width: 190px; background: #fff; border-radius: 12px; padding: 8px 10px; }
.v-pied-infos { display: grid; gap: 6px; justify-content: center; margin: 16px 0; }
.v-pied-infos p { margin: 0; display: flex; align-items: center; justify-content: center; gap: 8px; }
.v-pied-infos a { color: #fff; font-weight: 700; }
.v-pied-infos .ic { width: 17px; height: 17px; color: var(--bleu-clair); }
.v-pied-mention { font-size: 12px; color: #8E9AAB; margin: 0; }
.erreur { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 20px; }
.erreur img { width: 220px; }

@media (min-width: 640px) {
  .v-grille { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .v-contacts .btn-contour span { display: inline; }
  .v-hero h1 { font-size: 42px; }
  .v-hero-texte { padding: 48px 24px 40px; }
}
@media (min-width: 960px) {
  .v-grille { grid-template-columns: repeat(4, 1fr); }
  .v-grille.petite { grid-template-columns: repeat(4, 1fr); }
  .v-fiche { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 34px; padding-top: 18px; align-items: start; }
  .v-fiche-infos h1 { font-size: 34px; }
  .v-categories { top: 67px; }
}
