/* =============================================
   LE COIFFEUR DU PASSAGE - PAGE COUPE HOMME
   Styles spécifiques pour la page Coupe Homme
   Design masculin et moderne
   ============================================= */

: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
   ============================================= */
.homme-hero {
    position: relative;
    min-height: 80vh;
    background-color: var(--color-cream);
    overflow: hidden;
}

/* Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bg-line {
    position: absolute;
    background: linear-gradient(to bottom, transparent, rgba(184, 134, 11, 0.1), transparent);
    width: 1px;
    height: 100%;
}

.line-1 { left: 20%; }
.line-2 { left: 50%; }
.line-3 { left: 80%; }

.bg-circle {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    border: 1px solid rgba(184, 134, 11, 0.1);
    border-radius: 50%;
}

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

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

.breadcrumb a {
    color: var(--color-gray);
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

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

.breadcrumb-separator {
    color: var(--color-gray);
    opacity: 0.5;
}

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

/* Hero Content */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.tag-line {
    width: 50px;
    height: 2px;
    background-color: var(--color-primary);
}

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

.title-line-1,
.title-line-2 {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 500;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 0.8s ease forwards;
}

.title-line-1 {
    color: var(--color-secondary);
    font-style: italic;
}

.title-line-2 {
    color: var(--color-primary);
    animation-delay: 0.2s;
}

@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-accent);
    margin-bottom: 2.5rem;
    max-width: 500px;
    opacity: 0;
    animation: fadeSlideUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeSlideUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.btn-primary-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background-color: var(--color-secondary);
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.btn-primary-dark:hover {
    background-color: var(--color-primary);
    transform: translateX(5px);
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background-color: transparent;
    color: var(--color-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 2px solid var(--color-secondary);
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

/* Hero Right - Icon Box */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-icon-box {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.icon-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--color-primary);
}

.ring-1 {
    width: 100%;
    height: 100%;
    opacity: 0.3;
    animation: ringRotate 20s linear infinite;
}

.ring-2 {
    width: 80%;
    height: 80%;
    opacity: 0.2;
    border-style: dashed;
    animation: ringRotate 15s linear infinite reverse;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* =============================================
   SECTION PRESTATIONS
   ============================================= */
.homme-prestations {
    padding: 100px 2rem;
    background-color: var(--color-white);
}

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

.section-header {
    margin-bottom: 4rem;
}

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

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

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

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

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

.section-tag.centered::before {
    display: none;
}

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

.section-header p {
    font-size: 1.05rem;
    color: var(--color-gray);
}

/* Prestations Grid */
.prestations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.prestation-card {
    position: relative;
    background-color: var(--color-cream);
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
    overflow: hidden;
}

.prestation-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.prestation-card:hover {
    background-color: var(--color-secondary);
    transform: translateY(-10px);
}

.prestation-card:hover::after {
    transform: scaleX(1);
}

.prestation-card.featured {
    background-color: var(--color-secondary);
}

.prestation-card.featured::after {
    transform: scaleX(1);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.75rem;
}

.card-icon {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

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

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

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

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

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

.prestation-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-gray);
    margin-bottom: 1.5rem;
    transition: color 0.4s ease;
}

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

.card-includes {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-includes li {
    font-size: 0.85rem;
    color: var(--color-accent);
    padding-left: 1.25rem;
    position: relative;
    transition: color 0.4s ease;
}

.card-includes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

.prestation-card:hover .card-includes li,
.prestation-card.featured .card-includes li {
    color: rgba(255, 255, 255, 0.6);
}

/* =============================================
   SECTION GALLERY CAROUSEL
   ============================================= */
.homme-gallery {
    padding: 100px 0;
    background-color: var(--color-secondary);
    overflow: hidden;
}

.gallery-header {
    text-align: center;
    padding: 0 2rem;
    margin-bottom: 4rem;
}

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

/* Carousel */
.gallery-carousel {
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    animation: carouselScroll 35s linear infinite;
    width: fit-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes carouselScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 6 - 1.5rem * 6));
    }
}

.carousel-slide {
    flex: 0 0 300px;
    height: 400px;
    position: relative;
    overflow: hidden;
    background-color: var(--color-accent);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.carousel-slide:hover img {
    transform: scale(1.1);
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.carousel-slide:hover .slide-overlay {
    transform: translateY(0);
}

.slide-overlay span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-white);
}

/* =============================================
   SECTION EXPERIENCE
   ============================================= */
.homme-experience {
    padding: 100px 2rem;
    background-color: var(--color-cream);
}

.experience-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: center;
}

.experience-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 500;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.experience-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-accent);
    margin-bottom: 2.5rem;
}

/* Experience Steps */
.experience-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.exp-step {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--color-white);
    transition: all 0.3s ease;
}

.exp-step:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

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

.step-content p {
    font-size: 0.85rem;
    color: var(--color-gray);
    line-height: 1.6;
}

/* Experience Visual */
.experience-visual {
    display: flex;
    justify-content: center;
}

.visual-box {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-primary);
}

.corner-tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.corner-tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.corner-bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.corner-br { bottom: 0; right: 0; border-left: none; border-top: none; }

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

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

.stat-value {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1;
    display: inline;
}

.stat-percent {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-gray);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* =============================================
   SECTION AVANTAGES
   ============================================= */
.homme-avantages {
    padding: 60px 2rem;
    background-color: var(--color-white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.avantages-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.avantage-item {
    text-align: center;
    flex: 1;
}

.avantage-icon {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.avantage-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-secondary);
    margin-bottom: 0.25rem;
}

.avantage-item p {
    font-size: 0.85rem;
    color: var(--color-gray);
}

.avantage-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--color-primary), transparent);
    opacity: 0.3;
}

/* =============================================
   CTA SECTION
   ============================================= */
.homme-cta {
    position: relative;
    padding: 120px 2rem;
    background-color: var(--color-secondary);
    text-align: center;
    overflow: hidden;
}

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

.deco-line {
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(184, 134, 11, 0.2), transparent);
}

.deco-1 { left: 25%; }
.deco-2 { left: 50%; }
.deco-3 { left: 75%; }

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

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

.homme-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    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: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(184, 134, 11, 0.3);
}

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

.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: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

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

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

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

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

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

/* =============================================
   ANIMATIONS
   ============================================= */
.prestation-card,
.exp-step,
.avantage-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.prestation-card.visible,
.exp-step.visible,
.avantage-item.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
    .prestations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-tag {
        justify-content: center;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-right {
        order: -1;
    }
    
    .hero-icon-box {
        width: 200px;
        height: 200px;
    }
    
    .hero-icon-box svg {
        width: 50px;
        height: 50px;
    }
    
    .experience-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .experience-visual {
        order: -1;
    }
    
    .avantages-container {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .avantage-item {
        flex: 1 1 45%;
    }
    
    .avantage-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .homme-hero {
        min-height: auto;
    }
    
    .hero-container {
        padding: 130px 1.5rem 60px;
    }
    
    .title-line-1,
    .title-line-2 {
        font-size: 3rem;
    }
    
    .homme-prestations {
        padding: 80px 1.5rem;
    }
    
    .prestations-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .homme-gallery {
        padding: 80px 0;
    }
    
    .carousel-slide {
        flex: 0 0 260px;
        height: 340px;
    }
    
    @keyframes carouselScroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-260px * 6 - 1.5rem * 6));
        }
    }
    
    .homme-experience {
        padding: 80px 1.5rem;
    }
    
    .experience-steps {
        grid-template-columns: 1fr;
    }
    
    .visual-box {
        width: 250px;
        height: 250px;
    }
    
    .homme-avantages {
        padding: 40px 1.5rem;
    }
    
    .avantage-item {
        flex: 1 1 100%;
    }
    
    .homme-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-1,
    .title-line-2 {
        font-size: 2.5rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary-dark,
    .btn-outline-dark {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-icon-box {
        width: 160px;
        height: 160px;
    }
    
    .prestation-card {
        padding: 2rem 1.5rem;
    }
    
    .card-number {
        font-size: 3rem;
    }
    
    .carousel-slide {
        flex: 0 0 240px;
        height: 300px;
    }
    
    @keyframes carouselScroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-240px * 6 - 1.5rem * 6));
        }
    }
    
    .stat-value {
        font-size: 2.5rem;
    }
    
    .visual-box {
        width: 200px;
        height: 200px;
    }
    
    .box-corner {
        width: 30px;
        height: 30px;
    }
}
