
/* Verrou ciblé pour préserver le Sticky Header */
main, footer {
  overflow-x: hidden;
  width: 100%;
}


/* Verrou de sécurité mobile (empêche l'écran de s'élargir et le menu de disparaître) */
html, body {
  overflow-x: hidden;
  
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

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

:root {
  --bg: #08111d;
  --bg-soft: #0b1523;
  --panel: #0f1a2b;
  --border: #24364d;
  --text: #f1f5f9;
  --text-soft: #d8e1ea;
  --muted: #8fa5bd;
  --accent: #335c8a;
  --whatsapp: #3e7e55; /* Vert beaucoup plus sourd et élégant */
}

body {
  margin: 0;
  padding-top: 160px; /* Espace pour promo bar (40px) + header (~120px) */
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

@media (max-width: 900px) {
  body {
    padding-top: 140px; /* Plus petit sur mobile */
  }
}

.feature-book-grid {
  display: block;
}

.feature-cover {
  width: 220px;
  max-width: 100%;
  margin-bottom: 20px;
}

.feature-content {
  width: 100%;
  position: relative;
}

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
  border-bottom: 1px solid var(--border);
}

.media-rich-wrapper {
  animation: slideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.alt-section {
  background: var(--bg-soft);
}

.site-header {
  position: fixed;
  top: 40px; /* Juste sous la promo bar */
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 17, 29, 0.98);
  backdrop-filter: blur(15px);
  border-bottom: 2px solid rgba(204, 164, 110, 0.3);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-promo-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(90deg, #cca46e 0%, #e5c99e 100%);
  color: #0a192f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 2000;
  text-decoration: none;
  transition: background 0.3s ease;
}

.sticky-promo-bar:hover {
  background: #e5c99e;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center; /* Centré pour la version actuelle */
  margin-top: 3rem;
}

.btn-order-direct {
  background: linear-gradient(135deg, #cca46e 0%, #a8844d 100%);
  color: #0a192f !important;
  font-weight: 700;
  padding: 18px 45px;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(204, 164, 110, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-order-direct:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(204, 164, 110, 0.4);
}

.btn-discover-story {
  background: transparent;
  border: 1px solid rgba(204, 164, 110, 0.5);
  color: #cca46e !important;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-discover-story:hover {
  background: rgba(204, 164, 110, 0.1);
  border-color: #cca46e;
}

@media (min-width: 1024px) {
  .hero-grid-split .hero-side-content .hero-cta-group {
    align-items: center; /* S'adapte au layout à droite */
  }
}

.site-header.scrolled {
  background: rgba(6, 12, 21, 0.99);
  border-bottom-color: rgba(204, 164, 110, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 0;
  transition: padding 0.4s ease;
}

.site-header.scrolled .header-inner {
  padding: 10px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.brand {
  flex: 0 0 auto;
  min-width: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 24px;
  text-decoration: none;
  color: inherit;
  transition: gap 0.4s ease;
}

.site-header.scrolled .brand-link {
  gap: 12px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 25% 35%;
  border: 2px solid #cca46e;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.4s ease;
}

.site-header.scrolled .brand-photo {
  width: 54px;
  height: 54px;
  border-width: 2px;
}

.brand-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(204, 164, 110, 0.4);
}

.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #ffffff;
  transition: font-size 0.4s ease;
}

.site-header.scrolled .brand-name {
  font-size: 1.4rem;
}

.brand-tagline {
  margin-top: 5px;
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #cca46e;
  opacity: 0.9;
  transition: all 0.4s ease;
}

.site-header.scrolled .brand-tagline {
  font-size: 0.65rem;
  margin-top: 0;
}

.main-nav {
  display: flex;
  gap: 15px 25px;
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-left: auto;
  flex: 1 1 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.main-nav a {
  white-space: nowrap;
  transition: opacity 0.2s ease, color 0.2s ease, text-shadow 0.2s ease;
}

/* Primary Pivots */
.main-nav .menu-romans > a,
.main-nav [href="#fresque"], /* Assuming href="#fresque" is the identifier */
.main-nav [href="index.html#fresque"] {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff; /* Primary color */
}

.main-nav a:hover,
.footer-links a:hover {
  color: white;
}

.main-nav > a, .menu-romans > a {
  cursor: pointer;
}

.main-nav a:hover,
.main-nav a.active {
  color: #cca46e;
  text-shadow: 0 0 10px rgba(204, 164, 110, 0.4);
  opacity: 1;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 15px;
  font-size: 0.9rem;
  margin-left: 20px;
  color: #ffffff;
  font-weight: 600;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 20px;
  letter-spacing: 0.05em;
}

.lang-switcher a {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  color: #ffffff !important;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.lang-flag {
  display: inline-block;
  width: 20px;
  height: 14px;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  filter: grayscale(0.4);
  transition: all 0.3s ease;
}

.flag-fr {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzIDIiIHdpZHRoPSIzMCIgaGVpZ2h0PSIyMCI+PHJlY3Qgd2lkdGg9IjEiIGhlaWdodD0iMiIgZmlsbD0iIzAwMjM5NSIvPjxyZWN0IHg9IjEiIHdpZHRoPSIxIiBoZWlnaHQ9IjIiIGZpbGw9IiNmZmYiLz48cmVjdCB4PSIyIiB3aWR0aD0iMSIgaGVpZ2h0PSIyIiBmaWxsPSIjZWQyOTM5Ii8+PC9zdmc+');
}

.flag-en {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2MCAzMCIgd2lkdGg9IjYwIiBoZWlnaHQ9IjMwIj48cGF0aCBkPSJNMCAwdjMwaDYwVjB6IiBmaWxsPSIjMDEyMTY5Ii8+PHBhdGggZD0iTTAgMGw2MCAzME02MCAwTDAgMzAiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSI2Ii8+PHBhdGggZD0iTTAgMGw2MCAzME02MCAwTDAgMzAiIHN0cm9rZT0iI0M4MTAyRSIgc3Ryb2tlLXdpZHRoPSI0Ii8+PHBhdGggZD0iTTMwIDB2MzBNMCAxNWg2MCIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjEwIi8+PHBhdGggZD0iTTMwIDB2MzBNMCAxNWg2MCIgc3Ryb2tlPSIjQzgxMTJFIiBzdHJva2Utd2lkdGg9IjYiLz48L3N2Zz4=');
}

.flag-es {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzIDIiPjxyZWN0IHdpZHRoPSIzIiBoZWlnaHQ9IjIiIGZpbGw9IiNjNjBiMWUiLz48cmVjdCB3aWR0aD0iMyIgaGVpZ2h0PSIxIiB5PSIwLjUiIGZpbGw9IiNmZmM0MDAiLz48L3N2Zz4=');
}

.flag-ar {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA5MDAgNjAwIj48cmVjdCB3aWR0aD0iOTAwIiBoZWlnaHQ9IjYwMCIgZmlsbD0iI2MxMjczZCIvPjxwYXRoIGQ9Ik00NTAgMTgwbDM3LjEgMTE0LjJoMTIwLjFsLTk3LjEgNzAuNSAzNy4xIDExNC4yLTk3LjEtNzAuNS05Ny4xIDcwLjUgMzcuMS0xMTQuMi05Ny4xLTcwLjVoMTIwLjF6IiBmaWxsPSJub25lIiBzdHJva2U9IiMwMDYyMzMiIHN0cm9rZS13aWR0aD0iMTUiLz48L3N2Zz4=');
}

.lang-switcher a:hover .lang-flag,
.lang-switcher a.active .lang-flag {
  filter: grayscale(0);
  box-shadow: 0 0 8px rgba(255,255,255,0.3);
}

.lang-switcher a:hover,
.lang-switcher a.active {
  color: #cca46e !important;
  opacity: 1;
  text-shadow: 0 0 10px rgba(204, 164, 110, 0.4);
}

/* Aeration du sous-menu L'Oeuvre */
.submenu-padded {
  padding: 20px !important;
}

.submenu-group-clean a {
  padding: 12px 20px !important;
  font-size: 1rem !important;
  margin-bottom: 2px;
}

.hero-grid,
.content-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.hero-grid {
  margin-top: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 700;
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.01em;
}

.hero h1 {
  max-width: 700px;
  line-height: 1.22;
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  font-weight: 600;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
}

h3 {
  font-size: 1.7rem;
  font-weight: 700;
}

.intro,
.prose p,
.card p,
.update-card p,
.feature-box p,
.newsletter-copy,
.contact-value,
.section-note {
  color: var(--text-soft);
}

.intro {
  max-width: 720px;
  font-size: 1.18rem;
  margin-top: 18px;
}

.small-intro {
  max-width: 700px;
}

/* Utilitaires de structure */
.d-block { display: block !important; }
.d-none { display: none !important; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.pos-rel { position: relative; }
.pos-abs { position: absolute; }
.inset-0 { inset: 0; }
.overflow-hidden { overflow: hidden; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.flex-wrap { flex-wrap: wrap; }
.flex-column { flex-direction: column; }
.d-inline-block { display: inline-block; }
.d-inline-flex { display: inline-flex; }
.gap-8 { gap: 8px; }
.gap-10 { gap: 10px; }
.gap-12 { gap: 12px; }
.gap-15 { gap: 15px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.gap-28 { gap: 28px; }
.gap-30 { gap: 30px; }

/* Grid */
.grid-cols-2 { grid-template-columns: 1fr 1fr; }
.grid-cols-auto-fit { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-cols-auto-fill-300 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid-cols-auto-fill-320 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

/* Espacements */
.m-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 4px; }
.mt-10 { margin-top: 10px; }
.mt-15 { margin-top: 15px; }
.mt-16 { margin-top: 16px; }
.mt-18 { margin-top: 18px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-5 { margin-bottom: 5px; }
.mb-8 { margin-bottom: 8px; }
.mb-10 { margin-bottom: 10px; }
.mb-12 { margin-bottom: 12px; }
.mb-14 { margin-bottom: 14px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-25 { margin-bottom: 25px; }
.mb-30 { margin-bottom: 30px; }
.mb-35 { margin-bottom: 35px; }
.mb-36 { margin-bottom: 36px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.mb-55 { margin-bottom: 55px; }
.mb-60 { margin-bottom: 60px; }
.mb-80 { margin-bottom: 80px; }
.mb-8-0 { margin: 8px 0; }
.my-45-35 { margin-top: 45px; margin-bottom: 35px; }
.py-50 { padding: 50px 0 !important; }

.mr-24 { margin-right: 24px; }

.p-5 { padding: 5px; }
.p-20 { padding: 20px; }
.p-32 { padding: 32px; }
.p-35 { padding: 35px; }
.p-36 { padding: 36px; }
.pb-20 { padding-bottom: 20px; }
.pb-12 { padding-bottom: 12px; }
.pb-5 { padding-bottom: 5px; }
.pt-5 { padding-top: 5px; }
.pt-60 { padding-top: 60px; }
.pl-15 { padding-left: 15px; }
.pl-25 { padding-left: 25px; }
.p-12 { padding: 12px; }
.p-30 { padding: 30px; }
.p-8-15 { padding: 8px 15px; }
.p-5-0 { padding: 5px 0; }
.p-10-18 { padding: 10px 18px; }

/* Typographie & Couleurs */
.text-soft { color: var(--text-soft); }
.text-muted { color: var(--muted); }
.text-accent { color: var(--accent); }
.text-gold { color: #cca46e; }
.font-14 { font-size: 1.4rem; }
.font-18 { font-size: 1.8rem; }
.font-125 { font-size: 1.25rem; }
.font-150 { font-size: 1.5rem; }
.font-115 { font-size: 1.15rem; }
.font-105 { font-size: 1.05rem; }
.font-100 { font-size: 1rem; }
.font-95 { font-size: 0.95rem; }
.font-90 { font-size: 0.9rem; }
.font-85 { font-size: 0.85rem; }
.font-82 { font-size: 0.82rem; }
.font-80 { font-size: 0.8rem; }
.font-70 { font-size: 0.7rem; }
.font-68 { font-size: 0.68rem; }
.font-20 { font-size: 2rem; }
.font-hero { font-size: clamp(2.5rem, 4.5vw, 3.5rem); }
.font-hero-small { font-size: clamp(2.2rem, 3.5vw, 3rem); }
.family-cormorant { font-family: 'Cormorant Garamond', serif; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.f-italic { font-style: italic; }
.text-uppercase { text-transform: uppercase; }
.ls-1 { letter-spacing: 1px; }
.line-height-18 { line-height: 1.8; }
.line-height-16 { line-height: 1.6; }
.line-height-14 { line-height: 1.4; }
.line-height-12 { line-height: 1.2; }
.line-height-11 { line-height: 1.1; }
.line-height-2 { line-height: 2; }

/* Bordures & Arrondis */
.no-border { border: none !important; }
.border-accent { border: 1px solid var(--accent); }
.border-border { border: 1px solid var(--border); }
.border-white-08 { border: 1px solid rgba(255,255,255,0.08); }
.border-white-05 { border: 1px solid rgba(255,255,255,0.05); }
.border-left-3 { border-left: 3px solid var(--accent); }
.border-left-3-gold { border-left: 3px solid #cca46e; }
.border-left-4-gold { border-left: 4px solid #cca46e; }
.border-top-accent { border-top: 4px solid var(--accent); }
.border-top-border { border-top: 1px solid var(--border); }
.border-bottom-white-05 { border-bottom: 1px solid rgba(255,255,255,0.05); }
.border-bottom-2-gold { border-bottom: 2px solid #cca46e; }
.border-gold-dash { border: 1px dashed rgba(204, 164, 110, 0.3); }
.radius-8 { border-radius: 8px; }
.radius-10 { border-radius: 10px; }
.radius-12 { border-radius: 12px; }
.radius-16 { border-radius: 16px; }
.radius-18 { border-radius: 18px; }
.radius-20 { border-radius: 20px; }
.underline { text-decoration: underline; }
.no-underline { text-decoration: none !important; }
.clear-left { clear: left; }
.clear-both { clear: both; }
.overflow-x-auto { overflow-x: auto; }
.max-w-700 { max-width: 700px; }
.max-w-600 { max-width: 600px; }
.no-list-style { list-style: none; }
.p-0 { padding: 0 !important; }
.m-0 { margin: 0 !important; }
.radius-50 { border-radius: 50%; }
.w-60 { width: 60px; }
.h-60 { height: 60px; }

/* Gradients et Backgrounds */
.bg-dark-grad { background: linear-gradient(135deg, rgba(20,32,48,0.9) 0%, rgba(13,21,35,0.97) 100%); }
.bg-gold-soft { background: rgba(204, 164, 110, 0.05); }
.bg-white-03 { background: rgba(255,255,255,0.03); }
.bg-black-25 { background: rgba(0,0,0,0.25); }
.bg-red { background: #ff0000 !important; }
.bg-panel { background: var(--panel); }
.bg-red { background: #ff0000; }
.no-bg { background: transparent !important; }
.text-white { color: #ffffff !important; }
.float-left { float: left; }
.text-default { color: var(--text) !important; }
.bg-gold-light { background: rgba(204, 164, 110, 0.1); }
.bg-nuit-etoilee { background-image: url('nuit-etoilee-bg.png'); }
.bg-paris-etoile { background-image: url('paris-etoile-bg.png'); }
.bg-tempete-mer { background-image: url('tempete-mer-bg.png'); }
.img-fluid-half { width: 48%; max-width: 280px; }
.shadow-large { box-shadow: 0 8px 20px rgba(0,0,0,0.4); }
.shadow-ultra { box-shadow: 0 12px 30px rgba(0,0,0,0.35); }
.td-p12-border { padding: 12px; border-bottom: 1px solid rgba(255,255,255,0.05) !important; }
.td-right { text-align: right; }

/* Play Button */
.play-btn-circle {
  width: 60px;
  height: 60px;
  background: rgba(255,0,0,0.88);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}

.feature-box,
.card,
.contact-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
}

.update-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.update-card-image-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.update-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.update-card:hover .update-card-img {
  transform: scale(1.03);
}

.update-card-content {
  padding: 26px 28px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.featured-book .feature-kicker {
  margin: 0 0 16px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.feature-book-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: start;
}

.feature-cover {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  display: block;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.feature-content h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  line-height: 1.08;
  margin-bottom: 10px;
}

.feature-meta {
  margin: 0 0 14px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.feature-button {
  display: inline-block;
  margin-top: 6px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
}

.feature-button:hover {
  opacity: 0.9;
}

/* CTA Premium - Shimmer & Pulse Effect */
.cta-premium {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 14px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a2a44, #0f1a2b) !important;
  color: #ffffff !important;
  border: 1px solid #cca46e !important;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: premium-pulse 2s infinite alternate;
}

.cta-premium::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(45deg);
  animation: premium-shimmer 3s infinite;
}

@keyframes premium-shimmer {
  0% { transform: translateX(-150%) rotate(45deg); }
  100% { transform: translateX(150%) rotate(45deg); }
}

@keyframes premium-pulse {
  from { box-shadow: 0 0 5px rgba(204, 164, 110, 0.2); border-color: rgba(204, 164, 110, 0.4); }
  to { box-shadow: 0 0 15px rgba(204, 164, 110, 0.5); border-color: #cca46e; }
}

.accent-line {
  width: 88px;
  height: 4px;
  border-radius: 999px;
  background: rgba(51, 92, 138, 0.4);
  margin: 18px 0;
}

.placeholder-box {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
  background: rgba(0, 0, 0, 0.14);
  color: var(--text-soft);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 36px;
}

.section-note {
  max-width: 520px;
}

.prose p+p {
  margin-top: 22px;
}

.cards-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-meta {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card p,
.update-card p {
  margin-top: 14px;
}

.updates-list {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.newsletter-box {
  text-align: center;
}

.newsletter-copy {
  max-width: 760px;
  margin: 20px auto 0;
  font-size: 1.08rem;
}

.newsletter-form {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

.newsletter-form input {
  width: min(560px, 100%);
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.12);
  color: var(--text);
  padding: 16px 18px;
  font-size: 1rem;
}

.newsletter-form button {
  border: 0;
  border-radius: 18px;
  background: var(--accent);
  color: white;
  padding: 16px 24px;
  font-size: 1rem;
  cursor: pointer;
}

.contact-item+.contact-item {
  margin-top: 22px;
}

.contact-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.contact-value {
  font-size: 1.08rem;
}

.site-footer {
  background: rgba(0, 0, 0, 0.16);
}

.footer-inner {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 18px;
  padding-right: 60px; /* Évite de masquer le lien Contact derrière le bouton retour en haut */
}

@media (max-width: 900px) {
  .section-note {
    display: none;
  }
.hero-grid,
  .content-grid,
  .cards-grid,
  .section-head,
  .feature-book-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-inner,
  .newsletter-form {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-form {
    align-items: stretch;
  }

  .brand {
    padding-right: 0;
    border-right: 0;
  }

  .container {
    width: min(100% - 32px, 1180px);
  }

  .section {
    padding: 72px 0;
  }

  .feature-cover {
    max-width: 240px;
  }
}

.feature-book-grid {
  display: block !important;
}

.feature-book-grid .feature-cover {
  display: block;
  width: 220px;
  max-width: 100%;
  margin: 0 0 20px 0;
}

.fresque-covers {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 18px 0 22px;
}

.fresque-covers a {
  display: inline-block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fresque-covers a:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.fresque-covers img {
  width: 72px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease;
}

.fresque-covers img:hover {
  transform: translateY(-4px);
}

.feature-content h2 a,
.feature-content h3 a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.feature-content a:hover {
  color: #4da3ff;
}

.prose {
  text-align: justify;
  line-height: 1.8;
  font-size: 1.05rem;
}

.books-timeline {
  position: relative;
  padding-left: 40px;
}

.books-timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.15);
}

.book-item {
  position: relative;
  margin-bottom: 40px;
}

.book-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4da3ff;
}

.feature-content .fresque-step,
.feature-content .fresque-step.fresque-item {
  position: relative;
  padding-left: 36px;
  margin-bottom: 32px;
}

.feature-content .fresque-step::before,
.feature-content .fresque-step.fresque-item::before {
  content: "";
  display: block;
  position: absolute;
  left: 12px;
  top: 22px;
  bottom: -30px;
  width: 2px;
  background: rgba(255, 255, 255, 0.18);
}

.feature-content .fresque-step:last-of-type::before,
.feature-content .fresque-step.fresque-item:last-of-type::before {
  display: none;
}

.feature-content .fresque-step::after,
.feature-content .fresque-step.fresque-item::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #4da3ff;
  box-shadow: 0 0 0 4px rgba(77, 163, 255, 0.18);
}

.feature-content .fresque-step:first-of-type::after,
.feature-content .fresque-step.fresque-item:first-of-type::after {
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25);
}

/* ===== RESTRUCTURATION : INTRO + A PROPOS EN COLONNE GAUCHE ===== */

.intro-apropos-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: stretch;
  margin-top: 0;
}

.intro-apropos-left {
  display: grid;
  gap: 28px;
  align-content: start;
}

.intro-block,
.apropos-block {
  background: transparent;
}

.apropos-block {
  display: grid;
  gap: 20px;
}

.apropos-block .prose {
  max-width: none;
}

@media (max-width: 900px) {
  .intro-apropos-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== FORMULAIRE CONTACT ===== */

.contact-form {
  margin-top: 26px;
  display: grid;
  gap: 16px;
}

.contact-form-group {
  display: grid;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.contact-form-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.required {
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.12);
  color: var(--text);
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-options {
  margin-top: 4px;
  display: grid;
  gap: 10px;
}

.check-option {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
}

.check-option input {
  width: auto;
  margin: 0;
}

.contact-submit {
  justify-self: start;
  border: 0;
  border-radius: 18px;
  background: var(--accent);
  color: white;
  padding: 14px 22px;
  font-size: 1rem;
  cursor: pointer;
}

.contact-submit:hover {
  opacity: 0.9;
}

/* ===== AJOUTS SITE : FRESQUE ROMANESQUE ===== */

.roman-cover {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto 18px auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.fresque-head {
  align-items: start;
}

.fresque-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.fresque-copy,
.theme-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
}

.fresque-copy p {
  color: var(--text-soft);
}

.fresque-copy p+p {
  margin-top: 20px;
}

.fresque-themes {
  display: grid;
  gap: 18px;
}

.theme-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.theme-card p {
  color: var(--text-soft);
  margin: 0;
}

.theme-label {
  margin: 0 0 10px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

@media (max-width: 900px) {
  .fresque-layout {
    grid-template-columns: 1fr;
  }
}

/* ===== AJUSTEMENTS FRESQUE ROMANS COLONNES ===== */

.fresque-layout-romans {
  grid-template-columns: 0.95fr 1.05fr;
}

.fresque-left-col,
.fresque-right-col {
  display: grid;
  gap: 22px;
  align-items: start;
}

.romans-side-head {
  align-items: start;
  margin-bottom: 0;
}

.romans-side-list {
  display: grid;
  gap: 24px;
}

.roman-card-side p+p {
  margin-top: 14px;
}

@media (max-width: 900px) {
  .fresque-layout-romans {
    grid-template-columns: 1fr;
  }
}

/* ===== CARROUSEL DES OUVRAGES ANTERIEURS ===== */

.romans-past-head {
  margin-top: 8px;
}

.past-works-block {
  display: grid;
  gap: 18px;
}

.past-works-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 280px);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

.past-works-carousel::-webkit-scrollbar {
  height: 10px;
}

.past-works-carousel::-webkit-scrollbar-thumb {
  background: rgba(143, 165, 189, 0.35);
  border-radius: 999px;
}

.past-work-card {
  scroll-snap-align: start;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 22px;
}

.past-work-cover {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
  margin: 0 auto 16px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.past-work-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.past-work-card p {
  color: var(--text-soft);
}

.past-work-card p+p {
  margin-top: 12px;
}

/* ===== BIOGRAPHIE ===== */
.portrait-img-float {
  float: left;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 12px 32px 20px 0;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.portrait-img-float:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 28px rgba(201, 162, 91, 0.25);
}

.biographie-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 30px;
}

.biographie-box p+p {
  margin-top: 18px;
}

.past-works-kicker {
  margin: 0 0 12px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

/* ===== AJUSTEMENT TITRE A PROPOS ===== */
.apropos-title-small {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.15;
}

.about-divider {
  width: 60px;
  height: 3px;
  background: #cca46e;
  margin: 20px 0;
  border-radius: 2px;
}

.poem-container {
  margin-top: 35px;
  max-width: 500px;
}

.poem-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ===== PRESENTATION DETAILLEE DE LA FRESQUE ===== */

.fresque-presentation-card {
  position: relative;
  background: linear-gradient(135deg, rgba(20, 32, 48, 0.85) 0%, rgba(13, 21, 33, 0.95) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #eff3f8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 2px solid rgba(220, 190, 140, 0.6);
  /* Touche dorée discrète */
  border-bottom: 2px solid rgba(220, 190, 140, 0.6);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

/* Lueur subtile en arrière-plan */
.fresque-presentation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at top left, rgba(220, 190, 140, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.fresque-presentation-kicker {
  position: relative;
  margin: 0 0 12px;
  color: #cca46e;
  /* Doré/Cuivré clair */
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 500;
}

.fresque-presentation-card h3 {
  position: relative;
  margin-bottom: 24px;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: #ffffff;
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.01em;
}

.fresque-presentation-card p {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-size: 1.05rem;
}

.fresque-presentation-card p+p {
  margin-top: 20px;
}

/* ===== MENU ET SOUS-MENUS ===== */

.menu-romans {
  position: relative;
}

.menu-romans > a {
  cursor: pointer;
}

.menu-romans:hover .submenu,
.menu-romans.is-open .submenu {
  display: flex;
}

/* ===== TIERS 3 : ENCADRÉS INFORMATIFS / NOTES DE LECTURE ===== */

.hero-opening-photo {
  margin: 24px 0 8px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.hero-opening-photo img {
  display: block;
  width: 100%;
  height: clamp(260px, 34vw, 430px);
  object-fit: cover;
  object-position: center 42%;
}

/* ===== TIERS 2 : BLOCS DE CONTENU SECONDAIRES (Biographie, Thèmes, Mises à jour) ===== */

.biographie-box,
.theme-card,
.update-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.update-card {
  padding: 0; /* Override car elle a une image d'entête */
}

/* ===== SECTION À PARAÎTRE ===== */
.upcoming-card {
  background: linear-gradient(135deg, rgba(20, 32, 48, 0.9) 0%, rgba(13, 21, 35, 0.97) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid #cca46e;
  border-radius: 18px;
  padding: 32px 36px;
  margin-bottom: 30px;
  overflow: hidden;
}

.upcoming-meta {
  color: #cca46e;
  margin-bottom: 14px;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.upcoming-title {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--text);
}

.upcoming-prose {
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
}

.upcoming-cover {
  float: left;
  width: 40%;
  max-width: 230px;
  margin: 4px 28px 20px 0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.cta-container {
  margin-top: 25px;
}

.biographie-box:hover,
.theme-card:hover,
.update-card:hover {
  border-color: rgba(220, 190, 140, 0.25);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ===== TEMOIGNAGES : TANT QUE JE PEUX TE DIRE JE T'AIME ===== */

.testimonials-block {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.testimonials-kicker {
  margin: 0 0 2px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.testimonial-card {
  margin: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px 18px 16px;
}

.testimonial-card p {
  margin: 0;
  color: var(--text-soft);
  font-style: italic;
}

/* ===== SOUS-MENU COMPLET DES ROMANS (MEGA-MENU) ===== */

.submenu {
  position: absolute;
  top: 100%;
  left: auto;
  right: 0;
  display: none;
  flex-direction: column;
  min-width: 260px; /* Largeur standard pour une liste verticale */
  padding: 10px 0;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  z-index: 100;
  border-radius: 10px;
}

.submenu-group {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Modificateurs pour supprimer les styles inline */
.submenu-compact {
  min-width: unset !important;
}

.submenu-padded {
  min-width: unset !important;
  padding: 15px 25px !important;
}

.submenu-group-clean {
  width: auto !important;
  margin-bottom: 0 !important;
}

.submenu-title {
  padding: 4px 20px;
  color: #cca46e; /* Titres de romans dorés */
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.submenu-group a {
  padding: 10px 20px;
  font-size: 0.95rem;
  color: var(--text-soft);
  transition: all 0.2s ease;
}

.submenu-group a:hover,
.submenu-group a.active {
  color: #cca46e;
  background: rgba(220, 190, 140, 0.12);
}

/* Version Mobile du menu */
@media (max-width: 900px) {
  .submenu {
    position: relative;
    min-width: 100%;
    padding: 0;
    box-shadow: none;
    border: none;
    background: transparent;
  }
  
  .submenu-group {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 0;
  }

  .submenu-group a {
    padding: 12px 10px;
  }
}

#tantque,
#etoiles,
#meandres,
#printemps,
#ombre,
#intouchables,
#tantque-lecture,
#etoiles-lecture,
#meandres-lecture,
#tantque-temoignages,
#apropos,
#romans,
#fresque,
#aparaitre {
  scroll-margin-top: 90px;
}

#etoiles-temoignages,
#meandres-temoignages {
  scroll-margin-top: 90px;
}

/* ==========================================================================
   XV. PONT YOUTUBE & SYNERGIE RÉSEAUX
   ========================================================================== */

.youtube-bridge-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 25px;
  margin: 30px 0;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.youtube-bridge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.youtube-icon-circle {
  width: 50px;
  height: 50px;
  background: #ff0000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.youtube-bridge-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.youtube-bridge-text {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 20px;
  line-height: 1.5;
}

.youtube-btn-subscribe {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff0000;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.youtube-btn-subscribe:hover {
  background: #cc0000;
  color: #fff;
}

.utm-ready-link {
  transition: opacity 0.2s;
}

.utm-ready-link:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .youtube-bridge-card {
    padding: 20px;
  }
}

/* ===== AUTEURS DES TEMOIGNAGES ===== */

.testimonial-author {
  margin-top: 12px;
  color: var(--muted);
  font-style: normal;
  font-size: 0.9rem;
}

/* ===== VIDEOS DES ROMANS ===== */

#tantque-video,
#etoiles-video {
  scroll-margin-top: 90px;
}

.video-block {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ===== MENU MOBILE ===== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative; /* Indispensable pour que z-index fonctionne */
  z-index: 100;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text);
  margin: 5px 0;
  transition: 0.3s ease;
  border-radius: 2px;
}

/* Mode actif (croix) */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: block;
  }

  .main-nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Empêche l'aplatissement vers le bas hérité du mode desktop */
    align-items: flex-start; /* Aligne le texte à gauche proprement */
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(8, 17, 29, 0.98);
    backdrop-filter: blur(15px);
    padding: 80px 30px 30px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 90;
    overflow-y: auto;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav a {
    font-size: 1.1rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    white-space: normal; /* CRUCIAL : Permet aux très longs titres de passer à la ligne */
    display: block;      /* Prend toute la largeur, évite le chevauchement */
    line-height: 1.4;
  }

  .main-nav a.active {
    color: #cca46e;
    font-weight: 700;
  }

  /* Ajustements pour le lang-switcher hors-menu */
  .header-inner {
    gap: 12px;
  }
  .lang-switcher {
    margin-left: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 10px;
    padding: 0 10px;
    font-size: 0.72rem;
    border-left: 1px solid rgba(204, 164, 110, 0.2);
    align-items: center;
    width: 105px;
    line-height: 1;
  }
  .lang-flag {
    width: 18px;
    height: 12px;
  }
}

/* ===== OVERLAY MENU MOBILE ===== */
/* IMPORTANT : sans ces styles, l'overlay bloque les clics et casse le menu */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 80; /* En dessous du nav (90) mais au-dessus du contenu */
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

/* Empêche le scroll du body quand le menu est ouvert */
body.menu-open {
  overflow: hidden;
}

/* ===== BOUTONS FLOTTANTS (Réseaux sociaux + Retour en haut) ===== */

.floating-actions {
  position: fixed;
  bottom: 15px;
  right: 5px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  z-index: 2000;
}

[dir="rtl"] .floating-actions {
  right: auto !important;
  left: 0 !important;
  align-items: flex-end !important;
}

.floating-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
}


.floating-btn {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Elegant Article Card (Text-focused) */
.featured-article-container {
  max-width: 900px;
  margin: 0 auto;
}

.article-card-featured {
  padding: 50px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(204, 164, 110, 0.2);
  border-radius: 15px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.article-card-featured::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid rgba(204, 164, 110, 0.05);
  pointer-events: none;
  border-radius: 10px;
}

.golden-quote {
  color: #cca46e; /* Doré */
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  line-height: 1.6;
  font-style: italic;
  margin: 30px 0;
  padding-left: 25px;
  border-left: 3px solid #cca46e;
  position: relative;
}

.article-content-full {
  text-align: left;
}

.article-meta {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #cca46e;
  margin-bottom: 20px;
  display: block;
}

.article-body-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

.floating-btn.back-to-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
}

.floating-btn.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Couleurs spécifiques par réseau */
.floating-btn[aria-label="WhatsApp"], .floating-btn[aria-label="واتساب"] { background-color: var(--whatsapp); }
.floating-btn[aria-label="Blog (Carnets)"],
.floating-btn[aria-label="Carnets & Réflexions"],
.floating-btn[aria-label="Notebooks & Reflections"],
.floating-btn[aria-label="Notebooks"],
.floating-btn[aria-label="Cuadernos"],
.floating-btn[aria-label="تأملات"] { background-color: #f57d00; }
.floating-btn[aria-label="Facebook"], .floating-btn[aria-label="فيسبوك"] { background-color: #1877f2; }
.floating-btn[aria-label="Instagram"], .floating-btn[aria-label="إنستغرام"] { background-color: #E4405F; }
.floating-btn[aria-label="YouTube"], .floating-btn[aria-label="يوتيوب"] { background-color: #ff0000; }
.floating-btn[aria-label="LinkedIn"], .floating-btn[aria-label="لينكد إن"] { background-color: #0a66c2; }

.btn-whatsapp {
  background-color: var(--whatsapp) !important;
  border-color: var(--whatsapp) !important;
  color: white !important;
}

/* Retour en haut reste sur la couleur d'accent du site */
.floating-btn.back-to-top {
  background-color: var(--accent);
}

/* ===== ENTRETIEN & CITATIONS ===== */

.intro-quote {
  margin: 35px 0 25px 0;
  padding: 24px 30px;
  background: rgba(220, 190, 140, 0.08);
  border-left: 4px solid #cca46e;
  border-radius: 0 12px 12px 0;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
}

.intro-quote p {
  margin: 0 0 12px 0;
}

.intro-quote footer {
  font-size: 0.9rem;
  font-style: normal;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.interview-block {
  margin-top: 45px;
  padding-top: 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.interview-intro {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin-bottom: 35px;
  font-style: italic;
}

.qa-pair {
  margin-bottom: 30px;
}

.qa-pair .question {
  font-size: 1.15rem;
  color: #cca46e;
  margin-bottom: 12px;
  line-height: 1.5;
}

.qa-pair .answer {
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.7;
  padding-left: 18px;
  border-left: 2px solid rgba(220, 190, 140, 0.2);
}
/* ===== LECTURES DE LECTEUR (TIERS 3) ===== */
.reader-note-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid rgba(220, 190, 140, 0.4);
  border-radius: 16px;
  padding: 30px 40px;
  margin-bottom: 50px;
  box-shadow: none;
  transition: all 0.3s ease;
}

/* --- Modal Commande (Entonnoir) --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 17, 29, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 3000;
  padding: 40px 15px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--panel);
  border: 5px solid #cca46e !important;
  box-shadow: 0 0 0 2px #cca46e, 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  width: min(500px, 95%);
  padding: 40px;
  position: relative;
  margin: auto;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-title {
  margin: 0 0 15px;
  font-size: 1.6rem;
  color: var(--text);
}

.modal-step-title {
  color: #cca46e;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 25px;
}

.order-options {
  display: none;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
}

.order-options.active {
  display: flex;
}

.order-form.hidden {
  display: none;
}

.modal-input-group {
  margin-bottom: 20px;
}

.modal-input {
  width: 100%;
  padding: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
}

.modal-btn {
  width: 100%;
  padding: 16px;
  background: #3498db;
  color: #fff;
  border: 1px solid #cca46e;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.modal-btn:hover {
  background: #2980b9;
}

.modal-btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

/* --- Bloc Newsletter Premium --- */
.newsletter-section {
  background: var(--bg-soft);
  padding: 80px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.newsletter-card {
  background: var(--panel);
  border: 2px solid #cca46e;
  border-radius: 30px;
  padding: 60px 40px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.newsletter-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #cca46e;
}

.newsletter-title {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--text);
}

.newsletter-desc {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 35px;
  line-height: 1.6;
}

.newsletter-form-inline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  max-width: 550px;
  margin: 20px auto 0;
}

@media (max-width: 600px) {
  .newsletter-form-inline {
    flex-direction: column;
  }
}

.newsletter-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.newsletter-btn {
  background: #3498db;
  color: #fff;
  border: 1px solid #cca46e;
  border-radius: 10px;
  padding: 16px 32px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: #2980b9;
  transform: translateY(-2px);
}
.reader-note-box:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  border-left-color: rgba(220, 190, 140, 0.6);
}

@media (max-width: 768px) {
  .reader-note-box {
    padding: 25px 20px;
  }
}

/* ===== PODCASTS & ENTRETIENS ===== */
.page-header-section { padding: 60px 0 30px; }
.intro-prose { color: var(--text-soft); }
.podcast-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; margin-top: 40px; }
.podcast-card { background: var(--panel); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.podcast-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); border-color: rgba(77, 163, 255, 0.4); }
.video-container { position: relative; width: 100%; padding-bottom: 56.25%; background: #000; overflow: hidden; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.podcast-content { padding: 24px; }
.podcast-content h3 { margin: 0 0 10px 0; font-size: 1.3rem; color: #eff3f8; }
.podcast-content p { margin: 0; color: var(--text-soft); font-size: 0.95rem; line-height: 1.6; }

/* ===== REVUE DE PRESSE ===== */
.press-section {
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.press-article-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 50px;
  margin-bottom: 50px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}

.press-article-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #cca46e, #edd1a9, #cca46e);
}

.press-article-header {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 35px;
  padding-bottom: 25px;
  text-align: left;
}

.press-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  color: #fff;
  text-transform: uppercase;
}

.press-meta {
  font-size: 0.9rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.press-title {
  font-size: 1.8rem;
  margin: 15px 0;
  color: #cca46e;
}

.press-body {
  column-count: 2;
  column-gap: 40px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
}

.press-body p {
  margin-bottom: 20px;
  text-align: justify;
}

.press-quote {
  font-style: italic;
  color: #cca46e;
  font-weight: 500;
}

@media (max-width: 900px) {
  .press-body {
    column-count: 1;
  }
  .press-article-card {
    padding: 30px 20px;
  }
}

/* --- Galerie intégrée --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.gallery-item {
  background: var(--panel);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-img-container {
  width: 100%;
  overflow: hidden;
}

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

.gallery-info {
  padding: 12px 15px;
  text-align: left;
  background: rgba(0,0,0,0.2);
}

.gallery-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  color: var(--text-soft);
}

/* --- Nettoyage Styles Inline --- */

/* Poème section À propos */
.poem-container {
  margin-top: 45px;
  text-align: center;
}

.poem-image {
  max-width: 450px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

/* Encadré Hicham */
.hicham-sidebar {
  margin-top: 40px;
  padding: 25px;
  background: rgba(204, 164, 110, 0.05);
  border-radius: 18px;
  border: 1px solid rgba(204, 164, 110, 0.15);
  text-align: center;
}

.hicham-img-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.hicham-avatar, 
.hicham-sidebar img,
.hicham-column img,
.hicham-dedication-card img {
  width: 100%;
  max-width: 200px; /* Slight increase for better visibility */
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  border: 1px solid rgba(204,164,110,0.2);
}

@media (max-width: 768px) {
  .hicham-avatar, 
  .hicham-sidebar img,
  .hicham-column img,
  .hicham-dedication-card img {
    max-width: 150px;
  }
}

.hicham-badge {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  padding: 4px 15px;
  border: 1px solid var(--border);
  border-radius: 15px;
  white-space: nowrap;
  font-size: 0.7rem;
  color: #cca46e;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

.hicham-quote {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-soft);
  text-align: center;
  margin: 0;
}

/* Version Horizontale pour Biographie */
.hicham-box-bio {
  margin: 30px 0;
  display: flex;
  gap: 30px;
  align-items: center;
  background: rgba(204, 164, 110, 0.05);
  padding: 25px;
  border-radius: 15px;
  border: 1px solid rgba(204, 164, 110, 0.15);
}

.hicham-box-bio img {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.hicham-box-bio-text {
  flex: 1;
}

.biographie-subhead {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: #cca46e;
}

/* Nouvelles classes pour la mise en page Biographie + Hicham */
.bio-grid, .biography-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
}

.portrait-box-main img {
  width: 100%;
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(204, 164, 110, 0.2);
}

.bio-portrait-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: sticky;
  top: 100px;
}

.hicham-dedication-card {
  background: var(--panel);
  border: 1px solid rgba(204, 164, 110, 0.2);
  border-radius: 24px;
  padding: 30px;
  position: sticky;
  top: 120px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hicham-dedication-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(204, 164, 110, 0.1);
}

.hicham-dedication-text {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-soft);
  text-align: center;
}

.hicham-dedication-title {
  display: block;
  text-align: center;
  color: #cca46e;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 900px) {
  .bio-grid, .biography-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hicham-dedication-card {
    position: static;
  }
}

@media (max-width: 600px) {
  .hicham-box-bio {
    flex-direction: column;
    text-align: center;
  }
}

/* Boutons Cartes Romans */
.roman-btn-full {
  margin-top: 20px;
  width: 100%;
  text-align: center;
}

/* Formulaire Contact - Options Radio */
.contact-option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact-option-label {
  border: 1px solid rgba(204, 164, 110, 0.3);
  background: rgba(204, 164, 110, 0.05);
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.contact-option-label:hover {
  background: rgba(204, 164, 110, 0.1);
  border-color: #cca46e;
}

.contact-option-text {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 600;
  line-height: 1.2;
}

.contact-option-subtext {
  font-size: 0.72rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.2;
}

.contact-circle-box {
  background: rgba(204, 164, 110, 0.05);
  border: 1px solid rgba(204, 164, 110, 0.15);
  border-radius: 12px;
  padding: 20px;
  margin-top: 10px;
}

.contact-circle-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  color: var(--text);
}

.contact-circle-desc {
  color: var(--muted);
  font-size: 0.85rem;
  display: block;
  margin-top: 4px;
}

/* Espace Lecteurs */
.espace-lecteurs-container {
  text-align: left;
  max-width: 900px;
}

.espace-lecteurs-btns {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.btn-formulaire-lecteurs {
  border: 1px solid var(--accent);
  color: var(--text);
  background: transparent !important;
}

.btn-formulaire-lecteurs:hover {
  background: rgba(51, 92, 138, 0.1) !important;
}

/* Section Blog Synergy */
.blog-synergy-quote-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-quote-box {
  background: var(--panel);
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.blog-quote-text {
  font-style: italic;
  color: #cca46e;
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.blog-quote-author {
  text-align: right;
  color: var(--muted);
  font-size: 0.9rem;
}

/* --- Système de Utilitaires --- */
.text-justify { text-align: justify !important; }
.d-block       { display: block !important; }
.w-full        { width: 100% !important; }
.no-bg         { background: transparent !important; }

/* Marges et Espacements */
.mt-0  { margin-top: 0 !important; }
.mt-10 { margin-top: 10px !important; }
.mt-25 { margin-top: 25px !important; }
.mt-40 { margin-top: 40px !important; }
.mt-50 { margin-top: 50px !important; }
.mt-60 { margin-top: 60px !important; }

.mb-12 { margin-bottom: 12px !important; }
.mb-25 { margin-bottom: 25px !important; }
.mb-35 { margin-bottom: 35px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mb-50 { margin-bottom: 50px !important; }

.text-center { text-align: center !important; }

/* Carrousel Podcast Cards */
.carousel-track-podcast .podcast-card {
  width: 300px;
  flex: 0 0 300px;
}

/* Classes Utilitaires pour le contenu */
.intro-text-large {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.15rem;
  line-height: 1.8;
}

.note-box-accent {
  background: rgba(204, 164, 110, 0.05);
  border-left: 3px solid #cca46e;
  border-radius: 4px;
  padding: 20px;
  margin-top: 30px;
}

.link-gold-underlined {
  color: #cca46e;
  text-decoration: underline;
}

.text-small-soft {
  font-size: 1rem;
  color: var(--text-soft);
}

.text-justify {
  text-align: justify;
}

/* Classes pour Medias & Presse */
.podcast-grid-large {
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)) !important;
}

.carousel-section-podcast {
  margin-top: 60px;
}

.carousel-viewport-podcast {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 20px 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.carousel-viewport-podcast::-webkit-scrollbar {
  display: none;
}
.carousel-viewport-podcast .podcast-card {
  scroll-snap-align: start;
}

.carousel-track-podcast {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
  width: max-content;
}

.press-article-card-styled {
  margin-top: 40px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(204, 164, 110, 0.2);
  border-radius: 20px;
}

.press-header-centered {
  text-align: center;
  margin-bottom: 40px;
}

.press-logo-large {
  font-size: 2.5rem;
  letter-spacing: 5px;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.press-title-accent {
  font-size: 2.2rem;
  color: #cca46e;
  margin-top: 15px;
}

.press-link-underlined {
  display: inline-block;
  margin-top: 15px;
  color: var(--accent);
  text-decoration: underline;
  font-size: 0.9rem;
}

.press-img-container {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.press-img-item {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.press-img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.press-quote-bio {
  color: #cca46e;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
}

.press-bio-box-styled {
  margin-top: 50px;
  padding: 30px;
  background: rgba(204, 164, 110, 0.08);
  border-radius: 12px;
  border: 1px dashed #cca46e;
}

.press-bio-title {
  margin-top: 0;
  color: #cca46e;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
}

.chronology-box {
  margin-top: 80px;
  background: #0f1a2b;
  border: 1px solid #cca46e;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.chronology-title {
  color: #cca46e;
  font-family: 'Cormorant Garamond', serif;
  border-bottom: 1px solid rgba(204, 164, 110, 0.3);
  padding-bottom: 15px;
  margin-top: 0;
}

.table-chronology {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 0.95rem;
}

.table-chronology th {
  text-align: left;
  border-bottom: 2px solid #cca46e;
  color: #cca46e;
  padding: 12px;
}

.table-chronology td {
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.table-chronology .text-right {
  text-align: right;
}

/* Typographie et Composants */
.fw-600       { font-weight: 600 !important; }
.rounded-4    { border-radius: 4px !important; }
.accent-radio { 
  accent-color: #cca46e; 
  margin-top: 5px;
}

/* --- PAGES ROMANS --- */
.book-hero {
  padding: 60px 0 80px;
}
.book-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.book-cover-large {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
}
.book-quote-large {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  line-height: 1.3;
  font-weight: 600;
  color: #fff;
  margin: 20px 0;
  font-family: inherit;
}
.book-content-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 900px) {
  .book-hero-grid, .book-content-grid {
    grid-template-columns: 1fr;
  }
  .book-cover-container {
    text-align: center;
    margin-bottom: 30px;
  }
}

/* Styles pour l'extrait immersif */
.immersive-extract {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  padding: 80px 60px;
  margin: 60px 0;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  color: #fff;
}
.immersive-extract::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.4) 100%);
  z-index: 1;
}
.immersive-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.immersive-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.6;
  font-style: italic;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  margin-bottom: 30px;
}
.immersive-footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-family: 'Cormorant Garamond', serif;
  width: 100%;
}
.immersive-author {
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: #cca46e;
  margin-bottom: 5px;
}
.immersive-title {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 3px;
}
.immersive-dropcap {
  font-size: 3.5rem;
  float: left;
  line-height: 0.8;
  margin-right: 15px;
  margin-top: 5px;
  color: #cca46e;
}

/* --- PODCASTS --- */
.podcast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 35px;
  margin-top: 50px;
}
.podcast-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.podcast-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border-color: var(--accent);
}
.podcast-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}
.podcast-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.podcast-card:hover .podcast-thumb {
  transform: scale(1.05);
}
.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 5;
  transition: opacity 0.3s ease;
}
.podcast-card:hover .play-overlay {
  opacity: 1;
}

@media (max-width: 900px) {
  .play-overlay {
    opacity: 1;
    background: rgba(0,0,0,0.2);
  }
}
.play-btn {
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  pointer-events: none; /* Laisse le clic passer à l'ancre parente */
  box-shadow: 0 4px 15px rgba(204, 164, 110, 0.4);
}
.podcast-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.podcast-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 600;
}
.podcast-title {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 15px;
  color: var(--text-heading);
  font-family: 'Cormorant Garamond', serif;
}
.podcast-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.podcast-footer {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.youtube-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.youtube-link:hover {
  text-decoration: underline;
}

/* --- CARROUSEL OUVRAGES --- */
.carousel-section {
  padding: 60px 0;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  margin: 40px -50px;
  padding: 0 70px;
}

.carousel-viewport {
  overflow: hidden;
  cursor: grab;
  padding: 30px 0;
}

.carousel-viewport:active {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  gap: 30px;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  width: max-content;
}

.past-work-card {
  width: 320px;
  flex: 0 0 320px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 35px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.past-work-card:hover {
  transform: translateY(-12px);
  border-color: #cca46e;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.45);
}

.past-work-cover-wrap {
  width: 100%;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  perspective: 1000px;
}

.past-work-cover {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.5));
  transition: transform 0.5s ease;
}

.past-work-card:hover .past-work-cover {
  transform: rotateY(-10px) scale(1.05);
}

.past-work-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #ffffff;
  height: 3em; 
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.past-work-card .card-meta {
  font-size: 0.8rem;
  margin-bottom: 15px;
  color: #cca46e;
}

.past-work-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-soft);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.carousel-nav-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.carousel-nav {
  width: 56px;
  height: 56px;
  background: rgba(15, 26, 43, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(204, 164, 110, 0.5);
  color: #cca46e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.carousel-nav:hover {
  background: #cca46e;
  color: #000;
  border-color: #cca46e;
  box-shadow: 0 0 40px rgba(204, 164, 110, 0.4);
  transform: scale(1.1);
}

.carousel-nav.disabled {
  opacity: 0.15;
  cursor: default;
  pointer-events: none;
  filter: grayscale(1);
}

@media (max-width: 1000px) {
  .carousel-container { margin: 40px 0; padding: 0; }
  .carousel-viewport { overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 20px; }
  .past-work-card { width: 290px; flex: 0 0 290px; scroll-snap-align: center; padding: 25px; }
  .carousel-track { gap: 20px; }
}
/* --- Modale Newsletter & Succès --- */
.newsletter-modal-subtitle {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 25px;
  opacity: 0.8;
}

.newsletter-success-state {
  text-align: center;
  padding: 30px 0;
}

.newsletter-success-icon {
  font-size: 3.5rem;
  color: var(--gold);
  margin-bottom: 15px;
  line-height: 1;
}

.newsletter-success-title {
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.newsletter-privacy-text {
  font-size: 0.8rem;
  color: var(--text-soft);
  opacity: 0.7;
  text-align: center;
  margin-top: 15px;
  line-height: 1.4;
}

#hidden_iframe {
  display: none;
}

.w-100 {
  width: 100%;
}

/* ==========================================================================
   XVI. ELEGANT FRAMES (ESPACE LECTEURS)
   ========================================================================== */

.elegant-frames-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 60px;
}

@media (min-width: 850px) {
  .elegant-frames-container {
    grid-template-columns: 350px 1fr;
    align-items: stretch;
  }
}

.elegant-frame {
  padding: 35px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.elegant-frame-title {
  background: rgba(204, 164, 110, 0.08);
  border: 1px solid rgba(204, 164, 110, 0.3);
  text-align: center;
}

.elegant-frame-title h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #cca46e;
  line-height: 1.3;
  margin: 0;
}

.elegant-frame-body {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  backdrop-filter: blur(5px);
}

.elegant-frame-body p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-soft);
  text-align: justify;
}

.elegant-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #cca46e;
  opacity: 0.6;
}


/* ==========================================================================
   XVII. PREMIUM FOOTER
   ========================================================================== */

.site-footer {
  background: linear-gradient(to bottom, #08111d, #050a12);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(204, 164, 110, 0.15);
  color: var(--text-soft);
  position: relative;
  margin-top: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

@media (min-width: 900px) {
  .footer-content {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand {
  max-width: 400px;
}

.footer-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
  display: block;
  letter-spacing: 0.02em;
}

.footer-tagline {
  font-size: 1rem;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 25px;
  line-height: 1.6;
}

.footer-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: #cca46e;
  border-left: 3px solid #cca46e;
  padding-left: 20px;
  margin-top: 30px;
  font-style: italic;
  opacity: 0.9;
  line-height: 1.4;
}

.footer-nav-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #ffffff;
  margin-bottom: 25px;
  font-weight: 700;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav-links a {
  color: var(--text-soft);
  transition: all 0.3s ease;
  font-size: 1rem;
  text-decoration: none;
}

.footer-nav-links a:hover {
  color: #cca46e;
  transform: translateX(5px);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  
  .footer-social-minimal {
    margin-right: 80px; /* Décale davantage les boutons vers la gauche pour une meilleure visibilité */
  }
}

.footer-copyright {
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-social-minimal {
  display: flex;
  gap: 24px;
}

.footer-social-minimal a {
  color: var(--muted);
  transition: all 0.3s ease;
}

.footer-social-minimal a:hover {
  color: #cca46e;
  transform: translateY(-3px);
}

/* Elegant Article Card (Full Transcription) */
.featured-article-container {
  max-width: 950px;
  margin: 40px auto;
}

.article-card-featured {
  padding: 60px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(204, 164, 110, 0.2);
  border-radius: 15px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.article-card-featured::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 1px solid rgba(204, 164, 110, 0.05);
  pointer-events: none;
  border-radius: 12px;
}

.golden-quote {
  color: #cca46e !important; /* Doré */
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  line-height: 1.6;
  font-style: italic;
  margin: 40px 0;
  padding: 0 40px;
  text-align: left;
  position: relative;
}

.golden-quote::before, .golden-quote::after {
  content: "“";
  font-size: 4rem;
  color: rgba(204, 164, 110, 0.1);
  position: absolute;
}

.golden-quote::before { top: -20px; left: 0; }
.golden-quote::after { bottom: -40px; right: 0; content: "”"; }

.article-content-full {
  text-align: left;
}

.article-meta {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #cca46e;
  margin-bottom: 25px;
  display: block;
  font-weight: 500;
}

.article-body-text {
  font-size: 1.15rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
}

.bio-box-press {
  background: rgba(204, 164, 110, 0.05);
  padding: 30px;
  border-radius: 8px;
  border-left: 3px solid #cca46e;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .article-card-featured {
    padding: 30px 20px;
  }
  .golden-quote {
    font-size: 1.2rem;
    padding: 0 20px;
  }
}

/* Refined Styles for Biography Page */
.biographie-box {
  background: var(--panel);
  padding: 50px;
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 15px 45px rgba(0,0,0,0.2);
}

.portrait-img-float {
  float: left;
  width: 220px;
  max-width: 40%;
  margin-right: 40px;
  margin-bottom: 25px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  border: 2px solid #cca46e;
}

.biographie-subhead {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: #cca46e;
  margin: 50px 0 25px;
  border-bottom: 1px solid rgba(204, 164, 110, 0.2);
  padding-bottom: 10px;
  clear: both;
}

@media (max-width: 768px) {
  .biographie-box {
    padding: 30px 20px;
  }
  .portrait-img-float {
    float: none;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 30px;
    display: block;
  }
}

/* Layout: Side-by-side images (50/50 float) */
.article-img-half-float {
  float: left;
  width: 48%;
  margin-right: 40px;
  margin-bottom: 25px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 1px solid rgba(204, 164, 110, 0.2);
}

.article-img-half-float img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 850px) {
  .article-img-half-float {
    float: none;
    width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
  }
}

/* Side-by-side Layout for Article Intro */
.article-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
  align-items: stretch; /* Stretches the image to match text height */
}

.article-intro-visual {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 1px solid rgba(204, 164, 110, 0.2);
}

.article-intro-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Important to fill the height without distortion */
  display: block;
}

@media (max-width: 850px) {
  .article-intro-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Podcasts Intro Box */
.podcast-intro-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-left: 4px solid #cca46e;
  padding: 45px;
  border-radius: 8px 32px 32px 8px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
  max-width: 1050px; /* Un peu plus large pour accommoder la photo plus grande */
  margin: 0 auto 60px;
  position: relative;
  overflow: hidden;
}

.podcast-intro-flex {
  display: flex;
  flex-direction: row-reverse; /* Photo à droite */
  align-items: flex-start;    /* Remonte le texte */
  gap: 40px;
}

.podcast-intro-photo-wrap {
  flex: 0 0 350px; /* Photo plus large */
  max-width: 100%;
  overflow: hidden;
}

.podcast-intro-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(204, 164, 110, 0.2);
}

.podcast-intro-text {
  flex: 1;
  text-align: left;
  padding-top: 0; /* Remonte le texte au maximum */
}

.podcast-intro-text p:first-child {
  margin-top: 0; /* Supprime l'espace inutile en haut */
}

.podcast-intro-box p {
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 0;
}

.podcast-intro-box::before {
  content: "“";
  position: absolute;
  top: 5px;
  left: 20px;
  font-size: 5rem;
  font-family: serif;
  color: rgba(204, 164, 110, 0.1);
}

@media (max-width: 900px) {
  .podcast-intro-flex {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .podcast-intro-photo-wrap {
    flex: 0 0 auto;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    overflow: hidden; /* Sécurité anti-débordement */
  }
  .podcast-intro-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
  }
  .podcast-intro-text {
    text-align: center;
    padding-top: 0;
  }
  .podcast-intro-box {
    padding: 25px 18px; /* Réduit le padding sur mobile */
    overflow: hidden;   /* Bloque tout débordement interne */
  }
}

.chronology-box {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 50px;
  border-radius: 28px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.chronology-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: #cca46e;
  margin-bottom: 30px;
  text-align: left;
  border-bottom: 1px solid rgba(204, 164, 110, 0.2);
  padding-bottom: 15px;
}

/* =========================================================
   SECTION RÉSEAUX SOCIAUX
   ========================================================= */
.social-section {
  padding: 100px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.social-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 164, 110, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 50px;
}

@media (max-width: 1100px) {
  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px 20px 28px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-decoration: none;
  color: var(--text-soft);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease,
              background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-card::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 20px;
}

.social-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Couleurs de survol par réseau */
.social-card.sc-facebook:hover  { border-color: #1877F2; box-shadow: 0 20px 50px rgba(24, 119, 242, 0.2); }
.social-card.sc-instagram:hover { border-color: #E4405F; box-shadow: 0 20px 50px rgba(228, 64, 95, 0.2); }
.social-card.sc-youtube:hover   { border-color: #FF0000; box-shadow: 0 20px 50px rgba(255, 0, 0, 0.2); }
.social-card.sc-whatsapp:hover  { border-color: #25D366; box-shadow: 0 20px 50px rgba(37, 211, 102, 0.2); }
.social-card.sc-blogger:hover   { border-color: #F57D00; box-shadow: 0 20px 50px rgba(245, 125, 0, 0.2); }
.social-card.sc-linkedin:hover  { border-color: #0077b5; box-shadow: 0 20px 50px rgba(0, 119, 181, 0.2); }

.social-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.social-card:hover .social-card-icon {
  transform: scale(1.1);
}

.social-card.sc-facebook  .social-card-icon { background: rgba(24, 119, 242, 0.12); color: #1877F2; }
.social-card.sc-instagram .social-card-icon { background: rgba(228, 64, 95, 0.12);  color: #E4405F; }
.social-card.sc-youtube   .social-card-icon { background: rgba(255, 0, 0, 0.12);    color: #FF0000; }
.social-card.sc-whatsapp  .social-card-icon { background: rgba(37, 211, 102, 0.12); color: #25D366; }
.social-card.sc-blogger   .social-card-icon { background: rgba(245, 125, 0, 0.12);  color: #F57D00; }
.social-card.sc-linkedin  .social-card-icon { background: rgba(0, 119, 181, 0.12); color: #0077b5; }

.social-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.3s ease;
}

.social-card.sc-facebook:hover  .social-card-name { color: #1877F2; }
.social-card.sc-instagram:hover .social-card-name { color: #E4405F; }
.social-card.sc-youtube:hover   .social-card-name { color: #FF0000; }
.social-card.sc-whatsapp:hover  .social-card-name { color: #25D366; }
.social-card.sc-blogger:hover   .social-card-name { color: #F57D00; }
.social-card.sc-linkedin:hover  .social-card-name { color: #0077b5; }

.social-card-desc {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

.social-card-action {
  margin-top: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-card:hover .social-card-action {
  opacity: 1;
  transform: translateY(0);
}

/* Boutons flottants : couleurs de marque au hover */
.floating-btn.fb-btn:hover  { background: #1877F2 !important; border-color: #1877F2 !important; }
.floating-btn.ig-btn:hover  { background: #E4405F !important; border-color: #E4405F !important; }
.floating-btn.yt-btn:hover  { background: #FF0000 !important; border-color: #FF0000 !important; }
.floating-btn.wa-btn:hover  { background: #25D366 !important; border-color: #25D366 !important; }
.floating-btn.bl-btn:hover  { background: #F57D00 !important; border-color: #F57D00 !important; }

/* Footer social avec labels */
.footer-social-full {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.footer-social-link:hover { color: #fff; }
.footer-social-link.fsl-fb:hover  { background: rgba(24, 119, 242, 0.15); border-color: #1877F2; color: #1877F2; }
.footer-social-link.fsl-ig:hover  { background: rgba(228, 64, 95, 0.15);  border-color: #E4405F; color: #E4405F; }
.footer-social-link.fsl-yt:hover  { background: rgba(255, 0, 0, 0.15);    border-color: #FF0000; color: #FF0000; }
.footer-social-link.fsl-wa:hover  { background: rgba(37, 211, 102, 0.15); border-color: #25D366; color: #25D366; }
.footer-social-link.fsl-bl:hover  { background: rgba(245, 125, 0, 0.15);  border-color: #F57D00; color: #F57D00; }
.footer-social-link.fsl-li:hover  { background: rgba(0, 119, 181, 0.15);  border-color: #0077B5; color: #0077B5; }
/* Optimisation d'espace sévère pour l'En-tête sur petits écrans (pour sauver le menu) */
@media (max-width: 600px) {
  .brand-photo { width: 55px !important; height: 55px !important; }
  .brand-link { gap: 10px !important; }
  .header-inner { gap: 5px !important; padding: 10px 0 !important; }
  .brand-name { font-size: 1.3rem !important; }
  .brand-tagline { 
    font-size: 0.75rem !important; 
    letter-spacing: 0.05em !important; 
    white-space: normal !important; 
    max-width: 110px !important; 
    line-height: 1.3; 
  }
}




/* ===== BOUTON RETOUR EN HAUT (GLOBAL) ===== */
.back-to-top {
  color: #fff !important;
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  background: #cca46e !important;
  border-color: #cca46e !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* --- Utility classes for steps --- */
.d-none { display: none !important; }
.d-block { display: block !important; }


/* HERO IMMERSIF */

.hero-immersive {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 160px); 
  text-align: center;
  padding: 40px 20px;
  background: radial-gradient(circle at center, rgba(8,17,29,0.6), #08111d 70%);
}

@media (max-width: 900px) {
  .hero-immersive {
    min-height: calc(100vh - 140px);
  }
}

.hero-centered {
  max-width: 800px;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--muted);
  margin-bottom: 40px;
  font-style: italic;
}

.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 40px;
  border: 1px solid #cca46e;
  color: #cca46e;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:active {
  background: #cca46e;
  color: #08111d;
  box-shadow: 0 0 20px rgba(204,164,110,0.4);
}


/* IMMERSION SECTION */

.immersion-section {
  background: var(--bg-soft);
  text-align: center;
  padding: 120px 0;
}

.immersion-container {
  max-width: 700px;
  margin: 0 auto;
}

.immersion-line {
  font-size: 1.4rem;
  color: var(--text-soft);
  margin: 25px 0;
  font-style: italic;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.immersion-line:hover {
  opacity: 1;
}


/* FRESQUE CINEMATIQUE */

.fresque-cinematic {
  text-align: center;
  padding: 140px 0;
  background: linear-gradient(to bottom, var(--bg), var(--bg-soft));
}

.fresque-container {
  max-width: 750px;
  margin: 0 auto;
}

.fresque-line {
  font-size: 1.5rem;
  margin: 25px 0;
  color: var(--text-soft);
  font-style: italic;
  opacity: 0.85;
}

.fresque-line.highlight {
  font-size: 1.8rem;
  color: #cca46e;
  opacity: 1;
}

.fresque-cta {
  margin-top: 50px;
}


/* HERO CENTERING FIX (RTL + GLOBAL) */

/* Definie plus haut */

.hero-text {
  max-width: 600px;
  margin: 0 auto;
}

.hero-title,
.hero-subtitle {
  text-align: center;
}

.hero-cta {
  display: flex;
  justify-content: center;
}

.hero-title {
  line-height: 1.3;
}

html[dir="rtl"] .hero-title,
html[dir="rtl"] .hero-subtitle {
  text-align: center;
}



/* ===== HERO IMMERSIF GLOBAL FIX ===== */

/* Definie plus haut */

.hero-grid-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  text-align: left;
}

/* Inversion pour l'arabe */
html[dir="rtl"] .hero-grid-split {
  text-align: right;
  direction: rtl;
}

.hero-main-content {
  max-width: 700px;
}

.hero-side-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 991px) {
  .hero-grid-split {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  html[dir="rtl"] .hero-grid-split {
    text-align: center;
  }
  
  .hero-main-content {
    margin: 0 auto;
  }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-top: 20px;
  color: var(--text-soft);
  font-style: italic;
}

.hero-cta-group {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}


/* Pensées highlight */
.pensees-highlight {
  text-align: center;
  margin-top: 40px;
  font-size: 1.05rem;
}

.pensees-highlight a {
  color: #cca46e;
  text-decoration: none;
  border-bottom: 1px solid rgba(204,164,110,0.4);
}


/* Badge Nouveau Pensées */
.badge-new {
  font-size: 0.65rem;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 10px;
  background: rgba(255, 50, 50, 0.15);
  border: 1px solid rgba(255, 80, 80, 0.8);
  color: #ff4d4d;
  animation: pulseNew 1.8s infinite;
}

@keyframes pulseNew {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}


.hero-micro {
  margin-top: 12px;
  font-size: 0.85rem;
  opacity: 0.6;
  font-style: italic;
  text-align: center;
}


/* ===== FINAL MOBILE VISIBILITY FIX ===== */

.floating-btn {
  background: rgba(0,0,0,0.65) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

.floating-btn svg {
  stroke: #ffffff !important;
}

.floating-actions {
  z-index: 9999 !important;
}

.floating-btn.btn-buy {
  background: #cca46e !important;
  color: #0a192f !important;
  border-color: #cca46e !important;
  box-shadow: 0 8px 25px rgba(204, 164, 110, 0.4) !important;
  width: 90px !important; /* Largeur fixe pour forcer le format portrait */
  height: auto !important;
  min-height: 42px;
  padding: 8px 10px !important;
  border-radius: 20px !important;
  display: flex !important;
  flex-direction: column-reverse !important; /* Icône en haut, texte en dessous */
  align-items: center !important;
  gap: 5px !important;
}

.floating-btn.btn-buy .btn-text {
  font-weight: 700;
  font-family: inherit;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  max-width: 65px; /* Réduit pour forcer deux lignes */
  line-height: 1.1;
  text-align: center;
  white-space: normal; /* Autorise le retour à la ligne */
  display: block;
}

.floating-btn.btn-buy svg {
  stroke: #0a192f !important;
}

.floating-btn.btn-buy:hover {
  background: #e5c99e !important;
  transform: translateY(-5px);
}

/* Style du Select Sombre */
select.modal-input {
  background: #0d1523 !important; /* Fond très sombre */
  color: #fff !important;
  border: 1px solid rgba(204, 164, 110, 0.3) !important;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cca46e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2em;
  cursor: pointer;
  padding-right: 40px !important;
}

select.modal-input option {
  background: #0d1523;
  color: #fff;
  padding: 10px;
}

.hero-micro {
  margin-top: 40px !important;
  opacity: 0.75;
}

.hero-text {
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

@media (max-width: 600px) {

  .hero-title {
    font-size: 1.9rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-micro {
    font-size: 0.95rem;
    margin-top: 45px;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }
}


/* FIX carousel RTL */
.carousel-track {
  direction: ltr;
}
