/* ==========================================
   VARIABLES & RESET
   ========================================== */
:root {
    --color-black: #000000;
    --color-gold: #D4AF37;
    --color-gold-light: #E5C158;
    --color-gold-dark: #B8941F;
    --color-grey-dark: #1a1a1a;
    --color-grey: #333333;
    --color-grey-medium: #666666;
    --color-grey-light: #f5f5f5;
    --color-white: #ffffff;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-grey);
    line-height: 1.7;
    background-color: var(--color-white);
    overflow-x: hidden;
    min-height: 100vh;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-black);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: 1.25rem;
}

strong {
    color: var(--color-gold-dark);
    font-weight: 700;
}

em {
    font-style: italic;
    color: var(--color-gold);
}

/* ==========================================
   UTILITIES
   ========================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section-dark {
    background-color: var(--color-black);
    color: var(--color-grey-light);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--color-gold);
}

.section-dark p {
    color: var(--color-grey-light);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.subsection-title {
    text-align: center;
    margin-bottom: 2.5rem;
    margin-top: 3rem;
    color: var(--color-gold-dark);
}

.content-block {
    margin-bottom: 3rem;
}

.intro-text {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    text-align: center;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-gold);
    color: var(--color-black);
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid var(--color-gold);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
    background-color: var(--color-black);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

.logo-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-small {
    height: 50px;
    width: auto;
}

.site-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-gold);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--color-white);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--color-gold);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-grey-dark) 100%);
    padding: 120px 2rem 80px;
    text-align: center;
    position: relative;
}

.hero-content {
    padding: 2rem;
}

.hero-logo {
    width: 250px;
    max-width: 90%;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

.hero h1 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--color-gold);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* ==========================================
   FORMATION LIST
   ========================================== */
.formation-list {
    margin: 1.5rem 0 1.5rem 2rem;
}

.formation-list li {
    list-style: disc;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    line-height: 1.8;
}

.formation-list li::marker {
    color: var(--color-gold);
}

/* ==========================================
   INSTRUMENTS SHOWCASE
   ========================================== */
.instruments-showcase {
    margin: 3rem auto;
    max-width: 800px;
    text-align: center;
}

.instruments-showcase img {
    width: 100%;
    border-radius: 15px;
    border: 3px solid var(--color-gold);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
    margin: 0 auto 1.5rem;
}

.showcase-caption {
    font-size: 1.1rem;
    color: var(--color-gold-dark);
    font-style: italic;
    font-weight: 500;
}

/* ==========================================
   BENEFITS GRID
   ========================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.benefit-card {
    background-color: var(--color-grey-dark);
    padding: 2.5rem;
    border-radius: 10px;
    border: 2px solid var(--color-gold-dark);
}

.benefit-card h3 {
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.4rem;
}

.benefit-card ul {
    margin-left: 1.5rem;
}

.benefit-card li {
    list-style: disc;
    margin-bottom: 0.8rem;
    color: var(--color-grey-light);
    line-height: 1.7;
}

.benefit-card li::marker {
    color: var(--color-gold);
}

/* ==========================================
   SERVICES & PACKAGES
   ========================================== */
.services-section {
    margin-bottom: 4rem;
}

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

.service-card {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: 10px;
    border: 2px solid var(--color-gold);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.service-card:hover .service-image {
    border-color: var(--color-gold-light);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.service-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-gold);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

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

/* Images des services centrées */
.service-image img {
    object-position: center center;
}

.service-card h4 {
    color: var(--color-black);
    margin-bottom: 1rem;
}

.service-duration {
    color: var(--color-grey);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.service-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold-dark);
    margin: 1rem 0;
}

.service-description {
    color: var(--color-grey);
    line-height: 1.7;
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    color: var(--color-black);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    z-index: 10;
}

/* Featured Service Card */
.featured-service {
    position: relative;
    border: 3px solid var(--color-gold) !important;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3) !important;
    transform: scale(1.02);
}

.featured-service:hover {
    transform: scale(1.05) translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5) !important;
}

.featured-service .service-image {
    border-width: 4px;
}

/* Featured Package Card */
.featured-package {
    position: relative;
    border: 3px solid var(--color-gold-light) !important;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4) !important;
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--color-gold-dark) 0%, var(--color-grey-dark) 100%) !important;
}

.featured-package:hover {
    transform: scale(1.08) translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6) !important;
}

.featured-package h4 {
    font-size: 1.6rem !important;
    color: var(--color-gold-light) !important;
    text-align: center !important;
}

.featured-package .package-price {
    font-size: 2.3rem !important;
    color: var(--color-white) !important;
}

/* Packages Grid */
.packages-section {
    margin: 4rem 0;
}

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

.package-card {
    background: linear-gradient(135deg, var(--color-grey-dark) 0%, var(--color-black) 100%);
    padding: 2.5rem;
    border-radius: 10px;
    border: 2px solid var(--color-gold);
    text-align: center;
    transition: var(--transition);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.package-card h4 {
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    text-align: center;
}

.package-content {
    color: var(--color-grey-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    text-align: center;
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold-light);
    text-align: center;
}

/* CTA Section */
.cta-section {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 10px;
    text-align: center;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.cta-tagline {
    font-size: 1.3rem;
    color: var(--color-gold-dark);
    margin-bottom: 2rem;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info h3 {
    color: var(--color-gold);
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item strong {
    display: block;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--color-grey-light);
    margin: 0;
}

.contact-item a {
    color: var(--color-gold-light);
}

.contact-item a:hover {
    color: var(--color-white);
    text-decoration: underline;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--color-gold);
}

.map-container iframe {
    display: block;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background-color: var(--color-black);
    color: var(--color-grey-light);
    padding: 3rem 0 1.5rem;
}

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

.footer-section h4 {
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-logo {
    width: 120px;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a {
    color: var(--color-grey-light);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-gold-dark);
}

.footer-bottom p {
    margin: 0;
    color: var(--color-grey-light);
}

/* ==========================================
   BACK TO TOP BUTTON
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--color-gold);
    color: var(--color-black);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--color-gold-light);
    transform: translateY(-3px);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 82px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 82px);
        background-color: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding: 3rem 2rem;
        gap: 2rem;
        transition: left 0.4s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: flex;
    }

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

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

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .benefits-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .packages-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 600px) {
    .section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero-logo {
        width: 180px;
    }

    .service-card,
    .package-card,
    .benefit-card {
        padding: 2rem 1.5rem;
    }

    .cta-section {
        padding: 2rem 1.5rem;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }
}