/* FS Motos — design du catalogue (catalogue.php) et de la fiche véhicule (produit.html)
   Chargé après css/tailwind.css : la barre de contact, le pied de page et la fenêtre de contact
   gardent leurs classes Tailwind, tout le reste utilise les classes ci-dessous. */

:root {
    --fond: #f4f5f7;
    --surface: #ffffff;
    --surface-2: #f8f9fb;
    --texte: #0f172a;
    --texte-2: #475569;
    --texte-3: #64748b;
    --bordure: #e2e8f0;
    --bordure-forte: #cbd5e1;
    --rouge: #dc2626;
    --rouge-fonce: #b91c1c;
    --anthracite: #111827;
    --ombre: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 16px rgba(15, 23, 42, .06);
    --ombre-forte: 0 2px 4px rgba(15, 23, 42, .06), 0 16px 40px rgba(15, 23, 42, .12);
    /* Angles : cartes à 6 px, boutons et champs = cartes × nombre d'or */
    --rayon: 6px;
    --rayon-controle: calc(var(--rayon) * 1.618);
    --police: 'Inter', system-ui, -apple-system, sans-serif;
    --duree: 180ms;
}

body.fsm { margin: 0; font-family: var(--police); font-size: 16px; line-height: 1.5; color: var(--texte); background: var(--fond); -webkit-font-smoothing: antialiased; }
.fsm button, .fsm input, .fsm select { font: inherit; color: inherit; }
.fsm button { cursor: pointer; }
.fsm :focus-visible { outline: 3px solid var(--rouge); outline-offset: 2px; }
.ico { width: 1.1em; height: 1.1em; flex-shrink: 0; }

.conteneur { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .conteneur { padding: 0 28px; } }

/* ---------- En-tête ----------
   Même balisage Tailwind que la page d'accueil (index.php). Ces règles annulent seulement
   ce que body.fsm change par rapport à l'accueil, pour un rendu identique. */
.entete { color: #000; -webkit-font-smoothing: auto; }
.fsm .entete .rch-bouton { font-size: 0.75rem; font-weight: 900; line-height: 1.5; color: #111827; }
.fsm .entete .rch-bouton:hover, .fsm .entete .rch-bouton:focus-visible { color: #dc2626; }
@media (min-width: 1024px) { .fsm .entete .rch-bouton { font-size: 13px; } }
@media (min-width: 1280px) { .fsm .entete .rch-bouton { font-size: 14px; } }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* ---------- Fil d'Ariane + titre ---------- */
.ariane { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--texte-3); padding: 18px 0 6px; }
.ariane a:hover { color: var(--rouge); }
.ariane .sep { opacity: .5; }
.titre-page { padding: 4px 0 18px; }
.titre-page h1 { margin: 0; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(28px, 5vw, 44px); line-height: 1; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px;
    border-radius: var(--rayon-controle); border: 1px solid transparent; font-weight: 700; font-size: 15px; text-align: center;
    transition: background var(--duree), border-color var(--duree), transform 120ms;
}
.btn:active { transform: scale(.98); }
.btn-rouge { background: var(--rouge); color: #fff; }
.btn-rouge:hover { background: var(--rouge-fonce); }
.btn-sombre { background: var(--texte); color: #fff; }
.btn-sombre:hover { opacity: .9; }
.btn-contour { background: var(--surface); border-color: var(--bordure-forte); color: var(--texte); }
.btn-contour:hover { border-color: var(--texte); }

/* ---------- Barre de filtres et de tri (catalogue) ---------- */
.barre-filtres { background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 16px; margin-bottom: 22px; box-shadow: var(--ombre); }
.champs-filtres { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.groupe-filtres { display: contents; }
.champ-tri { grid-column: 1 / -1; }
@media (min-width: 1100px) {
    .barre-filtres { padding: 18px 20px; }
    .champs-filtres { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.4fr); gap: 14px; }
    .champ-tri { grid-column: auto; }
}
.champ-f label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--texte-2); margin-bottom: 6px; }
.select { position: relative; }
.select::after {
    content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
    border-right: 2px solid var(--texte-2); border-bottom: 2px solid var(--texte-2); transform: rotate(45deg); pointer-events: none;
}
.champ-f select {
    appearance: none; -webkit-appearance: none; width: 100%; min-height: 46px; border: 1px solid var(--bordure-forte); border-radius: var(--rayon-controle);
    background: var(--surface); padding: 0 34px 0 14px; font-size: 15px; font-weight: 700; cursor: pointer; text-overflow: ellipsis; transition: border-color var(--duree);
}
.champ-f select:hover { border-color: var(--texte-3); }
.tri-ligne { display: flex; gap: 8px; }
.tri-ligne .select { flex: 1; min-width: 0; }
.tri-tel { display: none; }
.sens { display: inline-flex; flex-shrink: 0; background: var(--surface); border: 1px solid var(--bordure-forte); border-radius: var(--rayon-controle); padding: 3px; gap: 2px; }
.sens button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 38px; min-width: 42px; padding: 0 10px; border: 0;
    border-radius: calc(var(--rayon-controle) - 3px); background: transparent; color: var(--texte-2); transition: background var(--duree), color var(--duree);
}
.sens button:hover:not(:disabled):not([aria-pressed="true"]) { color: var(--texte); }
.sens button[aria-pressed="true"] { background: var(--texte); color: #fff; }
.sens button:disabled { cursor: not-allowed; opacity: .45; }
.sens .ico { width: 16px; height: 16px; }
.pied-filtres { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--bordure); }
.nb-resultats { margin: 0; font-size: 15px; color: var(--texte-2); }
.nb-resultats strong { color: var(--texte); font-size: 17px; }
.cases-rapides { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; }
.case-rapide { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: 14px; font-weight: 700; cursor: pointer; }
.case-rapide input { width: 18px; height: 18px; margin: 0; accent-color: var(--rouge); cursor: pointer; }
.lien-effacer { background: none; border: 0; color: var(--texte-2); font-size: 13px; font-weight: 700; text-decoration: underline; padding: 6px; min-height: 32px; }
.bouton-filtrer { display: none; }
.pastille { min-width: 20px; height: 20px; border-radius: 10px; background: var(--rouge); color: #fff; font-size: 12px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.pastille[hidden] { display: none; }

/* Tablette : 4 filtres sur une ligne, tri en dessous */
@media (max-width: 767px) {
    /* Téléphone : « Filtrer » (menu) et « Trier par » côte à côte, les filtres se déplient au besoin */
    .barre-filtres { padding: 12px; }
    .champs-filtres { grid-template-columns: auto minmax(0, 1fr); align-items: end; }
    .bouton-filtrer { display: inline-flex; min-height: 46px; padding: 0 16px; }
    .bouton-filtrer[aria-expanded="true"] { background: var(--texte); color: #fff; border-color: var(--texte); }
    .champ-tri { order: 1; grid-column: auto; }
    .champ-tri > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .champ-tri .tri-ligne { display: none; }
    .champ-tri .tri-tel { display: block; }
    .groupe-filtres { display: none; order: 2; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 4px; }
    .barre-filtres.ouvert .groupe-filtres { display: grid; }
    .barre-filtres:not(.ouvert) .cases-rapides { display: none; }
    .sens-actuel { display: none; }
    .champ-f select { font-size: 16px; } /* 16 px minimum : sinon l'iPhone zoome sur la page */
}
@media (max-width: 420px) { .champ-f select { padding: 0 30px 0 12px; } .select::after { right: 12px; } }

/* ---------- Grille + cartes ---------- */
.grille { display: grid; gap: 16px; grid-template-columns: 1fr; padding-bottom: 48px; }
@media (min-width: 600px) { .grille { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1100px) { .grille { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.carte {
    position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--rayon);
    border: 1px solid var(--bordure); overflow: hidden; box-shadow: var(--ombre); transition: box-shadow 220ms, transform 220ms, border-color 220ms;
}
.carte:hover { box-shadow: var(--ombre-forte); transform: translateY(-2px); border-color: var(--bordure-forte); }
.carte-lien::after { content: ""; position: absolute; inset: 0; z-index: 1; }
/* Cadre photo verrouillé en 4/3 : une photo en hauteur (portrait) est recadrée au lieu d'allonger la carte */
.carte-photos, .photo-principale { position: relative; aspect-ratio: 4 / 3; min-height: 0; overflow: hidden; background: var(--surface-2); }
.carte-photos > .defileur, .photo-principale > .defileur { position: absolute; inset: 0; }
.defileur { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.defileur::-webkit-scrollbar { display: none; }
.defileur img { flex: 0 0 100%; width: 100%; height: 100%; min-width: 0; object-fit: cover; scroll-snap-align: start; }
.carte-photos img.miroir { transform: scaleX(-1); } /* véhicule tourné vers la droite (liste PHOTOS_MIROIR) */
.fleche-photo {
    position: absolute; top: 50%; z-index: 2; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); color: #111;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}
.carte-photos .fleche-photo { width: 36px; height: 36px; margin-top: -18px; opacity: 0; transition: opacity var(--duree); }
.carte-photos .fleche-photo.g { left: 10px; }
.carte-photos .fleche-photo.d { right: 10px; }
.carte:hover .fleche-photo, .fleche-photo:focus-visible { opacity: 1; }
@media (hover: none) { .fleche-photo { display: none !important; } }
.badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.badge {
    display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 4px; font-size: 11px; font-weight: 900;
    letter-spacing: .04em; text-transform: uppercase; background: #fff; color: #111; box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
}
.badge.promo { background: var(--rouge); color: #fff; }
.badge.essai { background: #15803d; color: #fff; }
.badge.occasion { background: var(--anthracite); color: #fff; }

.carte-corps { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.carte-marque { font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--rouge); }
.carte-modele { margin: 2px 0 0; font-size: 22px; font-weight: 900; font-style: italic; line-height: 1.1; text-transform: uppercase; overflow-wrap: anywhere; }
.carte-modele a:hover { color: var(--rouge); }
.specs-ligne { margin: 0; font-size: 14px; color: var(--texte-2); font-variant-numeric: tabular-nums; }
.carte-bas { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--bordure); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.prix { display: flex; flex-direction: column; }
.prix .ligne-prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; }
.prix .ancien { font-size: 15px; color: var(--texte-3); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.prix .actuel { font-size: 26px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.prix .actuel.promo { color: var(--rouge); }
.prix .actuel.sans-prix, .bloc-prix .actuel.sans-prix { font-size: 18px; line-height: 1.2; }
.prix .mois { font-size: 13px; color: var(--texte-2); margin-top: 4px; }
.prix .mois strong { color: var(--texte); }
.magasin { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--texte-2); font-weight: 700; white-space: nowrap; }
.magasin .ico { color: var(--rouge); width: 14px; height: 14px; }

.vide { grid-column: 1 / -1; text-align: center; padding: 64px 16px; background: var(--surface); border: 1px dashed var(--bordure-forte); border-radius: var(--rayon); }
.vide .ico { width: 32px; height: 32px; color: var(--texte-3); margin: 0 auto; }
.vide h2 { margin: 12px 0 6px; font-size: 20px; font-weight: 900; }
.vide p { margin: 0 0 18px; color: var(--texte-2); }
.squelette { background: linear-gradient(90deg, var(--surface-2) 0, var(--bordure) 50%, var(--surface-2) 100%); background-size: 200% 100%; animation: brille 1.2s infinite linear; }
.carte.chargement { min-height: 420px; }
@keyframes brille { to { background-position: -200% 0; } }

/* ---------- Fiche véhicule ---------- */
.fiche { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); padding-bottom: 40px; }
@media (min-width: 1024px) { .fiche { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; } }
.galerie { min-width: 0; }
.photo-principale { border-radius: var(--rayon); }
@media (max-width: 639px) { .photo-principale { margin: 0 -16px; border-radius: 0; } }
.photo-principale .defileur img { cursor: zoom-in; }
.photo-principale .fleche-photo { width: 48px; height: 48px; margin-top: -24px; }
.photo-principale .fleche-photo.g { left: 14px; }
.photo-principale .fleche-photo.d { right: 14px; }
.compteur-photos {
    position: absolute; right: 14px; bottom: 14px; z-index: 2; background: rgba(0, 0, 0, .6); color: #fff; font-size: 13px; font-weight: 700;
    padding: 5px 10px; border-radius: 4px; display: inline-flex; gap: 6px; align-items: center; font-variant-numeric: tabular-nums;
}
.vignettes { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.vignettes button {
    flex: 0 0 auto; width: 92px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden;
    background: var(--surface-2); opacity: .65; transition: opacity var(--duree), border-color var(--duree);
}
.vignettes button:hover { opacity: 1; }
.vignettes button[aria-current="true"] { border-color: var(--rouge); opacity: 1; }
.vignettes img { width: 100%; height: 100%; object-fit: cover; }

.panneau { min-width: 0; }
@media (min-width: 1024px) { .panneau { position: sticky; top: calc(var(--h-entete, 114px) + 16px); } }
.panneau-carte { background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 22px; box-shadow: var(--ombre); }
.badges-ligne { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.badges-ligne .badge { box-shadow: none; }
.panneau h1 { margin: 2px 0 6px; font-weight: 900; text-transform: uppercase; font-size: clamp(26px, 4vw, 38px); line-height: 1.05; letter-spacing: -.01em; overflow-wrap: anywhere; }
.sous-titre { color: var(--texte-2); font-size: 15px; margin: 0 0 18px; }
.bloc-prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding: 16px 0; border-top: 1px solid var(--bordure); }
.bloc-prix .actuel { font-size: 38px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.bloc-prix .actuel.promo { color: var(--rouge); }
.bloc-prix .ancien { font-size: 18px; color: var(--texte-3); text-decoration: line-through; }
.carte-financement {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; margin-bottom: 16px;
    background: var(--anthracite); color: #f9fafb; border-radius: var(--rayon-controle); transition: transform 150ms;
}
.carte-financement:hover { transform: translateY(-1px); color: #fff; }
.carte-financement small { display: block; font-size: 12px; color: #9ca3af; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.carte-financement strong { font-size: 26px; font-weight: 900; color: #f87171; line-height: 1.05; font-variant-numeric: tabular-nums; }
.carte-financement strong span { font-size: 14px; color: #9ca3af; font-weight: 700; }
.carte-financement .aller { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.tuiles { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 20px; margin: 0 0 16px; }
.tuile { padding: 10px 0; border-top: 1px solid var(--bordure); min-width: 0; }
.tuile dt { font-size: 13px; color: var(--texte-3); }
.tuile dd { margin: 2px 0 0; font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.actions { display: grid; gap: 10px; }
.actions .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ligne-magasin { margin: 14px 0 0; font-size: 14px; color: var(--texte-2); }
.ligne-magasin b { color: var(--texte); }

.section { background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 22px; margin-bottom: 20px; }
@media (min-width: 768px) { .section { padding: 32px; } }
.section h2, .titre-section { margin: 0 0 16px; font-weight: 900; text-transform: uppercase; font-size: 22px; line-height: 1.1; letter-spacing: -.01em; }
.description { color: var(--texte-2); max-width: 70ch; white-space: pre-line; }
.table-specs { display: grid; grid-template-columns: 1fr; margin: 0; }
@media (min-width: 640px) { .table-specs { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.table-specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--bordure); }
.table-specs dt { color: var(--texte-2); }
.table-specs dd { margin: 0; font-weight: 700; text-align: right; }

.simulateur { display: grid; gap: 20px; }
@media (min-width: 900px) { .simulateur { grid-template-columns: 1fr 1fr; gap: 32px; } }
.champ { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.champ label, .champ .etiquette { font-size: 14px; font-weight: 700; }
.champ input, .champ select {
    appearance: none; -webkit-appearance: none; min-height: 48px; border-radius: var(--rayon-controle); border: 1px solid var(--bordure-forte);
    background: var(--surface); padding: 0 14px; font-size: 16px; width: 100%;
}
.champ select { padding-right: 34px; }
.champ .aide { font-size: 13px; color: var(--texte-3); }
.segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--surface-2); border: 1px solid var(--bordure); padding: 4px; border-radius: var(--rayon-controle); }
.segments button { min-height: 40px; border: 0; background: transparent; border-radius: calc(var(--rayon-controle) - 3px); font-size: 14px; font-weight: 700; color: var(--texte-2); }
.segments button[aria-pressed="true"] { background: var(--surface); color: var(--texte); box-shadow: var(--ombre); }
.resultat { background: var(--surface-2); border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 20px; }
.resultat .mensualite { font-weight: 900; font-size: 40px; line-height: 1; color: var(--rouge); font-variant-numeric: tabular-nums; }
.resultat .mensualite small { font-size: 16px; color: var(--texte-2); font-weight: 700; }
.resultat dl { margin: 16px 0 0; }
.resultat dl div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--bordure); font-size: 14px; }
.resultat dl div:last-child { border-bottom: 0; font-weight: 900; font-size: 15px; }
.resultat dd { margin: 0; font-variant-numeric: tabular-nums; }
.mention { font-size: 12px; color: var(--texte-3); margin-top: 16px; line-height: 1.55; }
.mention a { color: var(--rouge); font-weight: 700; }

.similaires { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.similaires .carte { scroll-snap-align: start; }
@media (min-width: 1024px) { .similaires { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } }

/* Barre d'action en bas de l'écran (téléphone), visible quand les boutons du haut sont sortis de l'écran */
.barre-mobile {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--surface); border-top: 1px solid var(--bordure);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 10px; align-items: center;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, .08); transform: translateY(110%); transition: transform 220ms;
}
.barre-mobile.visible { transform: none; }
.barre-mobile .prix-mini { flex: 1; min-width: 0; }
.barre-mobile .prix-mini b { display: block; font-weight: 900; font-size: 20px; line-height: 1; }
.barre-mobile .prix-mini small { color: var(--texte-2); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.barre-mobile .btn { min-height: 46px; padding: 0 14px; }
body.avec-barre { padding-bottom: 80px; }
@media (min-width: 1024px) { .barre-mobile { display: none; } body.avec-barre { padding-bottom: 0; } }

/* Photos en plein écran */
.visionneuse { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .94); display: none; align-items: center; justify-content: center; }
.visionneuse.ouvert { display: flex; }
.visionneuse img { max-width: 94vw; max-height: 86vh; object-fit: contain; }
.visionneuse button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: flex; align-items: center; justify-content: center; }
.visionneuse .fermer { top: 16px; right: 16px; }
.visionneuse .g { left: 16px; top: 50%; margin-top: -24px; }
.visionneuse .d { right: 16px; top: 50%; margin-top: -24px; }
.visionneuse .num { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
    .fsm *, .fsm *::before, .fsm *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; scroll-behavior: auto !important; }
    .carte:hover { transform: none; }
}

/* Fiche technique et questions fréquentes (contenu fourni par js/fiche-produit.js) : mêmes angles que le reste */
#ficheTechnique .rounded-lg, #faqProduit .rounded-lg { border-radius: var(--rayon); }
.description p { margin: 0 0 1em; }
.description h3 { color: var(--texte); }
.barre-mobile .lien-mois { display: block; font-size: 13px; font-weight: 700; color: var(--rouge); text-decoration: underline; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Fiche technique : lisible même quand les valeurs sont longues (nom à gauche, valeur alignée à gauche, texte normal) */
#ficheTechnique dl > div { display: grid; grid-template-columns: minmax(110px, 36%) minmax(0, 1fr); gap: 2px 16px; align-items: baseline; padding: 10px 0; }
#ficheTechnique dt { font-size: 14px; color: var(--texte-3); line-height: 1.4; }
#ficheTechnique dd { margin: 0; text-align: left; font-size: 15px; font-weight: 400; color: var(--texte); line-height: 1.5; overflow-wrap: anywhere; }
#ficheTechnique h3 { margin-bottom: 4px; }
@media (max-width: 480px) { #ficheTechnique dl > div { grid-template-columns: 1fr; } }
