/* ResellEasy — site vitrine. Même identité que l'extension : noir profond, blanc cassé, Inter + Instrument Serif. */
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #000; --surface: #0a0a0a; --surface-2: #141414;
  --border: rgba(255, 255, 255, 0.08); --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f0f0f0; --muted: #a1a4a5; --muted-2: #6c7072;
  --serif: "Instrument Serif", Georgia, serif;
  --pill: 999px; --radius: 16px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #fff; --surface: #fafafa; --surface-2: #f0f0f0; --border: rgba(0,0,0,.08); --border-strong: rgba(0,0,0,.18);
    --text: #111; --muted: #5f6366; --muted-2: #9a9ea1; color-scheme: light; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.conteneur { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* En-tête */
header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
header .conteneur { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.marque { font-family: var(--serif); font-size: 26px; text-decoration: none; letter-spacing: -0.01em; }
nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
nav a { text-decoration: none; color: var(--muted); transition: color .15s; }
nav a:hover { color: var(--text); }
@media (max-width: 640px) { nav a:not(.bouton) { display: none; } }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: var(--pill);
  font-weight: 600; font-size: 14px; text-decoration: none; border: 1px solid var(--border-strong); color: var(--text) !important; transition: background .15s, opacity .15s; }
.bouton:hover { background: color-mix(in srgb, var(--text) 7%, transparent); }
.bouton.principal { background: var(--text); color: var(--bg) !important; border-color: var(--text); }
.bouton.principal:hover { opacity: .88; background: var(--text); }

/* Accueil */
.hero { padding-block: 96px 72px; text-align: center; }
.pastille { display: inline-block; font-size: 12.5px; color: var(--muted); border: 1px solid var(--border-strong); border-radius: var(--pill); padding: 5px 14px; margin-bottom: 28px; }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 8vw, 88px); line-height: 1; letter-spacing: -0.02em; }
.hero p { color: var(--muted); font-size: 18px; max-width: 580px; margin: 24px auto 0; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.petit { font-size: 13px; color: var(--muted-2); margin-top: 14px; }

section { padding: 72px 0; border-top: 1px solid var(--border); }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 5vw, 48px); line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 14px; }
.chapo { color: var(--muted); font-size: 16.5px; max-width: 620px; margin-bottom: 40px; }

.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.carte { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.carte h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.carte p { color: var(--muted); font-size: 14.5px; }
.carte .num { font-family: var(--serif); font-size: 30px; color: var(--muted-2); line-height: 1; margin-bottom: 14px; }

/* Avant / après */
.comparaisons { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.paire { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; }
.paire figure { position: relative; }
.paire img { border-radius: 10px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.paire figcaption { position: absolute; top: 8px; left: 8px; font-size: 11.5px; padding: 3px 10px; border-radius: var(--pill); background: rgba(0,0,0,.6); color: #f0f0f0; }

/* Tarifs */
.tarifs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.tarif { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.tarif.mis-en-avant { border-color: var(--border-strong); }
.tarif .prix { font-family: var(--serif); font-size: 46px; line-height: 1; }
.tarif .prix small { font-family: "Inter", sans-serif; font-size: 14px; color: var(--muted); }
.tarif ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: var(--muted); }
.tarif li::before { content: "—  "; color: var(--muted-2); }
.tarif .bouton { margin-top: auto; }

/* Questions */
details { border-bottom: 1px solid var(--border); padding: 18px 0; }
summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; color: var(--muted); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: 10px; font-size: 15px; }

/* Pages légales */
.legal { padding-block: 64px 80px; max-width: 760px; }
.legal h1 { font-size: clamp(38px, 6vw, 56px); margin-bottom: 8px; }
.legal .maj { color: var(--muted-2); font-size: 13px; margin-bottom: 36px; }
.legal h2 { font-size: 26px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.legal ul { padding-left: 20px; }
.legal strong { color: var(--text); font-weight: 500; }
.a-remplir { background: rgba(232, 199, 125, .14); color: #e8c77d; padding: 0 6px; border-radius: 4px; font-style: normal; }

/* Pied de page */
footer { border-top: 1px solid var(--border); padding: 36px 0; font-size: 13px; color: var(--muted-2); }
footer .conteneur { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; }
footer nav { gap: 18px; flex-wrap: wrap; font-size: 13px; }
footer nav a { display: inline !important; }
