/* =============================================
   LE COIFFEUR DU PASSAGE - PAGE PRESTATIONS
   Styles spécifiques pour la page Prestations
   Design élégant et dynamique
   ============================================= */

:root {
    --color-primary: #b8860b;
    --color-primary-light: #daa520;
    --color-primary-dark: #8b6914;
    --color-secondary: #1a1a1a;
    --color-white: #ffffff;
    --color-cream: #faf8f5;
    --color-gray: #6b6b6b;
    --color-accent: #4a4a4a;
}

/* =============================================
   HERO SECTION
   ============================================= */
.prestation-hero {
    position: relative;
    min-height: 75vh;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Pattern Grid */
.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.pattern-grid {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(184, 134, 11, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184, 134, 11, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Floating Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    top: -100px;
    right: -50px;
    animation: floatShape1 20s ease-in-out infinite;
}

.shape-2 {
    width: 250px;
    height: 250px;
    border: 2px solid var(--color-primary);
    background: transparent;
    bottom: 10%;
    left: 5%;
    animation: floatShape2 15s ease-in-out infinite;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--color-primary);
    top: 40%;
    left: 30%;
    animation: floatShape3 18s ease-in-out infinite;
}

@keyframes floatShape1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 30px) rotate(10deg); }
}

@keyframes floatShape2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, -20px) rotate(-15deg); }
}

@keyframes floatShape3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-15px, 15px) scale(1.1); }
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 2rem 80px;
    text-align: center;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--color-primary);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumb-current {
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Hero Content */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(184, 134, 11, 0.15);
    border: 1px solid rgba(184, 134, 11, 0.3);
    border-radius: 50px;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.label-icon {
    color: var(--color-primary);
    display: flex;
}

.hero-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.hero-title {
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 500;
    color: var(--color-white);
    line-height: 1.1;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.title-accent {
    color: var(--color-primary-light);
    font-style: italic;
    animation-delay: 0.3s;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.5s;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1;
}

.stat-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--color-primary), transparent);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.5);
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.6); opacity: 0.5; }
}

/* =============================================
   SECTION SERVICES
   ============================================= */
.prestation-services {
    padding: 100px 2rem;
    background-color: var(--color-cream);
}

.services-container {
    max-width: 1300px;
    margin: 0 auto;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-style: italic;
    color: var(--color-primary);
    margin-bottom: 1rem;
    position: relative;
    padding: 0 60px;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 1px;
    background-color: var(--color-primary);
}

.section-tag::before { left: 0; }
.section-tag::after { right: 0; }

.section-tag.light {
    color: var(--color-primary-light);
}

.section-tag.light::before,
.section-tag.light::after {
    background-color: var(--color-primary-light);
}

.section-tag.centered {
    display: block;
    text-align: center;
}

.section-intro h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 500;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.section-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-gray);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Service Card */
.service-card {
    position: relative;
    display: block;
    background-color: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #2d2d2d 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover .card-bg {
    opacity: 1;
}

.service-card.featured .card-bg {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-number {
    position: absolute;
    top: 20px;
    right: 25px;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(184, 134, 11, 0.1);
    line-height: 1;
    transition: color 0.5s ease;
}

.service-card:hover .card-number,
.service-card.featured .card-number {
    color: rgba(184, 134, 11, 0.15);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    transition: color 0.5s ease;
}

.service-card:hover h3,
.service-card.featured h3 {
    color: var(--color-white);
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-gray);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    transition: color 0.5s ease;
}

.service-card:hover p,
.service-card.featured p {
    color: rgba(255, 255, 255, 0.7);
}

/* Card Tags */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.card-tags span {
    padding: 0.35rem 0.75rem;
    background-color: var(--color-cream);
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 20px;
    transition: all 0.5s ease;
}

.service-card:hover .card-tags span,
.service-card.featured .card-tags span {
    background-color: rgba(184, 134, 11, 0.2);
    color: var(--color-primary-light);
}

/* Card Link */
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: gap 0.3s ease;
}

.service-card:hover .card-link {
    gap: 1rem;
}

.service-card.featured .card-link {
    color: var(--color-primary-light);
}

/* Featured Card - Full Width */
.service-card.featured {
    grid-column: span 1;
}

@media (min-width: 1024px) {
    .service-card.featured {
        grid-column: span 3;
        position: relative;
    }
    
    .service-card.featured .card-bg {
        display: none;
    }
    
    .service-card.featured .card-content {
        position: static;
        background: linear-gradient(135deg, var(--color-secondary) 0%, #2d2d2d 100%);
        padding: 2.5rem 3rem 2.5rem 320px;
        border-radius: 20px;
    }
    
    .service-card.featured::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 280px;
        height: 100%;
        background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
        border-radius: 20px 0 0 20px;
        z-index: 1;
    }
    
    .service-card.featured .card-icon {
        position: absolute;
        left: 95px;
        top: 50%;
        transform: translateY(-50%);
        width: 90px;
        height: 90px;
        z-index: 3;
        margin-bottom: 0;
    }
    
    .service-card.featured:hover .card-icon {
        transform: translateY(-50%) scale(1.1);
    }
    
    .service-card.featured .card-number {
        position: absolute;
        top: 20px;
        right: 25px;
        color: rgba(184, 134, 11, 0.15);
    }
    
    .service-card.featured h3 {
        color: var(--color-white);
    }
    
    .service-card.featured p {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .service-card.featured .card-tags span {
        background-color: rgba(184, 134, 11, 0.2);
        color: var(--color-primary-light);
    }
    
    .service-card.featured .card-link {
        color: var(--color-primary-light);
    }
}

/* =============================================
   SECTION WHY
   ============================================= */
.prestation-why {
    padding: 100px 2rem;
    background-color: var(--color-secondary);
}

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

.why-header {
    text-align: center;
    margin-bottom: 4rem;
}

.why-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 500;
    color: var(--color-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.why-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(184, 134, 11, 0.3);
    transform: translateY(-10px);
}

.why-icon {
    margin-bottom: 1.5rem;
}

.icon-circle {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: transform 0.3s ease;
}

.why-card:hover .icon-circle {
    transform: scale(1.1);
}

.why-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.why-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* =============================================
   SECTION PROCESS
   ============================================= */
.prestation-process {
    padding: 100px 2rem;
    background-color: var(--color-white);
}

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

.process-header {
    text-align: center;
    margin-bottom: 4rem;
}

.process-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 500;
    color: var(--color-secondary);
}

/* Timeline */
.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-marker {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-marker span {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-white);
}

.process-step:hover .step-marker {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(184, 134, 11, 0.3);
}

.step-content h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--color-gray);
    line-height: 1.6;
    max-width: 180px;
    margin: 0 auto;
}

.process-connector {
    flex: 0 0 auto;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    margin-top: 35px;
    opacity: 0.5;
}

/* =============================================
   CTA SECTION
   ============================================= */
.prestation-cta {
    position: relative;
    padding: 120px 2rem;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    text-align: center;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cta-shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
}

.cta-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: 10%;
}

.cta-shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: -50px;
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.prestation-cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.prestation-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.5rem;
    background-color: var(--color-white);
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.5rem;
    background-color: transparent;
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

/* =============================================
   HEADER STYLES
   ============================================= */
.header-prestation {
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.header-prestation.scrolled {
    background-color: var(--color-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-prestation:not(.scrolled) .nav-list a {
    color: var(--color-white);
}

.header-prestation:not(.scrolled) .nav-list a:hover {
    color: var(--color-primary);
}

.header-prestation:not(.scrolled) .btn-reservation {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* =============================================
   ANIMATIONS
   ============================================= */
.service-card,
.why-card,
.process-step {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-card.visible,
.why-card.visible,
.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.1s; }
.service-card:nth-child(5) { transition-delay: 0.2s; }
.service-card:nth-child(6) { transition-delay: 0.3s; }
.service-card:nth-child(7) { transition-delay: 0.4s; }

.why-card:nth-child(1) { transition-delay: 0.1s; }
.why-card:nth-child(2) { transition-delay: 0.2s; }
.why-card:nth-child(3) { transition-delay: 0.3s; }
.why-card:nth-child(4) { transition-delay: 0.4s; }

.process-step:nth-child(1) { transition-delay: 0.1s; }
.process-step:nth-child(3) { transition-delay: 0.2s; }
.process-step:nth-child(5) { transition-delay: 0.3s; }
.process-step:nth-child(7) { transition-delay: 0.4s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card.featured {
        grid-column: span 2;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        padding: 140px 2rem 80px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card.featured {
        grid-column: span 2;
        display: block;
    }
    
    .service-card.featured::before {
        display: none;
    }
    
    .service-card.featured .card-bg {
        display: block;
        opacity: 1;
    }
    
    .service-card.featured .card-content {
        background: transparent;
        border-radius: 20px;
        padding: 2.5rem;
    }
    
    .service-card.featured .card-icon {
        position: static;
        transform: none;
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .service-card.featured:hover .card-icon {
        transform: scale(1.1) rotate(5deg);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .process-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }
    
    .step-content p {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .prestation-hero {
        min-height: 70vh;
    }
    
    .hero-container {
        padding: 130px 1.5rem 60px;
    }
    
    .title-line {
        font-size: 3rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .prestation-services {
        padding: 80px 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.featured {
        grid-column: span 1;
    }
    
    .prestation-why {
        padding: 80px 1.5rem;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .prestation-process {
        padding: 80px 1.5rem;
    }
    
    .prestation-cta {
        padding: 80px 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 120px 1rem 50px;
    }
    
    .title-line {
        font-size: 2.5rem;
    }
    
    .hero-label {
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }
    
    .card-content {
        padding: 2rem 1.5rem;
    }
    
    .card-number {
        font-size: 3rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
    }
    
    .step-marker {
        width: 60px;
        height: 60px;
    }
    
    .step-marker span {
        font-size: 1.2rem;
    }
}
