/* =====================================================
   KAMEL GHABTE — THEME v3.0
   Design system inspiré de arcade.kamelghabte.me
   Palette: #0d1421 ink | #f5ecd9 cream | #c44e3a terracotta | #e6b35a gold
   Fonts: Space Grotesk (corps) | Fraunces (display/titres)
   ===================================================== */

/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink:             #0d1421;
  --ink-soft:        #1a2233;
  --ink-mid:         #243044;
  --cream:           #f5ecd9;
  --cream-warm:      #efe2c3;
  --terracotta:      #c44e3a;
  --terracotta-deep: #8c2f23;
  --gold:            #c89344;
  --gold-bright:     #e6b35a;
  --sans:            'Space Grotesk', -apple-system, system-ui, sans-serif;
  --serif:           'Fraunces', 'Times New Roman', Georgia, serif;
  --ease:            cubic-bezier(0.4, 0, 0.2, 1);
  --t:               0.22s;
  --max-w:           1180px;
  --gap:             clamp(20px, 4vw, 48px);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--terracotta); color: var(--cream); }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

/* ── Scrollbar ────────────────────────────────────── */
::-webkit-scrollbar        { width: 5px; }
::-webkit-scrollbar-track  { background: var(--ink); }
::-webkit-scrollbar-thumb  { background: var(--terracotta); border-radius: 2px; }

/* ── Typography helpers ───────────────────────────── */
.display {
  font-family: var(--serif);
  font-weight: 900;
}

/* ── Layout ───────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

/* ═══════════════════════════════════════════════════
   TICKER
   ═══════════════════════════════════════════════════ */
.ticker {
  background: var(--ink);
  border-bottom: 1px solid var(--terracotta);
  padding: 9px 0;
  overflow: hidden;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 200;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 48px;
  animation: kg-ticker 45s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
}

.dot {
  color: var(--terracotta);
  font-style: normal;
}

@keyframes kg-ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════
   HEADER / NAV
   ═══════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 37px;
  z-index: 100;
  background: rgba(13, 20, 33, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 236, 217, 0.08);
  transition: box-shadow var(--t) var(--ease);
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex-shrink: 0;
}

.logo-name {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.logo-name strong {
  color: var(--terracotta);
}

.logo-tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 236, 217, 0.45);
}

/* Nav */
.primary-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list > li > a {
  display: block;
  padding: 8px 13px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(245, 236, 217, 0.7);
  transition: color var(--t) var(--ease);
  position: relative;
}

.nav-list > li > a:hover,
.nav-list > li.current-menu-item > a,
.nav-list > li.current_page_item > a {
  color: var(--cream);
}

.nav-list > li.current-menu-item > a::after,
.nav-list > li.current_page_item > a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 13px;
  right: 13px;
  height: 1px;
  background: var(--terracotta);
}

/* CTA nav */
.nav-list > li > a.nav-cta {
  background: var(--terracotta);
  color: var(--cream);
  padding: 8px 18px;
  font-weight: 700;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}

.nav-list > li > a.nav-cta:hover {
  background: var(--terracotta-deep);
  transform: translateY(-1px);
}

.nav-list > li > a.nav-cta::after { display: none; }

/* Dropdown */
.nav-list li.has-sub,
.nav-list li.menu-item-has-children {
  position: relative;
}

.nav-list .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--ink-soft);
  border: 1px solid rgba(245, 236, 217, 0.1);
  border-top: 2px solid var(--terracotta);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
  z-index: 50;
}

.nav-list li.has-sub:hover .sub-menu,
.nav-list li.menu-item-has-children:hover .sub-menu,
.nav-list .sub-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-list .sub-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(245, 236, 217, 0.8);
  border-bottom: 1px solid rgba(245, 236, 217, 0.06);
  transition: background var(--t), color var(--t);
}

.nav-list .sub-menu li a:hover {
  background: rgba(196, 78, 58, 0.15);
  color: var(--cream);
  padding-left: 24px;
}

/* Burger mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid rgba(245, 236, 217, 0.2);
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  transition: border-color var(--t);
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--cream);
  border-radius: 1px;
  transition: transform var(--t) var(--ease), opacity var(--t);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t), color var(--t);
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--cream);
  border-color: var(--terracotta);
  box-shadow: 5px 5px 0 var(--ink-soft);
}

.btn-primary:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--ink-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245, 236, 217, 0.35);
}

.btn-ghost:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.btn-outline {
  background: transparent;
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.btn-outline:hover {
  background: var(--terracotta);
  color: var(--cream);
}

.btn-large {
  padding: 18px 36px;
  font-size: 0.95rem;
}

.arrow { transition: transform var(--t) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 10vw, 120px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 95% 10%, rgba(196, 78, 58, 0.12), transparent),
    radial-gradient(ellipse 50% 60% at 5% 90%, rgba(42, 77, 143, 0.08), transparent),
    var(--ink);
}

.hero-bg-pattern {
  position: absolute;
  top: -100px;
  right: -180px;
  width: 700px;
  height: 700px;
  pointer-events: none;
  animation: kg-spin 90s linear infinite;
  opacity: 0.25;
}

@keyframes kg-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink-soft);
  border: 1px solid rgba(245, 236, 217, 0.1);
  color: rgba(245, 236, 217, 0.75);
  padding: 8px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
  animation: kg-pulse 2.5s ease infinite;
}

@keyframes kg-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196, 78, 58, 0.6); }
  50%       { box-shadow: 0 0 0 10px rgba(196, 78, 58, 0); }
}

h1.headline {
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  max-width: 14ch;
}

h1.headline .accent {
  color: var(--terracotta);
  font-style: italic;
}

h1.headline .underline {
  background: linear-gradient(transparent 60%, rgba(230, 179, 90, 0.4) 60%);
  padding: 0 3px;
}

.hero-lede {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  max-width: 54ch;
  color: rgba(245, 236, 217, 0.75);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 60px;
}

/* Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(24px, 4vw, 48px);
  padding-top: 32px;
  border-top: 1px solid rgba(245, 236, 217, 0.15);
  width: fit-content;
}

.stat-item { min-width: 80px; }

.stat-num {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  color: var(--terracotta);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 236, 217, 0.5);
}

/* ═══════════════════════════════════════════════════
   LOGOS BAND
   ═══════════════════════════════════════════════════ */
.logos-band {
  background: var(--ink-soft);
  border-top: 1px solid rgba(245, 236, 217, 0.06);
  border-bottom: 1px solid rgba(245, 236, 217, 0.06);
  padding: 24px 0;
  overflow: hidden;
}

.logos-band .container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.logos-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 236, 217, 0.35);
  flex-shrink: 0;
  white-space: nowrap;
}

.logos-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  overflow: hidden;
}

.logo-item {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 236, 217, 0.4);
  white-space: nowrap;
  transition: color var(--t);
}

.logo-item:hover { color: rgba(245, 236, 217, 0.8); }

/* ═══════════════════════════════════════════════════
   SECTIONS — BASE
   ═══════════════════════════════════════════════════ */
section {
  padding: clamp(72px, 10vw, 120px) 0;
  position: relative;
}

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 72px);
  flex-wrap: wrap;
}

.section-num {
  font-size: 1rem;
  font-style: italic;
  color: var(--terracotta);
  flex-shrink: 0;
  padding-top: 8px;
}

.section-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 236, 217, 0.45);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  max-width: 20ch;
}

.section-title em {
  color: var(--terracotta);
  font-style: italic;
}

.see-all-link {
  margin-left: auto;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(200, 147, 68, 0.4);
  padding-bottom: 2px;
  transition: color var(--t), border-color var(--t);
  align-self: center;
}

.see-all-link:hover { color: var(--gold-bright); border-color: var(--gold-bright); }

/* Manifesto (fond sombre) */
.manifesto {
  background: var(--ink-soft);
}

/* ═══════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.about-lead {
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  line-height: 1.65;
  color: var(--cream);
  margin-bottom: 20px;
  font-weight: 500;
}

.about-text p {
  color: rgba(245, 236, 217, 0.8);
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-text p strong { color: var(--cream); }

.about-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.cert-badge {
  background: transparent;
  border: 1px solid rgba(230, 179, 90, 0.4);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.value-card {
  background: var(--ink-mid);
  border: 1px solid rgba(245, 236, 217, 0.08);
  padding: 24px;
  transition: border-color var(--t), transform var(--t);
}

.value-card:hover {
  border-color: rgba(196, 78, 58, 0.4);
  transform: translateY(-3px);
}

.value-icon {
  display: block;
  font-size: 1.4rem;
  color: var(--terracotta);
  margin-bottom: 12px;
  font-style: normal;
}

.value-title {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.value-text {
  font-size: 0.85rem;
  color: rgba(245, 236, 217, 0.6);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(245, 236, 217, 0.08);
  border: 1px solid rgba(245, 236, 217, 0.08);
}

.service-card {
  display: block;
  background: var(--ink);
  transition: background var(--t);
}

.service-card:hover {
  background: var(--ink-soft);
}

.service-card-inner {
  padding: 36px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(245, 236, 217, 0.06);
  border-bottom: 1px solid rgba(245, 236, 217, 0.06);
  position: relative;
}

.service-card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}

.service-card:hover .service-card-inner::before {
  transform: scaleX(1);
}

.service-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--cream);
  margin-bottom: 12px;
  line-height: 1.1;
}

.service-desc {
  font-size: 0.9rem;
  color: rgba(245, 236, 217, 0.65);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 24px;
}

.service-arrow {
  font-size: 1.2rem;
  color: var(--terracotta);
  transition: transform var(--t) var(--ease);
  align-self: flex-end;
}

.service-card:hover .service-arrow { transform: translate(4px, -4px); }

/* ═══════════════════════════════════════════════════
   PROJECTS GRID
   ═══════════════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--ink-mid);
  border: 1px solid rgba(245, 236, 217, 0.07);
  overflow: hidden;
  transition: transform var(--t) var(--ease), border-color var(--t), box-shadow var(--t);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(196, 78, 58, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.project-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.project-card:hover .project-thumb img { transform: scale(1.06); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 20, 33, 0.6) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t);
}

.project-card:hover .project-overlay { opacity: 1; }

.project-card.no-thumb {
  background: var(--ink-soft);
  padding-top: 36px;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px 8px;
}

.meta-cat {
  background: var(--terracotta);
  color: var(--cream);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
}

.meta-date {
  font-size: 0.72rem;
  color: rgba(245, 236, 217, 0.4);
  font-weight: 600;
}

.project-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  padding: 0 20px 10px;
}

.project-title a {
  color: var(--cream);
  transition: color var(--t);
}

.project-title a:hover { color: var(--gold-bright); }

.project-excerpt {
  font-size: 0.85rem;
  color: rgba(245, 236, 217, 0.6);
  padding: 0 20px 16px;
  line-height: 1.6;
  flex: 1;
}

.project-link {
  display: block;
  padding: 12px 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  border-top: 1px solid rgba(245, 236, 217, 0.07);
  transition: color var(--t), padding-left var(--t);
}

.project-link:hover { color: var(--gold-bright); padding-left: 26px; }

/* ═══════════════════════════════════════════════════
   MAROC SECTION
   ═══════════════════════════════════════════════════ */
.maroc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  margin-bottom: 40px;
}

.maroc-card {
  display: flex;
  flex-direction: column;
  background: var(--ink-soft);
  border: 1px solid rgba(245, 236, 217, 0.07);
  overflow: hidden;
  transition: transform var(--t), border-color var(--t);
}

.maroc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 78, 58, 0.35);
}

.maroc-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.maroc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.maroc-card:hover .maroc-thumb img { transform: scale(1.05); }

.maroc-content {
  padding: 24px;
  flex: 1;
}

.maroc-content h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.25;
}

.maroc-content h3 a { color: var(--cream); transition: color var(--t); }
.maroc-content h3 a:hover { color: var(--gold-bright); }

.maroc-content p {
  font-size: 0.88rem;
  color: rgba(245, 236, 217, 0.65);
  line-height: 1.65;
}

.maroc-link-row { text-align: center; }

/* ═══════════════════════════════════════════════════
   FORMATION
   ═══════════════════════════════════════════════════ */
.formation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(245, 236, 217, 0.06);
}

.formation-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--ink-soft);
  padding: 36px 40px;
  border-bottom: 1px solid rgba(245, 236, 217, 0.06);
  transition: background var(--t), padding-left var(--t);
}

.formation-card:hover {
  background: var(--ink-mid);
  padding-left: 48px;
}

.formation-content { flex: 1; }

.formation-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--cream);
  margin-bottom: 10px;
}

.formation-desc {
  font-size: 0.88rem;
  color: rgba(245, 236, 217, 0.65);
  line-height: 1.6;
  margin-bottom: 14px;
}

.formation-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(200, 147, 68, 0.3);
  padding: 3px 10px;
}

.formation-arrow {
  font-size: 1.5rem;
  color: var(--terracotta);
  flex-shrink: 0;
  transition: transform var(--t) var(--ease);
}

.formation-card:hover .formation-arrow { transform: translateX(6px); }

/* ═══════════════════════════════════════════════════
   BLOG GRID
   ═══════════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.blog-card {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(245, 236, 217, 0.1);
  padding-bottom: 28px;
  transition: opacity var(--t);
}

.blog-card:hover { opacity: 0.9; }

.blog-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-bottom: 20px;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.blog-card:hover .blog-thumb img { transform: scale(1.04); }

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-meta time { color: rgba(245, 236, 217, 0.45); }

.blog-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  flex: 1;
}

.blog-title a { color: var(--cream); transition: color var(--t); }
.blog-title a:hover { color: var(--gold-bright); }

.blog-excerpt {
  font-size: 0.88rem;
  color: rgba(245, 236, 217, 0.65);
  line-height: 1.65;
  margin-bottom: 16px;
}

.blog-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta);
  transition: color var(--t);
}

.blog-link:hover { color: var(--gold-bright); }

/* ═══════════════════════════════════════════════════
   DISTINCTIONS / FESTIVALS
   ═══════════════════════════════════════════════════ */
.festivals-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.festival-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(245, 236, 217, 0.08);
  transition: background var(--t);
}

.festival-item:hover {
  padding-left: 12px;
  background: rgba(245, 236, 217, 0.03);
}

.festival-year {
  font-size: 0.82rem;
  color: var(--terracotta);
  font-style: italic;
  font-weight: 700;
  min-width: 52px;
  flex-shrink: 0;
}

.festival-name {
  font-size: 1.05rem;
  color: var(--cream);
  font-weight: 500;
  flex: 1;
}

.festival-dot {
  color: rgba(245, 236, 217, 0.2);
  font-size: 0.8rem;
}

/* ═══════════════════════════════════════════════════
   CTA BLOCK
   ═══════════════════════════════════════════════════ */
.cta-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.cta-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.cta-title em { color: var(--terracotta); font-style: italic; }

.cta-text {
  font-size: 1.05rem;
  color: rgba(245, 236, 217, 0.7);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-block .cta-row { justify-content: center; }

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.site-footer {
  background: var(--ink-soft);
  border-top: 2px solid var(--terracotta);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 48px;
  padding: 72px 0 56px;
  border-bottom: 1px solid rgba(245, 236, 217, 0.08);
}

.footer-logo-name {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 12px;
}

.footer-logo-name strong { color: var(--terracotta); }

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(245, 236, 217, 0.6);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-address {
  font-size: 0.85rem;
  color: rgba(245, 236, 217, 0.5);
  line-height: 1.7;
  margin-bottom: 12px;
  font-style: normal;
}

.footer-email {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  transition: color var(--t);
}

.footer-email:hover { color: var(--gold-bright); }

.footer-col-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 236, 217, 0.35);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(245, 236, 217, 0.08);
}

.footer-nav-col ul li a {
  display: block;
  font-size: 0.88rem;
  color: rgba(245, 236, 217, 0.65);
  padding: 5px 0;
  transition: color var(--t), padding-left var(--t);
}

.footer-nav-col ul li a:hover {
  color: var(--cream);
  padding-left: 6px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 0.78rem;
  color: rgba(245, 236, 217, 0.35);
  flex-wrap: wrap;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(245, 236, 217, 0.35);
  transition: color var(--t);
  font-weight: 500;
}

.footer-bottom-links a:hover { color: var(--terracotta); }

/* ═══════════════════════════════════════════════════
   ARCHIVE / BLOG LIST
   ═══════════════════════════════════════════════════ */
.main-content { padding-top: 20px; }

.archive-header {
  padding: 60px 0 48px;
  border-bottom: 1px solid rgba(245, 236, 217, 0.1);
  margin-bottom: 48px;
}

.archive-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.archive-title em { color: var(--terracotta); font-style: italic; }

.archive-desc {
  font-size: 1rem;
  color: rgba(245, 236, 217, 0.65);
  max-width: 60ch;
  line-height: 1.7;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-bottom: 60px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--ink-soft);
  border: 1px solid rgba(245, 236, 217, 0.07);
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 78, 58, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.post-card-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.post-card:hover .post-card-thumb img { transform: scale(1.05); }

.post-card-body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-card-meta time { color: rgba(245, 236, 217, 0.4); }

.post-card-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.22;
  margin-bottom: 10px;
  flex: 1;
}

.post-card-title a { color: var(--cream); transition: color var(--t); }
.post-card-title a:hover { color: var(--gold-bright); }

.post-card-excerpt {
  font-size: 0.85rem;
  color: rgba(245, 236, 217, 0.6);
  line-height: 1.6;
  margin-bottom: 16px;
}

.post-card-link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  transition: color var(--t);
  align-self: flex-start;
}

.post-card-link:hover { color: var(--gold-bright); }

/* Pagination */
.pagination, .nav-links { margin: 40px 0 60px; }
.pagination .nav-links,
.page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.page-numbers a,
.page-numbers.current,
.page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--ink-soft);
  border: 1px solid rgba(245, 236, 217, 0.12);
  color: var(--cream);
  transition: all var(--t);
}

.page-numbers a:hover { background: var(--terracotta); border-color: var(--terracotta); }
.page-numbers.current { background: var(--terracotta); border-color: var(--terracotta); }

/* ═══════════════════════════════════════════════════
   SINGLE ARTICLE
   ═══════════════════════════════════════════════════ */
.article-header {
  background: var(--ink-soft);
  padding: 56px 0 48px;
  border-bottom: 1px solid rgba(245, 236, 217, 0.08);
  margin-bottom: 0;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-wrap: wrap;
}

.article-meta time { color: rgba(245, 236, 217, 0.5); }
.article-meta .read-time { color: rgba(245, 236, 217, 0.5); }

.article-title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 24ch;
}

.article-excerpt {
  font-size: 1.1rem;
  color: rgba(245, 236, 217, 0.75);
  max-width: 60ch;
  line-height: 1.7;
}

.article-hero-image {
  width: 100%;
  max-height: 560px;
  overflow: hidden;
}

.article-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 60px;
  padding: 56px 0;
  align-items: start;
}

/* Article content */
.article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(245, 236, 217, 0.88);
}

.article-content h2 {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--cream);
  margin: 2.5rem 0 1rem;
  line-height: 1.1;
}

.article-content h3 {
  font-family: var(--sans);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream);
  margin: 2rem 0 0.8rem;
}

.article-content p { margin-bottom: 1.4rem; }

.article-content a {
  color: var(--gold-bright);
  border-bottom: 1px solid rgba(230, 179, 90, 0.4);
  transition: color var(--t), border-color var(--t);
}

.article-content a:hover { color: var(--terracotta); border-color: var(--terracotta); }

.article-content strong { color: var(--cream); font-weight: 700; }

.article-content blockquote {
  border-left: 3px solid var(--terracotta);
  background: var(--ink-soft);
  padding: 20px 28px;
  margin: 2rem 0;
  font-style: italic;
  color: rgba(245, 236, 217, 0.85);
  font-size: 1.08rem;
}

.article-content code {
  background: var(--ink-soft);
  color: var(--gold-bright);
  padding: 2px 7px;
  font-size: 0.9em;
  border: 1px solid rgba(245, 236, 217, 0.1);
}

.article-content pre {
  background: var(--ink-soft);
  border: 1px solid rgba(245, 236, 217, 0.1);
  padding: 20px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.article-content pre code { background: none; border: none; padding: 0; }

.article-content ul,
.article-content ol {
  margin: 1rem 0 1.4rem 1.5rem;
}

.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 0.5rem; }

.article-content img {
  width: 100%;
  height: auto;
  margin: 1.5rem 0;
}

.article-content figure {
  margin: 1.5rem 0;
}

.article-content figcaption {
  font-size: 0.82rem;
  color: rgba(245, 236, 217, 0.45);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

.article-tags {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 236, 217, 0.1);
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.tags-list span { font-size: 0.78rem; color: rgba(245, 236, 217, 0.45); font-weight: 600; }
.tags-list a {
  border: 1px solid rgba(200, 147, 68, 0.35);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--t), color var(--t);
}
.tags-list a:hover { background: var(--gold); color: var(--ink); }

/* Sidebar article */
.article-sidebar {
  position: sticky;
  top: 120px;
}

.sidebar-block {
  background: var(--ink-soft);
  border: 1px solid rgba(245, 236, 217, 0.08);
  padding: 24px;
  margin-bottom: 20px;
}

.sidebar-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 236, 217, 0.35);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(245, 236, 217, 0.08);
}

.sidebar-cat {
  display: block;
  font-size: 0.85rem;
  color: rgba(245, 236, 217, 0.75);
  padding: 6px 0;
  border-bottom: 1px solid rgba(245, 236, 217, 0.05);
  transition: color var(--t), padding-left var(--t);
}

.sidebar-cat:hover { color: var(--terracotta); padding-left: 6px; }

.sidebar-author-name { color: var(--cream); margin-bottom: 6px; }
.sidebar-contact-link { color: var(--terracotta); font-size: 0.85rem; font-weight: 700; transition: color var(--t); }
.sidebar-contact-link:hover { color: var(--gold-bright); }

/* Related */
.related-posts { padding-top: 48px; border-top: 1px solid rgba(245, 236, 217, 0.1); }
.related-title { font-size: 1.8rem; margin-bottom: 32px; }
.related-title em { color: var(--terracotta); font-style: italic; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }

/* ═══════════════════════════════════════════════════
   PAGE CONTENT
   ═══════════════════════════════════════════════════ */
.page-header {
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}

.page-hero-image {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  position: relative;
}

.page-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,20,33,0.3), rgba(13,20,33,0.7));
}

.page-header .container {
  padding-top: 48px;
  padding-bottom: 48px;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.page-excerpt {
  font-size: 1.1rem;
  color: rgba(245, 236, 217, 0.7);
  max-width: 60ch;
  line-height: 1.7;
}

.page-body {
  padding: 56px 0 80px;
  max-width: 820px;
}

.page-content-text { font-size: 1.05rem; line-height: 1.85; color: rgba(245, 236, 217, 0.85); }
.page-content-text h2 { font-family: var(--serif); font-size: 1.8rem; font-weight: 900; color: var(--cream); margin: 2rem 0 1rem; }
.page-content-text h3 { font-size: 1.25rem; font-weight: 700; color: var(--cream); margin: 1.5rem 0 0.8rem; }
.page-content-text p { margin-bottom: 1.3rem; }
.page-content-text a { color: var(--gold-bright); border-bottom: 1px solid rgba(230,179,90,.3); }
.page-content-text ul, .page-content-text ol { margin: 1rem 0 1.3rem 1.4rem; }
.page-content-text ul { list-style: disc; }
.page-content-text ol { list-style: decimal; }
.page-content-text li { margin-bottom: .5rem; }
.page-content-text strong { color: var(--cream); }
.page-content-text blockquote { border-left: 3px solid var(--terracotta); background: var(--ink-soft); padding: 18px 24px; margin: 1.5rem 0; font-style: italic; }
.page-content-text img { max-width: 100%; height: auto; margin: 1.5rem 0; }

/* ═══════════════════════════════════════════════════
   404 / SEARCH
   ═══════════════════════════════════════════════════ */
.error-404 { padding: 100px 0; }

.error-block { max-width: 600px; }

.error-code {
  display: block;
  font-size: clamp(5rem, 15vw, 10rem);
  line-height: 0.85;
  color: var(--terracotta);
  opacity: 0.4;
  margin-bottom: 16px;
}

.error-title { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 16px; }
.error-title em { color: var(--terracotta); font-style: italic; }
.error-text { font-size: 1.05rem; color: rgba(245,236,217,.7); margin-bottom: 36px; }

.no-results {
  padding: 60px 0;
  font-size: 1.05rem;
  color: rgba(245,236,217,.7);
}
.no-results a { color: var(--terracotta); }

/* ═══════════════════════════════════════════════════
   SEARCH FORM
   ═══════════════════════════════════════════════════ */
.search-form {
  display: flex;
  gap: 0;
  max-width: 560px;
  margin-top: 24px;
}

.search-field {
  flex: 1;
  background: var(--ink-soft);
  border: 1px solid rgba(245,236,217,.2);
  border-right: none;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 12px 18px;
  outline: none;
  transition: border-color var(--t);
}

.search-field:focus { border-color: var(--terracotta); }
.search-field::placeholder { color: rgba(245,236,217,.35); }

.search-submit {
  background: var(--terracotta);
  color: var(--cream);
  border: none;
  padding: 12px 22px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--t);
}

.search-submit:hover { background: var(--terracotta-deep); }

/* ═══════════════════════════════════════════════════
   FOOTER — ADRESSES MULTIPLES
   ═══════════════════════════════════════════════════ */
.footer-offices {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 16px 0 20px;
}

.footer-office .office-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 4px;
}

.footer-office address {
  font-style: normal;
  font-size: 0.82rem;
  color: rgba(245,236,217,0.5);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   OUVRAGES — PAGE TEMPLATE
   ═══════════════════════════════════════════════════ */

/* Hero ouvrages */
.ouvrages-hero { background: var(--ink-soft); }

.ouvrages-intro {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  max-width: 58ch;
  color: rgba(245,236,217,0.75);
  line-height: 1.7;
  margin-top: -20px;
  margin-bottom: 0;
}

/* Section featured book */
.ouvrages-featured {
  padding: clamp(72px,10vw,120px) 0;
  background: var(--ink);
}

.book-card-featured {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

/* 3D Book cover */
.book-cover-wrap {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.book-cover-3d {
  position: relative;
  width: 240px;
  height: 320px;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateY(-18deg);
  filter: drop-shadow(20px 20px 40px rgba(0,0,0,0.6));
  transition: transform 0.4s var(--ease);
}

.book-cover-3d:hover {
  transform: perspective(1000px) rotateY(-8deg);
}

.book-spine {
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 100%;
  background: var(--terracotta-deep);
  transform: rotateY(-90deg) translateX(-14px);
  transform-origin: left center;
}

.book-front {
  position: absolute;
  left: 28px;
  top: 0;
  width: calc(100% - 28px);
  height: 100%;
  background: var(--ink-soft);
  border: 1px solid rgba(245,236,217,0.12);
  overflow: hidden;
}

.book-cover-inner {
  position: relative;
  height: 100%;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #1a2233 0%, #0d1421 60%, #1a0f0b 100%);
  overflow: hidden;
}

.book-cover-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.book-series-badge {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.3;
  max-width: 80px;
}

.book-vol-badge {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--terracotta);
  font-style: italic;
  white-space: nowrap;
}

.book-cover-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 8px;
  flex: 1;
}

.book-cover-sub {
  font-size: 0.65rem;
  color: rgba(245,236,217,0.6);
  line-height: 1.4;
  margin-bottom: 12px;
  font-style: italic;
}

.book-cover-author {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-top: auto;
}

.book-cover-pattern {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 120px;
  height: 120px;
  pointer-events: none;
}

.book-amazon-cta {
  text-align: center;
  width: 100%;
}

.book-amazon-note {
  font-size: 0.72rem;
  color: rgba(245,236,217,0.45);
  margin-top: 10px;
  letter-spacing: 0.04em;
}

/* Book info panel */
.book-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.book-badge-series {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,236,217,0.5);
}

.book-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.book-title em { color: var(--terracotta); font-style: italic; }

.book-subtitle {
  font-size: 1.05rem;
  color: rgba(245,236,217,0.65);
  font-style: italic;
  margin-bottom: 32px;
  line-height: 1.5;
}

.book-description p {
  font-size: 1rem;
  color: rgba(245,236,217,0.82);
  line-height: 1.78;
  margin-bottom: 16px;
}

.book-description p strong { color: var(--cream); }

.book-section-head {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,236,217,0.4);
  margin: 28px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(245,236,217,0.08);
}

.book-contents-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
}

.book-contents-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(245,236,217,0.8);
  line-height: 1.55;
}

.list-bullet {
  color: var(--terracotta);
  flex-shrink: 0;
  font-size: 0.9rem;
  margin-top: 2px;
}

.book-audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.audience-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--ink-soft);
  border: 1px solid rgba(245,236,217,0.1);
  padding: 6px 12px;
  font-size: 0.8rem;
  color: rgba(245,236,217,0.75);
  transition: border-color var(--t);
}

.audience-tag:hover { border-color: var(--terracotta); color: var(--cream); }

.audience-icon {
  color: var(--terracotta);
  font-style: normal;
  font-size: 0.75rem;
}

.book-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(245,236,217,0.07);
  border: 1px solid rgba(245,236,217,0.07);
  margin: 32px 0;
}

.book-meta-item {
  background: var(--ink-soft);
  padding: 14px 18px;
}

.book-meta-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,236,217,0.35);
  margin-bottom: 4px;
}

.book-meta-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cream);
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Upcoming volumes */
.ouvrages-upcoming { background: var(--ink-soft); }

.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.upcoming-card {
  background: var(--ink-mid);
  border: 1px solid rgba(245,236,217,0.07);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--t), transform var(--t);
}

.upcoming-card:hover {
  border-color: rgba(196,78,58,0.35);
  transform: translateY(-4px);
}

.upcoming-placeholder { opacity: 0.55; }

.upcoming-vol {
  font-size: 3rem;
  color: var(--terracotta);
  opacity: 0.4;
  line-height: 1;
  font-style: italic;
}

.upcoming-card h3 {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
}

.upcoming-card p {
  font-size: 0.88rem;
  color: rgba(245,236,217,0.6);
  line-height: 1.6;
  flex: 1;
}

.upcoming-status {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(200,147,68,0.3);
  padding: 3px 10px;
  align-self: flex-start;
}

.upcoming-newsletter { border-color: rgba(196,78,58,0.25); }

.upcoming-icon {
  font-size: 1.8rem;
  color: var(--gold-bright);
}

/* Livre en homepage (mini-card) */
.section-livre { background: var(--ink); }

.livre-cta-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  background: var(--ink-soft);
  border: 1px solid rgba(245,236,217,0.1);
  border-left: 4px solid var(--terracotta);
  padding: 36px 40px;
  transition: border-color var(--t), transform var(--t);
}

.livre-cta-card:hover {
  border-left-color: var(--gold-bright);
  transform: translateX(4px);
}

.livre-mini-cover {
  width: 90px;
  height: 120px;
  background: linear-gradient(135deg, var(--ink-mid) 0%, #1a0f0b 100%);
  border: 1px solid rgba(245,236,217,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  text-align: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.livre-mini-cover-title {
  font-family: var(--serif);
  font-size: 0.6rem;
  font-weight: 900;
  color: var(--cream);
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.livre-mini-cover-vol {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--terracotta);
  font-style: italic;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.livre-mini-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 6px,
    rgba(196,78,58,0.06) 6px,
    rgba(196,78,58,0.06) 7px
  );
}

.livre-info { min-width: 0; }

.livre-new-badge {
  display: inline-block;
  background: var(--terracotta);
  color: var(--cream);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.livre-title {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 8px;
}

.livre-title em { color: var(--terracotta); font-style: italic; }

.livre-desc {
  font-size: 0.9rem;
  color: rgba(245,236,217,0.65);
  line-height: 1.6;
  max-width: 55ch;
}

/* Responsive ouvrages */
@media (max-width: 1024px) {
  .book-card-featured  { grid-template-columns: 1fr; }
  .book-cover-wrap     { position: static; flex-direction: row; align-items: flex-start; }
  .book-cover-3d       { width: 180px; height: 240px; }
  .upcoming-grid       { grid-template-columns: 1fr 1fr; }
  .livre-cta-card      { grid-template-columns: auto 1fr; }
  .livre-cta-card .book-actions { grid-column: span 2; }
}

@media (max-width: 768px) {
  .book-cover-wrap     { flex-direction: column; align-items: center; }
  .upcoming-grid       { grid-template-columns: 1fr; }
  .book-meta-grid      { grid-template-columns: 1fr; }
  .livre-cta-card      { grid-template-columns: 1fr; gap: 20px; }
  .livre-mini-cover    { display: none; }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid     { grid-template-columns: 1fr 1fr; }
  .projects-grid     { grid-template-columns: 1fr 1fr; }
  .blog-grid         { grid-template-columns: 1fr 1fr; }
  .related-grid      { grid-template-columns: 1fr 1fr; }
  .posts-grid        { grid-template-columns: 1fr 1fr; }
  .article-layout    { grid-template-columns: 1fr; gap: 40px; }
  .article-sidebar   { position: static; display: flex; gap: 20px; flex-wrap: wrap; }
  .sidebar-block     { flex: 1; min-width: 220px; }
  .footer-top        { grid-template-columns: 1fr 1fr; }
  .about-grid        { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-toggle  { display: flex; }
  .primary-nav {
    position: fixed;
    top: 101px;
    left: 0; right: 0;
    background: var(--ink-soft);
    border-top: 2px solid var(--terracotta);
    border-bottom: 1px solid rgba(245,236,217,.08);
    transform: translateY(-110%);
    transition: transform 0.35s var(--ease);
    z-index: 90;
    max-height: calc(100vh - 101px);
    overflow-y: auto;
  }
  .primary-nav.is-open { transform: translateY(0); }
  .nav-list { flex-direction: column; padding: 16px 0; gap: 0; }
  .nav-list > li > a { padding: 14px 24px; font-size: 0.9rem; border-bottom: 1px solid rgba(245,236,217,.05); }
  .nav-list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: none; border-top: none; background: rgba(0,0,0,.2); }
  .nav-list .sub-menu li a { padding-left: 40px; }

  .hero-stats        { grid-template-columns: repeat(2,1fr); }
  .services-grid     { grid-template-columns: 1fr; }
  .projects-grid     { grid-template-columns: 1fr; }
  .blog-grid         { grid-template-columns: 1fr; }
  .related-grid      { grid-template-columns: 1fr; }
  .posts-grid        { grid-template-columns: 1fr; }
  .maroc-grid        { grid-template-columns: 1fr; }
  .formation-grid    { grid-template-columns: 1fr; }
  .about-values      { grid-template-columns: 1fr; }
  .footer-top        { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 40px; }
  .footer-bottom     { flex-direction: column; text-align: center; }
  h1.headline        { font-size: clamp(2.2rem, 9vw, 3.8rem); }
}

@media (max-width: 480px) {
  .btn { padding: 12px 20px; font-size: 0.82rem; }
  .btn-large { padding: 14px 24px; font-size: 0.88rem; }
  .cta-row { flex-direction: column; }
  .hero-stats { grid-template-columns: repeat(2,1fr); gap: 20px; }
}

/* ═══════════════════════════════════════════════════
   MENTIONS LÉGALES
   ═══════════════════════════════════════════════════ */
.mentions-hero  { background: var(--ink-soft); padding: clamp(56px,8vw,96px) 0 clamp(40px,5vw,64px); }

.mentions-content { padding: clamp(56px,8vw,96px) 0; }

.mentions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.mentions-block {
  background: var(--ink-soft);
  border: 1px solid rgba(245,236,217,0.07);
  border-top: 2px solid var(--terracotta);
  padding: 28px 32px;
}

.mentions-block-full { grid-column: span 2; }

.mentions-h2 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(245,236,217,0.08);
}

.mentions-block p {
  font-size: 0.9rem;
  color: rgba(245,236,217,0.75);
  line-height: 1.72;
  margin-bottom: 12px;
}

.mentions-block p:last-child { margin-bottom: 0; }
.mentions-block p strong { color: var(--cream); }
.mentions-block a { color: var(--gold); border-bottom: 1px solid rgba(200,147,68,.3); }
.mentions-block a:hover { color: var(--terracotta); border-color: var(--terracotta); }

.mentions-info-box {
  background: var(--ink-mid);
  border: 1px solid rgba(245,236,217,0.08);
  padding: 16px 20px;
  margin-top: 12px;
}

.mentions-list {
  padding-left: 0;
  margin: 12px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mentions-list li {
  font-size: 0.9rem;
  color: rgba(245,236,217,.75);
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}

.mentions-list li::before {
  content: '◈';
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-size: 0.7rem;
}

.mentions-list li strong { color: var(--cream); }

@media (max-width: 768px) {
  .mentions-grid       { grid-template-columns: 1fr; }
  .mentions-block-full { grid-column: span 1; }
}

/* ═══════════════════════════════════════════════════
   NEWSLETTER PAGE
   ═══════════════════════════════════════════════════ */
.newsletter-hero { padding: clamp(72px,10vw,120px) 0; }

.newsletter-hero-inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: clamp(48px,7vw,96px);
  align-items: start;
}

.newsletter-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.nl-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--ink-soft);
  border: 1px solid rgba(245,236,217,0.07);
}

.nl-feature-icon {
  font-size: 1rem;
  color: var(--terracotta);
  flex-shrink: 0;
  margin-top: 1px;
}

.nl-feature strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 2px;
}

.nl-feature span {
  font-size: 0.8rem;
  color: rgba(245,236,217,0.5);
}

.newsletter-form-card {
  background: var(--ink-soft);
  border: 1px solid rgba(245,236,217,0.1);
  border-top: 3px solid var(--terracotta);
  padding: 36px 32px;
}

.kg-newsletter-form .form-group {
  margin-bottom: 16px;
}

.kg-newsletter-form label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,236,217,0.4);
  margin-bottom: 6px;
}

.kg-newsletter-form input[type="text"],
.kg-newsletter-form input[type="email"] {
  display: block;
  width: 100%;
  background: var(--ink);
  border: 1px solid rgba(245,236,217,0.18);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}

.kg-newsletter-form input:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(196,78,58,.15);
}

.kg-newsletter-form input::placeholder { color: rgba(245,236,217,.28); }

.nl-lang-choice {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nl-lang-opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem !important;
  color: rgba(245,236,217,.7) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  cursor: pointer;
}

.nl-lang-opt input[type="radio"] { accent-color: var(--terracotta); }

.nl-check-label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem !important;
  color: rgba(245,236,217,.55) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  cursor: pointer;
  line-height: 1.5;
}

.nl-check-label input[type="checkbox"] { accent-color: var(--terracotta); flex-shrink: 0; margin-top: 2px; }
.nl-check-label a { color: var(--gold); }

.nl-alert {
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 0;
}

.nl-success { background: rgba(45,102,80,.25); border: 1px solid rgba(45,102,80,.6); color: #7fd4b0; }
.nl-error   { background: rgba(196,78,58,.18); border: 1px solid rgba(196,78,58,.5); color: var(--terracotta); }

.newsletter-note {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(200,147,68,.08);
  border: 1px solid rgba(200,147,68,.2);
  font-size: 0.82rem;
  color: rgba(245,236,217,.6);
  line-height: 1.6;
}

.newsletter-note strong { color: var(--gold); }

@media (max-width: 1024px) { .newsletter-hero-inner { grid-template-columns: 1fr; } }
@media (max-width: 768px)  { .newsletter-form-card { padding: 24px 20px; } }

/* ═══════════════════════════════════════════════════
   OEUVRES À VENIR
   ═══════════════════════════════════════════════════ */
.oeuvres-hero    { background: var(--ink-soft); }
.oeuvres-en-cours { padding: clamp(72px,10vw,120px) 0; }

.oeuvres-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: var(--gap);
}

.oeuvre-card {
  background: var(--ink-soft);
  border: 1px solid rgba(245,236,217,0.08);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}

.oeuvre-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196,78,58,.4);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}

.oeuvre-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.oeuvre-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.oeuvre-annee {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(245,236,217,.4);
  text-transform: uppercase;
}

.oeuvre-status {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid;
}

.oeuvre-status--confirme,
.oeuvre-status--confirmé       { color: #7fd4b0; border-color: rgba(45,102,80,.5); background: rgba(45,102,80,.15); }
.oeuvre-status--en-cours,
.oeuvre-status--en-rédaction,
.oeuvre-status--en-redaction,
.oeuvre-status--en-développement,
.oeuvre-status--en-developpement { color: var(--gold); border-color: rgba(200,147,68,.4); background: rgba(200,147,68,.1); }
.oeuvre-status--recherche-prototype,
.oeuvre-status--recherche-&-prototype { color: rgba(245,236,217,.6); border-color: rgba(245,236,217,.2); }
.oeuvre-status--en-conception  { color: rgba(245,236,217,.6); border-color: rgba(245,236,217,.2); }

.oeuvre-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--cream);
  line-height: 1.2;
}

.oeuvre-desc {
  font-size: 0.87rem;
  color: rgba(245,236,217,.65);
  line-height: 1.65;
  flex: 1;
}

.oeuvres-notify { background: var(--ink-soft); }

@media (max-width: 1024px) { .oeuvres-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px)  { .oeuvres-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════
   LANGUAGE SWITCHER
   ═══════════════════════════════════════════════════ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 16px;
  border-left: 1px solid rgba(245,236,217,0.12);
  padding-left: 16px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  padding: 0 8px;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(245,236,217,0.45);
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: color var(--t), background var(--t);
  border-radius: 2px;
}

.lang-btn:hover,
.lang-btn.active {
  color: var(--cream);
  background: rgba(245,236,217,0.08);
}

.lang-btn.active {
  color: var(--terracotta);
}

.lang-btn[data-lang="ar"] {
  font-size: 0.82rem;
  font-family: 'Noto Naskh Arabic', 'Arial', sans-serif;
}

/* Mobile lang switcher */
@media (max-width: 768px) {
  .lang-switcher {
    margin-left: auto;
    border-left: none;
    padding-left: 0;
    order: -1;
  }
  .header-inner { flex-wrap: wrap; }
}

/* ═══════════════════════════════════════════════════
   SCROLL TO TOP BUTTON
   ═══════════════════════════════════════════════════ */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--terracotta);
  color: var(--cream);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--t), visibility var(--t), transform var(--t), background var(--t);
  box-shadow: 3px 3px 0 var(--ink-soft);
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--terracotta-deep);
  transform: translateY(-3px);
  box-shadow: 5px 5px 0 var(--ink-soft);
}

@media (max-width: 768px) {
  .scroll-top-btn { bottom: 20px; right: 16px; width: 42px; height: 42px; }
}

/* ═══════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════ */
.contact-hero { padding: clamp(72px,10vw,120px) 0; }

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px,7vw,96px);
  align-items: start;
}

.contact-intro {
  font-size: 1.05rem;
  color: rgba(245,236,217,0.75);
  line-height: 1.72;
  margin-bottom: 36px;
  max-width: 52ch;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--ink-mid);
  border: 1px solid rgba(245,236,217,0.07);
  transition: border-color var(--t);
  text-decoration: none;
  color: inherit;
}

a.contact-info-item:hover { border-color: var(--terracotta); }

.contact-info-icon {
  font-size: 1rem;
  color: var(--terracotta);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,236,217,0.35);
  margin-bottom: 3px;
}

.contact-info-value {
  display: block;
  font-size: 0.9rem;
  color: rgba(245,236,217,0.82);
  font-weight: 500;
}

.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-pill {
  display: inline-block;
  border: 1px solid rgba(245,236,217,0.15);
  color: rgba(245,236,217,0.6);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  transition: all var(--t);
}

.social-pill:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

/* Form card */
.contact-form-card {
  background: var(--ink-mid);
  border: 1px solid rgba(245,236,217,0.1);
  border-top: 3px solid var(--terracotta);
  padding: 36px 32px;
}

.form-card-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--cream);
  margin-bottom: 28px;
}

/* CF7 styling */
.wpcf7 label,
.kg-contact-form label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,236,217,0.45);
  margin-bottom: 6px;
  margin-top: 18px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea,
.form-input,
.form-textarea {
  display: block;
  width: 100%;
  background: var(--ink-soft);
  border: 1px solid rgba(245,236,217,0.18);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 12px 16px;
  border-radius: 0;
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
  -webkit-appearance: none;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus,
.form-input:focus,
.form-textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(196,78,58,.15);
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder { color: rgba(245,236,217,0.28); }

.wpcf7 select option { background: var(--ink-soft); color: var(--cream); }

.wpcf7 .wpcf7-submit,
.btn-submit {
  margin-top: 24px;
  width: 100%;
  display: block;
  background: var(--terracotta);
  color: var(--cream);
  border: 2px solid var(--terracotta);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 28px;
  cursor: pointer;
  transition: all var(--t);
  box-shadow: 4px 4px 0 var(--ink-soft);
}

.wpcf7 .wpcf7-submit:hover,
.btn-submit:hover {
  background: transparent;
  color: var(--terracotta);
  box-shadow: 6px 6px 0 var(--terracotta);
  transform: translate(-2px,-2px);
}

.wpcf7-response-output {
  margin-top: 16px !important;
  padding: 12px 16px !important;
  border-color: var(--terracotta) !important;
  font-size: 0.88rem !important;
  color: var(--cream) !important;
  background: rgba(196,78,58,0.12) !important;
}

.wpcf7 .wpcf7-not-valid-tip {
  font-size: 0.72rem !important;
  color: var(--terracotta) !important;
  margin-top: 4px !important;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Contact services tags */
.contact-services { padding: 60px 0; }

.services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-tag {
  display: inline-block;
  background: var(--ink-soft);
  border: 1px solid rgba(245,236,217,0.1);
  color: rgba(245,236,217,0.65);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 16px;
  transition: all var(--t);
  cursor: default;
}

.service-tag:hover {
  border-color: var(--terracotta);
  color: var(--cream);
  background: rgba(196,78,58,0.1);
}

@media (max-width: 768px) {
  .contact-hero-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .contact-form-card { padding: 24px 20px; }
}

/* ═══════════════════════════════════════════════════
   BIO / ABOUT PAGE
   ═══════════════════════════════════════════════════ */
.bio-hero { padding: clamp(72px,10vw,120px) 0; }

.bio-hero-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: clamp(48px,7vw,80px);
  align-items: start;
}

.bio-photo-wrap {
  position: relative;
  border: 1px solid rgba(245,236,217,0.1);
}

.bio-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: grayscale(15%) contrast(1.05);
}

.bio-photo-deco {
  position: absolute;
  bottom: -24px;
  right: -24px;
  pointer-events: none;
  opacity: 0.5;
}

.bio-photo-caption {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,236,217,0.35);
}

.bio-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,236,217,0.5);
  margin-bottom: 20px;
}

.bio-name {
  font-size: clamp(2.8rem,6vw,5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.bio-name em { color: var(--terracotta); font-style: italic; }

.bio-jobtitle {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,236,217,0.45);
  margin-bottom: 28px;
}

.bio-text p {
  font-size: 1.02rem;
  color: rgba(245,236,217,0.82);
  line-height: 1.78;
  margin-bottom: 16px;
}

.bio-text p strong { color: var(--cream); }

.bio-certs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.bio-parcours { padding: clamp(72px,10vw,120px) 0; }

.bio-expertise-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2px;
  background: rgba(245,236,217,0.06);
}

.bio-expertise-card {
  background: var(--ink);
  padding: 32px 28px;
  border-bottom: 1px solid rgba(245,236,217,0.05);
  transition: background var(--t);
}

.bio-expertise-card:hover { background: var(--ink-soft); }

.bio-expertise-title {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 10px;
}

.bio-expertise-desc {
  font-size: 0.85rem;
  color: rgba(245,236,217,0.6);
  line-height: 1.65;
}

.bio-timeline { background: var(--ink-soft); }

@media (max-width: 1024px) {
  .bio-hero-grid { grid-template-columns: 1fr; }
  .bio-photo-wrap { max-width: 480px; }
  .bio-expertise-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .bio-expertise-grid { grid-template-columns: 1fr; }
  .bio-name { font-size: clamp(2.4rem,10vw,3.6rem); }
}

/* ═══════════════════════════════════════════════════
   PROJETS PAGE — OVERVIEW + FILTRES
   ═══════════════════════════════════════════════════ */
.projets-hero  { background: var(--ink-soft); }
.projets-overview { padding: clamp(72px,10vw,120px) 0; }

.projets-cats-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: var(--gap);
}

.projets-cat-card {
  display: flex;
  flex-direction: column;
  background: var(--ink-soft);
  border: 1px solid rgba(245,236,217,0.08);
  overflow: hidden;
  text-decoration: none;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  position: relative;
}

.projets-cat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(196,78,58,0.45);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}

.projets-cat-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.projets-cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.projets-cat-card:hover .projets-cat-thumb img { transform: scale(1.06); }

.projets-cat-no-img {
  background: linear-gradient(135deg, var(--ink-mid) 0%, #0d1421 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.projets-cat-no-img-icon {
  font-size: 2.5rem;
  color: var(--terracotta);
  opacity: 0.4;
}

.projets-cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,20,33,0.7), transparent 60%);
}

.projets-cat-body {
  padding: 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.projets-cat-icon {
  font-size: 1rem;
  color: var(--terracotta);
  font-style: normal;
}

.projets-cat-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--cream);
  line-height: 1.15;
}

.projets-cat-desc {
  font-size: 0.85rem;
  color: rgba(245,236,217,0.6);
  line-height: 1.6;
  flex: 1;
}

.projets-cat-count {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 8px;
}

.projets-cat-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 1.1rem;
  color: var(--terracotta);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity var(--t), transform var(--t);
}

.projets-cat-card:hover .projets-cat-arrow {
  opacity: 1;
  transform: translate(0,0);
}

/* Filtres */
.projets-all { background: var(--ink-soft); }

.projets-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(245,236,217,0.15);
  color: rgba(245,236,217,0.55);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 16px;
  cursor: pointer;
  transition: all var(--t);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--cream);
}

.post-card.hidden-filter { display: none; }

@media (max-width: 1024px) {
  .projets-cats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .projets-cats-grid { grid-template-columns: 1fr; }
  .projets-filters { gap: 6px; }
  .filter-btn { font-size: 0.68rem; padding: 6px 12px; }
}

/* ═══════════════════════════════════════════════════
   OUVRAGE — IMAGE AMAZON
   ═══════════════════════════════════════════════════ */
.book-cover-3d .book-front {
  background-image: url('https://m.media-amazon.com/images/I/71KsOpbEPCL._SL1500_.jpg');
  background-size: cover;
  background-position: center;
}

.book-cover-inner {
  background: rgba(13,20,33,0.15);
}

.livre-mini-cover {
  background-image: url('https://m.media-amazon.com/images/I/71KsOpbEPCL._SL1500_.jpg');
  background-size: cover;
  background-position: center;
}

.livre-mini-cover::before { display: none; }
.livre-mini-cover-title,
.livre-mini-cover-vol { display: none; }

/* ═══════════════════════════════════════════════════
   FORCE DARK sur pages Divi héritées
   ═══════════════════════════════════════════════════ */
.page-content .et_pb_section,
.page-content .et_pb_row,
.page-content .et_pb_column,
.page-content .et_pb_text,
.page-content .et_pb_code,
.page-content [style*="background-color:#ffffff"],
.page-content [style*="background-color: #ffffff"],
.page-content [style*="background-color:white"],
.page-content [style*="background:#fff"],
.page-content [style*="background: #fff"] {
  background-color: var(--ink) !important;
  background: var(--ink) !important;
  color: var(--cream) !important;
}

.page-content .et_pb_text_inner,
.page-content .et_pb_text_inner p,
.page-content .et_pb_text_inner li,
.page-content .et_pb_text_inner h1,
.page-content .et_pb_text_inner h2,
.page-content .et_pb_text_inner h3,
.page-content .et_pb_text_inner h4 {
  color: var(--cream) !important;
}


/* ═══════════════════════════════════════════════════
   MOBILE FIX — iPhone / Safari
   Correctifs spécifiques au responsive mobile
   ═══════════════════════════════════════════════════ */

/* ── Fix ticker wrapping sur petits écrans ─────────── */
.ticker {
  height: 37px;
  line-height: 37px;
  padding: 0;
  display: flex;
  align-items: center;
}

/* ── Header : position sticky recalculée via CSS var ── */
:root {
  --ticker-h: 37px;
  --header-h: 56px;
}

.site-header {
  top: var(--ticker-h);
  height: var(--header-h);
}

.header-inner {
  height: var(--header-h);
  gap: 8px;
  padding: 0 16px;
  flex-wrap: nowrap;
}

/* ── Mobile nav : position calée sur header réel ──── */
@media (max-width: 768px) {
  /* Ticker : une seule ligne, no-wrap */
  .ticker { overflow: hidden; white-space: nowrap; }
  .ticker-track { animation-duration: 30s; }

  /* Header interne : logo + burger + essentiels */
  .header-inner {
    padding: 0 16px;
    gap: 8px;
    height: var(--header-h);
  }

  /* Logo compact */
  .logo-tag { display: none; }
  .logo-name { font-size: 0.95rem; }

  /* Nav principale : slide depuis le haut, sous le header */
  .primary-nav {
    position: fixed;
    top: calc(var(--ticker-h) + var(--header-h));
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--ticker-h) - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Search drawer */
  .search-drawer.is-open { height: var(--header-h); }
  .search-drawer { height: 0; }

  /* Lang switcher : compact */
  .lang-switcher {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    gap: 0;
  }
  .lang-btn { min-width: 28px; height: 28px; font-size: 0.62rem; padding: 0 5px; }

  /* Search toggle : plus compact */
  .search-toggle { width: 32px; height: 32px; }

  /* Ordre des éléments dans le header */
  .site-logo     { order: 1; flex: 1; min-width: 0; }
  .lang-switcher { order: 2; }
  .search-toggle { order: 3; }
  .nav-toggle    { order: 4; margin-left: 4px; }
  .primary-nav   { order: 5; }

  /* Scroll top button : ne pas chevaucher rien */
  .scroll-top-btn { bottom: 20px; right: 16px; width: 40px; height: 40px; font-size: 1rem; }

  /* Hero */
  .hero { padding: 48px 0 56px; }
  h1.headline { font-size: clamp(2rem, 9vw, 3.2rem); max-width: 100%; }
  .hero-lede { font-size: 1rem; }
  .cta-row { gap: 10px; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; padding-top: 24px; }

  /* Grilles */
  .highlights-grid { grid-template-columns: 1fr; }
  .services-grid   { grid-template-columns: 1fr; }
  .projects-grid   { grid-template-columns: 1fr; }
  .blog-grid       { grid-template-columns: 1fr; }
  .posts-grid      { grid-template-columns: 1fr; }
  .maroc-grid      { grid-template-columns: 1fr; }
  .formation-grid  { grid-template-columns: 1fr; }
  .about-values    { grid-template-columns: 1fr; }
  .related-grid    { grid-template-columns: 1fr; }
  .bio-expertise-grid { grid-template-columns: 1fr; }
  .projets-cats-grid  { grid-template-columns: 1fr; }
  .oeuvres-grid    { grid-template-columns: 1fr; }
  .upcoming-grid   { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }
  .footer-top      { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 32px; }
  .footer-bottom   { flex-direction: column; text-align: center; gap: 12px; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 12px; }

  /* Article */
  .article-layout   { grid-template-columns: 1fr; gap: 32px; }
  .article-sidebar  { display: none; }
  .article-title    { font-size: clamp(1.6rem, 7vw, 2.4rem); }

  /* Contact */
  .contact-hero-grid    { grid-template-columns: 1fr; }
  .form-row-2           { grid-template-columns: 1fr; }
  .contact-form-card    { padding: 20px 16px; }

  /* Bio */
  .bio-hero-grid   { grid-template-columns: 1fr; }

  /* Sections padding */
  section { padding: clamp(48px, 8vw, 72px) 0; }
  .section-title  { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .cta-title      { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .cta-block .cta-row { flex-direction: column; align-items: center; }

  /* Book card */
  .book-card-featured { grid-template-columns: 1fr; }
  .book-cover-wrap    { position: static; }
  .oeuvre-featured-inner { grid-template-columns: 1fr; }
  .oeuvre-featured-visual { display: none; }
  .oeuvre-featured-text   { padding: 20px; }

  /* Formulaires */
  .kg-newsletter-form input, .wpcf7 input, .wpcf7 textarea { font-size: 16px; }

  /* Mentions */
  .mentions-grid { grid-template-columns: 1fr; }
  .mentions-block-full { grid-column: span 1; }

  /* Newsletter */
  .newsletter-hero-inner { grid-template-columns: 1fr; }
  .newsletter-form-card  { padding: 20px 16px; }
}

@media (max-width: 480px) {
  :root { --ticker-h: 37px; --header-h: 52px; }
  .btn       { padding: 11px 18px; font-size: 0.82rem; }
  .btn-large { padding: 13px 22px; font-size: 0.88rem; }
  .stat-num  { font-size: clamp(1.5rem, 8vw, 2rem); }
  .footer-brand, .footer-nav-col, .footer-contact-col { padding: 0; }

  /* Empêcher le zoom sur les inputs iOS */
  input, select, textarea { font-size: 16px !important; }
}

/* Fix Safari iOS : 100vh inclut la barre d'adresse */
@supports (height: 100dvh) {
  .primary-nav {
    max-height: calc(100dvh - var(--ticker-h) - var(--header-h));
  }
}

/* ═══════════════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════════════ */
@media print {
  body { background: white !important; color: black !important; }
  .ticker, .site-header, .site-footer, .nav-toggle, .scroll-top-btn { display: none !important; }
  .article-content { color: black !important; }
}

/* ═══════════════════════════════════════════════════
   SEARCH DRAWER
   ═══════════════════════════════════════════════════ */
.search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid rgba(245,236,217,0.18);
  color: rgba(245,236,217,0.65);
  cursor: pointer;
  margin-right: 8px;
  transition: color var(--t), border-color var(--t), background var(--t);
  flex-shrink: 0;
}
.search-toggle:hover,
.search-toggle[aria-expanded="true"] {
  background: rgba(245,236,217,0.08);
  border-color: var(--terracotta);
  color: var(--cream);
}
.search-drawer {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(13,20,33,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--terracotta);
  padding: 0 clamp(16px,5vw,48px);
  height: 0;
  overflow: hidden;
  z-index: 500;
  transition: height 0.3s cubic-bezier(0.4,0,0.2,1);
}
.search-drawer.is-open { height: 80px; }
.search-drawer .search-form {
  display: flex;
  align-items: center;
  height: 80px;
  gap: 0;
  max-width: 1180px;
  margin: 0 auto;
}
.search-drawer .search-field {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(245,236,217,0.2);
  color: #f5ecd9;
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 500;
  padding: 8px 16px 8px 0;
  outline: none;
}
.search-drawer .search-field::placeholder { color: rgba(245,236,217,0.3); }
.search-drawer .search-submit {
  background: none;
  border: none;
  color: var(--terracotta);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
}

/* ═══════════════════════════════════════════════════
   SECTION HIGHLIGHTS (Ouvrage + Artcade)
   ═══════════════════════════════════════════════════ */
.section-highlights {
  padding: clamp(72px,10vw,120px) 0;
  background: var(--ink);
}
.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px,4vw,48px);
}
.highlight-card {
  display: flex;
  flex-direction: column;
  background: var(--ink-soft);
  border: 1px solid rgba(245,236,217,0.08);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.highlight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196,78,58,0.45);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.highlight-card-img {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.highlight-card--livre .highlight-card-img { aspect-ratio: 3/4; max-height: 420px; }
.highlight-card--artcade .highlight-card-img { aspect-ratio: 16/9; }
.highlight-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.highlight-card:hover .highlight-card-img img { transform: scale(1.05); }
.highlight-card-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,20,33,0.85) 0%, rgba(13,20,33,0.1) 60%);
}
.highlight-card-live-badge {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(13,20,33,0.85);
  border: 1px solid var(--terracotta);
  color: #f5ecd9;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 12px;
}
.highlight-card-body {
  padding: 28px 28px 24px;
  display: flex; flex-direction: column; gap: 10px; flex: 1;
}
.highlight-card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.highlight-new-badge {
  background: var(--gold); color: var(--ink);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 2px 9px;
}
.highlight-card-title {
  font-size: clamp(1.5rem,3vw,2.2rem);
  line-height: 1.05; letter-spacing: -0.02em; color: #f5ecd9;
}
.highlight-card-title em { color: var(--terracotta); font-style: italic; }
.highlight-card-desc {
  font-size: 0.9rem; color: rgba(245,236,217,0.65);
  line-height: 1.65; flex: 1;
}
.highlight-card-actions {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; margin-top: 8px;
}
.highlight-card-secondary {
  font-size: 0.72rem; color: rgba(245,236,217,0.4);
  font-weight: 500; letter-spacing: 0.04em;
}
.highlight-card .btn { pointer-events: none; }
@media (max-width: 768px) { .highlights-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════
   OEUVRES FEATURED CARDS (MNEMOSYNE / IF CASABLANCA)
   ═══════════════════════════════════════════════════ */
.oeuvre-featured-card {
  background: var(--ink-soft);
  border: 1px solid rgba(245,236,217,0.08);
  border-left: 4px solid var(--terracotta);
  margin-bottom: clamp(20px,4vw,40px);
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.oeuvre-featured-card--confirmed { border-left-color: var(--gold-bright); }
.oeuvre-featured-card:hover { box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.oeuvre-featured-badge {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: var(--ink-mid);
  border-bottom: 1px solid rgba(245,236,217,0.06);
  flex-wrap: wrap;
}
.oeuvre-featured-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  align-items: stretch;
}
.oeuvre-featured-text { padding: 36px 40px; }
.oeuvre-featured-eyebrow {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(245,236,217,0.4); margin-bottom: 12px;
}
.oeuvre-featured-title {
  font-size: clamp(1.8rem,3.5vw,2.8rem);
  line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 16px; color: #f5ecd9;
}
.oeuvre-featured-title em { color: var(--terracotta); font-style: italic; }
.oeuvre-featured-desc {
  font-size: 0.95rem; color: rgba(245,236,217,0.75);
  line-height: 1.75; margin-bottom: 24px; max-width: 58ch;
}
.oeuvre-featured-specs {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px;
}
.spec-item { display: flex; gap: 12px; font-size: 0.82rem; }
.spec-label {
  color: rgba(245,236,217,0.35); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  min-width: 82px; flex-shrink: 0;
}
.spec-value { color: #f5ecd9; font-weight: 500; }
.oeuvre-featured-visual {
  background: var(--ink-mid);
  border-left: 1px solid rgba(245,236,217,0.06);
  display: flex; align-items: center; justify-content: center;
  min-height: 260px;
}
.oeuvre-visual-placeholder {
  position: relative; width: 200px; height: 200px;
  display: flex; align-items: flex-end; justify-content: center;
}
.oeuvre-visual-placeholder--gold svg rect { stroke: var(--gold); }
.oeuvre-visual-grid { position: absolute; inset: 0; }
.oeuvre-visual-label {
  position: relative; z-index: 1;
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(245,236,217,0.3); text-align: center;
}
@media (max-width: 768px) {
  .oeuvre-featured-inner { grid-template-columns: 1fr; }
  .oeuvre-featured-visual { display: none; }
  .oeuvre-featured-text { padding: 24px 20px; }
  .oeuvre-featured-card { border-left-width: 2px; }
}

/* ═══════════════════════════════════════════════════
   RTL - PAGE ARABE
   ═══════════════════════════════════════════════════ */
[dir="rtl"],
.page-lang-ar {
  direction: rtl;
}
.page-lang-ar body,
.page-lang-ar p,
.page-lang-ar li {
  font-family: "Noto Naskh Arabic", "Arial", var(--sans);
}
.page-lang-ar .section-head { flex-direction: row-reverse; justify-content: flex-start; }
.page-lang-ar .cta-row { flex-direction: row-reverse; justify-content: center; }
.page-lang-ar .about-grid { direction: rtl; }
.page-lang-ar .value-card { text-align: right; }
.page-lang-ar .hero-stats { direction: rtl; }
.page-lang-ar .stat-item { text-align: center; }
.page-lang-ar .section-kicker { direction: rtl; }
.page-lang-ar .nav-list { direction: ltr; }
.page-lang-ar .footer-inner { direction: rtl; }
.page-lang-ar .project-meta { flex-direction: row-reverse; }
.page-lang-ar .projects-grid article { text-align: right; }
.page-lang-ar h1, .page-lang-ar h2, .page-lang-ar h3 { text-align: right; }
.page-lang-ar .hero-lede { text-align: right; }

/* ═══════════════════════════════════════════════════
   LANG SWITCHER — pages actives
   ═══════════════════════════════════════════════════ */
.page-lang-en .lang-btn[data-lang="en"],
.page-lang-ar .lang-btn[data-lang="ar"] {
  color: var(--terracotta) !important;
  background: rgba(245,236,217,0.06) !important;
}
.page-lang-en .lang-btn[data-lang="fr"],
.page-lang-ar .lang-btn[data-lang="fr"] {
  color: rgba(245,236,217,0.45) !important;
}
