/* =====================================================================
   RESET & VARIABLES CSS
   ===================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Couleurs principales */
    --color-primary: #af4642;
    --color-primary-light: #c76862;
    --color-primary-dark: #9a3a36;

    /* Couleurs de texte */
    --color-text: #44403c;
    --color-text-light: #78716c;
    --color-text-lighter: #a8a29e;

    /* Couleurs de fond */
    --bg-gradient-start: #f5ede3;
    --bg-gradient-mid: #f0e5dc;
    --bg-gradient-end: #ebe3d8;

    /* Couleurs neutres */
    --color-border: #d6d3d1;
    --color-white: #ffffff;

    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Transitions */
    --transition-fast: 0.2s;
    --transition-normal: 0.3s;
    --transition-slow: 0.5s;
}

body {
    font-family: Georgia, serif;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-mid) 50%, var(--bg-gradient-end) 100%);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.logo-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.social-box-hero {
    margin-top: 3rem;
}

.social-box-hero .social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-box-hero .social-icon {
    width: 2.5rem;
    height: 2.5rem;
    filter: brightness(0) saturate(100%) invert(26%) sepia(7%) saturate(948%) hue-rotate(346deg) brightness(95%) contrast(90%);
}


/* =====================================================================
   NAVIGATION
   ===================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    color: #44403c;
    font-weight: normal;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #78716c;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
    color: #af4642;
    border-bottom-color: #af4642;
}

/* Menu mobile toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #44403c;
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* ===== SECTIONS ===== */
.section {
    min-height: 100vh;
    padding: 6rem 2rem 4rem;
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section.active {
    display: block;
}

.content-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: #44403c;
    margin-bottom: 3rem;
    font-weight: normal;
}

.no-style-link {
  color: inherit;
  text-decoration: underline;
}

.no-style-link:hover,
.no-style-link:visited,
.no-style-link:active {
  color: inherit;
  text-decoration: underline;
}

.book-card-no-image {
    grid-column: 1 / -1;
}



/* ===== HERO SECTION ===== */
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: calc(100vh - 8rem);
}

.hero-title {
    font-size: 3rem;
    color: #44403c;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: normal;
}

.hero-text {
    font-size: 1.25rem;
    color: #78716c;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: Georgia, serif;
}

.btn-primary {
    background: #af4642;
    color: white;
}

.btn-primary:hover {
    background: #c76862;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(175, 70, 66, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #44403c;
    border: 2px solid #d6d3d1;
}

.btn-secondary:hover {
    border-color: #af4642;
    color: #af4642;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    z-index: -1;
}

.blob-1 {
    width: 8rem;
    height: 8rem;
    background: #fecaca;
    bottom: -1.5rem;
    left: -1.5rem;
}

.blob-2 {
    width: 10rem;
    height: 10rem;
    background: #fde68a;
    top: -1.5rem;
    right: -1.5rem;
}

/* ===== WRITING SECTION ===== */

/* Navigation interne de la section Écriture */
.writing-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    position: sticky;
    top: 80px;
    background: rgba(245, 237, 227, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 0.75rem;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.writing-nav-link {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid #d6d3d1;
    border-radius: 0.5rem;
    color: #44403c;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    cursor: pointer;
}

.writing-nav-link:hover {
    border-color: #af4642;
    color: #af4642;
    background: rgba(255, 255, 255, 0.8);
}

.writing-nav-link.active {
    background: #af4642;
    color: white;
    border-color: #af4642;
}

/* Sous-sections écriture - Toutes visibles */
.writing-subsection {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
    scroll-margin-top: 150px;
    margin-bottom: 3rem;
}

.intro-text {
    font-size: 1.25rem;
    color: #78716c;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.subsection-title {
    font-size: 1.75rem;
    color: #44403c;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: normal;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Grille 2 colonnes pour Nouvelles publiées */
.books-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* Grille 3 colonnes pour Jeunesse */
.books-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.book-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.book-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Style pour les cartes sans image (contes) */
.book-card-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 8rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

.book-card-no-image:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.book-card-no-image .book-info {
    padding: 2rem;
    text-align: center;
}

.book-cover {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.book-info {
    padding: 1.5rem;
}

.book-title {
    font-size: 1.1rem;
    color: #44403c;
    margin-bottom: 0.5rem;
    font-weight: normal;
}

.book-year {
    font-size: 0.9rem;
    color: #a8a29e;
    margin-bottom: 0.75rem;
}

.book-description {
    font-size: 0.95rem;
    color: #78716c;
    line-height: 1.6;
}

.excerpt-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.excerpt-title {
    font-size: 1.25rem;
    color: #44403c;
    margin-bottom: 1rem;
    font-weight: normal;
}

.excerpt-text {
    color: #78716c;
    font-style: italic;
    line-height: 1.8;
}

blockquote.excerpt-text {
    border-left: 4px solid #af4642;
    padding-left: 1.5rem;
    margin: 0;
}

.contes-image {
    width: 100%;
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    max-height: 400px;
}

.contes-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== MUSIC SECTION ===== */

/* Navigation interne de la section Musique */
.music-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    position: sticky;
    top: 80px;
    background: rgba(245, 237, 227, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 0.75rem;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.music-nav-link {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid #d6d3d1;
    border-radius: 0.5rem;
    color: #44403c;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    cursor: pointer;
}

.music-nav-link:hover {
    border-color: #af4642;
    color: #af4642;
    background: rgba(255, 255, 255, 0.8);
}

.music-nav-link.active {
    background: #af4642;
    color: white;
    border-color: #af4642;
}

/* Sous-sections musique - Toutes visibles */
.music-subsection {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
    scroll-margin-top: 150px;
    margin-bottom: 3rem;
}

/* Séparateur entre les sections */
.section-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #d6d3d1 20%, #d6d3d1 80%, transparent);
    margin: 4rem 0;
    position: relative;
}

.section-divider::after {
    content: '✦';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #f5ede3 0%, #f0e5dc 100%);
    padding: 0 1rem;
    color: #af4642;
    font-size: 1.25rem;
}

.subsection-header {
    text-align: center;
    margin-bottom: 3rem;
}

.subsection-intro {
    font-size: 1.1rem;
    color: #78716c;
    max-width: 800px;
    margin: 1rem auto 0;
    line-height: 1.8;
}

/* Réduire l'espace entre les excerpt-box dans Bokayu */
#bokayu .excerpt-box {
    margin-bottom: 0.5rem;
}

.album-panoramic {
    width: 100%;
    height: 150px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.album-panoramic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Vidéos grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.video-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 0.5rem;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

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

.video-info {
    padding: 1.5rem;
}

.video-title {
    font-size: 1.1rem;
    color: #44403c;
    margin-bottom: 0.75rem;
    font-weight: normal;
}

.video-description {
    font-size: 0.95rem;
    color: #78716c;
    line-height: 1.6;
}

/* Section Bokayu */
.bokayu-content {
    display: grid;
    gap: 2rem;
}

.bokayu-media {
    margin: 2rem 0;
}

/* Section Concerts */
.concerts-content {
    display: grid;
    gap: 2rem;
}

.concert-formats {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
}

.formats-title {
    font-size: 1.25rem;
    color: #44403c;
    margin-bottom: 1.5rem;
    font-weight: normal;
    text-align: center;
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.format-card {
    text-align: center;
    padding: 1.5rem;
}

.format-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.format-name {
    font-size: 1.1rem;
    color: #44403c;
    margin-bottom: 0.75rem;
    font-weight: normal;
}

.format-description {
    font-size: 0.9rem;
    color: #78716c;
    line-height: 1.6;
}

.concert-info-box {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.concerts-past {
    margin-top: 2rem;
}

.info-title {
    font-size: 1.5rem;
    color: #44403c;
    margin-bottom: 2rem;
    font-weight: normal;
    text-align: center;
}

.concerts-list {
    display: grid;
    gap: 1.5rem;
}

.concert-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    background: rgba(245, 237, 227, 0.5);
    border-radius: 0.75rem;
    transition: all 0.3s;
}

.concert-item:hover {
    background: rgba(245, 237, 227, 0.8);
    transform: translateX(5px);
}

/* Concerts passés - style différent */
.concert-item.past {
    opacity: 0.7;
    background: rgba(214, 211, 209, 0.3);
}

.concert-item.past:hover {
    opacity: 0.85;
    background: rgba(214, 211, 209, 0.5);
    transform: translateX(3px);
}

.concert-item.past .concert-date {
    background: #78716c;
}

.concert-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding: 1rem;
    background: #af4642;
    border-radius: 0.5rem;
    color: white;
}

.date-day {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.date-month {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.date-year {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.concert-details {
    flex-grow: 1;
}

.concert-venue {
    font-size: 1.1rem;
    color: #44403c;
    margin-bottom: 0.5rem;
    font-weight: normal;
}

.concert-location {
    font-size: 0.9rem;
    color: #78716c;
    margin-bottom: 0.25rem;
}

.concert-time {
    font-size: 0.85rem;
    color: #a8a29e;
}

.concert-action {
    flex-shrink: 0;
}

.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

/* Services grid pour collectivités */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

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

.service-title {
    font-size: 1.25rem;
    color: #44403c;
    margin-bottom: 1rem;
    font-weight: normal;
}

.service-description {
    font-size: 0.95rem;
    color: #78716c;
    line-height: 1.6;
}

/* CTA Box */
.cta-box {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-top: 2rem;
}

.cta-title {
    font-size: 1.5rem;
    color: #44403c;
    margin-bottom: 1rem;
    font-weight: normal;
}

.cta-text {
    color: #78716c;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ===== ALBUM SECTION ===== */
.album-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.album-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.album-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* #bokayu .album-grid .album-cover {
    aspect-ratio: 1 / 1;
    height: auto;
}

#bokayu .album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

.album-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.album-title {
    font-size: 2rem;
    color: #44403c;
    margin-bottom: 1rem;
    font-weight: normal;
}

.album-description {
    color: #78716c;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.streaming-platforms {
    margin-top: 2rem;
}

.platforms-title {
    font-size: 1rem;
    color: #44403c;
    margin-bottom: 1rem;
    font-weight: normal;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-buttons a {
    text-decoration: none;
    width: 100%;
}

.btn-platform {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    gap: 0.75rem;
    background: #f5f5f4;
    color: #44403c;
    border: 1px solid #e7e5e4;
    transition: all 0.3s;
}

.btn-platform:hover {
    background: #af4642;
    color: white;
    border-color: #af4642;
    transform: translateY(-2px);
}

.btn-platform img {
    width: 24px;
    height: 24px;
}

.music-sections {
    display: grid;
    gap: 2rem;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.about-image img {
    width: 100%;
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
}

.about-subtitle {
    font-size: 1.5rem;
    color: #44403c;
    margin-bottom: 1.5rem;
    font-weight: normal;
}

.about-text {
    color: #78716c;
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

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

/* ===== CONTACT SECTION ===== */
.contact-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-intro {
    color: #78716c;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.email-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-size: 1.1rem;
}

.email-icon {
    font-size: 1.25rem;
}

.social-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.social-title {
    font-size: 1.25rem;
    color: #44403c;
    margin-bottom: 1.5rem;
    font-weight: normal;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: transparent;
    border-radius: 50%;
    transition: all 0.3s;
    color: #78716c;
    text-decoration: none;
    font-size: 1.5rem;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-icon:hover {
    transform: translateY(-4px) scale(1.1);
}

/* ===== AUDIO PLAYER ===== */
.audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #44403c 0%, #292524 100%);
    padding: 1rem 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.player-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.play-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #af4642;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.play-btn:hover {
    background: #c76862;
    transform: scale(1.05);
}

.play-btn.playing .play-icon {
    font-size: 0;
}

.play-btn.playing .play-icon::before {
    content: '❚❚';
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.track-info {
    min-width: 200px;
    flex-shrink: 0;
}

.track-title {
    color: white;
    font-size: 0.95rem;
    font-weight: normal;
    margin-bottom: 0.25rem;
}

.track-artist {
    color: #a8a29e;
    font-size: 0.85rem;
}

.player-controls {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.time-current,
.time-total {
    color: #d6d3d1;
    font-size: 0.85rem;
    min-width: 40px;
    flex-shrink: 0;
}

.progress-bar {
    flex-grow: 1;
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
}

.progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #af4642;
    width: 0%;
    transition: width 0.1s;
    pointer-events: none;
}

.progress-slider {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 6px;
    transform: translateY(-50%);
    opacity: 0;
    cursor: pointer;
}

.progress-bar:hover {
    background: rgba(255, 255, 255, 0.3);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.volume-label {
    font-size: 0.9rem;
    color: white;
    white-space: nowrap;
}

.volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* ===== FOOTER ===== */
.footer {
    background: #44403c;
    color: #d6d3d1;
    padding: 2rem;
    margin-bottom: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    font-size: 0.9rem;
}

.credit-link {
  color: inherit;      /* garde la couleur du texte */
  text-decoration: underline; /* garde le soulignement */
}


/* ===== RESPONSIVE DESIGN ===== */

/* Tablettes */
@media (max-width: 1024px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }

    .hero-container {
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .album-grid {
        gap: 1.5rem;
    }

    /* Navigation Écriture */
    .writing-nav {
        gap: 0.75rem;
        top: 70px;
        padding: 0.75rem;
    }

    .writing-nav-link {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Grilles de livres */
    .books-grid-2,
    .books-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Grille de services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Formats de concerts */
    .formats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .concert-item {
        grid-template-columns: auto 1fr;
        gap: 1rem;
    }

    .concert-action {
        grid-column: 2;
        justify-self: end;
    }
}

/* Mobile large (paysage) */
@media (max-width: 768px) {
    .section {
        padding: 5rem 1.5rem 3rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    /* Navigation mobile */
    .mobile-menu-toggle {
        display: flex;
        position: fixed;
        top: 1rem;
        right: 1.5rem;
        z-index: 1002;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
    }

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

    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        border-bottom: 2px solid transparent;
    }

    /* Hero section */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: auto;
        padding-top: 2rem;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-title {
        font-size: 2rem;
        text-align: center;
    }

    .hero-text {
        font-size: 1.1rem;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }

    /* Books grid */
    .books-grid,
    .books-grid-2,
    .books-grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Grille de services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Formats de concerts */
    .formats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .concert-item {
        grid-template-columns: auto 1fr;
        gap: 1rem;
    }

    .concert-date {
        min-width: 60px;
        padding: 0.75rem;
    }

    .date-day {
        font-size: 1.5rem;
    }

    .concert-action {
        grid-column: 1 / -1;
        justify-self: stretch;
    }

    .btn-small {
        width: 100%;
    }

    /* Navigation Écriture */
    .writing-nav {
        gap: 0.75rem;
        top: 70px;
        padding: 0.75rem;
    }

    .writing-nav-link {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }

    .writing-subsection {
        scroll-margin-top: 180px;
    }

    /* Album section */
    .album-grid {
        grid-template-columns: 1fr;
    }

    .album-cover {
        height: 300px;
    }

    .album-info {
        padding: 1.5rem;
    }

    .album-title {
        font-size: 1.75rem;
    }

    .social-buttons {
        gap: 0.75rem;
    }

    /* Navigation musique */
    .music-nav {
        gap: 0.75rem;
        top: 70px;
        padding: 0.75rem;
    }

    .music-nav-link {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Sous-sections avec scroll-margin ajusté */
    .music-subsection {
        scroll-margin-top: 180px;
    }

    /* Séparateur */
    .section-divider {
        margin: 3rem 0;
    }

    /* Vidéos */
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* About section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        max-width: 300px;
        margin: 0 auto;
    }

    /* Contact section */
    .contact-card {
        padding: 2rem 1.5rem;
    }

    .email-btn {
        font-size: 1rem;
    }

    /* Audio player mobile */
    .player-container {
        flex-wrap: wrap;
        padding: 0 1rem;
        gap: 1rem;
    }

    .track-info {
        order: -1;
        width: 100%;
        min-width: auto;
        text-align: center;
    }

    .player-controls {
        width: 100%;
        order: 1;
    }

    .play-btn {
        order: 2;
    }

    .volume-control {
        display: none;
    }

    .footer {
        margin-bottom: 120px;
    }
}

/* Mobile petit */
@media (max-width: 480px) {
    .nav-container {
        padding: 0.875rem 1rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .section {
        padding: 4.5rem 1rem 2.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .album-title {
        font-size: 1.5rem;
    }

    /* Navigation musique mobile */
    .music-nav {
        position: relative;
        top: 0;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .music-nav-link {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
    }

    /* Navigation Écriture mobile */
    .writing-nav {
        position: relative;
        top: 0;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .writing-nav-link {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
    }

    .subsection-intro {
        font-size: 1rem;
    }

    .contact-card {
        padding: 1.5rem 1rem;
    }

    .excerpt-box,
    .about-box,
    .social-box {
        padding: 1.5rem;
    }

    .book-cover {
        height: 16rem;
    }
}

/* Très petits écrans */
@media (max-width: 360px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .social-buttons .btn-platform {
        font-size: 0.9rem;
        padding: 0.65rem 0.875rem;
    }
}
