/* ==========================================================================
   1. STYLES GLOBAUX ET COMMUNS
   ========================================================================== */

/* --- Réinitialisation et Body --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #636466;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Cas spécifique pour la page d'un épisode */
body.page-episode-detail {
    background: #fafafa;
}

/* --- Header (Commun à toutes les pages) --- */
header {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(230, 0, 126, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(230, 0, 126, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-vivason {
    height: 65px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: #E6007E;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #E6007E;
    transition: width 0.3s;
}

nav a:hover {
    color: #ff1a99;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a.active {
    color: #E6007E;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(230, 0, 126, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
    color: #E6007E;
    font-size: 18px;
    border: 1px solid rgba(230, 0, 126, 0.3);
}

.social-icon:hover {
    background: #E6007E;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 0, 126, 0.4);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* --- Footer (Commun à toutes les pages) --- */
footer {
    background: #ffffff;
    color: #636466;
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(230, 0, 126, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #E6007E;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #636466;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #E6007E;
}

.footer-section p {
    color: #636466;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(230, 0, 126, 0.2);
    font-size: 0.9rem;
    color: #636466;
}

.footer-bottom a {
    color: #E6007E;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #ff1a99;
}


/* --- Composants Communs (boutons, titres, etc.) --- */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #E6007E;
    color: white;
    box-shadow: 0 10px 30px rgba(230, 0, 126, 0.3);
}
.btn-primary:hover {
    background: #c5006b;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(230, 0, 126, 0.4);
}

.btn-secondary {
    background: white;
    color: #E6007E;
    border: 2px solid #E6007E;
}
.btn-secondary:hover {
    background: #E6007E;
    color: white;
}

.btn-white {
    background: white;
    color: #E6007E;
}
.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ==========================================================================
   2. STYLES SPÉCIFIQUES AUX PAGES
   ========================================================================== */

/* --- Page d'accueil (index.php) --- */
.hero {
    position: relative;
    background: linear-gradient(135deg, #7D7AB4 0%, #E6007E 100%);
    padding: 3rem 2rem 3rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    height: 120px;
    background: white;
    border-radius: 50% 50% 0 0 / 80px 80px 0 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    letter-spacing: -0.5px;
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    opacity: 0.95;
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.7;
    padding-bottom: 3rem;
}

.logo-section {
    background: white;
    padding: 0.3rem 2rem 0.8rem;
    text-align: center;
    position: relative;
    z-index: 5;
}

.hero-image {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin: 0 auto;
    filter: drop-shadow(0 10px 40px rgba(230, 0, 126, 0.3));
}

.latest-episode {
    max-width: 1200px;
    margin: 0.5rem auto 4rem;
    padding: 0 2rem;
}

.latest-episode .section-title {
    font-size: 2.5rem;
    display: inline-block;
    color:#E6007E;
}
.latest-episode .section-title::after {
    bottom: -10px;
}

.latest-episode .episode-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    margin-bottom: 5rem;
    align-items: start;
}
.latest-episode .episode-container:last-child {
    margin-bottom: 0;
}

.episode-info {
    padding: 0 1rem;
}

.episode-info h2 {
    font-size: 1.8rem;
    line-height: 2rem;
    color: #E6007E;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.episode-info .episode-summary {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #636466;
}

.all-episodes {
    background: linear-gradient(to bottom, #f9f9f9 0%, white 100%);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
}

.all-episodes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(125, 122, 180, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.all-episodes-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.all-episodes h2 {
    font-size: 2.5rem;
    color: #7D7AB4;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.all-episodes p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #636466;
}

.circle-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.circle-1 {
    width: 150px;
    height: 150px;
    background: rgba(119, 203, 232, 0.3);
    top: 100px;
    right: -75px;
}

.circle-2 {
    width: 100px;
    height: 100px;
    background: rgba(230, 0, 126, 0.2);
    bottom: 50px;
    left: -50px;
}


/* --- Page d'en-tête générique (episodes.php, about.php) --- */
.page-header {
    background: linear-gradient(135deg, #7D7AB4 0%, #E6007E 100%);
    padding: 2rem 2rem 8rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    margin: 0 0 -8rem 0;
}

/* Padding spécifique pour la liste des épisodes */
.page-episodes-list .page-header {
    padding-bottom: 6.5rem;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    height: 120px;
    background: white;
    border-radius: 50% 50% 0 0 / 80px 80px 0 0;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
}

.page-header p {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}


/* --- Page Liste des épisodes (episodes.php) --- */
.episodes-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem 4rem;
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.episode-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.episode-card:hover {
    transform: translateY(-8px);
    box-shadow: -3px 11px 50px rgb(227 227 227);
}

.episode-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: linear-gradient(135deg, #7D7AB4 0%, #E6007E 100%);
}

.episode-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.episode-card:hover .episode-thumbnail img {
    transform: scale(1.05);
}

.episode-number {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(230, 0, 126, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 10;
}

.episode-duration {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.episode-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.episode-date {
    color: #77CBE8;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.episode-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #E6007E;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.episode-summary {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #636466;
    flex-grow: 1;
}


/* --- Page "À Propos" (about.php) --- */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

.featured-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 3rem;
    display: block;
    filter: drop-shadow(0 20px 60px rgba(230, 0, 126, 0.2));
}

.about-content .content-section {
    padding: 3rem;
}

.about-content .section-title {
    font-size: 2rem;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #636466;
    margin-bottom: 1.5rem;
}

.content-text:last-child {
    margin-bottom: 0;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(125, 122, 180, 0.1) 0%, rgba(230, 0, 126, 0.1) 100%);
    border-left: 4px solid #E6007E;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.highlight-box p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #636466;
    margin: 0;
    font-weight: 500;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #f9f9f9;
    border-radius: 15px;
    transition: all 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230, 0, 126, 0.15);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #E6007E;
    margin-bottom: 0.8rem;
}

.value-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #636466;
}

.cta-section {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #7D7AB4 0%, #E6007E 100%);
    border-radius: 20px;
    color: white;
    margin-top: 3rem;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}


/* --- Contenu Rich Text (WYSIWYG) --- */

.full_description p,
.accordion-inner p,
.full_description ul,
.accordion-inner ul,
.full_description ol,
.accordion-inner ol,
.full_description h3,
.accordion-inner h3,
.full_description h4,
.accordion-inner h4,
.full_description h5,
.accordion-inner h5 {
    margin-bottom: 1em;
}

/* Retrait de la marge du dernier élément pour éviter un double espacement inutile */
.full_description p:last-child,
.accordion-inner p:last-child,
.full_description ul:last-child,
.accordion-inner ul:last-child,
.full_description ol:last-child,
.accordion-inner ol:last-child,
.full_description h3:last-child,
.accordion-inner h3:last-child,
.full_description h4:last-child,
.accordion-inner h4:last-child,
.full_description h5:last-child,
.accordion-inner h5:last-child {
    margin-bottom: 0;
}


/* Styles spécifiques pour les listes non ordonnées (bullets) */
.full_description ul,
.accordion-inner ul {
    list-style: disc; 
    padding-left: 1.5em; 
    margin-left: 0.5em; 
    line-height: 1.8; 
}

/* Styles spécifiques pour les listes ordonnées (numérotées) */
.full_description ol,
.accordion-inner ol {
    list-style: decimal; 
    padding-left: 1.5em; 
    margin-left: 0.5em;
    line-height: 1.8;
}

/* Indentation supplémentaire pour les listes imbriquées (deuxième niveau et plus) */
.full_description ul ul,
.accordion-inner ul ul,
.full_description ol ol,
.accordion-inner ol ol,
.full_description ul ol,
.accordion-inner ul ol,
.full_description ol ul,
.accordion-inner ol ul {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    padding-left: 1.5em;
}

/* Styles pour les éléments de liste */
.full_description li,
.accordion-inner li {
    margin-bottom: 0.5em; 
}
.full_description li:last-child,
.accordion-inner li:last-child {
    margin-bottom: 0; 
}

/* Styles pour les titres à l'intérieur du contenu (si utilisés) */
.full_description h3,
.accordion-inner h3 {
    font-size: 1.3rem;
    color: #E6007E;
    font-weight: 700;
}
.full_description h4,
.accordion-inner h4 {
    font-size: 1.2rem;
    color: #7D7AB4;
    font-weight: 600;
}

.full_description a,
.accordion-inner a {
    color: #E6007E;
    text-decoration: underline;
    transition: color 0.2s ease;
}
.full_description a:hover,
.accordion-inner a:hover {
    color: #E6007E;
}

/* Styles pour le texte en gras ou italique */
.full_description strong,
.accordion-inner strong {
    font-weight: 700;
}
.full_description em,
.accordion-inner em {
    font-style: italic;
}



/* -----------------------------------------------*/
/* --- Page Détail d'un épisode (episode.php) --- */
/* -----------------------------------------------*/

.back-link {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 2rem;
}

.back-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #7D7AB4;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.back-link a:hover {
    color: #E6007E;
}

.episode-detail-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem 4rem;
}

.episode-header {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.episode-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #7D7AB4;
    font-weight: 600;
}

.meta-item span {
    color: #636466;
}

.episode-header h1 {
    font-size: 2.5rem;
    color: #E6007E;
    font-weight: 700;
    line-height: 1.2;
}


/** Player Section **/
.players-section {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.player-wrapper {
    margin-bottom: 0.8rem;
}

.player-wrapper:last-child {
    margin-bottom: 0;
}

.player-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #7D7AB4;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.audio-player {
    width: 100%;
    min-height: 200px;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.95rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* other platforms sections */

/* --- Section des liens vers les plateformes --- */
.platform-links-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.platform-links-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #7D7AB4;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.platform-links-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.platform-link-item {
    display: block;
    transition: transform 0.2s ease-in-out;
}

.platform-link-item:hover {
    transform: scale(1.1);
}

.platform-link-item img {
    height: 40px; /* Ajustez la taille selon vos logos */
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.2s ease-in-out;
}

.platform-link-item img[alt~="Deezer"] {
    width:100px;
}

.platform-link-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Content section */

.content-section {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.content-section .section-title {
    font-size: 1.8rem;
    color: #E6007E;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #77CBE8;
    border-radius: 2px;
}

.episode-description {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #636466;
    white-space: pre-line;
}

.guests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.guest-card {
    padding: 1.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
}

.guest-card:hover {
    transform: translateY(-6px);
    box-shadow: -3px 11px 50px rgb(227 227 227);
}

/* Contexte carrousel : largeur fixe pour le défilement horizontal */
.carousel-track .guest-card {
    flex: 0 0 300px;
}

.guest-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.guest-photo-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7D7AB4 0%, #E6007E 100%);
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.guest-info h2 {
    color: #E6007E;
}

.guest-info h3 {
    font-size: 1.3rem;
    color: #E6007E;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.guest-title {
    font-size: 0.95rem;
    color: #7D7AB4;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.guest-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #636466;
}

/* --- Page publique Invités --- */
.guests-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10rem 2rem 4rem;
}

/* --- Carrousel Invités (Home) --- */
.guests-carousel {
    padding: 4rem 0;
    background: #f9f9f9;
    overflow: hidden;
}

.guests-carousel-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.carousel-title {
    font-size: 2.5rem;
    color: #E6007E;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.carousel-viewport {
    flex: 1;
    padding: 16px 0;
    position: relative;
    cursor: grab;
}

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

.carousel-viewport::before,
.carousel-viewport::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: calc(100vw + 80px);
    z-index: 2;
    pointer-events: none;
}

.carousel-viewport::before {
    left: -100vw;
    background: linear-gradient(to right, #f9f9f9 calc(100% - 80px), transparent);
}

.carousel-viewport::after {
    right: -100vw;
    background: linear-gradient(to left, #f9f9f9 calc(100% - 80px), transparent);
}

.carousel-track {
    display: flex;
    gap: 2.5rem;
    will-change: transform;
    user-select: none;
}


.carousel-btn {
    flex-shrink: 0;
    position: relative;
    z-index: 3;
    background: white;
    border: 2px solid #E6007E;
    color: #E6007E;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    padding: 0;
    box-shadow: 0 2px 8px rgba(230, 0, 126, 0.2);
}

.carousel-btn:hover {
    background: #E6007E;
    color: white;
    box-shadow: 0 4px 15px rgba(230, 0, 126, 0.4);
}

/* Transcript Section */
.transcript-accordion {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.accordion-header {
    background: linear-gradient(135deg, #7D7AB4 0%, #E6007E 100%);
    color: white;
    padding: 1.5rem 2.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #6d6aa4 0%, #d6006e 100%);
}

.accordion-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.accordion-content.active {
    max-height: 50vh;
     overflow-y: auto;
}

.accordion-inner {
    padding: 2.5rem;
    font-size: 1rem;
    line-height: 1.9;
    color: #636466;
    white-space: pre-line;
}

/* ==========================================================================
   3. STYLES RESPONSIVES (MOBILES ET TABLETTES)
   ========================================================================== */

/* --- Styles pour tablettes (max-width: 968px) --- */
@media (max-width: 968px) {

    .logo-container {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Page d'accueil */
    .hero { padding: 2.5rem 2rem 2.5rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero h2 { font-size: 1.5rem; }
    .hero-subtitle { font-size: 1.15rem; line-height: 1.6; }
    .hero-image { width: 160px; height: 160px; }
    .logo-section { padding: 0.3rem 2rem 0.7rem; }
    .latest-episode .episode-container { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }
    .latest-episode .episode-container:last-child { margin-bottom: 0; }

    /* Carrousel invités */
    .carousel-track { gap: 1.25rem; }

    /* Pages génériques */
    .page-header h1 { font-size: 2.2rem; }

    /* Page liste épisodes */
    .episodes-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }

    /* Page À Propos */
    .about-content .content-section { padding: 2rem; }
    .values-grid { grid-template-columns: 1fr; }

    /* Page détail épisode */
    .episode-header h1 { font-size: 2rem; }
}


/* --- Styles pour mobiles (max-width: 640px) --- */
@media (max-width: 640px) {
    /* Page d'accueil */
    .circle-1, .circle-decoration {display:none;}
    .hero { padding: 2rem 1.5rem 2rem; }
    .hero::before { height: 60px; bottom: -15px; border-radius: 50% 50% 0 0 / 40px 40px 0 0; }
    .hero h1 { font-size: 2rem; margin-bottom: 0.5rem; }
    .hero h2 { font-size: 1.2rem; margin-bottom: 0.8rem; }
    .hero-subtitle { font-size: 1.05rem; line-height: 1.6; padding-bottom: 1.5rem; padding-left: 0.5rem; padding-right: 0.5rem; }
    .hero-image { width: 140px; height: 140px; }
    .episode-info {padding: 2rem 0;}
    .logo-section { padding: 0.2rem 1.5rem 0.6rem; }
    .latest-episode .section-title { font-size: 2rem; }

    /* Pages génériques */
    .page-header { padding: 3rem 1.5rem; }
    .page-header::after { height: 60px; bottom: -15px; border-radius: 50% 50% 0 0 / 40px 40px 0 0; }
    .page-header h1 { font-size: 1.8rem; padding-bottom: 0.5rem; }
    .page-header p { font-size: 1rem; padding-bottom: 1rem; }

    /* Page liste épisodes */
    .episodes-grid { grid-template-columns: 1fr; }

    /* Page À Propos */
    .about-content .content-section { padding: 1.5rem; }
    .cta-section { padding: 2rem 1.5rem; }

    /* Page détail épisode */
    .episode-header h1 { font-size: 1.6rem; }
    .episode-header,
    .players-section,
    .content-section {
        padding: 1.5rem 1rem;
    }
    .episode-detail-container {
        padding: 0 0.8rem 4rem;
    }
    .page-episode-detail nav ul { flex-direction: column; gap: 1rem; }
}


/* ==========================================================================
   4. MENU MOBILE (Version optimisée sans duplication)
   ========================================================================== */

/* Le conteneur de la navigation (comportement par défaut sur desktop) */
.nav-container {
    display: flex;
    align-items: center;
    gap: 2.5rem; /* Espace entre la nav et les liens sociaux */
}

/* Bouton Burger (le conteneur du hamburger) */
.nav-toggle {
    display: none; /* Caché par défaut, s'affiche via la media query */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Doit être au-dessus du panneau et de l'overlay */
    
    /* Pour s'assurer qu'il reste visible quand le panneau s'ouvre */
    position: relative; 
}

/* Le hamburger lui-même (la barre du milieu) */
.hamburger {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background: #E6007E; /* Couleur de votre thème */
    transition: all 0.3s ease-in-out;
}

/* Les barres du haut et du bas, créées avec des pseudo-éléments */
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #E6007E; /* Même couleur */
    transition: all 0.3s ease-in-out;
}
.hamburger::before {
    top: -8px;
}
.hamburger::after {
    bottom: -8px;
}
.nav-open .hamburger {
    background: transparent;
}
.nav-open .hamburger::before {
    transform: rotate(45deg) translate(5px, 6px);
}
.nav-open .hamburger::after {
    transform: rotate(-45deg) translate(5px, -6px);
}
.nav-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}
@media (max-width: 968px) {
    .header-content {
        justify-content: space-between; /* Assure que le logo et le burger sont aux extrémités */
    }

    .nav-toggle {
        display: block; /* Affiche le burger */
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: -100%; /* Commence en dehors de l'écran */
        width: 300px;
        height: 100vh;
        background: #ffffff;
        z-index: 1000;
        
        /* On change la disposition en colonne */
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        
        padding: 6rem 2rem 2rem;
        gap: 3rem; /* Espace entre la nav et les liens sociaux */
        box-shadow: -5px 0 25px rgba(0,0,0,0.1);
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .nav-open .nav-container {
        right: 0; /* Fait apparaître le panneau */
    }

    .nav-container nav ul {
        flex-direction: column; /* Liens les uns sous les autres */
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .nav-container nav a {
        font-size: 1.2rem;
    }

    .nav-container .social-links {
        margin-top: auto; /* Pousse les icônes en bas */
        width: 100%;
        justify-content: center;
        padding-top: 2rem;
        border-top: 1px solid #f0f0f0;
    }

    .nav-open .nav-overlay {
        display: block; /* Affiche l'overlay quand le menu est ouvert */
    }
}


/* ==========================================================================
   5. SECTION PLATEFORMES - Accueil (vague libre, sans encadré)
   ========================================================================== */

.platforms-section {
    padding: 4rem 2rem 6rem;
    background: linear-gradient(180deg, #ffffff 0%, #f5f2ff 100%);
    position: relative;
    overflow: hidden;
}

/* Halo décoratif central très subtil */
.platforms-section::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(125, 122, 180, 0.07) 0%, transparent 70%);
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.platforms-intro {
    text-align: center;
    margin-bottom: 3rem;
}
.platforms-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #7D7AB4;
    margin-bottom: 0.6rem;
}
.platforms-intro p {
    font-size: 1.05rem;
    color: #636466;
}

/* Vague libre : flex ligne avec décalage vertical par item */
.platforms-wave {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: 0 3.5rem;
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 1rem;
    min-height: 180px;
}

/* Item plateforme : pas d'encadré, juste le logo */
.platform-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
    cursor: pointer;
    will-change: transform, filter;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Logo : couleurs d'origine */
.platform-logo {
    display: block;
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: none;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Apple et YouTube (icônes seules, pas de wordmark) : plus grands */
.pc-apple  .platform-logo { height: 52px; }
.pc-youtube .platform-logo { height: 48px; }

/* Positionnement en vague : chaque logo décalé verticalement */
.pc-spotify    { margin-top:  8px; }
.pc-apple      { margin-top: 60px; }
.pc-deezer     { margin-top: 25px; }
.pc-youtube    { margin-top: 90px; }
.pc-amazon     { margin-top: 18px; }
.pc-soundcloud { margin-top: 55px; }

/* Hover : lift + lueur colorée par plateforme (drop-shadow suit les contours du logo) */
.platform-item:hover {
    animation-play-state: paused !important;
    transform: translateY(-10px) scale(1.12);
}
.platform-item:hover .platform-logo { opacity: 1; }

.pc-spotify:hover    { filter: drop-shadow(0 8px 22px rgba( 30, 215,  96, 0.6)); }
.pc-apple:hover      { filter: drop-shadow(0 8px 22px rgba(177,  80, 226, 0.6)); }
.pc-deezer:hover     { filter: drop-shadow(0 8px 22px rgba(162,  56, 255, 0.6)); }
.pc-youtube:hover    { filter: drop-shadow(0 8px 22px rgba(255,   0,   0, 0.6)); }
.pc-amazon:hover     { filter: drop-shadow(0 8px 22px rgba( 76, 192, 239, 0.6)); }
.pc-soundcloud:hover { filter: drop-shadow(0 8px 22px rgba(255,  85,   0, 0.6)); }

/* --- Animations flottantes (3 trajectoires distinctes) --- */
@keyframes pfloat-a {
    0%, 100% { transform: translateY(  0px) rotate(  0deg); }
    35%      { transform: translateY(-11px) rotate( 0.4deg); }
    65%      { transform: translateY( -6px) rotate(-0.3deg); }
}
@keyframes pfloat-b {
    0%, 100% { transform: translateY(  0px) rotate(  0deg); }
    40%      { transform: translateY(-14px) rotate(-0.5deg); }
    75%      { transform: translateY( -5px) rotate( 0.3deg); }
}
@keyframes pfloat-c {
    0%, 100% { transform: translateY(  0px) rotate(  0deg); }
    25%      { transform: translateY( -9px) rotate( 0.6deg); }
    60%      { transform: translateY(-15px) rotate(-0.4deg); }
}

.pc-spotify    { animation: pfloat-a  6.5s ease-in-out  0.0s infinite; }
.pc-apple      { animation: pfloat-b  5.2s ease-in-out -2.0s infinite; }
.pc-deezer     { animation: pfloat-c  7.8s ease-in-out -1.3s infinite; }
.pc-youtube    { animation: pfloat-b  5.8s ease-in-out -3.5s infinite; }
.pc-amazon     { animation: pfloat-a  6.1s ease-in-out -4.2s infinite; }
.pc-soundcloud { animation: pfloat-c  7.2s ease-in-out -2.7s infinite; }

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
    .platform-item { animation: none !important; }
}

/* Responsive : tablette */
@media (max-width: 900px) {
    .platforms-wave { gap: 0 2rem; }
    .platforms-intro h2 { font-size: 2rem; }
}

/* Responsive : mobile — 2 colonnes, vague désactivée */
@media (max-width: 600px) {
    .platforms-section { padding: 3rem 1.5rem 4rem; }
    .platforms-intro h2 { font-size: 1.8rem; }
    .platforms-wave {
        flex-wrap: wrap;
        gap: 2.5rem 3rem;
        min-height: unset;
    }
    .platform-item {
        width: calc(50% - 1.5rem);
        justify-content: center;
        margin-top: 0 !important;
        animation: none !important;
    }
    .platform-logo      { height: 36px; }
    .pc-apple .platform-logo,
    .pc-youtube .platform-logo { height: 44px; }
}