@font-face { font-family: 'Geist Variable'; font-display: swap; font-weight: 100 900; src: url('/accueil/geist-latin.woff2') format('woff2-variations'); }
@font-face { font-family: 'UthmanicHafs'; font-display: swap; src: url('/seo/hafs.woff2') format('woff2'); }
:root { color-scheme: dark; --fond: #08090c; --surface: rgb(255 255 255 / 0.04); --anneau: rgb(255 255 255 / 0.08); --texte: #edeef1; --texte-2: #a2a8b4; --violet: #5b3cc9; --violet-clair: #ae97ff; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--fond); color: var(--texte); font: 1rem/1.6 'Geist Variable', system-ui, sans-serif; }
main { max-width: 680px; margin: 0 auto; padding: 24px 20px 64px; }
a { color: var(--violet-clair); text-underline-offset: 3px; }
nav { display: flex; flex-wrap: wrap; gap: 4px; font-size: 0.875rem; color: var(--texte-2); }
nav .langue { margin-left: auto; }
.ar { font-family: 'UthmanicHafs', serif; direction: rtl; }
header { text-align: center; padding: 32px 0 20px; }
header.mot .ar { font-size: 4.5rem; line-height: 1.5; margin: 0; }
.titre-ar { font-size: 2rem; margin: 8px 0 0; }
h1 { font-size: 1.75rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; margin: 4px 0 0; }
h2 { font-size: 1.25rem; font-weight: 500; margin: 36px 0 12px; }
.sous, .source { color: var(--texte-2); margin: 6px 0 0; }
.source { font-size: 0.8125rem; margin-top: 32px; }
.faits { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; padding: 0; list-style: none; }
.faits li { background: var(--surface); box-shadow: 0 0 0 1px var(--anneau) inset; border-radius: 16px; padding: 14px; text-align: center; }
.faits b { display: block; font-size: 1.375rem; font-weight: 600; } .faits b.ar { font-weight: 400; }
.faits span { color: var(--texte-2); font-size: 0.875rem; }
.formes { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.formes li { background: var(--surface); border-radius: 999px; padding: 4px 14px; } .formes .ar { font-size: 1.375rem; } .formes b { color: var(--texte-2); font-weight: 500; }
.v { margin: 0 0 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--anneau) inset; border-radius: 20px; padding: 18px 20px; }
.v .ar { font-size: 1.625rem; line-height: 2; margin: 0 0 8px; text-align: right; }
.v figcaption p { margin: 0; color: var(--texte-2); }
cite { display: block; margin-top: 6px; font-style: normal; font-size: 0.8125rem; color: var(--texte-2); }
sup { font-size: 0.7em; }
mark { background: rgb(174 151 255 / 0.18); color: var(--violet-clair); border-radius: 6px; padding: 0 3px; }
.liste, .mots, .unites, .aussi { list-style: none; padding: 0; margin: 0; }
.aussi { margin-top: 20px; } .aussi li { margin: 6px 0; }
.texte { color: var(--texte-2); } .texte li { margin: 6px 0; }
.liste a, .mots li { display: flex; align-items: center; gap: 14px; padding: 10px 4px; border-bottom: 1px solid var(--anneau); color: var(--texte); text-decoration: none; }
.mots li > a { display: contents; color: inherit; }
.liste .ar, .mots .ar { font-size: 1.5rem; min-width: 96px; text-align: right; }
.liste span:not(.ar), .mots span:not(.ar) { flex: 1; }
.liste b { color: var(--texte-2); font-weight: 500; font-size: 0.875rem; }
.num b { min-width: 28px; color: var(--violet-clair); }
.unites { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.unites a { display: block; background: var(--surface); box-shadow: 0 0 0 1px var(--anneau) inset; border-radius: 14px; padding: 12px 14px; color: var(--texte); text-decoration: none; }
.unites b { display: block; color: var(--texte-2); font-weight: 400; font-size: 0.8125rem; }
.voisins { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.voisins a { text-decoration: none; }
.appel { text-align: center; margin: 44px 0 0; }
.btn { display: inline-flex; min-height: 52px; align-items: center; padding: 14px 30px; border-radius: 999px; background: var(--violet); color: #fff; font-weight: 600; text-decoration: none; }
footer { margin-top: 40px; font-size: 0.8125rem; color: var(--texte-2); text-align: center; line-height: 2; }
.v { position: relative; } .v.son .ar { padding-left: 44px; }
.v.joue { box-shadow: 0 0 0 1px var(--violet-clair) inset; }
.ecoute { position: absolute; left: 14px; top: 16px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--violet-doux, rgb(174 151 255 / 0.12)); color: var(--violet-clair); font-size: 0.875rem; cursor: pointer; }
.appel.haut { margin: 0 0 24px; }
.etapes { padding-left: 1.4em; } .etapes li::marker { color: var(--violet-clair); font-weight: 600; } .etapes h2 { margin: 28px 0 6px; } .etapes p { margin: 0 0 6px; color: var(--texte-2); }
.tl { font-style: italic; color: var(--texte); margin: 0 0 6px !important; }
.compteur { color: var(--violet-clair) !important; font-size: 0.875rem; margin-top: 6px !important; }
button.btn { border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.qibla-res { text-align: center; font-size: 1.25rem; min-height: 1.6em; }
.tableau { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
th, td { padding: 8px 6px; border-bottom: 1px solid var(--anneau); text-align: center; }
th { color: var(--texte-2); font-weight: 500; }
td.ar { font-size: 1.75rem; } td { font-size: 0.8125rem; }
.naskh { font-family: 'Noto Naskh Arabic', 'Geeza Pro', 'Traditional Arabic', 'Arabic Typesetting', serif; } td.grand { font-size: 2.25rem; color: var(--violet-clair); }
.chiffres { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; list-style: none; padding: 0; }
.chiffres li { background: var(--surface); border-radius: 14px; padding: 10px; text-align: center; }
.chiffres b { display: block; font-size: 2rem; font-weight: 400; } .chiffres span { color: var(--texte-2); }
.mots .nb { min-width: 44px; color: var(--violet-clair); font-weight: 500; }
.boussole { position: relative; width: 180px; height: 180px; margin: 8px auto 24px; border-radius: 50%; box-shadow: 0 0 0 1px var(--anneau) inset; background: var(--surface); }
.boussole span { position: absolute; top: 8px; left: 50%; translate: -50% 0; color: var(--texte-2); font-size: 0.875rem; }
.boussole i { position: absolute; left: 50%; top: 22px; width: 4px; height: 68px; margin-left: -2px; border-radius: 2px; background: var(--violet-clair); transform-origin: 50% 68px; }
