/*
 Theme Name:   Divi Child
 Theme URI:    https://example.com/
 Description:  Thème enfant Divi avec fonts personnalisées et animations hero
 Author:       Votre Nom
 Template:     Divi
 Version:      1.0.0
*/

/* Import du thème parent */
@import url("../Divi/style.css");

html {
    scrollbar-gutter: stable;
}

/* ========================================
   RETHINK SANS - Police sans-serif
   ======================================== */

@font-face {
    font-family: 'Rethink Sans';
    src: url('fonts/RethinkSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rethink Sans';
    src: url('fonts/RethinkSans-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Rethink Sans';
    src: url('fonts/RethinkSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rethink Sans';
    src: url('fonts/RethinkSans-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Rethink Sans';
    src: url('fonts/RethinkSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rethink Sans';
    src: url('fonts/RethinkSans-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* ========================================
   SHARP SERIF DISPLAY - Police serif
   ======================================== */

@font-face {
    font-family: 'Sharp Serif Display';
    src: url('fonts/SharpSerifDisplay-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sharp Serif Display';
    src: url('fonts/SharpSerifDisplay-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* ========================================
   SPECTRAL - Police serif
   ======================================== */

@font-face {
    font-family: 'Spectral';
    src: url('fonts/Spectral-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Spectral';
    src: url('fonts/Spectral-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Spectral';
    src: url('fonts/Spectral-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Spectral';
    src: url('fonts/Spectral-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   ANIMATION HERO OVERLAY
   ======================================== */

/* Corps noir + scroll bloqué pendant l'animation */
body.hero-pending {
    background-color: #000 !important;
    overflow: hidden !important;
    height: 100vh !important;
}

/* Overlay plein écran — propriétés explicites pour résister aux CSS globaux Divi */
#hero-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 500 !important;
    background: #000 !important;
    overflow: hidden !important;
    pointer-events: auto;
    cursor: pointer;
}

/* Titre toujours visible pendant l'animation — miroir exact du header row */
.hero-overlay__title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    max-width: 100%;
    margin: 0;
    padding: 20px 60px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    z-index: 10;
    font-family: 'Rethink Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
}

/* Frames image */
.hero-overlay__frame {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
/* Cadrage vertical par image — desktop uniquement */
@media (min-width: 769px) {
    .hero-overlay__frame--1 { background-position: center 30% !important; }
    .hero-overlay__frame--2 { background-position: center 25% !important; }
    .hero-overlay__frame--3 { background-position: center 25% !important; }
}

.hero-overlay__frame.active {
    opacity: 1;
}

/* Nettoyage final */
body.hero-sequence-complete #hero-overlay {
    display: none !important;
}
body.hero-sequence-complete {
    overflow: auto !important;
    height: auto !important;
}

/* ========================================
   RESPONSIVE - MEDIA QUERIES
   ======================================== */

@media (max-width: 768px) {

    body.hero-pending #page-container,
    body.hero-revealing #page-container {
        border-radius: 10px 10px 0 0;
    }

    .hero-overlay__title {
        padding: 16px 48px;
    }
}

/* ========================================
   GLOBAL HEADER
   ======================================== */

/* Section conteneur */
.header-bar {
    background: #fff !important;
    padding: 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9998 !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Row — spécificité 0-3-0 pour battre les règles Divi inline (0-2-0) */
.header-bar .et_pb_row_0_tb_header.et_pb_row {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 20px 60px !important;
    display: flex !important;
    align-items: center !important;
    min-height: 56px !important;
    box-sizing: border-box !important;
}

/* Colonne gauche : aligne le brand verticalement */
.header-bar .et_pb_column:first-child {
    display: flex !important;
    align-items: center !important;
}

/* Colonne droite : contenu aligné à droite */
.header-bar .et_pb_column:last-child {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Supprime les paddings Divi dans les modules texte du header */
.header-bar .et_pb_text_inner {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

/* Nom / logo */
.header-brand {
    font-family: 'Rethink Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 20px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #000 !important;
    text-decoration: none !important;
    display: inline-block;
}
.header-brand:hover {
    color: #000 !important;
    text-decoration: none !important;
}

/* Groupe droit : lang + séparateur + burger */
.header-right {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-family: 'Rethink Sans', sans-serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    color: #000 !important;
    line-height: 1 !important;
}

/* Sélecteur de langue — slide vertical au survol */
.lang-switcher {
    position: relative;
    height: 1em;
    overflow: hidden;
    line-height: 1;
    cursor: default;
    padding-right: 4px !important;
}
.lang-switcher .lang-current,
.lang-switcher .lang-other,
.lang-switcher .lang-other a {
    font-family: 'Rethink Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    line-height: 1;
    display: block;
}
.lang-switcher .lang-current {
    transition: transform 0.25s ease;
}
.lang-switcher .lang-other {
    position: absolute;
    top: 100%;
    left: 0;
    transition: transform 0.25s ease;
}
.lang-switcher:hover .lang-current {
    transform: translateY(-100%);
}
.lang-switcher:hover .lang-other {
    transform: translateY(-100%);
}

/* Séparateur | */
.header-sep {
    color: #000;
    font-weight: 400;
    font-size: 20px;
    line-height: 1;
    opacity: 1;
}

/* ========================================
   BURGER BUTTON (dans le header Divi)
   ======================================== */

.burger-open-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #000;
    line-height: 1;
    vertical-align: middle;
}
.burger-open-btn svg {
    display: block;
    width: 20px;
    height: 20px;
}

/* ========================================
   HEADER — variante fond noir
   ======================================== */

.header-bar--dark {
    background: #000 !important;
}

.header-bar--dark .header-brand,
.header-bar--dark .header-brand:hover {
    color: #fff !important;
}

.header-bar--dark .header-right {
    color: #fff !important;
}

.header-bar--dark .lang-switcher .lang-current,
.header-bar--dark .lang-switcher .lang-other,
.header-bar--dark .lang-switcher .lang-other a {
    color: #fff !important;
}

.header-bar--dark .header-sep {
    color: #fff !important;
}

.header-bar--dark .burger-open-btn {
    color: #fff !important;
}

/* ========================================
   SIDE MENU OVERLAY
   ======================================== */

.side-menu-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.side-menu-overlay.open {
    opacity: 1 !important;
    visibility: visible !important;
}

.side-menu-panel {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    height: 100% !important;
    width: 100% !important;
    max-width: 500px;
    background: #000;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex !important;
    flex-direction: column;
    padding: 10vh 100px 0px 50px;
    box-sizing: border-box;
    overflow-y: auto;
}
.side-menu-overlay.open .side-menu-panel {
    transform: translateX(0) !important;
}

/* Bouton fermeture × — en flux flex, aligné à droite via align-self */
.side-menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-family: 'Rethink Sans', sans-serif;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

/* Nav links */
.side-menu-nav {
    margin: 60px auto 0;
}
.side-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.side-menu-list li a {
    display: block !important;
    font-family: 'Rethink Sans', sans-serif !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 30px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    transition: none !important;
}
/* Réserve la largeur du texte en bold pour éviter le layout shift au survol */
.side-menu-list li a::after {
    content: attr(data-text) !important;
    display: block !important;
    font-weight: 700 !important;
    line-height: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    pointer-events: none !important;
    user-select: none !important;
}
.side-menu-list li a:hover {
    font-weight: 700 !important;
}
.side-menu-list li.current-menu-item a {
    font-weight: 700 !important;
}

/* Mobile : panel fullwidth */
@media (max-width: 480px) {
    .side-menu-panel {
        max-width: 100% !important;
        padding: 28px 32px 40px !important;
    }
}

/* ========================================
   HOME PAGE — LABELS HIER / DEMAIN
   ======================================== */

.side-label {
    position: fixed;
    top: 50%;
    font-family: 'Rethink Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #000;
    z-index: 100;
    writing-mode: vertical-rl;
    pointer-events: none;
    user-select: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}
body.hero-sequence-complete .side-label {
    opacity: 1;
    transition-delay: 1s;
}
.side-label--left {
    left: 20px;
    transform: translateY(-50%) rotate(180deg);
}
.side-label--right {
    right: 20px;
    transform: translateY(-50%);
}

/* ========================================
   HOME PAGE — NAVIGATION PRINCIPALE
   ======================================== */

.home-nav {
    max-width: 100%;
    margin: 0;
    padding: 0 60px;
    box-sizing: border-box;
}
.home-nav__item {
    display: block;
    font-family: 'Sharp Serif Display', serif;
    font-size: clamp(52px, 10.5vw, 130px);
    font-weight: 400;
    font-style: normal;
    color: #000;
    text-decoration: none;
    line-height: 1.1;
    border-bottom: 1px solid #000;
    padding: 2px 0 6px;
}
.home-nav__item:first-child {
    border-top: 1px solid #000;
}
.home-nav__item:hover {
    font-style: italic;
    color: #000;
    text-decoration: none;
}

/* ========================================
   HOME PAGE — CITATIONS
   ======================================== */

.home-quotes {
    max-width: 100%;
    margin: 0;
    padding: 48px 60px 80px;
    box-sizing: border-box;
}
.home-quote {
    font-family: 'Spectral', serif;
    font-style: italic;
    line-height: 1.35;
    margin: 0 0 40px;
}
.home-quote--1 {
    font-size: clamp(22px, 2.8vw, 32px);
    color: #000;
}
.home-quote--2 {
    font-size: clamp(20px, 2.4vw, 28px);
    color: #888;
}
.home-quote--3 {
    font-size: clamp(18px, 2.2vw, 26px);
    color: #aaa;
}
.home-quote__author {
    font-style: normal;
    font-size: 0.75em;
    letter-spacing: 0.05em;
}

/* ========================================
   PAGES DE CONTENU — TYPOGRAPHIE DE BASE
   ======================================== */

/* Annule le margin-bottom automatique que Divi injecte sur chaque module
   (règle dynamique .et_pb_gutters3 .et_pb_module { margin-bottom: 2.75% }).
   Tout l'espacement est géré par les paddings des .et_pb_text_inner. */
.rm-section .et_pb_module {
    margin-bottom: 0 !important;
}

/* Wrappeur commun à toutes les sections de contenu.
   Les classes rm-section + rm-[module] sont appliquées sur la SECTION Divi. */
.rm-section.et_pb_section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* Rows : zero vertical, marges latérales + centrage.
   Sélecteur à 3 classes pour battre les règles générées par le builder Divi.
   IMPORTANT : ne jamais mettre les paddings à 0 via le builder sur les Rows —
   laisser uniquement le CSS gérer les paddings des rows. */
.rm-section.et_pb_section .et_pb_row {
    max-width: 100% !important;
    width: 100% !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 60px !important;
    padding-right: 60px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* --- Titre display (Diriger, Jouer…) ---
   La classe rm-display-title est sur le Text module.
   On cible .et_pb_text_inner pour le border et le padding,
   et les balises para/heading pour la typo. */
.rm-display-title .et_pb_text_inner {
    padding: 2px 0 6px !important;
    margin: 0 !important;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}
.rm-display-title .et_pb_text_inner p,
.rm-display-title .et_pb_text_inner h1,
.rm-display-title .et_pb_text_inner h2 {
    font-family: 'Sharp Serif Display', serif !important;
    font-style: italic !important;
    font-size: clamp(52px, 10.5vw, 130px) !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
    color: #000 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* --- Chapeau / sous-titre de page --- */
.rm-chapeau .et_pb_text_inner {
    padding: 20px 0 16px !important;
    margin: 0 !important;
}
.rm-chapeau .et_pb_text_inner p {
    font-family: 'Rethink Sans', sans-serif !important;
    font-size: clamp(22px, 2.8vw, 36px) !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 1.3 !important;
    color: #000 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* --- Intertitre de section ---
   Spectral ExtraBold uppercase, même famille que le corps de texte. */
.rm-intertitre .et_pb_text_inner,
.rm-intertitre .et_pb_text_inner p {
    font-family: 'Spectral', serif !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    line-height: 1.3 !important;
    color: #000 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* --- Texte secondaire dans les colonnes (Rethink Sans Regular) ---
   Utilisé sous un rm-intertitre pour une ligne descriptive légère. */
.rm-label-regular .et_pb_text_inner,
.rm-label-regular .et_pb_text_inner p {
    font-family: 'Rethink Sans', sans-serif !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    color: #000 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* --- Corps de texte dans les colonnes --- */
.rm-body.et_pb_text {
    padding-bottom: 1em !important;
}

.rm-body .et_pb_text_inner,
.rm-body .et_pb_text_inner p {
    font-family: 'Spectral', serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    color: #000 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.rm-body .et_pb_text_inner p + p {
    margin-top: 0.9em !important;
}

/* --- Lien en italique --- */
.rm-body .et_pb_text_inner a {
    color: #000;
    font-style: italic;
}

/* ========================================
   PAGES NOIRES — fond et contexte global
   ======================================== */

/* Fond noir sur les sections de contenu.
   padding-bottom: 48px crée l'espace de séparation AVANT le filet de la section suivante
   (la section suivante commence avec son filet en haut, sans margin-top supplémentaire).
   Ainsi le premier filet de la page est collé au header, et les 48px n'apparaissent
   qu'entre deux sections de contenu. */
.rm-dark-section.et_pb_section {
    background-color: #000 !important;
    padding-top: 0 !important;
    padding-bottom: 48px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Rows des sections noires : full width + gutters identiques aux pages blanches. */
.rm-dark-section.et_pb_section .et_pb_row {
    max-width: 100% !important;
    width: 100% !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 60px !important;
    padding-right: 60px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* Annule les margin-bottom Divi sur les modules des sections noires. */
.rm-dark-section .et_pb_module {
    margin-bottom: 0 !important;
}

/* Filet séparateur blanc — via ::before pour rester dans la zone des gutters (60px de chaque côté).
   border-top directement sur le row dessinerait à x=0 (avant le padding), comme un bord pleine largeur.
   position: relative sur le row pour ancrer le pseudo-élément. */
.rm-section .rm-ruled.et_pb_row {
    position: relative !important;
    padding-top: 40px !important;
}
.rm-section .rm-ruled.et_pb_row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 60px;
    right: 60px;
    height: 2px;
    background-color: #fff;
    pointer-events: none;
}

/* Espacement avant les séparateurs ENTRE sections (pas le premier en haut de page).
   Le sélecteur ~ cible tout row.rm-ruled précédé d'au moins un autre row dans la même section. */
.rm-section .et_pb_row ~ .et_pb_row.rm-ruled {
    margin-top: 48px !important;
}

/* Filet Divi (et_pb_with_border) dans les sections rm-section.
   Divi génère un border-top sur le row lui-même, qui se dessine avant le padding
   et donne un rendu pleine largeur. On annule ce border et on le remplace par un
   ::before ancré dans la zone des gutters, comme pour rm-ruled. */
.rm-section .et_pb_with_border.et_pb_row {
    border-top: none !important;
    position: relative !important;
}
.rm-section .et_pb_with_border.et_pb_row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 60px;
    right: 60px;
    height: 3px;
    background-color: #000;
    pointer-events: none;
}

/* Colonnes des sections noires : padding vertical forcé à 0 pour aligner le texte
   des colonnes gauche et droite au même point vertical.
   Sans cela, Divi applique un padding-top en % qui peut varier selon la largeur de colonne. */
.rm-dark-section .et_pb_row .et_pb_column {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* HIER / DEMAIN en blanc sur pages noires
   Classe dark-page à poser dans Divi → Page Settings → Advanced → CSS Class */
.dark-page .side-label {
    color: #fff !important;
}

/* ========================================
   PAGES NOIRES — modules de contenu
   Tout en Rethink Sans, texte blanc sur fond noir.
   Classes appliquées sur les Text modules Divi.
   ======================================== */

/* --- Label de section (ex: "À propos", "Médias") --- */
.rm-dark-label .et_pb_text_inner,
.rm-dark-label .et_pb_text_inner p {
    font-family: 'Rethink Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
    color: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* --- Accroche / intro (grand texte d'entrée de page) --- */
.rm-dark-lead .et_pb_text_inner,
.rm-dark-lead .et_pb_text_inner p {
    font-family: 'Rethink Sans', sans-serif !important;
    font-weight: 400 !important;
    font-size: 30px !important;
    line-height: 1.3 !important;
    color: #fff !important;
    margin: 0 !important;
   padding: 0 0 12px !important;
}

/* --- Corps de texte --- */
.rm-dark-body .et_pb_text_inner,
.rm-dark-body .et_pb_text_inner p {
    font-family: 'Rethink Sans', sans-serif !important;
    font-weight: 500 !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    color: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
}
.rm-dark-body .et_pb_text_inner p + p {
    margin-top: 1em !important;
}

/* ========================================
   PAGES NOIRES — listes de contenu
   ======================================== */

/* --- rm-dark-media-list ---
   <h3>Titre article</h3>
   <p>www.source.com | Date</p>
   ---------------------------------------- */
.rm-dark-media-list .et_pb_text_inner {
    margin: 0 !important;
    padding: 0 !important;
}
html body .rm-dark-media-list .et_pb_text_inner h3 {
    font-family: 'Rethink Sans', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 30px !important;
    line-height: 1.35 !important;
    color: #fff !important;
    margin: 0 !important;
}
.rm-dark-media-list .et_pb_text_inner p {
    font-family: 'Rethink Sans', sans-serif !important;
    font-weight: 400 !important;
    font-size: 30px !important;
    line-height: 1.35 !important;
    color: #fff !important;
    margin: 0 !important;
}
.rm-dark-media-list .et_pb_text_inner p:last-child {
    margin-bottom: 0 !important;
}

/* --- rm-dark-catalogue-list ---
   <h4>[TAG]</h4>
   <h3>Titre œuvre</h3>
   <p>Interprète 1, Interprète 2</p>
   ---------------------------------------- */
.rm-dark-catalogue-list .et_pb_text_inner {
    margin: 0 !important;
    padding: 0 !important;
}
.rm-dark-catalogue-list .et_pb_text_inner h4 {
    font-family: 'Rethink Sans', sans-serif !important;
    font-weight: 400 !important;
    font-size: 18px !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: #fff !important;
    margin: 1.8em 0 0 !important;
}
.rm-dark-catalogue-list .et_pb_text_inner h4:first-of-type {
    margin-top: 0.5em !important;
}
html body .rm-dark-catalogue-list .et_pb_text_inner h3 {
    font-family: 'Rethink Sans', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 30px !important;
    line-height: 1.35 !important;
    color: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
}
.rm-dark-catalogue-list .et_pb_text_inner p {
    font-family: 'Rethink Sans', sans-serif !important;
    font-weight: 400 !important;
    font-size: 30px !important;
    line-height: 1.35 !important;
    color: #fff !important;
    margin: 0.3em 0 1em !important;
}

/* --- rm-dark-video-list ---
   <h4>[TAG]</h4>
   <h3>Titre vidéo / programme</h3>
   <p><a href="#">Sous-titre ou lien</a></p>
   ---------------------------------------- */
.rm-dark-video-list .et_pb_text_inner {
    margin: 0 !important;
    padding: 0 !important;
}
.rm-dark-video-list .et_pb_text_inner h4 {
    font-family: 'Rethink Sans', sans-serif !important;
    font-weight: 400 !important;
    font-size: 18px !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: #fff !important;
    margin:  0 !important;
}
.rm-dark-video-list .et_pb_text_inner h4:first-of-type {
    margin-top: 0 !important;
}
html body .rm-dark-video-list .et_pb_text_inner h3 {
    font-family: 'Rethink Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 30px !important;
    line-height: 1.35 !important;
    color: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rm-dark-video-list .et_pb_text_inner p {
    font-family: 'Rethink Sans', sans-serif !important;
    font-weight: 400 !important;
    font-size: 30px !important;
    line-height: 1.35 !important;
    color: #fff !important;
    margin: 0 !important;
}
.rm-dark-video-list .et_pb_text_inner p a {
    color: #fff !important;
    text-decoration: underline !important;
    font-style: italic !important;
}
/* Titre gras italique sans tag (ex : "Night Bridge : X.") */
.rm-dark-video-list .et_pb_text_inner h3 em {
    font-style: italic !important;
}

/* --- rm-dark-album-cover ---
   Image module pour les pochettes dans la colonne gauche Catalogues.
   margin-bottom sur le module lui-même pour contrer rm-section .et_pb_module { margin-bottom: 0 } */
.rm-dark-album-cover.et_pb_module {
    margin-bottom: 12px !important;
}
.rm-dark-album-cover .et_pb_image_wrap img {
    width: 100% !important;
    max-width: 200px !important;
    height: auto !important;
    display: block !important;
}

/* --- rm-dark-boutique-list ---
   <h3>Compositeur / Catégorie</h3>
   <p><em>Titre pièce</em></p>
   <p>texte libre (ex : URL)</p>
   ---------------------------------------- */
.rm-dark-boutique-list .et_pb_text_inner {
    margin: 0 !important;
    padding: 0 !important;
}
.rm-dark-boutique-list .et_pb_text_inner h3 {
    font-family: 'Rethink Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: clamp(14px, 1.1vw, 17px) !important;
    line-height: 1.35 !important;
    color: #fff !important;
    margin: 1.5em 0 0.3em !important;
}
.rm-dark-boutique-list .et_pb_text_inner h3:first-child {
    margin-top: 0 !important;
}
.rm-dark-boutique-list .et_pb_text_inner p {
    font-family: 'Rethink Sans', sans-serif !important;
    font-weight: 400 !important;
    font-size: clamp(13px, 1vw, 15px) !important;
    line-height: 1.45 !important;
    color: #fff !important;
    margin: 0 !important;
}
.rm-dark-boutique-list .et_pb_text_inner p a {
    color: #fff !important;
    text-decoration: underline !important;
}

/* ========================================
   MODULE rm-titre
   Titre display + chapeau, pleine largeur
   Classe appliquée sur la SECTION Divi.
   ======================================== */

/* Les deux lignes (au-dessus et en-dessous du titre) sont portées par
   .rm-display-title .et_pb_text_inner — même élément, même largeur. */

/* ========================================
   MODULE rm-2col
   Colonne gauche : intertitre seul (1/4)
   Colonne droite : contenu (3/4)
   Row Divi : utiliser le ratio 1/4 + 3/4
   ======================================== */

.rm-2col .et_pb_row {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.rm-2col .et_pb_row .et_pb_column {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
}

/* ========================================
   MODULE rm-3col-equal
   3 colonnes égales (1/3 + 1/3 + 1/3)
   Chaque colonne : intertitre en tête + contenu
   ======================================== */

.rm-3col-equal .et_pb_row {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.rm-3col-equal .et_pb_row .et_pb_column {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
    border-right: none;
}
/* Espace entre colonnes via gap (Divi utilise des gutters) */
.rm-3col-equal .et_pb_row {
    column-gap: 40px !important;
}

/* ========================================
   MODULE rm-3col-label
   Ratio géré nativement par Divi.
   ======================================== */

.rm-3col-label .et_pb_row {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.rm-3col-label .et_pb_row .et_pb_column {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
}

/* ========================================
   MODULE rm-image
   Image contrainte dans le conteneur 1200px,
   sans padding latéral (bords du conteneur, pas du texte).
   ======================================== */

.rm-image.et_pb_section {
    padding: 0 !important;
    margin: 0 !important;
}
.rm-image .et_pb_row {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding: 0 60px !important;
}
.rm-image .et_pb_module {
    margin-bottom: 0 !important;
}
.rm-image .et_pb_image_wrap,
.rm-image .et_pb_image_wrap img {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    margin: 0 !important;
}

/* ========================================
   RESPONSIVE — MODULES DE CONTENU
   ======================================== */

@media (max-width: 768px) {
    .header-bar .et_pb_row_0_tb_header.et_pb_row {
        padding: 16px 48px !important;
    }
    .rm-section.et_pb_section .et_pb_row {
        padding-left: 48px !important;
        padding-right: 48px !important;
    }
    .rm-dark-section.et_pb_section .et_pb_row {
        padding-left: 48px !important;
        padding-right: 48px !important;
    }
    .rm-section .rm-ruled.et_pb_row::before {
        left: 48px;
        right: 48px;
    }
    .rm-section .et_pb_with_border.et_pb_row::before {
        left: 48px;
        right: 48px;
    }
    .home-nav {
        padding: 0 48px;
    }
    .home-quotes {
        padding: 48px 48px 80px;
    }
}
