/* Page Services - Styles spécifiques */
.services-hero-section {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.services-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 0 20px;
}

.services-hero-text {
    flex: 1;
}

.breadcrumb {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #803101;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #b34700;
    text-decoration: underline;
}

.breadcrumb span {
    color: #333;
    font-weight: 600;
}

.services-hero-text h1 {
    font-size: 3.5rem;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.1;
}

.services-hero-text h2 {
    font-size: 1.8rem;
    color: #803101;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.services-hero-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.services-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.services-hero-image:hover img {
    transform: scale(1.05);
}

/* Sections Pôles */
.services-pole-section {
    padding: 80px 0;
}

.pole-it {
    background: #f8f9fa;
}

.pole-business {
    background: white;
}

.pole-communication {
    background: #f8f9fa;
}

.pole-header-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.pole-icon-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.pole-icon {
    width: 80px;
    height: 80px;
    background: #803101;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.pole-title {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 10px;
}

.pole-subtitle {
    font-size: 1.2rem;
    color: #803101;
    font-weight: 600;
    margin-bottom: 20px;
}

.pole-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Cartes de services détaillées */
.service-card-detailed {
    background: white;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-card-main {
    padding: 30px;
}

.service-icon-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.service-icon-header .service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #803101 0%, #b34700 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.service-icon-header h3 {
    font-size: 1.5rem;
    color: #222;
    margin: 0;
    flex: 1;
}

.service-short-desc {
    margin-bottom: 25px;
}

.service-short-desc p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.service-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.service-cta-btn {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.primary-cta {
    background: #803101;
    color: white;
}

.primary-cta:hover {
    background: #b34700;
    transform: translateY(-2px);
}

.secondary-cta {
    background: white;
    color: #803101;
    border: 2px solid #803101;
}

.secondary-cta:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Contenu détaillé */
.service-detailed-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: #f8f9fa;
    border-top: 1px solid #eaeaea;
}

.service-detailed-content.active {
    max-height: 1000px;
}

.detailed-content-inner {
    padding: 30px;
}

.detailed-content-inner h4 {
    color: #222;
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #803101;
}

.service-features-detailed {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.service-features-detailed li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-bottom: 1px dashed #e0e0e0;
}

.service-features-detailed li:last-child {
    border-bottom: none;
}

.service-features-detailed li i {
    color: #803101;
    margin-top: 3px;
}

.service-technologies,
.service-standards,
.service-zones {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tech-tag,
.standard-tag,
.zone-tag {
    padding: 6px 15px;
    background: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tech-tag,
.standard-tag,
.zone-tag {
    border: 1px solid #803101;
    color: #803101;
    background: rgba(128, 49, 1, 0.05);
}

.zone-tag.active {
    background: #803101;
    color: white;
}

/* Grilles et layouts spéciaux */
.service-grid-features,
.communication-channels,
.visual-productions,
.training-programs,
.program-categories,
.consulting-areas {
    display: grid;
    gap: 30px;
    margin: 25px 0;
}

.service-grid-features,
.consulting-areas {
    grid-template-columns: repeat(3, 1fr);
}

.communication-channels,
.visual-productions,
.training-features {
    grid-template-columns: repeat(2, 1fr);
}

.training-programs .program-categories {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {

    .service-grid-features,
    .consulting-areas,
    .training-programs .program-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .service-grid-features,
    .consulting-areas,
    .communication-channels,
    .visual-productions,
    .training-features,
    .training-programs .program-categories {
        grid-template-columns: 1fr;
    }
}

/* Process steps */
.process-steps {
    margin: 25px 0;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #803101;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content h5 {
    color: #803101;
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.step-content p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Section CTA */
.services-cta-section {
    background: linear-gradient(135deg, #803101 0%, #b34700 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.primary-btn.large-btn,
.secondary-btn.large-btn {
    padding: 18px 35px;
    font-size: 1.1rem;
}

.secondary-btn.large-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid white;
}

.secondary-btn.large-btn:hover {
    background: white;
    color: #803101;
}

.cta-contact-info {
    margin-top: 40px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-contact-info i {
    margin: 0 5px;
}

/* Responsive */
@media (max-width: 992px) {
    .services-hero-content {
        flex-direction: column;
        gap: 40px;
    }

    .services-hero-text h1 {
        font-size: 2.8rem;
    }

    .pole-title {
        font-size: 2rem;
    }

    .services-cta-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .services-hero-section {
        padding: 80px 0 40px;
    }

    .services-hero-text h1 {
        font-size: 2.2rem;
    }

    .services-hero-text h2 {
        font-size: 1.4rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .service-cta-buttons {
        flex-direction: column;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {

    .service-card-main,
    .detailed-content-inner {
        padding: 20px;
    }

    .service-icon-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .pole-icon-title {
        flex-direction: column;
        text-align: center;
    }
}

/* Modal Styles Redesign - Premium Glassmorphism */
.modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    transition: all 0.4s ease;
}

.modal-content {
    background-color: rgba(255, 255, 255, 0.95);
    margin: 40px auto;
    width: 90%;
    max-width: 850px;
    border-radius: 32px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: modalSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: #1a1a1a;
    color: white;
    padding: 45px 50px;
    position: relative;
    overflow: hidden;
}

.modal-header::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 70%);
    pointer-events: none;
}

/* Unify all modal headers with Business/Représentation style */
.modal-it .modal-header,
.modal-business .modal-header,
.modal-comm .modal-header,
.modal-header {
    background: linear-gradient(135deg, #451a03 0%, #78350f 50%, #92400e 100%);
    border-bottom: 4px solid #fbbf24;
}

.modal-header h3 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
    line-height: 1.2;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.close-modal {
    color: white;
    position: absolute;
    right: 30px;
    top: 30px;
    font-size: 24px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 10;
}

.close-modal:hover {
    background: white;
    color: #1a1a1a;
    transform: rotate(90deg) scale(1.1);
}

.modal-body {
    padding: 50px;
    background: #fff;
}

/* Centralized Internal Modal Content Styles */
.modal-body i:not(.close-modal i) {
    color: #803101 !important;
}

.modal-body h4,
.modal-body h5,
.modal-body h6 {
    color: #803101 !important;
}

.modal-body .service-detailed-content h4 {
    border-bottom: 2px solid #803101;
}

.feature-item i,
.feature-column h5 i,
.consulting-area h5 i,
.channel-icon i,
.production-category h5 i,
.training-feature .feature-icon i,
.program-category h6 i {
    color: #803101 !important;
}

/* Modal Body Content Refinement */
.modal-body .service-detailed-content {
    display: block !important;
    max-height: none !important;
    background: transparent !important;
    border: none !important;
}

.modal-body .detailed-content-inner {
    padding: 0;
}

.modal-body h4 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-body h4::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.modal-body .service-features-detailed li {
    font-size: 1.1rem;
    color: #444;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-body .service-features-detailed li i {
    font-size: 1.2rem;
    margin-top: 2px;
}

/* Stats and Zones in Modal */
.modal-body .service-technologies,
.modal-body .service-zones {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-body .tech-tag,
.modal-body .zone-tag {
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.modal-body .tech-tag:hover,
.modal-body .zone-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Animations Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .modal-content {
        margin: 20px auto;
        width: 95%;
        border-radius: 24px;
    }

    .modal-header {
        padding: 35px 30px;
    }

    .modal-header h3 {
        font-size: 1.6rem;
    }

    .modal-body {
        padding: 30px;
    }
}