:root {
  --papier: #f3efe6;
  --encre: #1c2733;
  --encre-douce: #55636f;
  --marine: #17324d;
  --marine-claire: #24507a;
  --ambre: #f2b134;
  --corail: #e4572e;
  --menthe: #1f8a70;
  --blanc: #ffffff;
  --ombre-1: 0 1px 2px rgba(23, 50, 77, .08);
  --ombre-2: 0 6px 18px rgba(23, 50, 77, .10);
  --ombre-3: 0 22px 44px -20px rgba(23, 50, 77, .35);
  --rayon: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--encre); background: var(--papier); line-height: 1.5; overflow-x: hidden; }
a { color: var(--marine-claire); }
img { max-width: 100%; display: block; }

.fond { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.tache { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.t1 { width: 56vw; height: 56vw; left: -14vw; top: -18vw; background: #ffe2b8; animation: derive-a 46s ease-in-out infinite alternate; }
.t2 { width: 48vw; height: 48vw; right: -16vw; top: 18vh; background: #cfe7ff; animation: derive-b 58s ease-in-out infinite alternate; }
.t3 { width: 40vw; height: 40vw; left: 30vw; bottom: -20vw; background: #d4f1e6; animation: derive-c 52s ease-in-out infinite alternate; }
@keyframes derive-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(14vw, 10vh) scale(1.12); } }
@keyframes derive-b { from { transform: translate(0, 0) scale(1.05); } to { transform: translate(-12vw, 16vh) scale(.95); } }
@keyframes derive-c { from { transform: translate(0, 0); } to { transform: translate(-10vw, -12vh) scale(1.1); } }

.entete { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; background: rgba(243, 239, 230, .82); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(23, 50, 77, .08); }
.marque { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--marine); text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.cadran { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, var(--blanc) 0 28%, var(--marine) 30% 100%); box-shadow: inset 0 0 0 3px var(--ambre), var(--ombre-2); }
.menu { display: flex; gap: 6px; flex-wrap: wrap; }
.menu a { padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--marine); font-weight: 600; font-size: .92rem; transition: background .2s, transform .2s; }
.menu a:hover { background: rgba(23, 50, 77, .08); transform: translateY(-1px); }

.page { width: 100%; max-width: 1480px; margin: 0 auto; padding: 24px 24px 56px; }
.heros { position: relative; padding: 40px 36px; border-radius: 28px; color: var(--blanc); background: linear-gradient(160deg, #1b3a5a 0%, #17324d 55%, #0f2337 100%); box-shadow: var(--ombre-1), var(--ombre-2), var(--ombre-3); overflow: hidden; }
.heros::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 28px solid rgba(242, 177, 52, .18); box-shadow: 0 0 0 40px rgba(255, 255, 255, .03); animation: respire 9s ease-in-out infinite; }
@keyframes respire { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.08); opacity: 1; } }
.heros.compact { padding: 32px 32px; }
.heros h1 { margin: 6px 0 10px; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.15; max-width: 22ch; }
.heros .sous-titre { margin: 0; max-width: 68ch; color: rgba(255, 255, 255, .85); font-size: 1.05rem; }
.heros .sous-titre a { color: var(--ambre); }
.jour { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: .85rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.point { width: 9px; height: 9px; border-radius: 50%; background: #5fe0a8; box-shadow: 0 0 0 0 rgba(95, 224, 168, .7); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(95, 224, 168, .7); } 70% { box-shadow: 0 0 0 10px rgba(95, 224, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 224, 168, 0); } }
.chiffres { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.chiffre { flex: 1 1 160px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 24px -14px rgba(0, 0, 0, .6); }
.chiffre strong { display: block; font-size: 1.7rem; line-height: 1.1; }
.chiffre span { font-size: .85rem; color: rgba(255, 255, 255, .78); }

.bloc { margin-top: 40px; }
.bloc h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin: 0 0 8px; color: var(--marine); }
.intro { margin: 0 0 20px; color: var(--encre-douce); max-width: 90ch; }
.muet { color: var(--encre-douce); }

.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.carte { display: flex; flex-direction: column; background: var(--blanc); border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre-1), var(--ombre-2), var(--ombre-3); transform: translateY(0); transition: transform .25s ease, box-shadow .25s ease; border-top: 4px solid var(--menthe); }
.carte.neuf { border-top-color: var(--marine-claire); }
.carte.reconditionne { border-top-color: var(--ambre); }
.carte:hover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(23, 50, 77, .08), 0 16px 32px rgba(23, 50, 77, .16), 0 40px 60px -30px rgba(23, 50, 77, .45); }
.carte-image { position: relative; display: block; aspect-ratio: 1 / 1; background: #f7f5f0; }
.carte-image img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.sans-image { display: grid; place-items: center; height: 100%; color: var(--encre-douce); }
.remise { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: var(--corail); color: var(--blanc); font-weight: 800; font-size: 1.05rem; box-shadow: 0 6px 14px -4px rgba(228, 87, 46, .6); }
.carte-corps { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 18px; }
.modele-lien { font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--menthe); text-decoration: none; }
.modele-lien small { text-transform: none; letter-spacing: 0; color: var(--encre-douce); font-weight: 600; }
.carte h3 { margin: 0; font-size: 1rem; line-height: 1.35; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.carte h3 a { color: var(--encre); text-decoration: none; }
.prix { margin: 4px 0 0; display: flex; align-items: baseline; gap: 10px; }
.prix strong { font-size: 1.5rem; color: var(--marine); }
.prix .neuf { font-size: .88rem; color: var(--encre-douce); text-decoration: line-through; }
.details { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.etiquette { padding: 3px 9px; border-radius: 8px; background: #eef1f4; font-size: .78rem; color: var(--encre-douce); font-weight: 600; }
.etiquette.occasion { background: #e3f4ee; color: var(--menthe); }
.etiquette.neuf { background: #e5eef8; color: var(--marine-claire); }
.etiquette.reconditionne { background: #fdf1d6; color: #8a5a00; }
.etiquette.alerte { background: #fde4dc; color: #a33a1a; }
.bouton { margin-top: auto; align-self: flex-start; padding: 10px 16px; border-radius: 12px; background: var(--marine); color: var(--blanc); text-decoration: none; font-weight: 700; box-shadow: 0 8px 18px -8px rgba(23, 50, 77, .8), inset 0 1px 0 rgba(255, 255, 255, .15); transition: transform .2s, background .2s; }
.bouton:hover { background: var(--marine-claire); transform: translateY(-2px); }

.tableau-cadre { overflow-x: auto; background: var(--blanc); border-radius: var(--rayon); box-shadow: var(--ombre-1), var(--ombre-2); }
.tableau { width: 100%; border-collapse: collapse; min-width: 640px; }
.tableau th, .tableau td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #edf0f3; }
.tableau th { font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--encre-douce); background: #f8f9fb; position: sticky; top: 0; }
.tableau .num { text-align: right; white-space: nowrap; }
.tableau tbody tr { transition: background .15s; }
.tableau tbody tr:hover { background: #fbf8f0; }
.tableau.serre { min-width: 420px; }
.tableau.serre td, .tableau.serre th { padding: 8px 12px; }
.pastille { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #eef1f4; font-weight: 700; }
.pastille.forte { background: var(--corail); color: var(--blanc); }

.explication p { max-width: 90ch; }
.texte { background: var(--blanc); padding: 8px 28px 24px; border-radius: var(--rayon); box-shadow: var(--ombre-1), var(--ombre-2); }
.texte h2 { margin-top: 26px; font-size: 1.2rem; }
.texte p { max-width: 80ch; }
.fil { margin: 0 0 16px; font-size: .9rem; color: var(--encre-douce); }
.fil span { margin: 0 6px; }
.courbe { width: 100%; height: auto; max-width: 720px; color: var(--marine-claire); margin-bottom: 18px; }
.courbe circle { fill: var(--blanc); stroke: currentColor; stroke-width: 3; }
.courbe .axe { font-size: 12px; fill: var(--encre-douce); }
.courbe .valeur { font-size: 14px; font-weight: 700; fill: var(--marine); }

.pied { max-width: 1480px; margin: 0 auto; padding: 24px 24px 40px; color: var(--encre-douce); font-size: .88rem; border-top: 1px solid rgba(23, 50, 77, .1); }
.pied p { max-width: 100ch; }

@media (max-width: 720px) {
  .entete { padding: 10px 16px; flex-wrap: wrap; }
  .menu { width: 100%; }
  .menu a { padding: 6px 9px; font-size: .85rem; }
  .page { padding: 16px 16px 40px; }
  .heros { padding: 26px 20px; border-radius: 22px; }
  .heros::after { width: 200px; height: 200px; border-width: 18px; right: -70px; top: -70px; }
  .grille { grid-template-columns: 1fr; gap: 16px; }
  .chiffre { flex-basis: 100%; }
  .texte { padding: 4px 18px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .tache, .heros::after, .point { animation: none; }
  .carte, .bouton, .menu a { transition: none; }
}
