/************************************************************************************
*                                                                                   *
*       Cette feuille de style en cascade est la propriété exclusive                *
*       des Éditions Musicales Gratte-Ciel. Reproduction totale ou                  *
*       partielle formellement interdite (Code de la Propriété                      *
*       intellectuelle).                                                            *
*                                                                                   *
*       Copyright © 2025 Kenny L. Choa-Piane. All rights                            *
*       reserved. International copyright secured.                                  *
*-----------------------------------------------------------------------------------*
*                                                                                   *
*       BASE.CSS = design général du site                                           *
*       > concerne les sections fixes du site comme l'accueil, le catalogue         *
*       ou le blog                                                                  *
*                                                                                   *
************************************************************************************/

/* Partie I. - Généralités */
:root {
    /* Couleurs */
    --principal: #1B365D; /* PANTONE 534 C*/
    --light20: #2C4A72;
    --light40: #5A7393;
    --neutre: #2B2B2B; /* PANTONE 447C */
    --emgris: #F3F3F3; /* COOL GRAY 1 C */
    --emblanc: #efefef;
    --emjaune: #C6A667; /* PANTONE 871 C */
    --emrouge: #993333; 

    --litewhite: #e8ecf0;
    --glow: #f8f7ee;
    --gris2: #8d8d8d;

    --harmonie: rgba(237, 244, 248, 0.66);
    --symphonique: rgba(248, 233, 229, 0.66);
    --opera: rgba(238, 237, 250, 0.66);
    --chambre: rgba(238, 248, 232, 0.66);
    --piano: rgba(231, 237, 243, 0.66);
    --autres: rgba(247, 240, 231, 0.66);

    /* Tailles */
    --hauteurmenu: 64px;
    --logolargeur: 256px;
    --fontsize: 1.25em;
    --btnheight: 60px;
    --btnminwidth: 240px;
    --heroheight: 800px;

    /* Durées */
    --transition: 0.25s;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
    min-height: 100%;
    background-color: var(--emgris);
    color: var(--emblanc);
    font-family: "Lora", "Times New Roman", Times, serif;
    line-height: 1.6;
    font-weight: 400;
    font-size: var(--fontsize);
}
h1, h2, h3, h4, h5 {
    font-family: "Nunito", sans-serif;
    font-weight: 700;
}
h3, h4, h5 {
    font-family: "Nunito", sans-serif;
    font-weight: 500;
}
p {
    font-style: normal;
}

#enHaut { /* Bouton pour revenir en haut */
    display: none;
    position: fixed; 
    bottom: 16px;
    right: 32px;
    z-index: 99;
    border: 5px solid var(--emgris);
    outline: none;
    background-color: var(--neutre);
    color: var(--emgris);
    cursor: pointer;
    padding: 16px;
    border-radius: 16px;
    font-size: 32px;
}

#enHaut:hover {
    background-color: var(--emrouge);
    color: var(--emjaune);
    font-size: 40px;
    transition: var(--transition);
}

/* Partie II. — Menu général */
nav {
    margin: 0;
    width: 100%;
    height: var(--hauteurmenu);
    background: var(--emblanc);
    position: fixed;
    z-index: 2;
    top: 0;
    border-bottom: 5px solid var(--principal);
}

nav .menu-general {
    display: flex;
    justify-content: space-around;
    align-items: start;
}

nav .menu-general a {
    width: 12%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--hauteurmenu);
    text-decoration: none;
    font-family: "Nunito", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    line-height: 1.1;
    color: var(--principal);
}
nav a:hover {
    background-color: var(--principal);
    color: var(--emblanc);
    font-style: italic;
    transition: var(--transition);
}

nav a.home-logo {
    content: url(../logos/Logo_Horizontal_v3.svg);
    height: var(--hauteurmenu);
    width: var(--logolargeur);
}

nav a.home-logo:hover {
    background: none;
}

nav .menu-general a i {
    color: var(--principal);
}

nav .menu-general a:hover i {
    color: var(--emblanc);
}

label, #revelte {
    display: none;
}

/* Pastille connexion */
.menu-connect {
    position: relative;          /* contexte pour le badge             */
    display: inline-flex;
    justify-content: center;
    align-items: center;         /* centre bien l’icône dans le bouton */
    width: 0.9rem;     /* même largeur que les autres items  */
    height: 0.9rem;
    font-size: 0.9rem;           /* taille de l’icône */
}

.connect-anchor {
    position: relative;          /* 🡐 c’est ce repère que l’on vise   */    
}

.connect-badge {
    position: absolute;
    bottom: 0; 
    right: -3px;       /* par rapport à l’icône désormais    */
    background: green;
    color: var(--emblanc);
    width: 10px; 
    height: 10px;
    border-radius: 50%;
    justify-content: center; 
    align-items: center;
    pointer-events: none;
}


/* Partie III. — Section des héros */

.hero-accueil {
    background-image: linear-gradient(rgba(0, 0, 0, 0.66),rgba(0, 0, 0, 0.66)), url(../images/Home-hero.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: var(--heroheight);
    margin-top: var(--hauteurmenu);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fontsize);
}

.header-accueil {
    width: 800px;
}

.header-bibliotheque, .header-harmonie, .header-symphonique, .header-opera, .header-musique-de-chambre,
.header-piano, .header-autres-oeuvres, .blog-header {
    width: 1200px;
}

.header-bibliotheque a, .header-harmonie a, .header-symphonique a, .header-opera a, .header-musique-de-chambre a,
.header-piano a, .header-autres-oeuvres a, .blog-header a {
    text-decoration: underline;
    color: var(--emjaune);
    font-size: 0.75em;
}

.header-bibliotheque a:visited, .header-harmonie a:visited, .header-symphonique a:visited, .header-opera a:visited, .header-musique-de-chambre a:visited,
.header-piano a:visited, .header-autres-oeuvres a:visited, .blog-header a:visited {
    text-decoration: underline;
    color: var(--emjaune);
}

.header-accueil a:hover, .header-bibliotheque a:hover, .header-harmonie a:hover, .header-symphonique a:hover, .header-opera a:hover, .header-musique-de-chambre a:hover,
.header-piano a:hover, .header-autres-oeuvres a:hover, .blog-header a:hover {
    text-decoration: none;
    color: var(--emrouge);
}

.faux-titre {
    color: var(--emjaune);
    text-transform: uppercase;
    font-family: "Nunito Sans", sans-serif;
}

.hero-bibliotheque {
    background-image: linear-gradient(rgba(0, 0, 0, 0.66),rgba(0, 0, 0, 0.66)), url(../images/Library-hero.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: var(--heroheight);
    margin-top: var(--hauteurmenu);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fontsize);
}

.hero-harmonie {
    background-image: linear-gradient(rgba(0, 0, 0, 0.66),rgba(0, 0, 0, 0.66)), url(../images/Cat-img-harmonie.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: var(--heroheight);
    margin-top: var(--hauteurmenu);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fontsize);
}

.hero-symphonique {
    background-image: linear-gradient(rgba(0, 0, 0, 0.66),rgba(0, 0, 0, 0.66)), url(../images/Cat-img-symphonique.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: var(--heroheight);
    margin-top: var(--hauteurmenu);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fontsize);
}

.hero-opera {
    background-image: linear-gradient(rgba(0, 0, 0, 0.66),rgba(0, 0, 0, 0.66)), url(../images/Cat-img-opera.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: var(--heroheight);
    margin-top: var(--hauteurmenu);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fontsize);
}

.hero-musique-de-chambre {
    background-image: linear-gradient(rgba(0, 0, 0, 0.66),rgba(0, 0, 0, 0.66)), url(../images/Cat-img-chambre.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: var(--heroheight);
    margin-top: var(--hauteurmenu);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fontsize);
}

.hero-piano {
    background-image: linear-gradient(rgba(0, 0, 0, 0.66),rgba(0, 0, 0, 0.66)), url(../images/Cat-img-piano.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: var(--heroheight);
    margin-top: var(--hauteurmenu);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fontsize);
}

.hero-autres-oeuvres {
    background-image: linear-gradient(rgba(0, 0, 0, 0.66),rgba(0, 0, 0, 0.66)), url(../images/Cat-img-vocal.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: var(--heroheight);
    margin-top: var(--hauteurmenu);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fontsize);
}

.hero-login {
    background-image: url(../images/EMGC-Building-wallpaper.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    min-height: 100vh;
}

.hero-signup {
    background-image: url(../images/EMGC-Building-wallpaper.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    min-height: 100vh;
}


/* Partie IV. — Accueil : Vignettes */

.vignettes-accueil {
    position: absolute;
    z-index: 1;
    display: inline-flex;
    justify-content: space-between;
    width: 800px;
    margin-top: -50px;
    margin-left: 50%;
    transform: translate(-50%, 0);
}

.spvignette {
    width: 210px;
    background-color: var(--emblanc);
    color: var(--neutre);
    padding: 25px;
}

.spvignette h1 {
    text-align: center;
    color: var(--emrouge);
    line-height: 14px;
}

.spvignette h2 {
    text-align: center;
}

.spvignette p {
    font-size: 1.2em;
    text-align: center;
}
/* Partie V. — Boutons */

.btn-classique {
    height: var(--btnheight);
    min-width: var(--btnminwidth);
    padding-left: 20px;
    padding-right: 20px;
    background-color: var(--principal);
    color: var(--emblanc);
    font-family: "Nunito Sans", sans-serif;
    border: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.0rem;
}

.btn-classique:hover {
    background-color: var(--emjaune);
    color: var(--principal);
    cursor: pointer;
    justify-content: end;
    transition: var(--transition);
}

.btn-secondaire {
    height: var(--btnheight);
    min-width: var(--btnminwidth);
    padding-left: 20px;
    padding-right: 20px;
    background-color: var(--emblanc);
    color: var(--neutre);
    font-family: "Nunito Sans", sans-serif;
    border: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.0rem;    
}

.btn-secondaire:hover {
    background-color: var(--neutre);
    color: var(--emblanc);
    cursor: pointer;
    justify-content: end;
    transition: var(--transition);
}

.btn-important {
    height: var(--btnheight);
    min-width: var(--btnminwidth);
    padding-left: 20px;
    padding-right: 20px;
    background-color: var(--emrouge);
    color: var(--emjaune);
    font-family: "Nunito Sans", sans-serif;
    border: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.0rem;    
}

.btn-important:hover {
    background-color: var(--emjaune);
    color: var(--emrouge);
    cursor: pointer;
    justify-content: end;
    transition: var(--transition);
}

.categories-boutons {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 120px;
}

.cat-btn {
    flex: 1 0 45%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 5px;
    min-width: var(--btnminwidth);
    height: var(--btnheight);
    background-color: var(--neutre);
    color: var(--emjaune);
    font-family: "Nunito Sans", sans-serif;
    padding-left: 20px;
    padding-right: 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    /*font-size: 1.15em*/
}

.cat-btn:hover {
    background-color: var(--emjaune);
    color: var(--neutre);
    justify-content: end;
    font-style: italic;
    transition: var(--transition);
}

.btn-retirer {
    background-color: var(--emrouge);
    color: var(--emblanc);
    font-size: 1.0em;
    border: none;
}

.btn-retirer:hover {
    background-color: var(--emjaune);
    color: var(--emrouge);
    cursor: pointer;
}

.btn-payement {
    height: var(--btnheight);
    min-width: var(--btnminwidth);
    padding-left: 20px;
    padding-right: 20px;
    background-color: var(--neutre);
    color: var(--emblanc);
    font-family: "Nunito Sans", sans-serif;
    border: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.0rem;  
}

.btn-payement:hover {
    background-color: var(--emgris);
    color: var(--principal);
    cursor: pointer;
    padding-left: 2em;
    transition: var(--transition);
    box-sizing: border-box;
}

.google-signup-button {
    height: var(--btnheight);
    min-width: var(--btnminwidth);
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    background-color: var(--neutre);
    color: var(--emblanc);
    font-family: "Nunito Sans", sans-serif;
    border: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.0rem; text-decoration: none;
    box-sizing: border-box;
    margin-bottom: 50px;
}

.google-signup-button:hover {
    background-color: var(--emblanc);
    color: var(--neutre);
    border: 1px solid var(--neutre);
    cursor: pointer;
}

.google-signin-button {
    height: var(--btnheight);
    min-width: var(--btnminwidth);
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    background-color: var(--emblanc);
    color: var(--neutre);
    font-family: "Nunito Sans", sans-serif;
    border: 1px solid var(--neutre);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.0rem; text-decoration: none;
    box-sizing: border-box;
    margin-top: 50px;
    margin-bottom: 50px;
}

.google-signin-button:hover {
    background-color: var(--emrouge);
    color: var(--emblanc);
    border: none;
    cursor: pointer;
}

/* Partie VI. — Corps de texte */

.corpus {
    position: relative;
    width: 1200px;
    color: var(--neutre);
    margin: -30px auto;
    margin-bottom: 50px;
    padding-top: 450px;
    font-size: 1.25em;
}

.corpus0 {
    position: relative;
    width: 1200px;
    color: var(--neutre);
    margin: auto;
    padding-top: 0;
    font-size: 1.25em;
}

.corpus-vignettes {
    width: 900px;
    margin: auto;
}

.cps-box {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.cps-vignette {
    width: 45%;
    padding: 2.5%;
    margin-top: 10px;
    color: var(--emblanc);
}

.harmonie {
    background-image: linear-gradient(rgba(0, 0, 0, 0.66),rgba(0, 0, 0, 0.66)), url(../images/Cat-img-harmonie.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 20px;
}

.symphonique {
    background-image: linear-gradient(rgba(0, 0, 0, 0.66),rgba(0, 0, 0, 0.66)), url(../images/Cat-img-symphonique.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 20px;
}

.chambre {
    background-image: linear-gradient(rgba(0, 0, 0, 0.66),rgba(0, 0, 0, 0.66)), url(../images/Cat-img-piano.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 20px;
}

.autres {
    background-image: linear-gradient(rgba(0, 0, 0, 0.66),rgba(0, 0, 0, 0.66)), url(../images/Cat-img-vocal.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 20px;
}

.corpus-content {
    width: 900px;
    margin: auto;
}

.publications {
    background-color: var(--emblanc);
    position: relative;
    padding: 25px;
    width: 100%;
}

.parutions {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    /*gap: 20px;*/
}

.publi-vignette {
    flex: 1 0 33%;
    max-width: 33%;
    text-decoration: none;
    color: var(--neutre);

}

.publi-vignette2 {
    flex: 1 0 25%;
    max-width: 25%;
    text-decoration: none;
    color: var(--neutre);

}

.publi-vignette:hover, .publi-vignette2:hover {
    background-color: var(--litewhite);
    transition: var(--transition);
}

.publi-cover-container.skeuo {
    position: relative;
    display: inline-block;
    perspective: 1000px; /* profondeur */
    width: 90%;
    margin-left: 50%;
    transform: translateX(-50%);
    margin-top: 20px;
}

.publi-cover-container:hover {
    width: 92%;
    transition: var(--transition);
}

.publi-cover {
    display: block;
    width: 100%;
    height: auto;
    box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.1), /* liseré clair intérieur */
    inset 0 2px 4px rgba(255, 255, 255, 0.3),  /* lumière haut */
    inset 0 -2px 4px rgba(0, 0, 0, 0.2),       /* ombre bas */
    inset 2px 0 4px rgba(0, 0, 0, 0.15),       /* ombre gauche */
    inset -2px 0 4px rgba(255, 255, 255, 0.1), /* lumière droite */
    0 4px 8px rgba(0, 0, 0, 0.4);              /* ombre extérieure */
    filter: brightness(1.03) contrast(1.07);
}

.shiny-overlay { /* Effet de réflexion de la lumière sur la couverture de la partition au passage de la souris */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0) 50%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
  filter: blur(10px);
}

.publi-vignette h3, .publi-vignette2 h3 {
    text-align: center;
    font-family: "Nunito Sans", sans-serif;
    margin-bottom: 0; 
}

.publi-rm {
    text-align: center;
    font-style: italic;
    margin-bottom: 0;
    font-size: 0.80em;
}

.publi-compositeur {
    text-align: center;
    color: var(--emrouge);
    font-family: "Nunito Sans", sans-serif;
    font-size: 0.75em;
}

.publi-description {
    font-size: 0.75em;
    width: 90%;
    margin: auto;
}

.publi-etiquette {
    text-transform: uppercase;
    font-size: 0.66em;
    letter-spacing: 3px;
    color: var(--principal);
    text-align: center;
    margin-top: 20px;
    padding-bottom: 20px;
}

.publi-date {
    font-family: "Nunito Sans", sans-serif;
    font-weight: 900;
    font-size: 0.5em;
    text-align: center;
    color: var(--gris2);
    text-transform: uppercase;
    padding-bottom: 25px;
}

.espaceur {
    width: 100%;
    height: 64px;
}

.espaceur50 {
    width: 100%;
    height: 50px;
}

    /* Blocs de présentation des oeuvres par sections */
.harmonie-block {
    display: block;
    background-color: var(--harmonie);
    color: var(--neutre);
    min-height: 120px;
    width: 100%;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}
.harmonie-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/Cat-img-harmonie.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.16;
    z-index: -1;
    mix-blend-mode: multiply;
}
.harmonie-block > * {
    position: relative;
    z-index: 1;
}

.harmonie-publi {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 25px;
    padding-bottom: 25px;
}

.symphonique-block {
    display: block;
    background-color: var(--symphonique);
    color: var(--neutre);
    min-height: 120px;
    width: 100%;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.symphonique-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/Cat-img-symphonique.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.16;
    z-index: -1;
    mix-blend-mode: multiply;
}
.symphonique-block > * {
    position: relative;
    z-index: 1;
}

.symphonique-publi {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 25px;
    padding-bottom: 25px;
}

.opera-block {
    display: block;
    background-color: var(--opera);
    color: var(--neutre);
    min-height: 120px;
    width: 100%;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.opera-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/Cat-img-opera.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.16;
    z-index: -1;
    mix-blend-mode: multiply;
}
.opera-block > * {
    position: relative;
    z-index: 1;
}

.opera-publi {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 25px;
    padding-bottom: 25px;
}

.chambre-block {
    display: block;
    background-color: var(--chambre);
    color: var(--neutre);
    min-height: 120px;
    width: 100%;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.chambre-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/Cat-img-chambre.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.16;
    z-index: -1;
    mix-blend-mode: multiply;
}
.chambre-block > * {
    position: relative;
    z-index: 1;
}

.chambre-publi {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 25px;
    padding-bottom: 25px;
}

.piano-block {
    display: block;
    background-color: var(--piano);
    color: var(--neutre);
    min-height: 120px;
    width: 100%;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.piano-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/Cat-img-piano.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.16;
    z-index: -1;
    mix-blend-mode: multiply;
}
.piano-block > * {
    position: relative;
    z-index: 1;
}

.piano-publi {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 25px;
    padding-bottom: 25px;
}

.autres-block {
    display: block;
    background-color: var(--autres);
    color: var(--neutre);
    min-height: 120px;
    width: 100%;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.autres-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/Cat-img-vocal.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.16;
    z-index: -1;
    mix-blend-mode: multiply;
}
.autres-block > * {
    position: relative;
    z-index: 1;
}

.autres-publi {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 25px;
    padding-bottom: 25px;
}

    /* Carroussel des publications */

.carroussel-publi {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-bottom: 50px;
}

.carroussel-publi a {
    text-decoration: none;
    color: var(--neutre);
}

.carroussel-list li:hover {
    background-color: var(--emblanc);
    border: 1px solid var(--emgris);
    border-radius: 10px;
}

.carroussel-list {
  display: flex;
  transition: transform 0.5s ease;
  padding: 0;
  margin: 0;
  list-style: none;
}

.carrousel-item {
  flex: 0 0 calc(100% / 4);
  box-sizing: border-box;
  padding: 10px;
}

/* Flèches */
.carroussel-prev,
.carroussel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
  font-size: 24px;
  border-radius: 5px;
  width: var(--btnheight);
  height: var(--btnheight);
}

.carroussel-prev {
  left: 10px;
}

.carroussel-next {
  right: 10px;
}

.carroussel-prev:hover, .carroussel-next:hover {
    background:rgba(18, 67, 80, 0.6);
    color: var(--emrouge);
    transition: var(--transition);
}

.carroussel-prev.hidden,
.carroussel-next.hidden {
  display: none;
}

.carroussel-content-container h3 {
    font-family: "Nunito Sans", sans-serif;
    text-align: center;
    margin-bottom: 0;
}

.carroussel-rm {
    margin-top: 0;
    font-style: italic;
    text-align: center;
}

.carroussel-compositeur {
    font-family: "Nunito Sans", sans-serif;
    color: var(--emrouge);
    text-align: center;
    font-size: 0.75em;
}
.carroussel-description {
    margin-bottom: 10px;
    font-size: 0.8em;
}
.carroussel-difficulte {
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--principal);
    font-size: 0.7em;
    margin-bottom: 10px;
}
.carroussel-parution {
    font-family: "Nunito Sans", sans-serif;
    font-weight: 900;
    font-size: 0.75em;
    text-align: center;
    color: var(--gris2);
    text-transform: uppercase;
    padding-bottom: 25px;
}

    /* Système de favoris */

/* ============================
   Bouton Favoris – Flat design
   ============================ */

.fav-wrapper {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: 50px;
}

.fav-toggle {
    display: inline-flex;
    align-items: center;
    text-align: center;
    gap: 6px;

    height: var(--btnheight);
    min-width: 150px;

    padding: 6px 10px;

    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.10);

    cursor: pointer;
    user-select: none;

    font-family: "Merriweather Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1;

    color: rgba(0, 0, 0, 0.75);

    transition:
        background-color .15s ease,
        border-color .15s ease,
        color .15s ease;
}

/* Apparition au survol de la carte */
.publi-vignette:hover .fav-toggle,
.carroussel-link:hover .fav-toggle{
    background: #ffffffc0;
    border-color: rgba(0, 0, 0, 0.25);
    color: rgba(0, 0, 0, 0.9);
}

/* État favori */
.fav-toggle.is-fav{
    background-color: var(--light40);
    border-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.95);
}

/* Icône cœur */
.fav-toggle .fav-ico {
    font-size: 2em;
    line-height: 1;
    margin-top: -1px; /* alignement optique */
}

/* Hover spécifique bouton */
.fav-toggle:hover{
    background: #fafafa;
}

/* Focus clavier (accessibilité) */
.fav-toggle:focus{
    outline: none;
    box-shadow: 0 0 0 2px rgba(27, 54, 93, 0.15); /* rappel Pantone 534C */
}

/*******************************

BOUTON ECOUTER UN EXTRAIT

*/

/* Bouton "écouter un extrait" (flat) */

.audio-sample, .pdf-sample {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;

    box-sizing: border-box;
    max-width: 200px;
    width: 100%;
    height: var(--btnheight);
    margin: 50px auto 0;

    padding: 0 10px;

    background: #fff;
    border: 1px solid rgba(0,0,0,.08);

    font-family: "Merriweather Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: .78rem;
    font-weight: 400;
    letter-spacing: .02em;
    line-height: 1;

    color: rgba(0,0,0,.75);

    cursor: pointer;
    user-select: none;

    transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .08s ease;
}

.audio-sample:hover {
    background: rgba(0,0,0,.02);
    border-color: rgba(0,0,0,.12);
}

.pdf-sample:hover {
    background: none;
    border-color: rgb(255, 255, 255);
    color: var(--emblanc);
}

.audio-sample:active, .pdf-sample:active {
    transform: translateY(1px);
}

.audio-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.12);
    background: #fff;

    font-size: .78rem;
    line-height: 1;
}

.produit-droit a.pdf-sample,
.produit-droit a.pdf-sample:hover,
.produit-droit a.pdf-sample:focus,
.produit-droit a.pdf-sample:active,
.produit-droit a.pdf-sample:visited{
    text-decoration: none;
}


/* Etat "en lecture" */
.audio-sample.is-playing {
    border-color: rgba(0,0,0,.18);
    color: rgba(0,0,0,.85);
}

.audio-sample.is-playing .audio-ico {
    border-color: rgba(0,0,0,.18);
}


    /* Page de vente */

.corpus-produit {
    margin-top: 64px;
    margin-left: auto;
    margin-right: auto;
    width: 1200px;
    padding: 25px;
    color: var(--neutre);
    background-color: var(--emblanc);
    border-right: 2px solid var(--emgris);
    border-left: 2px solid var(--emgris); 
}

.produit-bloc {
    display: flex;
    justify-content: space-between;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.produit-gauche {
    width: 300px;
    top: 89px;
}

ul.produit-carroussel-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

ul.produit-carroussel-list li:hover {
    cursor: pointer;
}

.shiny-wrapper {
    position: relative;
    display: inline-block;
}

.shiny-wrapper img {
    box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.1), /* liseré clair intérieur */
    inset 0 2px 4px rgba(255, 255, 255, 0.3),  /* lumière haut */
    inset 0 -2px 4px rgba(0, 0, 0, 0.2),       /* ombre bas */
    inset 2px 0 4px rgba(0, 0, 0, 0.15),       /* ombre gauche */
    inset -2px 0 4px rgba(255, 255, 255, 0.1), /* lumière droite */
    0 4px 8px rgba(0, 0, 0, 0.4);              /* ombre extérieure */
    filter: brightness(1.03) contrast(1.07);
}

.shiny-wrapper-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0) 50%
    );
    opacity: 0;
    transition: opacity 0.2s ease;
    filter: blur(10px);
}

.shiny-wrapper:hover .shiny-wrapper-overlay {
  opacity: 1;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-content {
    position: relative;
    background: var(--emblanc);
    padding: 20px;
    width: 90%;
    height: 90%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-payement {
    position: relative;
    background: var(--emgris);
    padding: 20px;
    width: 90%;
    height: 90%;
    margin-top: 2.5%!important;
    margin: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    color: var(--neutre);
}

.deposit {
    font-weight: 700;
}

.deposit sup {
    font-size: 0.5em;
}

.lightbox-payement form {
    width: 100%;
    min-width: 500px;
}

.lightbox-payement button {
    width: 100%;
    min-width: 500px;
}

.stripe-card-wrapper {
    height: var(--btnheight);
    width: 100%;
    padding: 12px 8px;
    box-sizing: border-box;
    margin-bottom: 25px;
    border: 1px solid var(--neutre);
    outline: none;
    border-radius: 4px;
    overflow: hidden;
    font-family: inherit;
}

.paiement-erreur {
    color: var(--emrouge);
    text-align: center;
    font-size: 0.7em;
}

.lightbox-carousel {
    display: flex;
    align-items: center;
    width: 100%;
    height: 70vh;
    position: relative;
}

.lightbox-slide-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.lightbox-slide-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.lightbox-prev, .lightbox-next {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--neutre);
    cursor: pointer;
    padding: 10px;
    z-index: 1;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: var(--principal);
    color: var(--emblanc);
}

.lightbox-thumbnails {
    display: flex;
    margin-top: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
    max-width: 100%;
}

.lightbox-thumbnails img {
    height: calc(20vh - 20px);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.lightbox-thumbnails img:hover {
    border: 2px solid var(--emrouge);
    border-radius: 4px;
}

.lightbox-thumbnails img.active {
    opacity: 1;
    border: 2px solid var(--neutre);
    border-radius: 4px;
}

.close-lightbox {
    position: absolute;
    top: 0;
    right: 0;
    font-size: var(--btnheight);
    text-align: center;
    line-height: 68px;
    color: var(--neutre);
    background-color: var(--emgris);
    width: var(--btnheight);
    height: var(--btnheight);
    z-index: 1001;
}

.close-lightbox:hover {
    cursor: pointer;
    background-color: var(--emrouge);
    color: var(--emblanc);
}

.img-hidden {
    display: none;
}

.produit-centre {
    flex: 1;
    max-width: 550px;
    margin: auto;
}

.produit-centre a, .produit-centre a:visited {
    text-decoration: none;
    color: var(--neutre);
}

.produit-centre a:hover {
    font-weight: bold;
    text-decoration: underline;
    text-decoration-style: dotted;
    color: var(--emrouge);
    transition: var(--transition);
}

.produit-centre h2 {
    margin : 0;
    padding: 0;
}

.produit-sous-titre {
    font-style: italic;
    font-size: 1.33em;
    margin: 0;
    padding: 0;
}

.produit-rm {
    font-size: 0.90em;
}

.produit-compositeur {
    color: var(--emrouge);
    margin-bottom: 25px;
}

.produit-effectif {
    margin-bottom: 25px;
}

.produit-publication {
    margin-bottom: 6px;
}

.produit-difficulte {
    margin-bottom: 25px;
}

.produit-difficulte i {
    font-size: 0.75em;
}

.tabs {
    width: 100%;
}

.tab-buttons {
    width: 100%;
    border-bottom: 2px solid var(--neutre);
    display: inline-flex;
}

.tab-buttons button {
    width: 50%;
    height: var(--btnheight);
    background-color: none;
    border: none;
    font-family: "Nunito Sans", sans-serif;
    font-size: 0.96em;
    text-align: left;
    margin: 0;
    padding: 0;
}

.tab-buttons button:hover {
    background-color: var(--neutre);
    color: var(--emgris);
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
    text-indent: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.tab-active {
    display: block;
}

.tab-inactive {
    display: none;
}

.produit-droit {
    top: 64px;
    width: 248px;
    padding: 25px;

    background-color: var(--neutre);
    color: var(--emgris);

    line-height: 64px;
}

.prix-box {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.pbgauche {
    font-size: 1.0em;
}

.pbdroit {
    font-size: 0.80em;
}

.pbdroit sup {
    font-size: 0.50em;
}

.buy-button {
    background-color: var(--emrouge);
    color: var(--emjaune);
    width: 100%;
    height: var(--btnheight);
    border-radius: 5px;
    border: none;
    text-align: center;
    font-family: "Source Sans 3", sans-serif;
    font-size: 1.0em;
}

.buy-button:hover {
    cursor: pointer;
    text-indent: 25px;
    transition: var(--transition);
    background-color: var(--emjaune);
    color: var(--emrouge);
    border: 2px solid var(--emrouge);
}

.buy-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.buy-popup-content {
    position: relative;
    background: var(--emblanc);
    padding: 20px;
    width: 90%;
    height: 90%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.buy-popup h3 {
    font-family: "Nunito Sans", sans-serif;
    font-weight: 700;
}

table.buy-table {
    border: 0;
    border-collapse:collapse;
    margin: 0;
    padding: 0;
    width: 100%;
}

.buy-table thead td {
    font-weight: 700;   
    padding: 8px 4px;          
    border-bottom: 4px solid var(--principal); 
}

.buy-table tbody tr:not(:last-child) {
    border-bottom:2px solid var(--principal); 
}

.buy-table tbody td {
    padding: 8px 4px;
}

.buy-table-item { 
    width: 75%;  
}

.buy-table-prix { 
    width: 12.5%; 
}

.buy-table-coche{ 
    width: 12.5%; 
}

.buy-table-coche input[type=checkbox]{
    appearance:none;
    width: var(--btnheight); 
    height: var(--btnheight);
    border: 0;
    border-radius: 4px;
    background: var(--emblanc);
    cursor: pointer;
    position: relative;
}

.buy-table-coche input[type=checkbox]::before{
    content: "";                 
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%,-50%);
    width:1.5em;
    height:1.5em;
    background-color: var(--neutre);

    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%231f1f1f'%3E%3Cpath d='M440-600v-120H320v-80h120v-120h80v120h120v80H520v120h-80ZM280-80q-33 0-56.5-23.5T200-160q0-33 23.5-56.5T280-240q33 0 56.5 23.5T360-160q0 33-23.5 56.5T280-80Zm400 0q-33 0-56.5-23.5T600-160q0-33 23.5-56.5T680-240q33 0 56.5 23.5T760-160q0 33-23.5 56.5T680-80ZM40-800v-80h131l170 360h280l156-280h91L692-482q-11 20-29.5 31T622-440H324l-44 80h480v80H280q-45 0-68.5-39t-1.5-79l54-98-144-304H40Z'/%3E%3C/svg%3E");
    mask-repeat:no-repeat;
    mask-size:contain;
    mask-position:center; 

    pointer-events:none;
    transition: background-color .25s;
}

.buy-table-coche input[type=checkbox]:hover {
    background: var(--emgris);
}

.buy-table-coche input[type=checkbox]:checked{
    background: var(--neutre);        
}

.buy-table-coche input[type=checkbox]:checked::before{
    background-color: var(--emjaune);           
}

.buy-table sup {
    font-size: 0.5em;
}

    /* ligne désactivée quand “complet” est coché */
.buy-table tr.disabled {
    opacity: .45;
}

.buy-table tr.disabled input[type="checkbox"] {
    cursor: not-allowed;
}

.buy-note {
    font-size: 0.75em;
    margin: 0;
}

.total {
    text-transform: uppercase;
    font-weight: 700;
    line-height: var(--btnheight);
}

.produit-carroussel img {
    width: 300px;
}

a.difficulte {
    text-decoration: underline;
    text-decoration-line: 1px;
    text-decoration-style: dotted;
}

a.difficulte:hover {
    cursor: pointer;
}

    /* ---------- Light-box difficulté ---------- */

.diff-popup {
    display: none;                        /* masquée par défaut          */
    position: fixed; 
    inset:0;
    background:rgba(0,0,0,.8);
    justify-content: center;
    align-items: center;
    z-index: 1500;
}

.diff-popup-content{
    background: var(--emblanc); 
    color: var(--neutre);
    max-width: 600px; 
    width: 90%;
    padding: 25px 30px;
    border-radius: 8px;
    position: relative;
}

.diff-close {
    position: absolute; 
    top: 0; 
    right: 0;
    width: 64px;
    height: 64px;
    font-size: 64px;
    line-height: 64px;
    text-align: center;
    cursor: pointer;
    border-top-right-radius: 8px;
}

.diff-close:hover {
    background-color: var(--emrouge);
    color: var(--emblanc);
}

.diff-table {
    width: 100%; 
    border-collapse: collapse; 
    margin-top: 15px;
}

.diff-table thead th{
  text-align: left; 
  font-weight: 700; 
  padding: 8px 4px;
  border-bottom: 4px solid var(--principal);
}

.diff-table tbody td{
  padding: 8px 4px; 
  border-bottom: 2px solid var(--principal);
}

.diff-table tbody tr:last-child td { 
    border-bottom: none; 
}

/* Ligne de pack déjà acheté */
.owned-pack-row {
    opacity: 0.6;
    background-color: #f4f5f8;
}

.owned-pack-row .buy-table-item {
    position: relative;
}

.owned-pack-msg {
    font-size: 0.85rem;
    line-height: 1em;
    color: #555;
}

.owned-pack-msg a {
    color: #1B365D;
    text-decoration: underline;
    font-weight: 500;
}

.owned-pack-msg a:hover {
    text-decoration: none;
}

.upgrade-note {
    font-size: 0.8rem;
    color: #555;
    font-style: italic;
}

.upgrade-price {
    font-size: 0.85rem;
    color: #1B365D;
}

h1.cancel {
    color: var(--emblanc);
    background-color: var(--emrouge);
}

    /*----- Mise en forme du panier -----*/

.menu-cart {
    position: relative;          /* contexte pour le badge             */
    display: inline-flex;
    justify-content: center;
    align-items: center;         /* centre bien l’icône dans le bouton */
    width: 0.9rem;     /* même largeur que les autres items  */
    height: 0.9rem;
    font-size: 0.9rem;           /* taille de l’icône */
}

.cart-anchor {
    position: relative;          /* 🡐 c’est ce repère que l’on vise   */    
}

.cart-badge {
    position: absolute;
    top: -6px; 
    right: -6px;       /* par rapport à l’icône désormais    */
    background: var(--emrouge);
    color: var(--emblanc);
    width: 16px; 
    height: 16px;
    border-radius: 50%;
    font: 8px/16px "Nunito Sans", sans-serif;
    display: none;               /* masqué si 0                        */
    justify-content: center; 
    align-items: center;
    pointer-events: none;
} 

    /* ligne déjà présente dans le panier */
.buy-table tr.in-cart {
    background: var(--harmonie); 
}

.buy-table tr.in-cart input[type=checkbox]{
    cursor: not-allowed;
}

    /* Mise en forme de la page panier */
.corpus-panier {
    background-color: var(--emblanc);
    color: var(--neutre);
    width: 100%;
    max-width: 1200px;
    min-height: 83vh;
    border-left: 2px solid var(--emgris);
    border-right: 2px solid var(--emgris);
    display: block;
    top: 44px;
    position: relative;
    margin: auto;
    margin-bottom: 44px;
    padding: 50px 0;
}

.corpus-panier-content {
    margin: 0 50px;
}

table.panier-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

table.panier-table sup {
    font-size: 0.5em;
}

table.panier-table thead {
    background-color: var(--principal);
    color: var(--emblanc);
    text-align: left;
    height: 50px;
}

table.panier-table thead th:first-child {
    text-indent: 15px;
}

table.panier-table tbody tr {
    height: 40px;
}

table.panier-table tbody tr td:first-child {
    text-indent: 15px;
}

    /* bandes “zébrées” : une ligne sur deux */
table.panier-table tbody tr:nth-child(odd), table.panier-table tbody tr:nth-child(odd) a  {   /* 1-3-5…  */
    background: var(--light20);  
    color:  var(--emblanc);                     
}

table.panier-table tbody tr:nth-child(odd) a:hover {
    font-style: italic;
    text-decoration: underline;
    text-decoration-style: dotted;
}

table.panier-table tbody tr:nth-child(even) {   /* 2-4-6…  */
    background: none;                       
}

table.panier-table tfoot {
    border-top: 4px solid var(--neutre);
    text-transform: uppercase;
    font-weight: 700;
    height: 40px;
}

table.panier-table tfoot tr td:first-child {
    text-indent: 15px;
}

.panier-boutons {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.panier-lien {
    text-decoration: none;
    color: var(--neutre);
}

.panier-lien:hover {
    text-decoration: none;
    color: var(--emrouge);
    cursor: pointer;
}

.coupon-box {
    margin: 20px 0;
}

.coupon-box label {
    display: block;
}

.coupon-box input {
    width: 100%;
    box-sizing: border-box; 
    border: 1px solid var(--gris2);
    background-color: var(--emblanc)!important;
}

.coupon-msg { 
    color: var(--emrouge); 
    margin-top: 6px; 
    font-size: 0.9em; 
}

.applied-coupon {
    margin-top: 10px; 
    margin-bottom: 50px;
    padding: 25px;
    background: var(--autres); 
    color: var(--neutre); 
    border-radius: 4px;
    box-sizing: border-box; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    width: 100%;
    height: var(--btnheight);
    font-weight: 700;
    border: 1px solid var(--emgris);
}

.coupon-remove {
    background: none; 
    border: none; 
    font-size: 50px; 
    height: var(--btnheight);
    color: var(--emblanc); 
    background-color: var(--emrouge);
    margin-right: -25px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;

}

.coupon-remove:hover {
    color: var(--emrouge);
    background-color: var(--emjaune);
    cursor: pointer;
}

    /* Page de Login / Sign-in */

.corpus-login {
    background-color: rgb(239, 239, 239, 0.97);
    border: 1px solid var(--neutre);
    color: var(--neutre);
    display: block;
    margin: auto;
    margin-top: 64px;
    width: 100%;
    max-width: 600px;
    min-height: calc(100vh - 64px);
    box-sizing: border-box;
}

.corpus-signup {
    background-color: rgb(239, 239, 239, 0.97);
    border: 1px solid var(--neutre);
    color: var(--neutre);
    display: block;
    margin: auto;
    margin-top: 64px;
    width: 100%;
    max-width: 600px;
    min-height: calc(100vh - 64px);
    box-sizing: border-box;
}

.contenu-login, .contenu-signup {
    margin: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
}

.contenu-login h3, .contenu-signup h3 {
    font-family: "Nunito Sans", sans-serif;
    font-weight: 700;
    font-size: 1.5em;
    text-align: center;
}

.contenu-login h4, .contenu-signup h4 {
    font-family: "Nunito Sans", sans-serif;
    font-weight: 700;
    font-size: 1.05em;
    text-align: center;
}

.contenu-login form, .contenu-signup form {
    width: 100%;
}

.contenu-login label, .contenu-signup label {
    display: block;
    font-size: 1.0em;
}

.contenu-login input[type=email], .contenu-signup input[type=email], 
.contenu-signup input[type=text], .contenu-signup input[type="tel"],
.contenu-signup input[type="file"] {
    width: 100%;
    height: 44px;
    padding: 6px;
    border: 1px solid var(--neutre);
    border-radius: 4px;
    margin-bottom: 50px;
    box-sizing: border-box;
    background-color: white;
}

.input-password {
    display: flex;
    align-items: flex-start;
    margin-bottom: 75px;
}

.input-password input[type="password"],
.input-password input[type="text"] {
    /* IDENTIQUES ! */
    flex:1 1 auto;
    width: auto;
    height: 44px;
    padding: 6px;
    border: 1px solid var(--neutre);
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    box-sizing: border-box;
    margin-bottom: 0;
}

.input-password .reveal-password {
    /* bouton à droite, mêmes bordures en haut/bas/droite */
    flex: 0 0 48px;
    width: 32px;
    height: 44px;
    padding: 6px;
    border-top: 1px solid var(--neutre);
    border-right: 1px solid var(--neutre);
    border-bottom: 1px solid var(--neutre);
    border-left: none;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    box-sizing: border-box;
    background-color: var(--emgris);
    color: var(--neutre);
}

.login-submit,
.signup-submit {
    width: 100%;
    height: var(--btnheight);
    padding: 6px;
    border: none;
    background-color: var(--principal);
    color: var(--emblanc);
    font-family: "Source Sans", sans-serif;
    font-size: 1.0em;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 4px;
    box-sizing: border-box;
    text-decoration: none;
}

.login-submit:hover,
.signup-submit:hover {
    background-color: var(--emgris);
    color: var(--neutre);
    border: 1px solid var(--gris2);
    transition: var(--transition);
    cursor: pointer;
}

.contenu-login input[type=email]:hover,
.input-password input[type]:hover {
    border-color: var(--emjaune);
    outline: none;
}


.contenu-login input[type=email]:focus,
.input-password input[type]:focus {
    outline: none;
    border-color: #d6249f;
}


.input-password .reveal-password:hover {
    background-color: var(--principal);
    color: var(--emblanc);
    cursor: pointer;
}

.g_id_signin {
    font-family: "Source Sans", sans-serif;
    font-size: 1.0em;
    width: 400px;
    display: block;
    margin: auto;
    margin-top: 50px;
}

.fb-button-wrapper {
    width: 400px;
    display: block;
    margin: auto;
    margin-top: 16px;
    margin-bottom: 50px;
}

.transparent {
    background-color: transparent;
}

hr {
    display: block !important; 
    visibility: visible !important; 
    
    border: none !important;
    background-color: transparent !important;
    
    height: 1px !important;
    background-color: var(--emgris) !important;
    
    width: 100% !important;
    margin: 1.5em 0 !important;
}

.groupe-input input[type="tel"] {
    width: 100% !important;
    box-sizing: border-box;
    
}

.groupe-input .iti {
    width: 100% !important;
    margin-bottom: 50px!important;
}

.groupe-input .iti input[type="tel"] {
    width: 100% !important;
    box-sizing: border-box;
}

select {
    margin-bottom: 50px;
}

.erreur {
    display: none;
    margin-top: -50px;
    margin-bottom: 50px;
    font-size: 0.75em;
    color: var(--emrouge);
}

ul.erreur-list {
    color: var(--emrouge);
    margin-top: -14px;
}

.correction {
    margin-top: -76px;
}

    /* Groupe de la checkbox + textes */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1em;
}

.group-left {
    flex: 0 0 auto;
    margin-right: 0.75em;
}

.group-left input[type="checkbox"] {
    width: 44px;
    height: 44px;

    appearance: none;

    box-sizing: border-box;
    border: 1px solid var(--neutre);
    border-radius: 4px;
    background-image: none;
    background-color: var(--emblanc);

    cursor: pointer;
    position: relative;
}

.group-left input[type="checkbox"]:checked {
    background-image: none;
    background-color: var(--principal);
    border-color: var(--principal);
}

.group-left input[type="checkbox"]:checked::after {
    content: "✔";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5em;        
    color: var(--emblanc);
    line-height: 1;
}

.group-right {
    flex: 1 1 auto;
}

.group-right .emphase {
    margin: 0;        
    font-weight: 700;
    font-size: 1.15em;
    line-height: 1.4;
}

.group-right .petites-notes {
    margin: 0.25em 0 0;
    font-size: 0.75em;
    line-height: 1.4;
    color: var(--gris2);
}

.group-right .petites-notes a {
    color: var(--principal);
    text-decoration: none;
}

.group-right .petites-notes a:hover {
    color: var(--emrouge);
    text-decoration: underline;
    transition: color var(--transition);
}

.genre-group {
    margin-bottom: 1.5em;
}

.label-genre {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 600;
    font-size: 1em;
    color: var(--neutre);
    font-family: "Nunito Sans", sans-serif;
}

.required {
    color: var(--emrouge);
    margin-left: 0.25em;
    font-size: 0.9em;
}

.genre-group select {
    width: 100%;
    height: 44px; 
    padding: 6px 12px;
    border: 1px solid var(--neutre);
    border-radius: 4px;
    background-color: var(--emblanc);
    color: var(--neutre);
    font-family: "Source Sans 3", sans-serif;
    font-size: 0.9em;
    line-height: 1.3;
    box-sizing: border-box;
    appearance: none;           
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6H0z' fill='%23333333'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px 6px;
    cursor: pointer;
    transition: border-color var(--transition);
}

.genre-group select:hover {
    border-color: var(--principal);
}

.genre-group select:focus {
    outline: none;
    border-color: var(--principal);
    box-shadow: 0 0 0 3px rgba(51, 102, 153, 0.2);
}

.genre-group select option {
    background-color: var(--emblanc);
    color: var(--neutre);
}

.pays-groupe {
    display: flex; 
    align-items: flex-start;
}

.pays-groupe select {
    width: 100%;
    height: 44px;
}

.pays-groupe img {
    width: auto!important;
    height: 44px!important;
}

/*********************** Partie BLOG ***************************/

.blog-wrap { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 24px; 
    background-color: var(--emblanc);
}

.blog-hero { 
    background-image: linear-gradient(rgba(0, 0, 0, 0.66),rgba(0, 0, 0, 0.66)), url(../images/Library-hero.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: var(--heroheight);
    margin-top: var(--hauteurmenu);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fontsize);
}

.blog-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.blog-card{
  display:block;
  text-decoration:none;
  color:inherit;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  overflow:hidden;
  transition: transform .08s ease, border-color .15s ease, background-color .15s ease;
}
.blog-card:hover{
  transform: translateY(-1px);
  border-color: rgba(27,54,93,.18);
  background: rgba(27,54,93,0.02);
}

.blog-card__img{
  aspect-ratio: 16/9;
  background: rgba(0,0,0,.05);
}
.blog-card__img img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.blog-card__body{ padding: 14px; }
.blog-card__meta{ font-size:.9rem; opacity:.7; display:flex; gap:10px; flex-wrap:wrap; }
.blog-card__title{ margin: 6px 0 8px; font-weight: 800; line-height:1.2; }
.blog-card__excerpt{ margin:0; opacity:.78; line-height:1.45; }

@media (max-width: 820px){
  .blog-wrap{ padding: 16px; }
  .blog-grid{ grid-template-columns: 1fr; }
}

.article-wrap{ max-width: 860px; margin: 0 auto; padding: 24px; }
.article-cover{
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.05);
  margin-bottom: 16px;
}
.article-cover img{ width:100%; height:auto; display:block; }

.article-head h1{
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
}
.article-meta{ opacity:.7; display:flex; gap:12px; flex-wrap:wrap; margin-bottom: 16px; }

.article-content{
  background: #fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  padding: clamp(14px, 2vw, 22px);
  line-height: 1.75;
}
.article-content h2{ margin-top: 1.2em; }
.article-content a{ color: var(--embleu); font-weight: 700; }

@media (max-width: 820px){
  .article-wrap{ padding: 16px; }
}


/* Partie VII. — Pied de page */

footer {
    background-color: var(--neutre);
    color: var(--emgris);
    font-family: "Nunito Sans", sans-serif;
    font-size: 0.75em;
    width: 100%;
    margin-top: 0;
    margin-bottom: -20px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

footer .pied-gauche {
    width: 50%;
    background-color: var(--neutre);
}

footer .pied-droit {
    width: 50%;
    background-color: var(--neutre);
}

.footer-bloc {
    margin: 50px;
}

footer a {
    display: block;
    text-decoration: none;
    color: var(--emgris);
    line-height: var(--btnheight);
}

footer a:hover {
    font-style: italic;
    text-indent: 20px;
    border-bottom: 1px solid var(--emgris);
    transition: var(--transition);
}

.footer-img {
    display: block;
    max-height: 100px;
    width: auto;
    margin: auto;
}

.footer-line {
    width: 100%;
    height: 20px;
    border-top: 1px solid;
    border-color: currentColor;
}

.footer-social {
    color: var(--emgris);
    font-size: 2em;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

a.facebook {
    background-color: #3b5998;
    width: var(--btnheight);
    height: var(--btnheight);  
    padding: 0;
    margin: 0; 
}
a.facebook i {
    margin-left: 50%;
    margin-top: 50%;
    transform: translate(-33%, -50%)
}
a.facebook:hover {
    background-color: var(--emgris);
    color: #3b5998;
    text-indent: 0;
    transition: var(--transition);
}

a.twitter {
    background-color: #000000;
    width: var(--btnheight);
    height: var(--btnheight);  
    padding: 0;
    margin: 0; 
}
a.twitter i {
    margin-left: 50%;
    margin-top: 50%;
    transform: translate(-50%, -50%)
}
a.twitter:hover {
    background-color: var(--emgris);
    color: #000000;
    text-indent: 0;
    transition: var(--transition);
}

a.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
    width: var(--btnheight);
    height: var(--btnheight);  
    padding: 0;
    margin: 0; 
}
a.instagram i {
    margin-left: 50%;
    margin-top: 50%;
    transform: translate(-45%, -50%)
}
a.instagram:hover {
    background: var(--emgris);
    color: #d6249f;
    text-indent: 0;
    transition: var(--transition);
}

a.youtube {
    background-color: red;
    width: var(--btnheight);
    height: var(--btnheight);  
    padding: 0;
    margin: 0; 
}
a.youtube i {
    margin-left: 50%;
    margin-top: 50%;
    transform: translate(-50%, -50%)
}
a.youtube:hover {
    background-color: var(--emgris);
    color: red;
    text-indent: 0;
    transition: var(--transition);
}

.footer-copyight {
    display: block;
    width: 100%;
}

.footer-copyright p {
    text-align: center;
    margin-top: 50px;
    font-size: 0.75em;
    padding-bottom: 10px;
}

.footer-mailto {
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
}

.footer-mailto:hover {
  text-decoration: underline;
  text-decoration-style: dotted;
}

.footer-mail-icon {
  display:block;
}

.footer-mini {
  margin-top: 10px;
  font-size: .85rem;
  opacity: .85;
}

.footer-news-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

/* Champ email */
.footer-news-form input[type="email"] {
    width: 100%;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.55);
    background: transparent;
    color: var(--emblanc);
    font-size: .95rem;
    box-sizing: border-box;
}

/* Placeholder clair */
.footer-news-form input::placeholder {
    color: rgba(255,255,255,.75);
}

/* Focus accessible */
.footer-news-form input:focus {
    outline: none;
    border-color: var(--emblanc);
    background: rgba(255,255,255,.08);
}

/* Bouton */
.footer-news-form .btn-classique {
    align-self: flex-start;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: .95rem;
    font-weight: 600;
}

/* Texte explicatif */
.footer-news-form .footer-mini {
    width: 100%;
    font-size: .8rem;
    line-height: 1.35;
    opacity: .85;
    margin-top: 4px;
}

/* Responsive : plein largeur sur mobile */
@media (max-width: 600px){
    .footer-news-form input[type="email"],
    .footer-news-form .btn-classique{
        width: 100%;
        max-width: 100%;
        align-self: stretch;
    }
}


/* Partie VIII. — Formulaires */

input[type=text], input[type="e-mail"] {
    width: 100%;
    height: var(--btnheight);
    border-radius: 5px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 10px;
    background-color: var(--emgris);
}

/* Partie IX. - Pagination */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-arrow,
.page-number {
    width: 64px;
    height: 64px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 8px;
    /*background-color: #eee;*/
    color: var(--neutre);
    transition: background-color 0.2s, transform 0.2s;
    font-weight: bold;
    box-sizing: border-box;
}

/* État hover commun */
.page-arrow:hover,
.page-number:hover {
    background-color: var(--emgris);
}

/* Page actuelle en surbrillance */
.page-number.current {
    background-color: var(--neutre);
    color: var(--emjaune);
    font-size: 1.6rem;
    pointer-events: none;
    }

/* Pages voisines */
.page-number.nearby {
    font-size: 1.2rem;
    opacity: 0.85;
}

/* Pages éloignées */
.page-number.far {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Flèches */
.page-arrow {
    text-align: center;
    font-size: 1.4rem;
}


/*--------------------------------------------------------------------------
VERSION TABLETTE & MOBILES
--------------------------------------------------------------------------*/

@media only screen and (max-width: 1200px) {
    .corpus, .corpus0, .header-accueil, .header-bibliotheque, .header-harmonie, .header-symphonique, .header-opera, .header-musique-de-chambre,
    .header-piano, .header-autres-oeuvres, .harmonie-publi, .symphonique-publi, .opera-publi, .chambre-publi, .piano-publi, .autres-publi, .corpus-produit {
        width: 90%;
    }
    .publications {
        padding: 0;
        margin-top: -30px;
    }
    .publications h2 {
        padding: 20px;
        margin-bottom: 0;
    }

    .carrousel-item {
        flex: 0 0 33.33333%; /* 3 par ligne */
    }

    .produit-bloc {
        flex-direction: column;
    }

    .produit-gauche,
    .produit-droit {
        position: static !important;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .produit-centre {
        max-width: 100%;
        width: 100%;
    }

    .prix-box:first-of-type {
        width: calc(100% - 50px);
        margin: auto;
        margin-top: 25px;
    }
    .prix-box {
        width: calc(100% - 50px);
        margin: auto;
    }
    .prix-box ~ .prix-box {
        width: calc(100% - 50px);
        margin: auto;
        margin-bottom: 25px;
    }

    .buy-button {
        width: calc(100% - 50px);
        margin-left: 25px;
        margin-bottom: 25px;
    }

}

@media only screen and (max-width: 800px) {

    nav {
        height: var(--hauteurmenu);
    }

    nav .menu-general {
        display: none;
    }

    nav label {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        font-size: 52px;
        color: var(--emblanc);
        cursor: pointer;
    }

    label a.home-logo {
        align-self: start;
        width: 33%;
    }

    label .hamburger {
        align-self: stretch;
        width: 66%;
        text-align: center;
    }

    label .hamburger i {
        width: 52px;
        height: auto;
    }

    #revelte:checked + .menu-general {
        display: block;
        background-color: var(--emblanc);
        margin-top: -20px;
    }

    #revelte:checked + .menu-general a.home-logo {
        display: none;
    }

    #revelte:checked + .menu-general a {
        width: 100%;
        text-align: center;
    }


    .vignettes-accueil {
        position: relative;
        display: block;
        justify-content: center;
        width: 100%;
        margin: 0;
        padding: 20px 0;
        background-color: var(--emblanc);
        transform: none;
    }

    .spvignette {
        width: 90%;
        margin: auto;
        padding: 0;
    }

    .corpus, .corpus0 {
        padding: 0;
    }

    .corpus-content {
        width: 100%;
    }

    .corpus-produit {
        width: calc(100% - 4px);
        padding: 0;
        margin: 0;
    }

    .corpus-vignettes {
        width: 100%;
    }

    .cps-box {
        display: block;
        width: 100%;
    }

    .cps-vignette {
        width: 97%;
        padding: 0;
    }

    .parutions {
        display: inline;
        width: 100%;
    }

    .publi-vignette, .publi-vignette2 {
        width: 100%;
    }
    
    .publi-cover-container, .publi-cover-container:hover {
        width: 90%;
        height: auto;
        margin-left: 50%;
        transform: translateX(-50%);
    }

    .publi-description {
        padding: 25px;
    }

    .harmonie, .symphonique, .chambre, .autres {
        padding: 10px;
    }

    footer, footer .pied-droit, footer .pied-gauche {
        width: 100%;
        display: block;
        justify-content: none;
        align-items: none;
        padding-top: 20px;
    }

    .carrousel-item {
        flex: 0 0 100%; /* 1 par ligne */
    }

    .produit-bloc {
        width: calc(100% - 20px);
    }


    .produit-gauche {
        margin: 0;
        margin-top: 84px;
    }

    .produit-streaming {
        padding-bottom: 25px;
        width: calc(100% - 20px);
        margin: auto;
    }

    .diff-table thead {
        display: none;
    }           /* simplifie l’affichage mobile */

    .diff-table tbody td {
        display: block; 
        width: 100%;
        border: none; 
        padding: 6px 2px;
    }

    .diff-table tbody td:first-child {
        font-weight: 700; 
        background: var(--principal); 
        color: var(--emblanc);
        text-indent: 8px;
        margin-top:8px;
    }

    .panier-boutons{
        flex-direction: column-reverse;
        align-items: center;
        gap: 16px;
    }

}

/***********************
   PAGES “LÉGALES” & “À PROPOS”
***********************/

.hero-a-propos {
    background-image: linear-gradient(rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.66)),
        url(../images/Apropos-hero.jpg); /* remplace si tu veux une image dédiée */
}

.hero-cgu {
    background-image: linear-gradient(rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.66)),
        url(../images/CGU-hero.jpg); /* remplace si tu veux une image dédiée */
}

.hero-cgv {
    background-image: linear-gradient(rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.66)),
        url(../images/CGV-hero.jpg); /* remplace si tu veux une image dédiée */
}

.hero-mentions-legales {
    background-image: linear-gradient(rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.66)),
        url(../images/Legal-hero.jpg); /* remplace si tu veux une image dédiée */
}

.hero-politique-confidentialite {
    background-image: linear-gradient(rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.66)),
        url(../images/Confidentialite-hero.jpg); /* remplace si tu veux une image dédiée */
}

.hero-commander-oeuvre {
    background-image: linear-gradient(rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.66)),
        url(../images/Commande-hero.jpg); /* remplace si tu veux une image dédiée */
}

.hero-me-contacter {
    background-image: linear-gradient(rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.66)),
        url(../images/Commande-hero.jpg); /* remplace si tu veux une image dédiée */
}

.hero-a-propos,
.hero-cgu,
.hero-cgv,
.hero-mentions-legales,
.hero-politique-confidentialite,
.hero-commander-oeuvre,
.hero-me-contacter {
    /*background-image: linear-gradient(rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.66)),
        url(../images/Library-hero.png); /* remplace si tu veux une image dédiée */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: var(--heroheight);
    margin-top: var(--hauteurmenu);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fontsize);
}

.header-a-propos,
.header-cgu,
.header-cgv,
.header-mentions-legales,
.header-politique-confidentialite,
.header-commander-oeuvre,
.header-me-contacter {
    width: 1200px;
}

.page-wrap {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--emblanc);
    color: var(--neutre);
    padding: 28px;
    box-sizing: border-box;
}

.page-wrap h2 {
    margin-top: 0;
}

.legal-meta {
    font-size: .85em;
    opacity: .75;
    margin-bottom: 18px;
}

.legal-toc {
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(0,0,0,.02);
    padding: 14px;
    border-radius: 10px;
    margin: 18px 0 22px;
}
.legal-toc a {
    color: var(--principal);
    text-decoration: none;
    font-weight: 600;
}
.legal-toc a:hover {
    text-decoration: underline;
    text-decoration-style: dotted;
}

.legal-section {
    padding: 14px 0;
    border-top: 1px solid rgba(0,0,0,.10);
}
.legal-section h3 {
    margin: 0 0 8px;
}

.note {
    font-size: .9em;
    background: rgba(27,54,93,.06);
    border: 1px solid rgba(27,54,93,.16);
    padding: 14px;
    border-radius: 10px;
}

.price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.price-card {
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 12px;
    padding: 16px;
    background: #fff;
}

.price-card h3 {
    margin: 0 0 8px 0;
}

.price-card .kpi {
    font-weight: 800;
    color: var(--principal);
}

@media (max-width: 900px) {
  .header-a-propos,
  .header-cgu,
  .header-cgv,
  .header-mentions-legales,
  .header-politique-confidentialite,
  .header-commander-oeuvre { width: 90%; }

  .page-wrap { width: 90%; padding: 18px; }

  .price-grid { grid-template-columns: 1fr; }
}

/* =========================
   Commander une œuvre – Table (flat + responsive)
   ========================= */

.commande-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  background: var(--emblanc);
  color: var(--neutre);
  border-left: 2px solid var(--emgris);
  border-right: 2px solid var(--emgris);
  box-sizing: border-box;
}

.commande-wrap h3 {
  margin-top: 0;
}

.table-responsive-flat {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
}

.tarifs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px; /* garde un rendu propre sur desktop, scroll si mobile */
}

.tarifs-table thead th {
  text-align: left;
  padding: 14px 14px;
  background: rgba(27,54,93,.96); /* rappel --principal */
  color: var(--emblanc);
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}

.tarifs-table tbody td {
  padding: 14px 14px;
  border-top: 1px solid rgba(0,0,0,.08);
  vertical-align: middle;
}

.tarifs-table tbody tr:nth-child(even) {
  background: rgba(0,0,0,.02);
}

.tarifs-table tbody tr:hover {
  background: rgba(27,54,93,.045);
}

.tarifs-table td strong {
  color: var(--principal);
}

.commande-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(27,54,93,.06);
  border: 1px solid rgba(27,54,93,.14);
}

.commande-actions {
  margin-top: 18px;
}

/* Responsive : table -> “cartes” lisibles */
@media (max-width: 760px) {
  .tarifs-table{
    min-width: 0;
  }

  .tarifs-table thead{
    display: none;
  }

  .tarifs-table,
  .tarifs-table tbody,
  .tarifs-table tr,
  .tarifs-table td{
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .tarifs-table tr{
    border-top: 1px solid rgba(0,0,0,.08);
    padding: 10px 0;
  }

  .tarifs-table tbody td{
    border-top: none;
    padding: 10px 14px;
    background: transparent;
  }

  .tarifs-table tbody td::before{
    content: attr(data-label);
    display: inline-block;
    min-width: 150px;
    font-weight: 700;
    color: rgba(27,54,93,.95);
  }
}

/* =========================
   Me contacter – Flat UI
   ========================= */

.hero-contacter{
  background-image: linear-gradient(rgba(0,0,0,.66), rgba(0,0,0,.66)), url(../images/EMGC-Building-wallpaper.png);
  background-position:center;
  background-repeat:no-repeat;
  background-size:cover;
  width:100%;
  height: 520px;
  margin-top: var(--hauteurmenu);
  display:flex;
  align-items:center;
  justify-content:center;
}

.header-contacter{
  width: 1200px;
  color: var(--emblanc);
}

.contact-wrap{
  max-width: 1200px;
  margin: 24px auto 60px auto;
  padding: 0 24px;
  color: var(--neutre);
}

.contact-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
  margin-bottom: 18px;
}

.contact-card h3{
  margin: 0 0 10px 0;
}

.contact-lead{
  margin: 0 0 14px 0;
  opacity: .78;
  line-height: 1.55;
}

.contact-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.contact-item{
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: 12px 14px;
  min-width: 0;
}

.contact-label{
  font-weight: 700;
  margin-bottom: 6px;
  opacity: .85;
}

.contact-value{
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.5;
}

.contact-link{
  color: var(--principal);
  font-weight: 650;
  text-decoration: none;
}
.contact-link:hover{
  text-decoration: underline;
  text-decoration-style: dotted;
}

.contact-notice{
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(34,197,94,.10);
  border: 1px solid rgba(34,197,94,.20);
  color: rgba(0,0,0,.82);
}
.contact-notice.err{
  background: rgba(239,68,68,.10);
  border-color: rgba(239,68,68,.20);
}

.contact-form{ margin-top: 10px; }

.contact-fields{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.contact-field label{
  display:block;
  font-weight: 650;
  margin-bottom: 6px;
}

.contact-field input,
.contact-field textarea{
  width:100%;
  box-sizing:border-box;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
  font-size: 1rem;
  font-family: inherit;
  color: rgba(0,0,0,.85);
}

.contact-field input:focus,
.contact-field textarea:focus{
  outline:none;
  border-color: rgba(27,54,93,.55);
  box-shadow: 0 0 0 2px rgba(27,54,93,.14);
}

.contact-field-wide{ grid-column: 1 / -1; }

.contact-mini{
  margin: 10px 0 0 0;
  font-size: .85rem;
  opacity: .75;
  line-height: 1.35;
}

/* Honeypot invisible */
.hp-field{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

/* Responsive */
@media (max-width: 920px){
  .contact-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 720px){
  .contact-fields{ grid-template-columns: 1fr; }
  .contact-wrap{ padding: 0 14px; }
}


