/* Académie Tawhid : identité Héritage (ivoire, or, encre) */

/* Polices hébergées sur le site (aucun appel à Google), licence SIL OFL : voir /fonts */
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-display: swap; src: url('/fonts/cormorant-500.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-display: swap; src: url('/fonts/cormorant-600.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 700; font-display: swap; src: url('/fonts/cormorant-700.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 400; font-display: swap; src: url('/fonts/outfit-400.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 500; font-display: swap; src: url('/fonts/outfit-500.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 600; font-display: swap; src: url('/fonts/outfit-600.woff2') format('woff2'); }
/* Arabe (pages /ar/) : Noto Naskh Arabic (texte, graisse variable 400 à 700) et Amiri (titres).
   Lettres latines en Outfit ; chiffres, €, virgule et deux-points du texte en Noto Naskh pour une graisse homogène ; chiffres des titres en Cormorant. */
@font-face { font-family: 'Noto Naskh Arabic'; font-weight: 400 700; font-display: swap; src: url('/fonts/noto-naskh-arabic.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: 'Noto Naskh Arabic'; font-weight: 400 700; font-display: swap; src: url('/fonts/noto-naskh-arabic-latin.woff2') format('woff2'); unicode-range: U+0025, U+0028-0029, U+002C, U+0030-003A, U+00A0, U+202F, U+20AC; }
@font-face { font-family: 'Amiri'; font-weight: 700; font-display: swap; src: url('/fonts/amiri-700.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }

:root {
  --ivory: #F7F3EA;
  --paper: #FBFAF7;
  --white: #FFFFFF;
  --line: #E8DFC8;
  --line-soft: #ECE6D8;
  --gold: #B08D2E;
  --gold-dark: #7A6420;      /* boutons et liens : contraste suffisant sur blanc */
  --gold-light: #D9B95C;     /* or sur fond sombre */
  --bronze: #6B5A2A;
  --ink: #1B1B1B;
  --text: #3A3A3A;
  --muted: #5E5E5E;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', system-ui, -apple-system, sans-serif;
  --radius: 18px;
}
:root[lang="ar"] {
  --serif: 'Amiri', 'Cormorant Garamond', 'Geeza Pro', serif;
  --sans: 'Noto Naskh Arabic', 'Outfit', 'Geeza Pro', Tahoma, sans-serif;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); }
a:hover { color: #5C4A12; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; color: var(--ink); }
h1 { font-size: clamp(38px, 5.4vw, 60px); }
h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 24px; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; font-family: var(--sans); font-size: 17px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--gold-dark); color: var(--white); }
.btn-primary:hover { background: #66531A; color: var(--white); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: #D9CDA9; }
.btn-ghost:hover { background: var(--ivory); color: var(--ink); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-big { min-height: 58px; padding: 0 40px; font-size: 18px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 10; background: rgba(251, 250, 247, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-soft); }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand img { height: 64px; width: auto; margin-inline-start: -8px; }
.top-act { display: flex; align-items: center; gap: 16px; }
/* Sélecteur de langue : discret, dans l'en-tête */
.langs { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; padding: 2px; background: var(--white); white-space: nowrap; }
.lang { font-size: 14px; line-height: 1; color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 999px; min-height: 32px; display: inline-flex; align-items: center; }
a.lang:hover { color: var(--gold-dark); background: var(--ivory); }
.lang-on { background: var(--gold-dark); color: var(--white); font-weight: 600; }
.lang:lang(ar) { font-family: 'Geeza Pro', 'Segoe UI', Tahoma, sans-serif; font-size: 16px; }
.lang:lang(fr) { font-family: 'Outfit', system-ui, sans-serif; }

/* Haut de page */
.hero2 { background: var(--ivory); border-bottom: 1px solid var(--line); }
.hero2-in { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 56px; padding-bottom: 64px; gap: 18px; }
.hero2-mark { width: 120px; }
.hero2 h1 { font-size: clamp(44px, 7vw, 76px); line-height: 1.02; }
.hero2-sub { font-size: 19px; color: var(--text); }
.hero2-small { font-size: 14px; color: var(--muted); margin-top: -6px; }
.hero2 .btn-big { margin-top: 8px; min-width: 260px; }

/* Blocs */
.block { padding: 80px 0; }
.block-white { background: var(--white); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.block-ivory { background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Pour qui ? */
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.who-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px 24px; min-height: 140px; justify-content: flex-end; background: var(--white); border: 1.5px solid var(--line); border-radius: 22px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.who-card:hover { border-color: var(--gold-dark); transform: translateY(-2px); color: var(--ink); }
.who-title { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1; }
.who-sub { font-size: 16px; color: var(--muted); }
.who-go { position: absolute; top: 22px; inset-inline-end: 24px; width: 40px; height: 40px; border-radius: 50%; background: var(--gold-dark); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 20px; }

/* Comment ça marche */
.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.how li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.how strong { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.how span:last-child { font-size: 15px; color: var(--muted); }
.num { display: inline-flex; width: 48px; height: 48px; border-radius: 50%; align-items: center; justify-content: center; background: var(--ivory); border: 1px solid var(--gold); color: var(--gold-dark); font-size: 18px; font-weight: 600; }

/* Cours */
.fam-sub { color: var(--muted); margin: -10px 0 24px; }
.fam { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fam a { position: relative; background: var(--white); border: 1.5px solid var(--line); border-radius: 20px; padding: 26px 20px 60px; text-align: center; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.fam a:hover { border-color: var(--gold-dark); transform: translateY(-2px); color: var(--ink); }
.fam strong { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.1; }
.fam span { font-size: 15px; line-height: 1.4; color: var(--muted); }
.fam i { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--gold-dark); color: var(--white); font-style: normal; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.fam-ijaza { margin-top: 18px; }
.fam-ijaza span { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--ink); color: var(--gold-light); font-size: 16px; font-weight: 500; }

/* Tarifs */
.tarifs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tarifs div { background: var(--white); border-radius: 18px; padding: 22px 16px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.tarifs strong { font-family: var(--serif); font-size: 32px; font-weight: 700; color: var(--gold-dark); line-height: 1.1; }
.tarifs span { font-size: 14px; color: var(--muted); }
.tarifs-note { margin: 20px 0 24px; color: var(--muted); font-size: 15px; }

/* Pied de page */
.foot { background: var(--ink); color: #CFC8B6; padding: 56px 0 28px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot h3 { font-family: var(--sans); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 12px; font-weight: 500; }
.foot p { margin-bottom: 8px; font-size: 15px; }
.foot a { color: #EDE6D3; text-decoration: none; }
.foot a:hover { color: var(--gold-light); text-decoration: underline; }
.foot-logo { height: 56px; width: auto; }
.copy { margin-top: 36px; padding-top: 20px; border-top: 1px solid #333; font-size: 13px; color: #A39C8B; }

/* Pages de texte : règlement, mentions légales, confidentialité */
.doc { max-width: 760px; padding-top: 56px; padding-bottom: 80px; }
.doc h1 { font-size: clamp(34px, 4.5vw, 48px); margin-bottom: 28px; }
.doc h2 { font-size: 28px; margin: 36px 0 12px; }
.doc p, .doc li { color: var(--text); margin-bottom: 10px; }
.doc ul { padding-inline-start: 22px; }
/* Pages arabes des textes légaux : la version française fait foi */
.doc-note { margin: -12px 0 28px; padding: 12px 16px; border-radius: 12px; background: var(--ivory); border: 1px solid var(--line); color: var(--bronze); font-size: 15px; }

/* Tablette et téléphone */
@media (max-width: 900px) {
  .block { padding: 56px 0; }
  .hero2-in { padding-top: 36px; padding-bottom: 44px; }
  .hero2-mark { width: 90px; }
  .hero2 .btn-big { width: 100%; }
  .who, .how, .fam { grid-template-columns: 1fr; }
  .how { gap: 26px; }
  .who-card { min-height: 104px; padding: 22px; }
  .who-go { top: 50%; transform: translateY(-50%); }
  .fam a { text-align: start; align-items: flex-start; padding-block: 20px; padding-inline: 20px 64px; }
  .fam i { left: auto; inset-inline-end: 18px; bottom: auto; top: 50%; transform: translateY(-50%); }
  .fam strong { font-size: 26px; }
  .tarifs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .brand img { height: 54px; }
}
/* Arabe : lettres liées (jamais d'espacement entre lettres), lignes plus hautes pour les signes */
:root[lang="ar"] body { font-size: 18px; line-height: 1.75; }
:root[lang="ar"] :is(h1, h2, h3) { font-weight: 700; line-height: 1.4; }
:root[lang="ar"] .hero2 h1 { line-height: 1.3; }
:root[lang="ar"] .who-title, :root[lang="ar"] .fam strong { line-height: 1.35; }
:root[lang="ar"] .foot h3 { letter-spacing: 0; text-transform: none; font-size: 16px; font-weight: 600; }
:root[lang="ar"] .btn { font-weight: 600; }
:root[lang="ar"] .doc h1 { margin-bottom: 20px; }
:root[lang="ar"] .doc-note { margin-top: 0; }
:root[lang="ar"] .tarif-range { white-space: nowrap; }
@media (max-width: 560px) { :root[lang="ar"] .tarif-range { font-size: 24px; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .who-card, .fam a { transition: none; } }

/* Téléphone : logo, langue et bouton tiennent sur une ligne */
.top-act { display: flex; align-items: center; gap: 10px; }
@media (max-width: 480px) {
  .top-in { gap: 8px; }
  /* Seul le symbole du logo : la place manque pour le nom */
  .brand img { height: 48px; width: 46px; object-fit: cover; object-position: left center; margin-inline-start: -4px; }
  .top-act { gap: 6px; }
  .lang { padding: 7px 9px; font-size: 13px; min-height: 30px; }
  .lang:lang(ar) { font-size: 14px; }
  .top .btn-small { padding: 0 14px; font-size: 14px; min-height: 40px; }
}

/* ===== Multi-pages : menu principal ===== */
.menu { order: 3; flex: 0 0 calc(100% + 40px); margin: 0 -20px; border-top: 1px solid var(--line-soft); min-width: 0; }
.menu ul { list-style: none; margin: 0; padding: 6px 20px 8px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.menu li { flex: 0 0 auto; }
.menu a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text); text-decoration: none; white-space: nowrap; }
.menu a:hover { background: var(--ivory); color: var(--gold-dark); }
.menu a[aria-current="page"] { background: var(--ivory); color: var(--gold-dark); box-shadow: inset 0 0 0 1px var(--line); }
.top-in { flex-wrap: wrap; row-gap: 0; }
.top-act { order: 2; }
@media (min-width: 1100px) {
  .menu { order: 2; flex: 1 1 auto; margin: 0; border-top: 0; }
  .menu ul { justify-content: center; padding: 0; overflow: visible; }
  .menu a { padding: 0 12px; }
  .top-act { order: 3; }
}
/* Téléphone : une seule ligne, sans défilement. Accueil (le logo y mène) et Tarifs (dans Parcours) sont masqués */
@media (max-width: 600px) {
  .menu ul { flex-wrap: nowrap; justify-content: space-between; gap: 2px; padding: 6px 10px 8px; }
  .menu li:nth-child(1), .menu li:nth-child(5) { display: none; }
  .menu li { flex: 1 1 0; }
  .menu a { display: flex; justify-content: center; padding: 0 4px; font-size: clamp(13px, 3.9vw, 15px); min-height: 38px; }
}

/* Ancres : ne pas passer sous l'en-tête collant */
[id] { scroll-margin-top: 140px; }
@media (min-width: 1100px) { [id] { scroll-margin-top: 96px; } }

/* ===== Haut des pages intérieures ===== */
.phero { background: var(--ivory); border-bottom: 1px solid var(--line); }
.phero-in { max-width: 820px; padding-top: 56px; padding-bottom: 56px; text-align: center; }
.phero .kicker { display: inline-block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; margin-bottom: 14px; }
.phero h1 { font-size: clamp(38px, 6vw, 60px); }
.phero p { margin-top: 18px; font-size: 19px; color: var(--text); }
.phero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
a.chip:hover { border-color: var(--gold-dark); color: var(--gold-dark); }

/* ===== Texte courant ===== */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { color: var(--text); margin-bottom: 14px; }
.lead { font-size: 19px; color: var(--text); }
.sec-head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.sec-head h2 { margin-bottom: 12px; }
.sec-head p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 28px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }

/* Cartes génériques */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--white); border: 1.5px solid var(--line); border-radius: 20px; padding: 26px 24px; min-width: 0; }
.card h3 { font-size: 27px; margin-bottom: 10px; }
.card p { color: var(--text); font-size: 16px; }
.card p + p { margin-top: 10px; }
.card .ticks { font-size: 16px; }
a.card { display: block; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--gold-dark); transform: translateY(-2px); color: var(--ink); }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; color: var(--gold-dark); font-size: 16px; }
.note { margin-top: 24px; padding: 16px 20px; border-radius: 14px; background: var(--ivory); border: 1px solid var(--line); color: var(--bronze); font-size: 16px; }
.cta-band { text-align: center; }
.cta-band p { color: var(--muted); margin: -8px 0 24px; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ===== Matières ===== */
.fam-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.subj-fam { padding: 64px 0 24px; }
.subj-fam + .subj-fam { border-top: 1px solid var(--line-soft); }
.subj-fam > .wrap > h2 { margin-bottom: 8px; }
.fam-intro { color: var(--muted); margin-bottom: 28px; max-width: 680px; }
.subj { background: var(--white); border: 1.5px solid var(--line); border-radius: 22px; padding: 30px 28px; margin-bottom: 20px; }
.subj-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 8px; }
.subj h3 { font-size: 32px; }
.subj-ar { font-family: 'Amiri', var(--serif); font-size: 24px; color: var(--gold-dark); line-height: 1.4; }
.subj-hook { font-size: 18px; color: var(--text); margin-bottom: 20px; }
.subj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.subj-grid h4 { font-family: var(--sans); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; margin: 0 0 10px; }
.subj-grid .ticks { font-size: 16px; gap: 8px; }
.subj-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.subj-foot small { color: var(--muted); font-size: 14px; }
.compare { margin-top: 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.compare > div { background: var(--ivory); border-radius: 16px; padding: 20px 22px; }
.compare h4 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin: 0 0 10px; }

/* ===== Parcours ===== */
.path { display: flex; flex-direction: column; }
.path .who-for { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.steps { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.steps li { display: inline-flex; align-items: center; gap: 6px; }
.steps li:not(:last-child)::after { content: "→"; color: var(--gold); font-weight: 600; }
.steps a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--ivory); border: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.steps a:hover { border-color: var(--gold-dark); color: var(--gold-dark); }
.path .more { margin-top: auto; padding-top: 16px; }
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.offer { background: var(--white); border: 1.5px solid var(--line); border-radius: 22px; padding: 30px 26px; }
.offer-dark { background: var(--ink); border-color: var(--ink); color: #EDE6D3; }
.offer-dark h3, .offer-dark .price strong { color: var(--white); }
.offer-dark .offer-sub, .offer-dark .ticks li { color: #CFC8B6; }
.offer-dark .price { border-color: #3a3a3a; }
.offer-dark .price span { color: #CFC8B6; }
.offer h3 { font-size: 30px; }
.offer-sub { color: var(--muted); margin: 6px 0 18px; }
.prices { display: grid; gap: 0; margin-bottom: 20px; }
.price { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.price span { color: var(--text); }
.price strong { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--gold-dark); white-space: nowrap; }
.price strong small { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--muted); }
.offer-dark .price strong small { color: #CFC8B6; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.facts .card h3 { font-size: 24px; }

/* ===== FAQ ===== */
.faq { max-width: 820px; margin: 0 auto; }
.faq h2 { font-size: 30px; margin: 44px 0 14px; }
.faq h2:first-child { margin-top: 0; }
.faq details { background: var(--white); border: 1.5px solid var(--line); border-radius: 16px; margin-bottom: 10px; }
.faq details[open] { border-color: #D9CDA9; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 600; font-size: 17px; color: var(--ink); min-height: 56px; border-radius: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 auto; width: 10px; height: 10px; border-right: 2px solid var(--gold-dark); border-bottom: 2px solid var(--gold-dark); transform: rotate(45deg) translate(-2px, -2px); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq summary:hover { color: var(--gold-dark); }
.faq .ans { padding: 0 20px 18px; color: var(--text); }
.faq .ans p + p, .faq .ans p + ul { margin-top: 10px; }
.faq .ans ul { margin: 10px 0 0; padding-inline-start: 20px; }
.faq .ans li { margin-bottom: 6px; }
sup { line-height: 0; }

/* Accueil : blocs « En savoir plus » */
.discover .card h3 { font-size: 28px; }

@media (max-width: 900px) {
  .cards, .cards-2, .subj-grid, .compare, .offers, .facts { grid-template-columns: 1fr; }
  .subj { padding: 24px 20px; }
  .subj h3 { font-size: 28px; }
  .subj-grid { gap: 18px; }
  .subj-fam { padding-top: 48px; }
  .phero-in { padding-top: 40px; padding-bottom: 40px; }
  .phero p { font-size: 17px; }
  .offer { padding: 26px 20px; }
  .card { padding: 22px 20px; }
}
@media (max-width: 480px) {
  .subj-foot .btn { width: 100%; }
  .price strong { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { a.card, .faq summary::after { transition: none; } }
