@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

:root {
    --bg-dark: #21213b;
    --accent-gold: #d6c188;
    --accent-bronze: #8b6d4c;
    --accent-red: #e5201e;
    --text-light: #f5f5f7;
    --text-muted: #c0c0d0;
    
    --font-heading: 'Lie to Me', 'Georgia', serif;
    --font-body: 'Avenir', 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

/* Application du fond théâtral global avec un overlay sombre */
body {
    background: linear-gradient(rgba(15, 15, 30, 0.85), rgba(15, 15, 30, 0.85)), 
                url('images/fond_bio_mister_fred.jpg') no-repeat center center fixed;
    background-size: cover;
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-red);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* EN-TÊTE */
.main-header {
    background-color: rgba(20, 20, 38, 0.95);
    backdrop-filter: blur(5px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--accent-bronze);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    max-height: 50px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.nav-menu a.active,
.nav-menu a:hover {
    color: var(--accent-gold);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--accent-gold);
    font-size: 1.5rem;
    cursor: pointer;
}

/* TYPOGRAPHIES & BOUTONS */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-weight: normal;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-red);
    margin: 0.5rem auto 0;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-red);
    color: #fff;
}

.btn-primary:hover {
    background-color: #c41817;
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
}

.btn-secondary:hover {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
}

.margin-top {
    margin-top: 1.5rem;
}

/* SECTIONS & TRANSPARENCES */
.section {
    padding: 5rem 0;
}

.bg-dark {
    background-color: rgba(20, 20, 35, 0.7);
    border-top: 1px solid rgba(139, 109, 76, 0.3);
    border-bottom: 1px solid rgba(139, 109, 76, 0.3);
}

/* HERO SECTION */
.hero {
    padding: 9rem 0 5rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
}

.hero-text .subtitle {
    font-size: 1.5rem;
    color: var(--accent-bronze);
    margin-bottom: 1.5rem;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.hero-poster {
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.7);
    border: 2px solid var(--accent-gold);
    max-width: 420px;
    margin: 0 auto;
}

/* BILLETWEB SECTION */
.billetweb-section {
    background-color: rgba(22, 22, 40, 0.8);
    padding: 4rem 0;
    border-top: 1px solid var(--accent-bronze);
    border-bottom: 1px solid var(--accent-bronze);
}

.billetweb-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
}

.poster-img {
    border: 2px solid var(--accent-gold);
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    max-width: 300px;
}

/* --- Bloc Prochain Spectacle (Accueil) --- */
.upcoming-show-box {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(214, 193, 136, 0.4); /* Accent doré */
    border-radius: 12px;
    backdrop-filter: blur(5px);
    display: inline-block;
    max-width: 650px;
}

.badge-next-show {
    display: inline-block;
    background-color: var(--accent-gold, #d6c188);
    color: #111;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.show-date-location {
    font-size: 1.15rem;
    line-height: 1.5;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.show-date-location strong {
    color: var(--accent-gold, #d6c188);
    font-size: 1.25rem;
}

/* Boutons */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.btn-ticketing {
    background-color: #e63946; /* Rouge dynamique pour capter l'attention */
    color: #ffffff;
    border: none;
    font-weight: bold;
}

.btn-ticketing:hover {
    background-color: #c1121f;
    transform: translateY(-2px);
}

/* BIO SECTION */
.bio-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2.5rem;
    align-items: center;
}

.bio-image img {
    border-radius: 8px;
    border: 2px solid var(--accent-bronze);
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}

/* Styling du nom Mister Fred dans le corps de texte */
.brand-name {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 1.15em; /* Un peu plus grand que le texte classique */
    letter-spacing: 0.5px;
}

/* Sous-titres dans la section Bio (Présentation & Biographie) */
.bio-subtitle {
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px dashed rgba(214, 193, 136, 0.3);
    padding-bottom: 0.3rem;
}

.bio-block {
    margin-bottom: 2rem;
}

.bio-block p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.bio-block p:last-child {
    margin-bottom: 0;
}

/* Style des durées sous les titres des cartes */
.card-body .duration {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0.5rem 0 1rem 0;
}

.card-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

/* Bloc Lieux de représentation */
.venues-block {
    background-color: rgba(20, 20, 35, 0.6);
    border: 1px solid rgba(214, 193, 136, 0.25);
    border-radius: 8px;
    padding: 2.5rem;
    margin-top: 4rem;
}

.venues-title {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    text-align: center;
}

.venues-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: center;
}

.venues-list {
    list-style: none;
    margin-top: 1rem;
}

.venues-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    color: var(--text-light);
}

.venues-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

.venues-image img {
    border-radius: 8px;
    border: 1px solid var(--accent-bronze);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .venues-grid {
        grid-template-columns: 1fr;
    }
}

/* CARDS & GALLERY */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background-color: rgba(30, 30, 50, 0.7);
    border: 1px solid rgba(214, 193, 136, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.card-body {
    padding: 1.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-grid img {
    border-radius: 6px;
    border: 1px solid var(--accent-bronze);
}

/* Description principale Close-Up */
.section-desc-main {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: var(--text-light);
}

/* Grille Particuliers / Entreprises */
.closeup-target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.closeup-card {
    background-color: rgba(30, 30, 50, 0.6);
    border: 1px solid var(--accent-bronze);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.closeup-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.closeup-icon {
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.closeup-card h3 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.closeup-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Sous-titres des sections */
.sub-section-title {
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Style de la section Ateliers */
.workshop-block {
    background-color: rgba(20, 20, 35, 0.6);
    border: 1px solid rgba(214, 193, 136, 0.25);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.workshop-intro {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.option-card {
    background-color: rgba(30, 30, 50, 0.7);
    border: 1px solid var(--accent-bronze);
    border-radius: 6px;
    padding: 1.2rem;
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.option-header h4 {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.badge {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.85rem;
}

/* Sous-titres des cartes d'événements */
.card-subtitle {
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

/* Bloc Citation Presse */
.quote-block {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 2.5rem;
}

.press-quote {
    background-color: rgba(30, 30, 50, 0.6);
    border-left: 4px solid var(--accent-gold);
    border-radius: 0 8px 8px 0;
    padding: 1.5rem 2rem;
    margin-top: 1rem;
    font-style: italic;
    font-size: 1.15rem;
}

.press-quote cite {
    display: block;
    margin-top: 0.8rem;
    color: var(--accent-gold);
    font-weight: 600;
    font-style: normal;
    font-size: 0.95rem;
}

/* Image À Propos */
.about-image-container {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid var(--accent-bronze);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Cartes Informations & Zone d'intervention */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.about-card {
    background-color: rgba(20, 20, 35, 0.7);
    border: 1px solid rgba(214, 193, 136, 0.25);
    border-radius: 8px;
    padding: 2rem;
}

.about-card h3 {
    font-size: 1.4rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.about-card p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

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

.margin-bottom {
    margin-bottom: 2.5rem;
}

/* Portrait dans le bloc de gauche */
.contact-portrait-wrapper {
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-portrait {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.5));
}

/* Logo Cœur de Magie en bas du bloc gauche */
.contact-logo-wrapper {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(214, 193, 136, 0.2);
}

.contact-logo {
    max-width: 150px;
    height: auto;
    opacity: 0.95;
}

.margin-top-small {
    margin-top: 1.5rem;
}

/* Grille de contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.contact-info-card {
    background-color: rgba(20, 20, 35, 0.7);
    border: 1px solid rgba(214, 193, 136, 0.25);
    border-radius: 8px;
    padding: 2rem;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.contact-picto, .social-picto {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1rem;
}

.social-links a {
    transition: transform 0.2s ease;
}

.social-links a:hover {
    transform: scale(1.15);
}

/* Style données masquées */
.masked-data {
    cursor: pointer;
    color: var(--accent-gold);
    font-weight: 500;
}

.masked-data small {
    font-size: 0.75rem;
    color: #a0a0a0;
}

/* Formulaire */
.contact-form {
    background-color: rgba(20, 20, 35, 0.7);
    border: 1px solid rgba(214, 193, 136, 0.25);
    border-radius: 8px;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--accent-gold);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 6px;
    border: 1px solid rgba(214, 193, 136, 0.3);
    background-color: rgba(10, 10, 20, 0.8);
    color: #fff;
}

.btn-submit {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
    font-weight: bold;
    border: none;
    padding: 0.9rem 1.8rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
}

.btn-submit:hover {
    background-color: #e5cd8d;
}

/* Style du Footer */
.site-footer {
    background-color: #0b0b12;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(214, 193, 136, 0.15);
    text-align: center;
    font-size: 0.9rem;
    color: #a0a0a0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.credits a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.credits a:hover {
    color: #ffffff;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Page Mentions Légales */
.legal-header {
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.btn-back {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.btn-back:hover {
    color: #ffffff;
}

.legal-content {
    max-width: 800px;
    margin: 2rem auto;
    background-color: rgba(20, 20, 35, 0.7);
    border: 1px solid rgba(214, 193, 136, 0.25);
    border-radius: 8px;
    padding: 2.5rem;
}

.legal-block {
    margin-bottom: 2rem;
}

.legal-block:last-child {
    margin-bottom: 0;
}

.legal-block h2 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(214, 193, 136, 0.2);
    padding-bottom: 0.5rem;
}

.legal-block p {
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

/* Style du lien Mentions Légales dans le Footer */
.footer-link {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

/* Style des liens internes aux mentions légales */
.legal-link {
    color: var(--accent-gold);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.legal-link:hover {
    color: #ffffff;
}

.margin-top-small {
    margin-top: 1.2rem;
}

/* Styles Plan du site */
.sitemap-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.sitemap-section h2 {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(214, 193, 136, 0.2);
    padding-bottom: 0.5rem;
}

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-list li {
    margin-bottom: 0.8rem;
}

.sitemap-list a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.sitemap-list a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-dark);
        border-bottom: 1px solid var(--accent-bronze);
        display: none;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }

    .hero-content,
    .billetweb-grid,
    .bio-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-buttons {
        flex-direction: column;
    }
}