/* =========================================================================
   entretien.css — styles partagés des pages d'entretien Menara
   Référence : entretien-badie.html (hero bannière + Voir aussi + figures).
   Utilisé par le modèle _templates/entretien.html et les nouvelles pages.
   NB : les classes gardent le préfixe historique « khadra- » / « livre- ».
   ========================================================================= */
    .khadra-hero {
      display: block;
      background: #fff;
    }
    .khadra-hero-text {
      padding: clamp(2rem,5vw,4rem) clamp(1.5rem,5vw,5rem);
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      gap: 1.25rem;
    }
    .khadra-hero-back {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      font-family: 'Inter', sans-serif;
      font-size: 0.78rem;
      font-weight: 500;
      color: #6b7280;
      text-decoration: none;
      letter-spacing: 0.02em;
    }
    .khadra-hero-back:hover { color: #06122e; }
    .khadra-hero-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2rem,4vw,3.2rem);
      font-weight: 400;
      line-height: 1.15;
      color: #111827;
      margin: 0;
    }
    .khadra-hero-title strong { font-weight: 700; }
    .khadra-hero-dot {
      display: inline-block;
      width: 10px; height: 10px;
      border-radius: 50%;
      background: #c9a55a;
      margin-left: 0.3rem;
      vertical-align: middle;
    }
    .khadra-hero-desc {
      font-family: 'Inter', sans-serif;
      font-size: 1rem;
      line-height: 1.7;
      color: #374151;
      margin: 0;
      max-width: 780px;
    }
    .khadra-hero-byline {
      font-family: 'Inter', sans-serif;
      font-size: 0.82rem;
      font-weight: 600;
      color: #9ca3af;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin: 0;
    }
    .khadra-hero-banner {
      width: 100%;
      max-height: 700px;
      object-fit: cover;
      object-position: center center;
      display: block;
      border-bottom: 1px solid #e5e7eb;
    }
    .livre-sidebar-photo {
      width: 100%;
      aspect-ratio: 4/5;
      object-fit: cover;
      object-position: center top;
      filter: grayscale(100%);
      display: block;
      margin-bottom: 1rem;
    }
    .khadra-hero-actions {
      display: flex;
      gap: 1rem;
      align-items: center;
    }
    .khadra-hero-pdf {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      font-family: 'Inter', sans-serif;
      font-size: 0.82rem;
      font-weight: 500;
      color: #06122e;
      border: 1px solid #06122e;
      padding: 0.5rem 1rem;
      text-decoration: none;
      transition: background 0.2s, color 0.2s;
    }
    .khadra-hero-pdf:hover { background: #06122e; color: #fff; }
    @media (max-width: 768px) {
      .khadra-hero-banner { max-height: 280px; }
      .livre-sidebar-photo { aspect-ratio: 3/2; }
    }
    /* Layout livre */
    .livre-layout {
      display: grid;
      grid-template-columns: 280px 1fr;
      gap: 4rem;
      max-width: 1100px;
      margin: 3rem auto;
      padding: 0 2rem 4rem;
    }
    .livre-sidebar {
      align-self: start;
      height: fit-content;
    }
    .livre-cover {
      width: 100%;
      aspect-ratio: 3/4;
      object-fit: cover;
      object-position: center top;
      display: block;
      box-shadow: 4px 8px 24px rgba(0,0,0,0.18);
      margin-bottom: 1.25rem;
    }
    .livre-ref {
      font-family: 'Inter', sans-serif;
      font-size: 0.82rem;
      line-height: 1.6;
      color: #6b7280;
      margin: 0 0 1.25rem;
    }
    .livre-ref em { font-style: italic; }
    .livre-meta-table { width: 100%; border-top: 1px solid #e5e7eb; margin-bottom: 1.25rem; }
    .livre-meta-table tr td {
      padding: 0.55rem 0;
      font-family: 'Inter', sans-serif;
      font-size: 0.78rem;
      border-bottom: 1px solid #e5e7eb;
      vertical-align: top;
    }
    .livre-meta-table td:first-child {
      color: #9ca3af;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      padding-right: 1rem;
      white-space: nowrap;
      width: 80px;
    }
    .livre-meta-table td:last-child { color: #6b7280; font-weight: 500; }
    .livre-content { min-width: 0; }
    .livre-content p {
      font-family: 'EB Garamond', serif;
      font-size: 1.22rem;
      line-height: 1.9;
      color: #1f2937;
      margin: 0 0 1.4rem;
      text-align: justify;
      hyphens: auto;
    }
    .livre-content h2 {
      font-family: 'Playfair Display', serif;
      font-size: 1.2rem;
      font-weight: 700;
      color: #06122e;
      margin: 2.5rem 0 1rem;
      line-height: 1.4;
    }
    .livre-content h2 span {
      background: linear-gradient(to bottom, transparent 55%, rgba(180,185,195,0.4) 55%);
    }
    .livre-content blockquote {
      border: none;
      margin: 3rem 0;
      padding: 0;
      text-align: center;
    }
    .livre-content blockquote p {
      font-family: 'EB Garamond', serif;
      font-style: italic;
      font-size: 1.6rem;
      color: #c9a55a;
      line-height: 1.5;
      margin: 0 0 1.5rem;
      text-align: center;
      hyphens: none;
    }
    .livre-content blockquote footer {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.75rem;
    }
    .livre-content blockquote footer::before {
      display: none;
    }
    .livre-content blockquote footer cite {
      font-family: 'Inter', sans-serif;
      font-style: normal;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #c9a55a;
    }
    @media (max-width: 768px) {
      .livre-layout { grid-template-columns: 1fr; gap: 2rem; }
      .livre-sidebar { position: static; }
      .livre-cover { max-width: 200px; }
    }
    /* Voir aussi */
    .voir-aussi {
      background: #f9fafb;
      border-top: 1px solid #e5e7eb;
      padding: 4rem clamp(1.5rem,5vw,5rem);
    }
    .voir-aussi__heading {
      font-family: 'Inter', sans-serif;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: #9ca3af;
      margin: 0 0 2rem;
    }
    .voir-aussi__grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }
    .voir-aussi__card {
      background: #fff;
      border: 1px solid #e5e7eb;
      display: flex;
      flex-direction: column;
      text-decoration: none;
      transition: box-shadow 0.2s;
    }
    .voir-aussi__card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.09); }
    .voir-aussi__card-img {
      overflow: hidden;
      clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 10%);
      aspect-ratio: 4/3;
    }
    .voir-aussi__card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      filter: grayscale(100%);
      display: block;
      transition: transform 0.3s;
    }
    .voir-aussi__card:hover .voir-aussi__card-img img { transform: scale(1.04); }
    .voir-aussi__card-body {
      padding: 1.25rem 1.25rem 1.5rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      flex: 1;
    }
    .voir-aussi__card-tag {
      font-family: 'Inter', sans-serif;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #1d4ed8;
    }
    .voir-aussi__card-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.05rem;
      font-weight: 600;
      color: #111827;
      line-height: 1.4;
      margin: 0;
    }
    .voir-aussi__card-desc {
      font-family: 'Inter', sans-serif;
      font-size: 0.82rem;
      color: #6b7280;
      line-height: 1.6;
      margin: 0;
    }
    @media (max-width: 768px) {
      .voir-aussi__grid { grid-template-columns: 1fr; }
    }
    .full-bleed-figure {
      /* offset = centering + padding-left(2rem) + sidebar(280px) + gap(4rem) */
      margin-left: calc((min(100vw, 1100px) - 100vw) / 2 - 6rem - 280px);
      width: 100vw;
      max-width: none;
      margin-right: 0;
    }
    @media (max-width: 768px) {
      .full-bleed-figure { margin-left: -2rem; width: 100vw; }
    }

    .sidebar-nl {
      margin-top: 2rem;
      padding-top: 1.75rem;
      border-top: 1px solid #e5e7eb;
    }
    .sidebar-nl-label {
      font-family: 'Inter', sans-serif;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: #9ca3af;
      margin: 0 0 0.85rem;
    }
    .sidebar-nl-title {
      font-family: 'Inter', sans-serif;
      font-size: 1.15rem;
      font-weight: 500;
      color: #06122e;
      line-height: 1.25;
      margin: 0 0 0.65rem;
    }
    .sidebar-nl-desc {
      font-family: 'Inter', sans-serif;
      font-size: 0.78rem;
      color: #6b7280;
      line-height: 1.6;
      margin: 0 0 1rem;
    }
    .sidebar-nl-form { display: flex; flex-direction: column; gap: 0; }
    .sidebar-nl-input {
      width: 100%;
      padding: 0.6rem 0.75rem;
      font-family: 'Inter', sans-serif;
      font-size: 0.82rem;
      color: #111;
      background: #f3f4f6;
      border: none;
      border-bottom: 1.5px solid #d1d5db;
      outline: none;
      box-sizing: border-box;
      transition: border-color 0.2s;
    }
    .sidebar-nl-input:focus { border-bottom-color: #06122e; }
    .sidebar-nl-input::placeholder { color: #9ca3af; }
    .sidebar-nl-btn {
      margin-top: 0.6rem;
      padding: 0.65rem 0;
      font-family: 'Inter', sans-serif;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      color: #fff;
      background: #06122e;
      border: none;
      cursor: pointer;
      transition: background 0.2s;
      text-align: center;
    }
    .sidebar-nl-btn:hover { background: #1e3a6e; }
    .sidebar-nl-success {
      display: none;
      font-family: 'Inter', sans-serif;
      font-size: 0.78rem;
      color: #16a34a;
      margin-top: 0.5rem;
    }
