/* Achat Revente Vinted : feuille de style unique */

:root {
  --texte: #111;
  --gris: #5a5a5a;
  --trait: #dcdcdc;
  --fond-doux: #f5f5f5;
  --vert: #D7F2B8;
}

@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/raleway-latin.woff2") format("woff2");
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--texte);
  font-family: "Raleway", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

a { color: var(--texte); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

img { max-width: 100%; height: auto; display: block; }

.conteneur { max-width: 980px; margin: 0 auto; padding: 0 16px; }

/* En-tête */
.entete { border-bottom: 1px solid var(--trait); }
.entete .conteneur {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap;
}
.logo { font-weight: 700; font-size: 17px; text-decoration: none; letter-spacing: .2px; display: flex; align-items: center; gap: 10px; }
.logo-img { width: 36px; height: 36px; flex: none; }
.logo-texte span { display: block; font-weight: 400; font-size: 12px; color: var(--gris); letter-spacing: 0; }
.menu { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; }
.menu a { text-decoration: none; padding: 2px 0; }
.menu a[aria-current="page"] { font-weight: 700; border-bottom: 2px solid var(--texte); }
.menu a:hover { text-decoration: underline; }

.bouton {
  display: inline-block; background: var(--texte); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 13px; padding: 9px 14px; border: 1px solid var(--texte);
}
.bouton:hover { background: #333; text-decoration: none; }
.bouton-entete { font-size: 12px; padding: 7px 12px; }

/* Fil d'Ariane et date */
.ariane { font-size: 12px; color: var(--gris); margin: 14px 0 0; }
.ariane a { color: var(--gris); }
.maj { font-size: 12px; color: var(--gris); margin: 2px 0 0; }

/* Mise en page deux colonnes */
.grille { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 40px; padding-bottom: 40px; }
.contenu { min-width: 0; }
.colonne { padding-top: 22px; font-size: 13px; }

h1 { font-size: 24px; line-height: 1.3; margin: 18px 0 10px; font-weight: 700; }
h2 { font-size: 17px; line-height: 1.35; margin: 34px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--trait); font-weight: 700; }
h3 { font-size: 14px; margin: 20px 0 4px; font-weight: 700; }
p { margin: 0 0 12px; }
.chapo { font-size: 15px; margin-bottom: 14px; }
.lien-sous { font-size: 13px; margin-top: 10px; }

/* Encadrés verts */
.encadre { background: var(--vert); padding: 14px 16px; margin: 18px 0; }
.encadre h2 { margin-top: 0; border-bottom: 0; padding-bottom: 0; }
.encadre p:last-child, .encadre ul:last-child { margin-bottom: 0; }
.encadre-titre { font-weight: 700; margin-bottom: 6px; }
.a-completer { font-style: italic; }
.petit { font-size: 12px; color: #333; }

/* Photos */
.photo { margin: 4px 0 14px 20px; float: right; width: 250px; }
.photo figcaption { font-size: 11px; color: var(--gris); margin-top: 4px; line-height: 1.4; }
.photo-large { margin: 14px 0 18px; }
.photo-large figcaption { font-size: 11px; color: var(--gris); margin-top: 4px; }
.efface { clear: both; }

/* Listes */
ol.etapes { padding-left: 20px; margin: 0 0 12px; }
ol.etapes li { margin-bottom: 6px; padding-left: 4px; }
ul.liste { padding-left: 18px; margin: 0 0 12px; }
ul.liste li { margin-bottom: 6px; }

/* Tableaux façon comparateur */
.tableau-defile { overflow-x: auto; margin: 14px 0 18px; }
table { border-collapse: collapse; width: 100%; font-size: 13px; }
th, td { border: 1px solid var(--trait); padding: 8px 10px; text-align: left; vertical-align: top; }
thead th { background: var(--fond-doux); font-weight: 700; }
tbody th { font-weight: 600; width: 28%; }

/* Colonne de droite */
.boite { border: 1px solid var(--trait); padding: 12px 14px; margin-bottom: 18px; }
.boite-titre { font-weight: 700; margin: 0 0 6px; font-size: 13px; }
.boite ul { list-style: none; margin: 0; padding: 0; }
.boite li { padding: 4px 0; border-top: 1px solid #eee; }
.boite li:first-child { border-top: 0; }
.colonne .encadre { margin-top: 0; }

/* FAQ */
.faq h3 { margin-top: 18px; }

/* Pied de page */
.pied { border-top: 1px solid var(--trait); background: var(--fond-doux); font-size: 12px; color: #333; }
.pied .conteneur { padding-top: 22px; padding-bottom: 26px; }
.pied p { margin: 0 0 8px; }
.pied-liens { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 12px; }

/* Mobile */
@media (max-width: 760px) {
  body { font-size: 14px; }
  .grille { grid-template-columns: 1fr; gap: 0; }
  .colonne { padding-top: 0; }
  .colonne .boite:first-child { display: none; }
  .entete .conteneur { flex-direction: column; align-items: flex-start; gap: 10px; }
  .bouton-entete { width: 100%; text-align: center; }
  h1 { font-size: 21px; }
  .photo { float: none; width: 100%; margin: 12px 0 16px; }
  .photo img { width: 100%; height: 200px; object-fit: cover; }
  .bouton { display: block; text-align: center; }
}

/* Articles */
.liste-articles { margin-top: 10px; }
.carte-article { border-bottom: 1px solid var(--trait); padding: 4px 0 14px; }
.carte-article h2 { border-bottom: 0; padding-bottom: 0; margin: 18px 0 2px; font-size: 16px; }
.carte-article h2 a { text-decoration: none; }
.carte-article h2 a:hover { text-decoration: underline; }
.carte-article p { margin-bottom: 6px; }
.boite-pied { margin: 8px 0 0; font-size: 12px; }
