/* ==========================================================================
   MAISA-CI — Design system
   Palette inspirée directement du logo officiel : cercle or/ambre,
   inscriptions bleu marine, reliure en cuir brun de la Bible, fond ivoire.
   Séparateurs de section confiés aux ombres portées plutôt qu'à un bandeau de couleur.
   ========================================================================== */

:root {
  --ink: #0f2748;
  --ink-2: #16345f;
  --ink-3: #1f4478;
  --gold: #d4a017;
  --gold-light: #f0c34d;
  --wine: #6b4423;
  --wine-light: #8a5a2f;
  --ivory: #faf6ec;
  --paper: #ffffff;
  --text: #1c2233;
  --text-muted: #5f6b7f;
  --line: #e6e0cf;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 12px 30px -12px rgba(22, 27, 46, 0.25);
  --shadow-lg: 0 26px 60px -20px rgba(22, 27, 46, 0.35);
  --shadow-gold: 0 14px 34px -14px rgba(201, 150, 43, 0.55);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink);
  background: rgba(212,160,23,0.14);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
}
.bg-ink .eyebrow, .hero .eyebrow { background: rgba(212,160,23,0.16); color: var(--gold-light); }

/* -------------------- Boutons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 50px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--ink); box-shadow: var(--shadow-gold); }
.btn-primary:hover { background: linear-gradient(135deg, var(--gold-light), var(--gold)); transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 40px -14px rgba(212,160,23,0.65); }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--ink); box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 40px -14px rgba(212,160,23,0.65); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.7); transform: translateY(-3px); }
.btn-outline-dark { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none !important; }

/* -------------------- Header / Navigation -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #f4efe2;
  box-shadow: 0 4px 20px -8px rgba(0,0,0,0.35);
}
.topbar {
  background: var(--ink-2);
  font-size: 0.78rem;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar a { opacity: 0.85; }
.topbar a:hover { opacity: 1; color: var(--gold-light); }
.topbar-links { display: flex; gap: 18px; }
.topbar-social { display: flex; gap: 12px; }

.navbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: conic-gradient(from 45deg, var(--gold-light), var(--ink), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1rem;
  flex-shrink: 0;
}
.brand-logo-img { height: 46px; width: auto; max-width: 120px; object-fit: contain; flex-shrink: 0; }
.brand-text { line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .02em; display:block; }
.brand-text span { font-size: 0.68rem; color: var(--gold-light); text-transform: uppercase; letter-spacing: .08em; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block; padding: 10px 14px; font-size: 0.92rem; font-weight: 500;
  border-radius: var(--radius);
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--gold-light); }
.nav-links .has-dropdown > a::after { content: "▾"; font-size: 0.6rem; margin-left: 6px; opacity: .7; }

.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: var(--paper); color: var(--text);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .18s ease; border-top: 3px solid var(--gold);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 9px 12px; font-size: 0.88rem; border-radius: 3px; }
.dropdown a:hover { background: rgba(212,160,23,0.12); color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-search-toggle, .nav-burger { background: none; border: none; color: #f4efe2; cursor: pointer; font-size: 1.1rem; padding: 8px; }
.nav-burger { display: none; }

.nav-search-panel {
  display: none; background: var(--ink-2); padding: 14px 0;
}
.nav-search-panel.open { display: block; }
.nav-search-panel form { display: flex; gap: 8px; position: relative; }
.nav-search-panel input {
  flex: 1; padding: 11px 14px; border-radius: var(--radius); border: 1px solid var(--ink-3);
  background: var(--ink); color: #fff; font-family: var(--font-body);
}
#search-suggestions {
  position: absolute; top: 100%; left: 0; right: 60px; margin-top: 4px;
  background: #fff; color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow);
  max-height: 320px; overflow-y: auto; z-index: 50; display: none;
}
#search-suggestions a { display: block; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
#search-suggestions a:hover { background: var(--ivory); }

/* -------------------- Hero (bannière plein écran, diaporama) -------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 15% 20%, var(--ink-3), var(--ink) 60%);
  color: #f4efe2;
  overflow: hidden;
  padding: 90px 6vw 90px;
  text-align: center;
  box-shadow: 0 30px 50px -20px rgba(15,39,72,0.55);
}
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; animation: heroSlide 24s infinite; }
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
.hero-slide:nth-child(4) { animation-delay: 18s; }
@keyframes heroSlide { 0% { opacity: 0; } 4% { opacity: 1; } 21% { opacity: 1; } 28% { opacity: 0; } 100% { opacity: 0; } }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(155deg, rgba(15,39,72,0.88) 0%, rgba(15,39,72,0.62) 50%, rgba(212,160,23,0.55) 100%); }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background-image: radial-gradient(rgba(212,160,23,0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }

/* Variante compacte : bannière des pages intérieures (même diaporama, alignée à gauche) */
.hero-inner {
  min-height: 46vh;
  padding: 150px 6vw 66px;
  text-align: left;
  align-items: flex-end;
  justify-content: flex-start;
}
.hero-inner .eyebrow { animation: fadeDown 0.8s ease both; }
.hero-inner h1 { color: #f4efe2; max-width: 26ch; margin-bottom: 14px; animation: fadeUp 0.8s ease 0.15s both; }
.hero-inner p.lead { color: #d8d2c2; max-width: 60ch; margin: 0 0 22px; animation: fadeUp 0.8s ease 0.25s both; }
.hero-inner .hero-actions { justify-content: flex-start; animation: fadeUp 0.8s ease 0.35s both; }
@media (max-width: 760px) { .hero-inner { min-height: auto; padding: 130px 6vw 50px; } }

.hero-logos { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; animation: fadeDown 0.8s ease both; }
.hero-logo-circle {
  width: 84px; height: 84px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--gold-light);
  background: var(--ink-2); border: 3px solid var(--gold);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 8px rgba(212,160,23,0.08);
}
.hero-logo-img {
  height: 84px; width: 84px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--gold); background: var(--ink-2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 8px rgba(212,160,23,0.08);
}
.hero-logo-label { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; color: var(--gold-light); text-transform: uppercase; }

.eyebrow.hero-badge { display: inline-flex; justify-content: center; color: var(--gold-light); background: rgba(212,160,23,0.12); border: 1px solid rgba(212,160,23,0.35); padding: 6px 16px; border-radius: 20px; margin-bottom: 26px; animation: fadeDown 0.8s ease 0.1s both; }
.eyebrow.hero-badge::before { display: none; }

.hero-acronym { font-family: var(--font-mono); font-size: clamp(48px, 9vw, 100px); font-weight: 700; color: transparent; -webkit-text-stroke: 2px rgba(212,160,23,0.5); letter-spacing: 0.12em; line-height: 1; margin-bottom: 10px; animation: fadeUp 0.8s ease 0.2s both; }

.hero h1 { max-width: 22ch; margin: 0 auto 18px; color: #f4efe2; animation: fadeUp 0.8s ease 0.3s both; }
.hero h1 span { color: var(--gold-light); font-style: italic; }
.hero p.lead { font-size: 1.1rem; max-width: 52ch; color: #d8d2c2; margin: 0 auto 34px; animation: fadeUp 0.8s ease 0.4s both; }
.hero-actions { display: flex; gap: 14px; margin-top: 0; flex-wrap: wrap; justify-content: center; animation: fadeUp 0.8s ease 0.5s both; }
.hero-stats { display: flex; gap: 30px; margin-top: 50px; flex-wrap: wrap; justify-content: center; animation: fadeUp 0.8s ease 0.6s both; }
.hero-stats div strong { font-family: var(--font-display); font-size: 1.9rem; color: var(--gold-light); display:block; }
.hero-stats div span { font-size: 0.78rem; color: #b9b2a0; text-transform: uppercase; letter-spacing: .06em; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

.hero-scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.7); border-radius: 20px; background: rgba(0,0,0,0.18); box-shadow: 0 4px 14px rgba(0,0,0,0.25); }
.hero-scroll-cue span { position: absolute; top: 8px; left: 50%; width: 5px; height: 9px; margin-left: -2.5px; border-radius: 2px; background: var(--gold-light); box-shadow: 0 0 6px rgba(212,160,23,0.8); animation: scrollCue 1.8s ease infinite; }
@keyframes scrollCue { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 0.35; transform: translateY(14px); } 100% { opacity: 0.35; transform: translateY(14px); } }
@media (max-width: 760px) { .hero-scroll-cue { display: none; } }

/* -------------------- Section utils -------------------- */
section { padding: 96px 0; position: relative; }
.section-tight { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 50px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.bg-ink { background: var(--ink); color: #f4efe2; }
.bg-ink h2, .bg-ink h3 { color: #fff; }
.bg-paper { background: var(--paper); }
.bg-ivory { background: var(--ivory); position: relative; }
.bg-ivory::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(107,68,35,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.bg-ivory .container { position: relative; z-index: 1; }

/* -------------------- Section label / title (signature CIDEGEC) -------------------- */
.section-label {
  font-family: var(--font-mono); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold-dark, var(--ink)); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before { content: ""; display: block; width: 30px; height: 2px; background: var(--gold); flex-shrink: 0; }
.bg-ink .section-label, .section-watermark .section-label { color: var(--gold-light); }
.section-title-lg { font-family: var(--font-display); font-size: clamp(28px, 4vw, 46px); font-weight: 600; line-height: 1.15; margin-bottom: 20px; color: var(--ink); }
.section-title-lg em { color: var(--gold); font-style: italic; }
.bg-ink .section-title-lg { color: #fff; }
.section-lede { font-size: 1.02rem; line-height: 1.75; color: var(--text-muted); max-width: 680px; }
.bg-ink .section-lede { color: rgba(255,255,255,0.6); }

/* Section avec filigrane (grand sigle en transparence) */
.section-watermark { position: relative; overflow: hidden; }
.section-watermark::before {
  content: "MAISA-CI"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-display); font-size: 15vw; font-weight: 700; letter-spacing: .04em;
  color: rgba(255,255,255,0.035); white-space: nowrap; pointer-events: none; z-index: 0;
}
.section-watermark > .container { position: relative; z-index: 1; }

/* -------------------- Cartes à icône (missions / expertise / valeurs) -------------------- */
.icon-card {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 36px 30px; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.icon-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px -14px rgba(15,39,72,0.22); border-color: rgba(212,160,23,0.5); }
.icon-card .icon-num {
  position: absolute; top: 24px; right: 28px; font-family: var(--font-mono); font-size: 0.72rem;
  font-weight: 700; letter-spacing: .12em; color: rgba(212,160,23,0.55);
}
.icon-circle {
  width: 58px; height: 58px; border-radius: 50%; border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px; transition: background .3s ease;
}
.icon-circle svg { width: 25px; height: 25px; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s ease; }
.icon-card:hover .icon-circle { background: var(--gold); }
.icon-card:hover .icon-circle svg { stroke: #fff; }
.icon-card h3 { font-family: var(--font-display); font-size: 1.12rem; margin-bottom: 8px; }
.icon-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0; line-height: 1.65; }
.icon-card a.icon-card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: 0.84rem; color: var(--ink); transition: gap .2s ease; }
.icon-card a.icon-card-link:hover { gap: 10px; color: var(--gold-dark, var(--ink)); }

/* Variante sur fond sombre (ex: section filigrane) */
.bg-ink .icon-card, .section-watermark .icon-card {
  background: rgba(255,255,255,0.045); border-color: rgba(255,255,255,0.1);
}
.bg-ink .icon-card:hover, .section-watermark .icon-card:hover {
  background: rgba(255,255,255,0.07); border-color: rgba(212,160,23,0.5); box-shadow: 0 18px 44px -14px rgba(0,0,0,0.4);
}
.bg-ink .icon-circle svg, .section-watermark .icon-circle svg { stroke: #fff; }
.bg-ink .icon-card:hover .icon-circle svg, .section-watermark .icon-card:hover .icon-circle svg { stroke: var(--ink); }
.bg-ink .icon-card h3, .section-watermark .icon-card h3 { color: #fff; }
.bg-ink .icon-card p, .section-watermark .icon-card p { color: rgba(255,255,255,0.55); }
.bg-ink .icon-card a.icon-card-link, .section-watermark .icon-card a.icon-card-link { color: var(--gold-light); }

/* -------------------- Bandeau statistiques (style "about") -------------------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-box { background: var(--ink); border-radius: 8px; padding: 18px 12px; text-align: center; border-top: 2px solid var(--gold); }
.stat-box strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--gold-light); display: block; }
.stat-box span { font-size: 0.68rem; color: rgba(255,255,255,0.5); letter-spacing: .06em; text-transform: uppercase; }

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }

/* -------------------- Grilles / cartes -------------------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden; color: var(--text);
}
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--ink)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .num { font-family: var(--font-mono); color: var(--gold); font-size: 0.8rem; letter-spacing: .1em; }
.card h3 { margin-top: 10px; }
.card p { color: var(--text-muted); margin-bottom: 0; font-size: 0.94rem; }

.pillar-card {
  position: relative; border-radius: var(--radius); padding: 36px 30px; color: var(--ink);
  background: linear-gradient(160deg, var(--gold-light), var(--gold));
  min-height: 270px; display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
  box-shadow: 0 10px 24px -14px rgba(15,39,72,0.35);
}
.pillar-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg), 0 0 0 3px rgba(15,39,72,0.15); }
.pillar-card::before {
  content: ""; position: absolute; top: -40%; right: -20%; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(15,39,72,0.16), transparent 70%);
  transition: transform .4s ease;
}
.pillar-card:hover::before { transform: scale(1.25); }
.pillar-card::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  border: 1px solid rgba(15,39,72,0); transition: border-color .3s ease;
}
.pillar-card:hover::after { border-color: rgba(15,39,72,0.35); }
.pillar-card .num-mark {
  position: absolute; top: 18px; right: 22px; font-family: var(--font-display); font-size: 2.6rem;
  font-weight: 700; color: transparent; -webkit-text-stroke: 1px rgba(15,39,72,0.22); line-height: 1;
}
.pillar-card h3 { color: var(--ink); }
.pillar-card .eyebrow { color: var(--ink); background: rgba(15,39,72,0.1); }
.pillar-card .eyebrow::before { background: var(--ink); }
.pillar-card p { color: #3d3316; font-size: 0.9rem; margin-bottom: 14px; }
.pillar-card a { font-weight: 700; font-size: 0.85rem; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; transition: gap .2s ease; }
.pillar-card a:hover { gap: 10px; }

/* -------------------- Timeline / valeurs -------------------- */
.value-row { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.value-row:last-child { border-bottom: none; }
.value-row .idx { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold); width: 60px; flex-shrink: 0; }

/* -------------------- Citation / portrait -------------------- */
.quote-block { position: relative; padding-left: 4px; }
.quote-mark { font-family: var(--font-display); font-size: 5.5rem; line-height: 1; color: var(--gold); opacity: .55; margin-bottom: -20px; display: block; }
.quote-portrait {
  width: 64px; height: 64px; border-radius: 50%; margin-top: 26px;
  background: conic-gradient(from 45deg, var(--gold-light), var(--ink), var(--gold));
  display: flex; align-items: center; justify-content: center;
}
.quote-portrait span {
  width: 90%; height: 90%; border-radius: 50%; background: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); color: var(--gold-light); font-weight: 700; font-size: 1.1rem;
}

/* -------------------- Onglets internes (sous-rubriques) -------------------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.tab-btn {
  background: none; border: none; padding: 12px 18px; font-family: var(--font-body); font-weight: 600;
  color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; font-size: 0.92rem;
}
.tab-btn.active, .tab-btn:hover { color: var(--ink); border-color: var(--gold); }
.tab-panel { display: none; animation: fade-in .3s ease; }
.tab-panel.active { display: block; }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px);} to { opacity:1; transform:none; } }

/* Onglets affichés sur un fond sombre (ex. section Inscription de la
   Caravane de Vie) : le texte gris/marine par défaut des .tab-btn devient
   illisible sur --ink, on force donc un contraste clair. */
.bg-ink .tab-btn { color: rgba(244,239,226,0.6); }
.bg-ink .tab-btn.active, .bg-ink .tab-btn:hover { color: #fff; border-color: var(--gold); }

/* -------------------- Formulaires -------------------- */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 7px; color: var(--ink); letter-spacing: 0.01em; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.94rem; background: #fff; color: var(--text);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: -8px; }
.form-alert { padding: 13px 16px; border-radius: var(--radius); font-size: 0.9rem; margin-bottom: 18px; display: none; }
.form-alert.success { background: #eaf3ea; color: #2b6a34; display: block; }
.form-alert.error { background: #f7e6e6; color: #96322f; display: block; }
.form-hint { font-weight: 400; color: var(--text-muted); font-size: 0.78rem; }

/* Champ fichier stylé (input natif masqué, bouton + nom du fichier visibles) */
.file-field { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.file-field input[type="file"] {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.file-field-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory);
  font-size: 0.86rem; font-weight: 600; color: var(--ink); cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.file-field-btn:hover { border-color: var(--gold); background: #fbf6e8; }
.file-field-name { font-size: 0.82rem; color: var(--text-muted); word-break: break-all; }

/* Avatar de témoignage (photo déposée par le visiteur ou repli par initiale) */
.testimonial-head { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--gold-light);
}
.testimonial-avatar-fallback {
  display: flex; align-items: center; justify-content: center;
  background: conic-gradient(from 45deg, var(--gold-light), var(--ink), var(--gold));
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem;
}

/* -------------------- Formulaire à étapes (stepper) -------------------- */
.stepper-nav { display: flex; justify-content: space-between; gap: 6px; margin-bottom: 26px; }
.stepper-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; opacity: .45; transition: opacity .25s ease; }
.stepper-step.is-active, .stepper-step.is-done { opacity: 1; }
.stepper-dot {
  width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.8rem; background: var(--ivory); border: 2px solid var(--line); color: var(--text-muted);
}
.stepper-step.is-active .stepper-dot { border-color: var(--gold); color: var(--ink); background: var(--gold-light); }
.stepper-step.is-done .stepper-dot { border-color: var(--ink); background: var(--ink); color: #fff; }
.stepper-text { font-size: 0.72rem; font-weight: 600; color: var(--text-muted); }
.stepper-step.is-active .stepper-text { color: var(--ink); }

.form-step { display: none; }
.form-step.is-active { display: block; animation: fade-in .3s ease; }
.stepper-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 22px; }
.stepper-actions .btn { flex: 0 0 auto; }
.stepper-actions .step-next, .stepper-actions button[type="submit"] { margin-left: auto; }

.pack-group { margin-bottom: 22px; }
.pack-group h4 { margin-bottom: 4px; font-size: 1rem; }
.pack-group-note { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; }
.pack-options { display: grid; gap: 10px; }
.pack-option {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer; transition: border-color .2s ease, background .2s ease;
}
.pack-option:hover { border-color: var(--gold); }
.pack-option input[type="radio"] { margin-top: 4px; accent-color: var(--gold); flex-shrink: 0; }
.pack-option:has(input:checked) { border-color: var(--gold); background: #fbf6e8; }
.pack-option-body { flex: 1; }
.pack-option-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pack-option-head strong { font-size: 0.92rem; }
.pack-price { font-family: var(--font-mono); font-size: 0.82rem; color: var(--gold); white-space: nowrap; }
.pack-price span { color: var(--text-muted); font-size: 0.72rem; }
.pack-option-meta { display: block; font-size: 0.76rem; color: var(--text-muted); margin-top: 3px; }

.recap-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: var(--ivory); font-size: 0.88rem; }
.recap-box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.recap-box dt { color: var(--text-muted); font-weight: 600; }
.recap-box dd { margin: 0; }
.recap-empty { color: var(--text-muted); font-style: italic; }

/* -------------------- Galerie -------------------- */
.gallery-filters { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.gallery-filters button {
  padding: 8px 16px; border-radius: 40px; border: 1px solid var(--line); background: #fff;
  font-size: 0.82rem; cursor: pointer; font-weight: 600;
}
.gallery-filters button.active { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item {
  aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer;
  display: flex; align-items: flex-end; padding: 12px; color: #fff; font-size: 0.78rem; font-weight: 600;
  background-color: var(--ink-3); transition: transform .2s ease;
}
.gallery-item:hover { transform: scale(1.03); }
.gallery-item span { position: relative; z-index: 2; }
.gallery-item::after { content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(0,0,0,.6), transparent 55%); }

/* Visionneuse plein écran au clic sur une photo de la galerie */
.gallery-lightbox {
  position: fixed; inset: 0; background: rgba(10,15,25,0.92); z-index: 1000;
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.gallery-lightbox.open { display: flex; }
.gallery-lightbox img { max-width: 100%; max-height: 90vh; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.gallery-lightbox-close {
  position: absolute; top: 20px; right: 26px; background: none; border: none;
  color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; opacity: 0.8;
}
.gallery-lightbox-close:hover { opacity: 1; }

/* -------------------- Événements (Caravane de Vie) -------------------- */
.evenement-card { margin-bottom: 28px; position: relative; }
.evenement-badge {
  display: inline-block; color: #fff; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; padding: 4px 12px; border-radius: 20px;
}
.evenement-filmstrip {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin: -6px -6px 6px;
  scrollbar-width: thin;
}
.evenement-photo {
  flex: 0 0 auto; width: 140px; height: 100px; border-radius: 6px;
  background-size: cover; background-position: center; cursor: pointer;
  transition: transform .15s ease;
}
.evenement-photo:hover { transform: scale(1.04); }
@media (max-width: 560px) { .evenement-photo { width: 110px; height: 82px; } }

.evenement-lightbox-prev, .evenement-lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12); border: none; color: #fff;
  width: 46px; height: 46px; border-radius: 50%; font-size: 1.3rem; cursor: pointer;
  transition: background .15s ease;
}
.evenement-lightbox-prev:hover, .evenement-lightbox-next:hover { background: rgba(255,255,255,0.25); }
.evenement-lightbox-prev { left: 20px; }
.evenement-lightbox-next { right: 20px; }
@media (max-width: 560px) {
  .evenement-lightbox-prev, .evenement-lightbox-next { width: 38px; height: 38px; font-size: 1.1rem; }
  .evenement-lightbox-prev { left: 8px; }
  .evenement-lightbox-next { right: 8px; }
}

/* -------------------- Librairie -------------------- */
.book-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.book-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.book-filters button, .book-filters select {
  padding: 9px 16px; border-radius: 40px; border: 1px solid var(--line); background: #fff; font-size: 0.82rem; cursor: pointer; font-weight: 600;
}
.book-filters button.active { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.book-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s ease, transform .25s cubic-bezier(.2,.8,.2,1); }
.book-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.book-cover {
  aspect-ratio: 3/4; background: linear-gradient(160deg, var(--gold), var(--ink));
  display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center;
  color: #fff; font-family: var(--font-display); font-size: 1.05rem; position: relative; overflow: hidden;
}
.book-cover::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 80% 15%, rgba(255,255,255,0.25), transparent 55%); }
.book-cover::after { content:""; position:absolute; inset:8px; border: 1px solid rgba(255,255,255,0.3); }
.book-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.book-body .cat { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.book-body h3 { font-size: 1.05rem; margin: 6px 0 4px; }
.book-body .auteur { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; }
.book-body .desc { font-size: 0.86rem; color: var(--text-muted); flex: 1; }
.book-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.book-foot .prix { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.add-cart-btn { background: var(--ink); color: #fff; border: none; padding: 9px 14px; border-radius: var(--radius); cursor: pointer; font-size: 0.8rem; font-weight: 600; }
.add-cart-btn:hover { background: var(--gold); color: var(--ink); }
.add-cart-btn.added { background: #2b6a34; }

.cart-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 300; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--ink);
  width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold); cursor: pointer; font-size: 1.2rem; border: none;
}
.cart-fab .badge {
  position: absolute; top: -4px; right: -4px; background: var(--ink); color: #fff;
  font-size: 0.68rem; font-weight: 700; width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* -------------------- Table (cart / admin) -------------------- */
table.data-table { width: 100%; border-collapse: collapse; }
table.data-table th, table.data-table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
table.data-table th { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }

/* Permet de faire défiler un tableau horizontalement sur mobile plutôt
   que de le laisser déborder ou compresser illisiblement ses colonnes. */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-responsive table.data-table { min-width: 640px; }

/* -------------------- Navigation de l'administration -------------------- */
.admin-nav-logout-mobile { display: none; }
@media (max-width: 760px) {
  .admin-logout-desktop { display: none; }
  .admin-nav-logout-mobile { display: block; }
}

/* -------------------- Cloche de notification (admin) -------------------- */
.admin-notif { position: relative; }
.admin-notif-bell {
  position: relative;
  background: none; border: 1px solid rgba(255,255,255,0.25); border-radius: 50%;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; cursor: pointer; transition: background .2s ease, border-color .2s ease;
}
.admin-notif-bell:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }
.admin-notif-badge {
  position: absolute; top: -4px; right: -4px;
  background: #96322f; color: #fff; font-size: 0.65rem; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 9px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--ink);
}
.admin-notif-dropdown {
  position: absolute; top: calc(100% + 12px); right: 0;
  width: 300px; max-width: 86vw;
  background: #fff; color: var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 200; overflow: hidden;
}
.admin-notif.open .admin-notif-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.admin-notif-header {
  padding: 14px 18px; font-weight: 700; font-size: 0.85rem;
  border-bottom: 1px solid var(--line); background: var(--ivory);
}
.admin-notif-empty { padding: 22px 18px; color: var(--text-muted); font-size: 0.85rem; text-align: center; }
.admin-notif-item {
  display: flex; align-items: center; gap: 12px; padding: 13px 18px;
  color: var(--ink); text-decoration: none; font-size: 0.86rem;
  border-bottom: 1px solid var(--line); transition: background .15s ease;
}
.admin-notif-item:last-child { border-bottom: none; }
.admin-notif-item:hover { background: var(--ivory); }
.admin-notif-item-count {
  flex-shrink: 0; min-width: 24px; height: 24px; border-radius: 50%;
  background: var(--wine); color: #fff; font-weight: 700; font-size: 0.78rem;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 760px) {
  .admin-notif-dropdown { right: -10px; }
}

/* -------------------- Steps (programmes / process) -------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.step { position: relative; padding: 0 18px 0 0; }
.step .idx {
  width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; margin-bottom: 16px;
}
.step::after { content:""; position:absolute; top: 20px; left: 60px; right: -10px; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }

/* -------------------- Payment icons -------------------- */
.pay-methods { display: flex; gap: 12px; flex-wrap: wrap; }
.pay-chip {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 16px;
  font-size: 0.82rem; font-weight: 600; display: flex; align-items: center; gap: 8px; background: #fff;
}
.pay-chip .dot { width: 10px; height: 10px; border-radius: 50%; }

/* -------------------- Footer -------------------- */
.site-footer { background: var(--ink); color: #cfc7b3; padding: 70px 0 0; position: relative; box-shadow: 0 -20px 40px -20px rgba(15,39,72,0.4); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-grid h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--gold); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 0.88rem; }
.footer-grid a { transition: color .2s ease, padding-left .2s ease; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; font-size: 0.78rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.newsletter-inline { display: flex; gap: 8px; margin-top: 10px; }
.newsletter-inline input { flex: 1; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--ink-3); background: var(--ink-2); color: #fff; }

/* -------------------- Divers -------------------- */
.badge-lang { display: flex; gap: 6px; }
.badge-lang button { background: none; border: 1px solid rgba(255,255,255,.3); color: #f4efe2; border-radius: 3px; font-size: 0.72rem; padding: 4px 8px; cursor: pointer; }
.badge-lang button.active { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); filter: grayscale(0.2); }
.social-share { display: flex; gap: 10px; }
.social-share a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; }
.social-share a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.back-to-top { position: fixed; bottom: 24px; left: 24px; background: var(--ink); color: #fff; width: 44px; height: 44px; border-radius: 50%; display: none; align-items: center; justify-content: center; box-shadow: var(--shadow); z-index: 300; border: none; cursor: pointer; }
.back-to-top.show { display: flex; }
.skip-link { position:absolute; left:-999px; top:0; background:#fff; padding:10px; z-index:999; }
.skip-link:focus { left: 10px; top: 10px; }

/* -------------------- Apparition au défilement -------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > * { animation: fade-in .6s ease both; }
.reveal-stagger.visible > *:nth-child(1) { animation-delay: .05s; }
.reveal-stagger.visible > *:nth-child(2) { animation-delay: .12s; }
.reveal-stagger.visible > *:nth-child(3) { animation-delay: .19s; }
.reveal-stagger.visible > *:nth-child(4) { animation-delay: .26s; }
.reveal-stagger.visible > *:nth-child(5) { animation-delay: .33s; }

/* -------------------- Responsive -------------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-emblem { max-width: 320px; margin: 0 auto; }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .step::after { display: none; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .nav-links, .nav-actions .nav-search-toggle { display: none; }
  .nav-burger { display: block; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink); padding: 12px; box-shadow: var(--shadow); gap: 0;
  }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border-top:none; padding-left: 14px; background: transparent; }
  .has-dropdown.open .dropdown { display: block; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-links { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .book-toolbar { flex-direction: column; align-items: flex-start; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* -------------------- Encart "Retrouver ma commande" (espace client) -------------------- */
.lookup-panel {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 0;
  background: linear-gradient(135deg, var(--ink), var(--ink-3));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.lookup-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(212,160,23,0.16), transparent 45%),
    radial-gradient(circle at 90% 90%, rgba(212,160,23,0.12), transparent 40%);
  pointer-events: none;
}
.lookup-panel-text, .lookup-panel-form { position: relative; padding: 40px; }
.lookup-panel-text { color: #f4efe2; }
.lookup-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(212,160,23,0.16); border: 1px solid rgba(212,160,23,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 18px;
}
.lookup-panel-text h3 { color: #fff; font-size: 1.4rem; margin: 0 0 10px; }
.lookup-panel-text p { color: rgba(244,239,226,0.68); font-size: 0.92rem; line-height: 1.7; margin: 0; max-width: 380px; }
.lookup-panel-points { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lookup-panel-points li {
  display: flex; align-items: center; gap: 10px;
  color: rgba(244,239,226,0.82); font-size: 0.86rem;
}
.lookup-panel-points li span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: rgba(212,160,23,0.14); border: 1px solid rgba(212,160,23,0.35);
  font-size: 0.85rem;
}
.lookup-panel-form {
  background: rgba(255,255,255,0.045);
  border-left: 1px solid rgba(255,255,255,0.08);
}
.lookup-panel-form label {
  display: block; color: rgba(244,239,226,0.75); font-size: 0.8rem;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px;
}
.lookup-input-row {
  display: flex; align-items: center; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius-sm);
  margin-bottom: 18px; transition: border-color .2s ease, background .2s ease;
}
.lookup-input-row:focus-within { border-color: var(--gold); background: rgba(255,255,255,0.09); }
.lookup-input-icon {
  padding: 0 0 0 16px; color: var(--gold-light); font-family: var(--font-mono); font-weight: 700;
}
.lookup-input-row input {
  flex: 1; background: none; border: none; outline: none; color: #fff;
  font-family: var(--font-mono); font-size: 0.95rem; padding: 14px 16px 14px 10px; letter-spacing: .02em;
}
.lookup-input-row input::placeholder { color: rgba(244,239,226,0.35); }
@media (max-width: 760px) {
  .lookup-panel { grid-template-columns: 1fr; }
  .lookup-panel-form { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); }
  .lookup-panel-text, .lookup-panel-form { padding: 30px 26px; }
}

/* -------------------- Programme hebdomadaire (page MAISA-CI) -------------------- */
.programme-liste { max-width: 720px; margin: 40px auto 0; }
.programme-item {
  display: flex; align-items: center; gap: 24px;
  padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.programme-item:last-child { border-bottom: none; }
.programme-jour {
  flex-shrink: 0; width: 110px; text-align: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 0.85rem;
  color: var(--ink); background: linear-gradient(135deg, var(--gold-light), var(--gold));
  padding: 10px 8px; border-radius: 8px;
}
.programme-detail h3 { color: #fff; font-size: 1.05rem; margin: 0 0 4px; }
.programme-detail p { color: rgba(244,239,226,0.65); font-size: 0.88rem; margin: 0; font-family: var(--font-mono); }
@media (max-width: 560px) {
  .programme-item { gap: 14px; }
  .programme-jour { width: 80px; font-size: 0.75rem; padding: 8px 6px; }
}
