/* Association Khnata Ronda - feuille de style du site */

@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/cormorant-garamond.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(/fonts/cormorant-garamond-italic.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/instrument-sans.woff2) format('woff2'); }
@font-face { font-family: 'Noto Kufi Arabic'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/noto-kufi-arabic.woff2) format('woff2'); }
@font-face { font-family: 'Noto Naskh Arabic'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/noto-naskh-arabic.woff2) format('woff2'); }

:root {
  --vert: #0F4A33;
  --vert-nuit: #0A3424;
  --or: #B8892F;
  --or-texte: #9A7226;
  --or-clair: #E9CF8F;
  --rouge: #B3121D;
  --creme: #F6F0E4;
  --papier: #FFFDF8;
  --lin: #E7DCC6;
  --filet: #E1D3B4;
  --encre: #1E2B24;
  --gris: #3F4D45;
  --gris-clair: #5B6B62;
  --titre: 'Cormorant Garamond', Georgia, serif;
  --texte: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --largeur: 1280px;
  --gouttiere: clamp(20px, 4vw, 32px);
}
:lang(ar) {
  --titre: 'Noto Kufi Arabic', 'Cormorant Garamond', serif;
  --texte: 'Noto Naskh Arabic', 'Instrument Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--creme); color: var(--encre); font-family: var(--texte); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
:lang(ar) body, body:lang(ar) { font-size: 19px; line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--vert); }
a:hover { color: var(--vert-nuit); }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; border-radius: 4px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--titre); font-weight: 600; color: var(--vert); line-height: 1.02; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { line-height: 1.45; font-weight: 600; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--or-texte); }
:lang(ar) h1 em, :lang(ar) h2 em, :lang(ar) h3 em { font-style: normal; }

.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; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--vert); color: #fff; padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }

.wrap { max-width: var(--largeur); margin: 0 auto; padding-inline: var(--gouttiere); }
.section { padding-block: clamp(72px, 9vw, 120px); }
.section-tight { padding-block: clamp(56px, 7vw, 84px); }
.stack { display: flex; flex-direction: column; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; max-width: 34em; }
.muted { color: var(--gris); }
.note { font-size: 15px; line-height: 1.55; color: var(--gris-clair); }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(246, 240, 228, .94); backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--filet); }
.header-in { display: flex; align-items: center; gap: 16px 32px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand .dessin { height: 62px; width: auto; }
.brand .nom { height: 46px; width: auto; }
.nav { margin-inline-start: auto; display: flex; align-items: center; gap: 6px 28px; }
.nav a { color: var(--vert); text-decoration: none; font-weight: 600; font-size: 16px; padding: 8px 0; border-bottom: 2px solid transparent; }
:lang(ar) .nav a { font-family: 'Noto Kufi Arabic', sans-serif; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--or); }
.langs { display: flex; gap: 8px; }
.langs a { color: var(--vert); text-decoration: none; font-family: 'Instrument Sans', system-ui, sans-serif; font-weight: 600; font-size: 14px; min-width: 42px; text-align: center; padding: 6px 10px; border: 1.5px solid var(--or); border-radius: 999px; line-height: 1.4; }
.langs a[lang="ar"] { font-family: 'Noto Kufi Arabic', sans-serif; font-size: 13px; }
.langs a[aria-current="true"] { background: var(--vert); color: #fff; border-color: var(--vert); }
.menu-btn { display: none; margin-inline-start: auto; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--or); background: transparent; color: var(--vert); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 1120px) {
  .menu-btn { display: inline-flex; }
  .nav-zone { position: fixed; inset: 84px 0 auto 0; background: var(--creme); border-bottom: 1px solid var(--filet); padding: 18px var(--gouttiere) 28px; display: none; flex-direction: column; align-items: stretch; gap: 18px; box-shadow: 0 24px 40px rgba(30, 43, 36, .12); max-height: calc(100vh - 84px); overflow: auto; }
  .nav-zone.open { display: flex; }
  .nav { flex-direction: column; align-items: stretch; margin: 0; gap: 0; }
  .nav a { font-size: 20px; padding: 14px 0; border-bottom: 1px solid var(--filet); }
  .nav a[aria-current="page"] { color: var(--or-texte); border-bottom-color: var(--filet); }
  .header-in { min-height: 76px; }
  .nav-zone { inset-block-start: 76px; max-height: calc(100vh - 76px); }
  .brand .dessin { height: 54px; }
  .brand .nom { height: 40px; }
}
@media (min-width: 1121px) { .nav-zone { display: flex; align-items: center; gap: 28px; margin-inline-start: auto; } }

/* ---------- Boutons et liens ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 28px; background: var(--vert); color: #fff; text-decoration: none; font-family: var(--texte); font-weight: 600; font-size: 17px; border-radius: 999px; border: 0; cursor: pointer; transition: transform .35s cubic-bezier(.2,.8,.2,1), background .25s; }
:lang(ar) .btn { font-family: 'Noto Kufi Arabic', sans-serif; font-weight: 500; font-size: 16px; }
.btn:hover { background: var(--vert-nuit); color: #fff; transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
[dir="rtl"] .btn svg.fleche { transform: scaleX(-1); }
.btn-or { background: var(--or); color: var(--encre); }
.btn-or:hover { background: #CFA24A; color: var(--encre); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.lien { color: var(--vert); text-decoration: none; font-family: var(--titre); font-style: italic; font-weight: 600; font-size: 22px; border-bottom: 1.5px solid var(--or); padding-bottom: 2px; line-height: 1.3; }
:lang(ar) .lien { font-style: normal; font-size: 17px; font-weight: 500; }
.lien:hover { color: var(--vert-nuit); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }

/* ---------- Porte en ogive ---------- */
.porte { position: relative; aspect-ratio: 4 / 5; margin: 0; }
.porte .clip { position: absolute; inset: 0; clip-path: url(#ogive); overflow: hidden; background: var(--lin); }
.porte .clip img { width: 100%; height: 100%; object-fit: cover; }
.porte .lignes { position: absolute; inset-inline-start: -6%; top: -6%; width: 112%; height: 106%; overflow: visible; pointer-events: none; }
.porte-papier .clip { background: var(--papier); display: flex; align-items: flex-end; justify-content: center; }
.porte-papier .clip img { width: 82%; height: auto; object-fit: contain; margin-bottom: 4%; }
.carte:hover .porte .clip img { transform: scale(1.05); }
.porte .clip img { transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }

.filet { display: flex; align-items: center; gap: 16px; color: var(--or); }
.filet span { flex: 1; height: 1.5px; background: var(--or); }
.filet svg { width: 22px; height: 22px; flex-shrink: 0; }

.semis { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Héros de l'accueil ---------- */
.hero { position: relative; overflow: hidden; }
.hero .semis { opacity: .1; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); align-items: center; gap: 56px 80px; padding-block: clamp(56px, 8vw, 104px) clamp(72px, 9vw, 110px); }
.hero h1 { font-size: clamp(54px, 8vw, 116px); line-height: .98; }
:lang(ar) .hero h1 { font-size: clamp(46px, 6.4vw, 88px); line-height: 1.35; }
.hero h1 span { display: block; }
.hero .lead { margin-block: 26px 32px; }
.hero-visuel { position: relative; padding-top: 28px; max-width: 420px; justify-self: end; width: 100%; }
[dir="rtl"] .hero-visuel { justify-self: start; }
.badge { position: absolute; inset-inline-start: -48px; bottom: -28px; width: 146px; height: 146px; border-radius: 50%; background: var(--vert); border: 3px solid var(--or); display: flex; align-items: center; justify-content: center; }
.badge svg.anneau { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); }
.badge img { height: 74px; width: auto; position: relative; }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-visuel { justify-self: center !important; max-width: 340px; margin-inline: auto; }
  .badge { inset-inline-start: -18px; width: 118px; height: 118px; }
  .badge img { height: 58px; }
}

/* ---------- Bandeau des valeurs ---------- */
.bandeau { background: var(--vert); color: var(--creme); border-block: 3px solid var(--or); overflow: hidden; padding-block: 18px; }
.defile { display: flex; align-items: center; gap: 44px; width: max-content; animation: defile 46s linear infinite; font-family: var(--titre); font-weight: 600; font-size: 30px; line-height: 1.2; white-space: nowrap; }
:lang(ar) .defile { font-size: 24px; font-weight: 500; }
[dir="rtl"] .defile { animation-name: defile-rtl; }
.defile svg { width: 20px; height: 20px; color: var(--or); flex-shrink: 0; }
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes defile-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- Blocs de texte + image ---------- */
.duo { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 48px 88px; align-items: center; }
.duo.inverse { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
.duo.inverse > .porte, .duo.inverse > figure { order: 2; }
.duo h2 { font-size: clamp(40px, 5.2vw, 68px); margin-bottom: 24px; }
:lang(ar) .duo h2 { font-size: clamp(32px, 4vw, 52px); }
.duo .texte { display: flex; flex-direction: column; gap: 18px; }
.duo .texte p { max-width: 34em; }
.duo figure { padding-top: 22px; margin: 0; }
@media (max-width: 860px) {
  .duo, .duo.inverse { grid-template-columns: 1fr; }
  .duo figure, .duo > .porte { max-width: 300px; width: 100%; margin-inline: auto; order: 0 !important; }
}

/* ---------- Repères ---------- */
.titre-section { font-size: clamp(40px, 5.2vw, 68px); margin-bottom: clamp(36px, 5vw, 56px); }
:lang(ar) .titre-section { font-size: clamp(32px, 4vw, 52px); }
.reperes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.reperes li { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; }
.reperes li:nth-child(2) { padding-top: 78px; }
.reperes li:nth-child(3) { padding-top: 134px; }
.reperes .an { font-family: var(--titre); font-weight: 600; font-size: 34px; line-height: 1.1; color: var(--or-texte); margin-top: 12px; }
:lang(ar) .reperes .an { font-size: 26px; }
.reperes h3 { font-size: 28px; }
:lang(ar) .reperes h3 { font-size: 23px; }
.reperes p { font-size: 17px; color: var(--gris); }
@media (max-width: 860px) {
  .reperes { grid-template-columns: 1fr; gap: 56px; }
  .reperes li, .reperes li:nth-child(2), .reperes li:nth-child(3) { padding-top: 22px; }
  .reperes .porte { max-width: 300px; width: 100%; }
}

/* ---------- Sections vertes ---------- */
.vert { background: var(--vert); color: #fff; position: relative; overflow: hidden; border-top: 3px solid var(--or); }
.vert h1, .vert h2, .vert h3 { color: #fff; }
.vert h1 em, .vert h2 em, .vert h3 em { color: var(--or-clair); }
.vert .lead, .vert p { color: var(--lin); }
.vert a:not(.btn) { color: #fff; }
.vert .semis { opacity: .08; }
.vert .lien { color: #fff; }
.pourquoi-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 56px; }
.pourquoi-tete .stack { gap: 18px; max-width: 36em; flex: 1 1 460px; }
.pourquoi-tete h2 { font-size: clamp(40px, 5.2vw, 68px); }
:lang(ar) .pourquoi-tete h2 { font-size: clamp(32px, 4vw, 52px); }
.pourquoi-tete img { height: 280px; width: auto; flex-shrink: 0; }
.arches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.arches li { border: 1.5px solid var(--or); border-radius: 999px 999px 24px 24px; padding: 60px 30px 36px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.arches li svg { width: 24px; height: 24px; color: var(--or); }
.arches .t { font-family: var(--titre); font-weight: 600; font-size: 38px; line-height: 1.1; color: #fff; }
:lang(ar) .arches .t { font-size: 28px; }
.arches p { font-size: 17px; }
.arches li.plein { background: var(--or); border-color: var(--or); }
.arches li.plein .t { color: var(--vert); }
.arches li.plein p { color: var(--encre); }
.arches li.plein svg { color: var(--vert); }
@media (max-width: 860px) {
  .arches { grid-template-columns: 1fr; }
  .pourquoi-tete img { height: 220px; margin-inline: auto; }
}

/* ---------- Citation de la présidente ---------- */
.citation { font-family: var(--titre); font-style: italic; font-weight: 500; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.38; max-width: 26em; margin: 0; }
:lang(ar) .citation { font-style: normal; font-family: 'Noto Naskh Arabic', serif; font-size: clamp(21px, 2vw, 25px); line-height: 1.9; }
.signature { display: flex; flex-direction: column; gap: 4px; }
.signature .n { font-family: var(--titre); font-weight: 600; font-size: 24px; color: var(--vert); line-height: 1.2; }
:lang(ar) .signature .n { font-size: 20px; }
.signature .r { font-size: 15px; color: var(--gris-clair); }

/* ---------- Contact ---------- */
.contact-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px 96px; position: relative; }
.contact-grille h2, .contact-grille h1 { font-size: clamp(56px, 7vw, 96px); margin-bottom: 24px; }
:lang(ar) .contact-grille h2, :lang(ar) .contact-grille h1 { font-size: clamp(40px, 5vw, 68px); }
.coordonnees { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; font-size: 20px; }
.coordonnees a { text-decoration: none; border-bottom: 1.5px solid var(--or); align-self: flex-start; }
.coordonnees span { font-size: 16px; }
@media (max-width: 860px) { .contact-grille { grid-template-columns: 1fr; } }

.form { display: flex; flex-direction: column; gap: 20px; }
.champ { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 15px; color: var(--lin); }
:lang(ar) .champ { font-family: 'Noto Kufi Arabic', sans-serif; font-weight: 500; font-size: 14px; }
.champ input, .champ textarea, .champ select { font: 400 17px/1.5 var(--texte); color: #fff; background: rgba(255,255,255,.07); border: 1.5px solid rgba(184,137,47,.7); border-radius: 14px; padding: 13px 16px; min-height: 52px; width: 100%; }
.champ select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E9CF8F' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: right 16px center; padding-inline-end: 44px; }
[dir="rtl"] .champ select { background-position: left 16px center; }
.champ select option { color: var(--encre); background: #fff; }
.champ textarea { min-height: 150px; resize: vertical; }
.champ input:focus, .champ textarea:focus, .champ select:focus { outline: 3px solid var(--or); outline-offset: 2px; border-color: var(--or); }
.champ input:user-invalid, .champ textarea:user-invalid { border-color: #F2A0A0; }
.duo-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .duo-champs { grid-template-columns: 1fr; } }
.pot { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-bas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.form-bas .note { color: var(--lin); }
.form-bas .note a { color: #fff; }
.statut { min-height: 0; font-size: 16px; line-height: 1.5; border-radius: 12px; }
.statut:not(:empty) { padding: 14px 16px; }
.statut.ok { background: rgba(233, 207, 143, .16); color: #fff; border: 1.5px solid var(--or-clair); }
.statut.err { background: rgba(179, 18, 29, .22); color: #fff; border: 1.5px solid #F2A0A0; }

/* ---------- Pages intérieures ---------- */
.page-tete { position: relative; overflow: hidden; border-bottom: 1px solid var(--filet); }
.page-tete .semis { opacity: .1; }
.page-tete .wrap { position: relative; padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px); display: flex; flex-direction: column; gap: 22px; }
.page-tete h1 { font-size: clamp(56px, 8vw, 112px); line-height: .98; }
:lang(ar) .page-tete h1 { font-size: clamp(44px, 6vw, 80px); line-height: 1.35; }

.colonnes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 36px; }
.carte-blanche { background: var(--papier); border: 1px solid #E6D9BE; border-radius: 20px; padding: 32px; }
.carte-blanche h3 { font-size: 28px; margin-bottom: 16px; }
:lang(ar) .carte-blanche h3 { font-size: 22px; }
.puces { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.puces li { display: flex; gap: 12px; align-items: baseline; }
.puces li::before { content: ''; flex-shrink: 0; width: 9px; height: 9px; border: 1.5px solid var(--or); transform: rotate(45deg) translateY(-2px); }
@media (max-width: 760px) { .colonnes { grid-template-columns: 1fr; } }

.kicker { font-family: var(--titre); font-style: italic; font-weight: 600; font-size: 24px; color: var(--or-texte); }
:lang(ar) .kicker { font-style: normal; font-size: 19px; }
.vert .kicker { color: var(--or-clair); }

.memoire { text-align: center; }
.memoire .wrap { max-width: 920px; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.memoire h2 { font-size: clamp(44px, 6vw, 80px); }
:lang(ar) .memoire h2 { font-size: clamp(34px, 4.6vw, 58px); }
.memoire p { font-family: var(--titre); font-style: italic; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.4; color: var(--creme) !important; }
:lang(ar) .memoire p { font-style: normal; font-family: 'Noto Naskh Arabic', serif; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.9; }
.memoire .filet { width: min(360px, 80%); }

.distinction { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px 72px; align-items: center; }
.distinction .grand-an { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(110px, 15vw, 210px); line-height: .85; color: var(--or-texte); }
.distinction .texte { display: flex; flex-direction: column; gap: 18px; }
.distinction h2 { font-size: clamp(40px, 5vw, 64px); }
:lang(ar) .distinction h2 { font-size: clamp(32px, 4vw, 50px); }
@media (max-width: 760px) { .distinction { grid-template-columns: 1fr; } }

.inspiration { border-inline-start: 3px solid var(--or); padding-inline-start: 26px; font-family: var(--titre); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.38; color: var(--vert); max-width: 30em; }
:lang(ar) .inspiration { font-family: 'Noto Naskh Arabic', serif; font-size: clamp(21px, 2vw, 25px); line-height: 1.9; }

.mission { list-style: none; margin: 0; padding: 0; counter-reset: m; display: flex; flex-direction: column; }
.mission li { counter-increment: m; display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 24px; align-items: baseline; padding-block: 22px; border-top: 1px solid var(--filet); font-size: clamp(19px, 1.8vw, 23px); }
.mission li:last-child { border-bottom: 1px solid var(--filet); }
.mission li::before { content: counter(m, decimal-leading-zero); font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 44px; line-height: 1; color: var(--or-texte); }

.valeurs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.valeurs li { background: var(--papier); border: 1px solid #E6D9BE; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.valeurs li svg { width: 22px; height: 22px; color: var(--or); margin-bottom: 6px; }
.valeurs .t { font-family: var(--titre); font-weight: 600; font-size: 30px; line-height: 1.1; color: var(--vert); }
:lang(ar) .valeurs .t { font-size: 23px; }
.valeurs p { color: var(--gris); font-size: 17px; }
@media (max-width: 860px) { .valeurs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .valeurs { grid-template-columns: 1fr; } }

.lettre { max-width: 760px; display: flex; flex-direction: column; gap: 22px; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.75; }
.lettre p:first-of-type::first-letter { font-family: 'Cormorant Garamond', serif; font-weight: 600; float: left; font-size: 4.2em; line-height: .8; padding: 6px 10px 0 0; color: var(--or-texte); }
[dir="rtl"] .lettre p:first-of-type::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; font-family: inherit; }
.presidente-grille { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 48px 88px; align-items: start; }
.presidente-grille .cote { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 20px; padding-top: 22px; }
@media (max-width: 860px) {
  .presidente-grille { grid-template-columns: 1fr; }
  .presidente-grille .cote { position: static; max-width: 300px; }
}

.mentions { max-width: 820px; display: flex; flex-direction: column; gap: 40px; }
.mentions section { display: flex; flex-direction: column; gap: 12px; }
.mentions h2 { font-size: 30px; }
:lang(ar) .mentions h2 { font-size: 23px; }
.mentions p, .mentions li { font-size: 17px; color: var(--gris); }
.mentions ul { margin: 0; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 6px; }

.merci { min-height: 60vh; display: flex; align-items: center; }
.merci .wrap { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.merci h1 { font-size: clamp(44px, 6vw, 84px); }
:lang(ar) .merci h1 { font-size: clamp(36px, 5vw, 64px); }

/* ---------- Pied de page ---------- */
.pied { background: var(--vert-nuit); color: var(--lin); }
.pied-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; padding-block: 48px 52px; }
.pied .marque { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.pied .marque .dessin { height: 66px; width: auto; }
.pied .marque .nom { height: 48px; width: auto; }
.pied nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pied nav a { color: var(--lin); text-decoration: none; font-size: 15px; }
.pied nav a:hover { color: #fff; }
.pied .devise { width: 100%; font-family: var(--titre); font-style: italic; font-size: 22px; color: var(--creme); }
:lang(ar) .pied .devise { font-style: normal; font-size: 18px; }
.pied .legal { width: 100%; font-size: 14px; line-height: 1.6; border-top: 1px solid rgba(184,137,47,.35); padding-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pied .legal a { color: var(--lin); }
.pied [dir="ltr"] { unicode-bidi: isolate; }

/* ---------- Animations ---------- */
.monte { opacity: 0; transform: translateY(32px); animation: monte .95s cubic-bezier(.2,.8,.2,1) forwards; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .25s; } .d3 { animation-delay: .4s; } .d4 { animation-delay: .55s; } .d5 { animation-delay: .7s; }
@keyframes monte { to { opacity: 1; transform: none; } }
.kb { animation: kenburns 24s ease-in-out infinite alternate; transform-origin: 55% 45%; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
.tourne { animation: tourne 22s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .monte, .kb, .tourne, .defile { animation: none !important; opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .porte .clip img { transition: none; }
}
@media print {
  .header, .bandeau, .pied nav, .form, .menu-btn { display: none !important; }
  body { background: #fff; }
}

/* ---------- Bandeau de consentement ---------- */
.consent { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 80; max-width: 560px; margin-inline-start: auto; background: var(--vert-nuit); color: var(--creme); border: 1.5px solid var(--or); border-radius: 18px; padding: 18px 20px; box-shadow: 0 18px 40px rgba(0,0,0,.25); display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.55; }
.consent[hidden] { display: none; }
.consent a { color: #fff; }
.consent-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.consent .btn { min-height: 46px; padding: 0 22px; font-size: 15px; }
.btn-contour { background: transparent; color: var(--creme); border: 1.5px solid var(--or); }
.btn-contour:hover { background: rgba(255,255,255,.08); color: #fff; }
.pied .agence { margin-inline-start: auto; }
@media (max-width: 760px) { .pied .agence { margin-inline-start: 0; width: 100%; } }

/* ---------- Vérification anti-robot et accord ---------- */
.captcha .champ { max-width: 420px; }
.captcha .champ input { max-width: 140px; font-size: 20px; letter-spacing: .05em; }
.captcha-q { font-weight: 600; }
.accord { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: #fff; cursor: pointer; }
.accord input { flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--or); cursor: pointer; }
.vert .mention-cndp { color: var(--lin); font-size: 13.5px; line-height: 1.55; margin-top: -6px; }
.vert .mention-cndp a { color: #fff; }

/* ---------- Rubriques ajoutées (actions, équipe, nous rejoindre) ---------- */
.tete-section { max-width: 780px; display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(36px, 5vw, 56px); }
.tete-section h2 { font-size: clamp(40px, 5.2vw, 68px); }
.num { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 34px; line-height: 1; color: var(--or-texte); }

.axes-mini { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.axes-mini li { background: var(--papier); border: 1px solid #E6D9BE; border-top: 3px solid var(--or); border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.axes-mini h3 { font-size: 25px; line-height: 1.15; }
:lang(ar) .axes-mini h3 { font-size: 19px; line-height: 1.5; }
.axes-mini p { margin: 0; font-size: 16px; color: var(--gris); }
@media (max-width: 1080px) { .axes-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .axes-mini { grid-template-columns: 1fr; } }

.axes .carte-blanche { display: flex; flex-direction: column; gap: 14px; border-top: 3px solid var(--or); }
.axes .carte-blanche h3 { margin-bottom: 4px; }
:lang(ar) .axes .carte-blanche h3 { font-size: 22px; line-height: 1.5; }
.objectif { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--filet); font-weight: 600; color: var(--vert); }

.faits { margin: 6px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.faits div { padding: 12px 0; border-bottom: 1px solid var(--filet); }
.faits dt { font-size: 14px; font-weight: 600; color: var(--or-texte); }
.faits dd { margin: 2px 0 0; font-size: 17px; color: var(--gris); }
@media (max-width: 560px) { .faits { grid-template-columns: 1fr; } }

.memoire p.sous { font-family: var(--texte); font-style: normal; font-size: 19px; line-height: 1.6; max-width: 40em; color: var(--lin) !important; }
.arches-texte .t { font-size: 32px; }
:lang(ar) .arches-texte .t { font-size: 24px; }

.mot h3 { font-size: 30px; }
.mot .citation { max-width: none; }
.lettre.mot p:first-of-type::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; font-family: inherit; font-weight: inherit; line-height: inherit; }
.mot .signature .r + .r { color: var(--or-texte); }
.sous-titre { font-size: 34px; margin: clamp(48px, 6vw, 72px) 0 24px; }
.membres { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.membres li { display: flex; flex-direction: column; gap: 6px; }
.membres img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; }
.membres .n { font-family: var(--titre); font-weight: 600; font-size: 24px; color: var(--vert); line-height: 1.2; }
.membres .r { font-size: 15px; color: var(--or-texte); }
.membres p { font-style: italic; color: var(--gris); margin-top: 6px; }
@media (max-width: 860px) { .membres { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .membres { grid-template-columns: 1fr; } }

.facons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.facons li { display: flex; flex-direction: column; gap: 16px; border-top: 3px solid var(--or); scroll-margin-top: 120px; }
.facons h2 { font-size: clamp(30px, 3vw, 38px); }
.facons p { color: var(--gris); font-size: 17px; }
.facons .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 860px) { .facons { grid-template-columns: 1fr; } }

.logos-partenaires { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; }
.logos-partenaires img { max-height: 64px; width: auto; }
.logos-partenaires span { font-family: var(--titre); font-size: 24px; color: var(--vert); }

.social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.social a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px; }
.social svg { flex-shrink: 0; }
.pied .social { width: 100%; }
.pied .social a { color: var(--or-clair); }
.pied .social a:hover { color: #fff; }
.pied .social-label { font-size: 14px; color: var(--lin); margin-inline-end: 4px; }
.social-contact { margin-top: 8px; }
.social-contact a { border-bottom: 0 !important; }
#contact { scroll-margin-top: 90px; }
.nav a { white-space: nowrap; }
@media (min-width: 1121px) and (max-width: 1320px) {
  .nav { gap: 6px 18px; }
  .nav a { font-size: 15px; }
  .nav-zone { gap: 18px !important; }
}
.axe-texte { color: var(--encre); font-size: 17px; margin: 0 0 4px; }
.medias-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.medias-grille .carte-blanche { border-top: 3px solid var(--or); display: flex; flex-direction: column; gap: 14px; }
.medias-grille h2 { font-size: clamp(28px, 2.6vw, 34px); }
.liste-medias { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.liste-medias li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-top: 1px solid var(--filet); }
.liste-medias .date, .liste-medias .source { font-size: 14px; color: var(--gris-clair); }
.liste-medias a, .liste-medias .titre { font-weight: 600; }
@media (max-width: 860px) { .medias-grille { grid-template-columns: 1fr; } }
.facons.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vert .facons li { border: 1.5px solid var(--or); border-radius: 20px; padding: 32px; }
.vert .facons p { color: var(--lin); }
@media (max-width: 860px) { .facons.deux { grid-template-columns: 1fr; } }

/* Page Médias : cartes d'articles */
.medias-section + .medias-section { padding-top: 0; }
.cartes-medias { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.cartes-medias > li { display: flex; }
.carte-media { flex: 1; display: flex; flex-direction: column; gap: 14px; background: var(--papier); border: 1px solid #E6D9BE; border-top: 3px solid var(--or); border-radius: 20px; padding: 26px 28px 24px; color: var(--encre); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
a.carte-media:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(30, 43, 36, .10); color: var(--encre); }
.carte-media-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.carte-media-tete .source { font-weight: 600; color: var(--or-texte); }
.carte-media-tete time { color: var(--gris-clair); }
.carte-media h3 { font-size: 25px; line-height: 1.25; color: var(--vert); margin: 0; }
.carte-media h3:lang(ar) { font-family: 'Noto Kufi Arabic', sans-serif; font-size: 19px; line-height: 1.7; font-weight: 600; text-align: right; }
.carte-media .lire { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--vert); }
a.carte-media:hover .lire { text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: 4px; }
.carte-media h3[dir="ltr"] { text-align: left; }
@media (max-width: 560px) { .pied .social-label { width: 100%; } }
