/* ==========================================================================
   Noureddine Obbad · feuille de style unique
   Direction : « diplomatie moderne ». Bleu marine institutionnel + or,
   serif de prestige pour les titres, motif discret d'étoile à huit branches
   (khatam) en filigrane. Aucune dépendance externe (CDN).
   ========================================================================== */

/* ---- Polices auto-hébergées ---- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/fraunces-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/fraunces-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/fraunces-italic-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700.woff2') format('woff2');
}

/* ---- Thème ---- */
:root {
  /* Marine institutionnel */
  --navy: #0b1c33;
  --navy-2: #10253f;
  --navy-3: #081527;
  --navy-line: rgba(223, 197, 138, .18);

  /* Or */
  --gold: #c49a3c;
  --gold-light: #dfc58a;
  --gold-text: #96731f;        /* or foncé, lisible sur fond clair */
  --gold-wash: rgba(196, 154, 60, .1);

  /* Fond clair */
  --cream: #faf8f3;
  --sand: #f1ebdd;
  --white: #fff;
  --line: rgba(11, 28, 51, .13);

  /* Texte sur fond clair */
  --txt: #14213a;
  --txt-70: rgba(20, 33, 58, .72);
  --txt-45: rgba(20, 33, 58, .5);

  /* Texte sur fond marine */
  --on-navy: #f4f1e9;
  --on-navy-70: rgba(244, 241, 233, .74);
  --on-navy-45: rgba(244, 241, 233, .5);

  /* Compatibilité anciennes références */
  --rouge: var(--gold-text);
  --rouge-wash: var(--gold-wash);

  --f-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --ease: cubic-bezier(.22, .61, .36, 1);

  /* Étoile à huit branches (khatam) en filigrane */
  --khatam: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='112' viewBox='0 0 112 112'%3E%3Cg fill='none' stroke='%23dfc58a' stroke-opacity='.07'%3E%3Crect x='34' y='34' width='44' height='44'/%3E%3Crect x='34' y='34' width='44' height='44' transform='rotate(45 56 56)'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, ol, ul, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea { font: inherit; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---- Base ---- */
body {
  background: var(--cream);
  color: var(--txt);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--on-navy);
  padding: .75rem 1.25rem;
  z-index: 999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

h1, h2, h3, h4 { font-family: var(--f-serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow::before {
  content: '';
  width: 2em;
  height: 1px;
  background: var(--gold);
}

.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--alt { background: var(--sand); }
.section--ink {
  background: var(--navy) var(--khatam);
  color: var(--on-navy);
}
.section--ink .eyebrow { color: var(--gold-light); }
.section--ink .eyebrow::before { background: var(--gold-light); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-top: .6rem; }
.section-head p { margin-top: 1rem; color: var(--txt-70); font-size: 1.05rem; max-width: 42rem; }
.section--ink .section-head p { color: var(--on-navy-70); }

hr.rule { border: 0; border-top: 1px solid var(--line); margin-block: 0; }

/* ---- Liens flèche ---- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-weight: 600;
  font-size: .95rem;
  padding-bottom: .15em;
  border-bottom: 1px solid var(--gold);
  transition: gap .25s var(--ease), opacity .25s var(--ease);
}
.link-arrow svg { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.link-arrow:hover { gap: .8em; opacity: .75; }
.link-arrow:hover svg { transform: translateX(2px); }
.link-arrow--rouge { color: var(--gold-text); }
.section--ink .link-arrow, .hero-band .link-arrow { border-bottom-color: var(--gold-light); }

/* ---- Bouton plein (or) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  background: var(--gold);
  color: var(--navy-3);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 1rem 1.75rem;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 1em; height: 1em; }
.btn:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--on-navy);
  border: 1px solid var(--navy-line);
}
.btn--ghost:hover { background: rgba(223, 197, 138, .08); }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 28, 51, .96);
  backdrop-filter: saturate(140%) blur(8px);
  color: var(--on-navy);
  border-bottom: 1px solid var(--navy-line);
}
.site-header__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: .9rem var(--gutter);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.wordmark { display: flex; flex-direction: column; line-height: 1.15; overflow: hidden; flex: 1 1 0%; min-width: 0; }
.wordmark__name { font-family: var(--f-serif); font-weight: 600; font-size: 1.18rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wordmark__tag {
  display: none;
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: .15rem;
}

@media (min-width: 480px) {
  .wordmark__tag { display: block; }
}

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; align-items: center; gap: clamp(.9rem, 1.8vw, 1.8rem); }
.nav-desktop a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--on-navy-70);
  position: relative;
  padding-bottom: 5px;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--gold);
  transition: right .25s var(--ease);
}
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: var(--on-navy); }
.nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after { right: 0; }

.nav-cta {
  display: none;
  background: var(--gold);
  color: var(--navy-3);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .7rem 1.2rem;
  flex-shrink: 0;
  transition: background-color .25s var(--ease);
}
.nav-cta:hover { background: var(--gold-light); }

@media (min-width: 900px) {
  .nav-cta { display: inline-flex; }
}

.nav-toggle { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.nav-toggle__box { width: 28px; height: 20px; position: relative; }
.nav-toggle__box::before, .nav-toggle__box::after, .nav-toggle__inner {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--gold-light);
  transition: transform .3s var(--ease), opacity .3s var(--ease), top .3s var(--ease);
}
.nav-toggle__box::before { top: 0; }
.nav-toggle__inner { top: 9px; }
.nav-toggle__box::after { top: 18px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box::before { top: 9px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__box::after { top: 9px; transform: rotate(-45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__inner { opacity: 0; }
.nav-toggle__label { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; display: none; }

@media (min-width: 420px) {
  .nav-toggle__label { display: inline; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--navy-3) var(--khatam);
  color: var(--on-navy);
  padding: clamp(5rem, 14vh, 8rem) var(--gutter) 3rem;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ol { display: flex; flex-direction: column; gap: .25rem; }
.mobile-menu li { display: flex; align-items: baseline; gap: 1rem; border-top: 1px solid var(--navy-line); padding: 1rem 0; }
.mobile-menu li:last-child { border-bottom: 1px solid var(--navy-line); }
.mobile-menu__index { font-family: var(--f-sans); font-size: .8rem; color: var(--gold); }
.mobile-menu a { font-family: var(--f-serif); font-size: clamp(1.6rem, 6vw, 2.4rem); font-weight: 600; }
.mobile-menu a[aria-current="page"] { color: var(--gold-light); }
.mobile-menu__footer { margin-top: 2.5rem; font-size: .85rem; color: var(--on-navy-45); }

body.menu-open { overflow: hidden; }

@media (min-width: 900px) {
  .nav-desktop { display: block; }
  .nav-toggle { display: none; }
}

/* ==========================================================================
   Hero (accueil) · bandeau marine plein écran
   ========================================================================== */
.hero-band {
  background:
    radial-gradient(ellipse at 78% 20%, rgba(27, 58, 99, .55), transparent 55%),
    var(--khatam),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%);
  background-color: var(--navy);
  color: var(--on-navy);
}
.hero {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  padding-block: clamp(3rem, 7vw, 5.5rem);
  align-items: center;
}
.hero__text .eyebrow { color: var(--gold-light); margin-bottom: 1.4rem; }
.hero__text .eyebrow::before { background: var(--gold-light); }
.hero__text h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.9rem);
  max-width: 16ch;
  color: var(--white);
}
.hero__text h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
}
.hero__text p.lede {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--on-navy-70);
  max-width: 36rem;
}
.hero__cta { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; }

.hero__portrait { position: relative; }
.hero__portrait-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--navy-line);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .65);
}
.hero__portrait-frame img { width: 100%; height: auto; }
.hero__portrait-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(8, 21, 39, .55) 100%);
  pointer-events: none;
}
.hero__portrait-caption {
  margin-top: .9rem;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-navy-45);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.hero__portrait-caption span:first-child { color: var(--gold-light); }

@media (min-width: 940px) {
  .hero { grid-template-columns: .92fr 1.08fr; }
}

/* ---- Chiffres clés (dans le bandeau marine) ---- */
.hero-facts {
  border-top: 1px solid var(--navy-line);
}
.hero-facts__inner {
  display: grid;
  gap: 1.5rem;
  padding-block: 1.9rem;
}
.hero-facts dt {
  font-family: var(--f-serif);
  font-size: 1.5rem;
  color: var(--gold-light);
  line-height: 1.1;
}
.hero-facts dd { margin-top: .4rem; font-size: .88rem; color: var(--on-navy-70); max-width: 22rem; }

@media (min-width: 700px) {
  .hero-facts__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .hero-facts__inner { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
}

/* ==========================================================================
   Tuiles (Vision / Livres / PDES)
   ========================================================================== */
.tiles { display: grid; gap: 1.25rem; }
.tile {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -22px rgba(11, 28, 51, .35);
}
.tile__num { font-family: var(--f-serif); font-size: .95rem; color: var(--gold-text); }
.tile h3 { font-size: 1.35rem; }
.tile p { color: var(--txt-70); flex-grow: 1; }

@media (min-width: 700px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Citation éditoriale
   ========================================================================== */
.pull-quote {
  position: relative;
  max-width: 46rem;
  padding-left: clamp(1.5rem, 4vw, 2.5rem);
  border-left: 2px solid var(--gold);
}
.pull-quote p {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  line-height: 1.35;
}
.pull-quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-family: var(--f-sans);
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--txt-45);
}
.section--ink .pull-quote { border-left-color: var(--gold-light); }
.section--ink .pull-quote cite { color: var(--on-navy-45); }

/* ==========================================================================
   Frise (Parcours)
   ========================================================================== */
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
}
.timeline__item {
  position: relative;
  padding-left: clamp(1.75rem, 5vw, 3rem);
  padding-bottom: clamp(2.25rem, 5vw, 3.25rem);
}
.timeline__item::before {
  content: '';
  position: absolute;
  left: -5px; top: .3rem;
  width: 11px; height: 11px;
  background: var(--cream);
  border: 2px solid var(--gold);
  transform: rotate(45deg);
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__year { font-family: var(--f-serif); color: var(--gold-text); font-size: 1.05rem; }
.timeline__item h3 { font-size: 1.3rem; margin-top: .3rem; }
.timeline__item p { margin-top: .5rem; color: var(--txt-70); max-width: 42rem; }

@media (min-width: 900px) {
  .timeline__item { padding-left: 4rem; }
}

/* ==========================================================================
   Vision · thèmes numérotés
   ========================================================================== */
.theme-list { border-top: 1px solid var(--line); }
.theme-item {
  display: grid;
  gap: .75rem 2rem;
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
.theme-item__num { font-family: var(--f-serif); font-size: 1.6rem; color: var(--gold); }
.theme-item h3 { font-size: 1.4rem; }
.theme-item p { color: var(--txt-70); }

@media (min-width: 800px) {
  .theme-item { grid-template-columns: 4rem 1fr 1.4fr; align-items: start; }
}

/* ==========================================================================
   Livres · étagère
   ========================================================================== */
.books-shelf { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.book-card {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.book-card__cover {
  position: relative;
  justify-self: center;
  width: min(220px, 60vw);
}
.book-card__cover img {
  box-shadow: 0 24px 48px -18px rgba(11, 28, 51, .5);
  transform: perspective(900px) rotateY(-6deg);
  transition: transform .4s var(--ease);
}
.book-card:hover .book-card__cover img { transform: perspective(900px) rotateY(0deg); }
.book-card__year { font-family: var(--f-serif); color: var(--gold-text); font-size: 1rem; }
.book-card h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: .35rem; }
.book-card__editeur { color: var(--txt-45); font-size: .9rem; margin-top: .35rem; }
.book-card__resume { margin-top: 1rem; color: var(--txt-70); max-width: 46rem; }
.book-card__links { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; }

@media (min-width: 800px) {
  .book-card { grid-template-columns: 240px 1fr; }
  .book-card:nth-child(even) .book-card__cover { order: 2; }
}

/* ==========================================================================
   PDES · départements / initiatives
   ========================================================================== */
.dept-grid { display: grid; gap: 1.25rem; }
.dept-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.dept-card__num { font-family: var(--f-serif); color: var(--gold-text); font-size: .9rem; }
.dept-card h3 { font-size: 1.15rem; margin-top: .6rem; }

@media (min-width: 700px) {
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .dept-card:last-child { grid-column: 1 / -1; }
}

.init-row { display: grid; gap: 1.5rem; margin-top: clamp(2rem, 4vw, 3rem); }
.init-card { border-top: 2px solid var(--gold); padding-top: 1.25rem; }
.init-card h4 { font-family: var(--f-serif); font-size: 1.15rem; }
.init-card p { margin-top: .5rem; color: var(--txt-70); font-size: .95rem; }
@media (min-width: 700px) { .init-row { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   Actualités · grille éditoriale
   ========================================================================== */
.news-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 2.5rem);
}
.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  gap: 1.25rem;
  transition: box-shadow .3s var(--ease);
}
.news-card:hover { box-shadow: 0 22px 40px -24px rgba(11, 28, 51, .3); }
.news-card__meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; font-size: .8rem; color: var(--txt-45); }
.news-card__type {
  background: var(--navy);
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .68rem;
  padding: .3em .8em;
}
.news-card h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); margin-top: .4rem; }
.news-card p.texte { color: var(--txt-70); margin-top: .65rem; }
.news-card .pull-quote { margin-top: 1rem; padding-left: 1.1rem; }
.news-card .pull-quote p { font-size: 1.1rem; }
.news-card__photo { margin-top: .25rem; }
.news-card__photo img { width: 100%; }
.news-card__caption { margin-top: .55rem; font-size: .78rem; color: var(--txt-45); }
.news-card__caption strong { color: var(--txt-70); font-weight: 600; }
.news-card__source { margin-top: .25rem; }

@media (min-width: 860px) {
  .news-card { grid-template-columns: 2fr 1fr; }
  .news-card__photo { grid-row: 1 / span 3; grid-column: 2; }
  .news-card__body { grid-column: 1; }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.form-field { margin-bottom: 1.5rem; }
.form-field label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--txt-45); margin-bottom: .5rem; }
.form-field input, .form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  padding: .85rem 1rem;
  font-size: 1rem;
}
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.form-submit {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  background: var(--navy);
  color: var(--gold-light);
  padding: .95rem 1.75rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background-color .25s var(--ease);
}
.form-submit:hover { background: var(--navy-3); }

.notice {
  padding: 1rem 1.25rem;
  background: var(--gold-wash);
  border-left: 2px solid var(--gold);
  margin-bottom: 2rem;
}

.contact-info dt { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--txt-45); margin-top: 1.5rem; }
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { font-family: var(--f-serif); font-size: 1.2rem; margin-top: .3rem; }

@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.2fr .8fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-3) var(--khatam);
  color: var(--on-navy);
  border-top: 3px solid var(--gold);
}
.site-footer__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 2.5rem;
  display: grid;
  gap: 2.5rem;
}
.site-footer__wordmark { font-family: var(--f-serif); font-size: 1.3rem; font-weight: 600; }
.site-footer__tag { color: var(--gold-light); margin-top: .4rem; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.site-footer__quote { font-family: var(--f-serif); font-style: italic; margin-top: 1.25rem; color: var(--on-navy-70); max-width: 26rem; }
.site-footer__heading { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-navy-45); margin-bottom: .9rem; }
.site-footer__heading--spaced { margin-top: 1.5rem; }
.site-footer__col ul { display: flex; flex-direction: column; gap: .6rem; }
.site-footer__col a { color: var(--on-navy-70); transition: color .2s var(--ease); }
.site-footer__col a:hover { color: var(--gold-light); }
.site-footer__social { flex-direction: row !important; gap: 1.25rem !important; }

.site-footer__bottom {
  border-top: 1px solid var(--navy-line);
  padding: 1.5rem var(--gutter);
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  font-size: .78rem;
  color: var(--on-navy-45);
}
.site-footer__bottom a { text-decoration: underline; }

@media (min-width: 700px) {
  .site-footer__inner { grid-template-columns: 1.4fr .8fr .8fr; }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Page hero (pages secondaires) · bandeau marine
   ========================================================================== */
.page-hero {
  background:
    var(--khatam),
    linear-gradient(155deg, var(--navy) 0%, var(--navy-2) 70%, var(--navy-3) 100%);
  background-color: var(--navy);
  color: var(--on-navy);
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 6vw, 4.5rem);
  border-bottom: 3px solid var(--gold);
}
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero .eyebrow::before { background: var(--gold-light); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-top: .85rem; max-width: 22ch; color: var(--white); }
.page-hero p.lede { margin-top: 1.25rem; font-size: 1.1rem; color: var(--on-navy-70); max-width: 42rem; }
.page-hero strong { color: var(--gold-light); font-weight: 600; }
