/***********************************************
    Styles modernisés pour la page Nos Services
***********************************************/

/* Global */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.7;
    margin: 0;
}

/* Page principale */
.nos-services-page {
    overflow-x: hidden; /* Évite les débordements horizontaux */
}

/* Container principal avec marges */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px; /* Padding horizontal standard */
    width: 100%;
    box-sizing: border-box; /* Pour que le padding soit inclus dans la largeur */
}

/* Typographie avancée */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #274F57;
}

/* Styles de section communs */
section {
    padding: 100px 0;
    position: relative;
}

section .section-title, 
section .section-subtitle {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

section .section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
    padding: 0 15px;
}

section .section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 700px;
    padding: 0 15px;
}

/* Bandeau principal (Nos Services) */
.hero {
    background-color: #274F57;
    background-position: center;
    background-size: cover;
    background-blend-mode: overlay;
    color: white;
    text-align: center;
    padding: 120px 20px;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(39, 79, 87, 0.9), rgba(31, 59, 68, 0.8));
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Section Introduction - Nouvelle version avec design moderne */
.intro-section {
    background-color: white;
    position: relative;
    overflow: hidden;
}

.intro-section::before {
    content: "";
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(39, 79, 87, 0.05);
    z-index: 0;
}

.intro-section::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(39, 79, 87, 0.03);
    z-index: 0;
}

.intro-container {
    position: relative;
    z-index: 1;
}

.intro-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.intro-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.intro-col-text {
    flex: 1;
}

.intro-col-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.expertise-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    flex: 1;
    min-width: 180px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 3px solid transparent;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid #274F57;
    box-shadow: 0 10px 25px rgba(39, 79, 87, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #274F57;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.stat-icon {
    font-size: 2rem;
    color: #274F57;
    margin-bottom: 15px;
}

.expertise-visual {
    width: 100%;
    max-width: 450px;
    height: 450px;
    position: relative;
}

.expertise-circle {
    position: absolute;
    border-radius: 50%;
}

.expertise-circle.primary {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, #274F57 0%, #1F3B44 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 15px 30px rgba(39, 79, 87, 0.2);
}

.expertise-circle.accent1 {
    width: 120px;
    height: 120px;
    background: rgba(229, 57, 53, 0.85);
    top: 10%;
    right: 10%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expertise-circle.accent2 {
    width: 150px;
    height: 150px;
    background: rgba(39, 79, 87, 0.7);
    bottom: 10%;
    left: 10%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-content strong {
    font-size: 3.5rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.circle-content span {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.circle-icon {
    font-size: 3rem;
    color: white;
}

/* Section : Services Essentiels */
.services-section {
    background-color: #f8f9fa;
    padding: 100px 0;
}

.services-section .container {
    padding: 0 30px; /* Padding supplémentaire */
}

.services-cards {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    overflow-x: auto;
    padding: 20px 10px; /* Padding pour éviter de coller aux bords */
    min-width: 1200px;
}

.service-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    flex: 1 1 0;
    max-width: none;
    border-bottom: 4px solid transparent;
    min-width: 220px;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid #274F57;
    box-shadow: 0 15px 35px rgba(39, 79, 87, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: #f0f7f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: #274F57;
}

.service-icon i {
    font-size: 2.5rem;
    color: #274F57;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    color: white;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li i {
    color: #274F57;
}

/* Bandeau : Pourquoi nous choisir - version améliorée */
.why-choose-banner {
    background: linear-gradient(135deg, #1F3B44 0%, #274F57 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.why-choose-banner .container {
    padding: 0 30px; /* Padding horizontal */
}

.why-choose-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>');
    background-size: 100px 100px;
    opacity: 0.4;
}

.why-choose-banner .section-title,
.why-choose-banner .section-subtitle {
    color: white;
    position: relative;
}

.why-cards {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    position: relative;
    overflow-x: auto;
}

.why-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    flex: 1 1 0;
    max-width: none;
    min-width: 200px;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.why-card:hover .card-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.why-card i {
    font-size: 2rem;
    color: white;
}

.why-card h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 15px;
}

.why-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Section Tarifs - Notre formule unique */
.pricing-section {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.pricing-section .container {
    padding: 0 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Conteneur de la formule unique */
.pricing-container {
    max-width: 900px;
    margin: 40px auto 0;
    position: relative;
    padding: 30px 20px;
}

/* Carte individuelle */
.pricing-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border-top: 5px solid #4FAE9A;
    display: flex;
    flex-direction: column;
    height: 100%;
    transform: scale(1.02);
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* En-tête de l'offre */
.pricing-header {
    padding: 40px 30px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    background: linear-gradient(to right, rgba(39, 79, 87, 0.05), rgba(79, 174, 154, 0.1));
}

.pricing-header h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #274F57;
    font-weight: 700;
}

.pricing-value {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.percent {
    font-size: 4rem;
    font-weight: 800;
    color: #4FAE9A;
    line-height: 1;
}

.details {
    font-size: 1rem;
    color: #555;
    display: block;
    margin-top: 5px;
}

/* Corps de l'offre */
.pricing-body {
    padding: 40px;
    flex-grow: 1;
    background: linear-gradient(to bottom, #fff, #f9fdfc);
}

/* Features en double colonne */
.pricing-features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.features-column {
    flex: 1;
    min-width: 250px;
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-list li {
    margin-bottom: 18px;
    padding-left: 35px;
    position: relative;
    color: #444;
    font-size: 1.05rem;
    font-weight: 500;
}

.pricing-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: #4FAE9A;
    font-size: 1.1rem;
    background: rgba(79, 174, 154, 0.1);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pied de l'offre */
.pricing-footer {
    padding: 30px;
    text-align: center;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    background: #f9fdfc;
    border-top: 1px solid #f0f0f0;
}

.pricing-btn {
    display: inline-block;
    padding: 14px 35px;
    background: #4FAE9A;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #4FAE9A;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.pricing-btn:hover {
    background: #3d9a88;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(79, 174, 154, 0.3);
}

.pricing-btn.secondary {
    background: transparent;
    color: #274F57;
    border: 2px solid #274F57;
}

.pricing-btn.secondary:hover {
    background: rgba(39, 79, 87, 0.05);
    color: #274F57;
    box-shadow: 0 10px 20px rgba(39, 79, 87, 0.1);
}


/* Responsive */
@media (max-width: 992px) {
    .pricing-footer {
        flex-direction: column;
    }
    
    .features-column {
        min-width: 100%;
    }
    
    .rate-item {
        min-width: 110px;
    }
}

@media (max-width: 768px) {
    .pricing-features {
        flex-direction: column;
    }
    
    .pricing-footer {
        flex-direction: column;
    }
    
    .pricing-card {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    .degressive-rates {
        flex-direction: column;
        align-items: center;
    }
    
    .rate-item {
        width: 80%;
    }
    
    .pricing-header {
        padding: 20px;
    }
    
    .pricing-body, .pricing-footer {
        padding: 20px;
    }
    
    .percent {
        font-size: 3rem;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .service-card {
        flex: 1 1 calc(50% - 30px);
        max-width: calc(50% - 30px);
    }
    
    .why-card {
        flex: 1 1 calc(50% - 30px);
        max-width: calc(50% - 30px);
    }
    
    .intro-row {
        flex-direction: column;
        gap: 40px;
    }
    
    .expertise-visual {
        max-width: 350px;
        height: 350px;
    }
    
    .expertise-circle.primary {
        width: 250px;
        height: 250px;
    }
    
    .circle-content strong {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    section {
        padding: 70px 0;
    }
    
    .hero {
        padding: 100px 20px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .step-circle {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .pricing-footer {
        flex-direction: column;
    }
    
    .features-column {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 20px;
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .services-cards,
    .why-cards {
        flex-wrap: wrap;
        justify-content: center;
    }
    .service-card, 
    .why-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .steps-container {
        gap: 50px;
    }
    
    .step {
        max-width: 100%;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .stat-item {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .service-icon,
    .step-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .cta-btn {
        width: 100%;
        text-align: center;
    }
    
    .percent {
        font-size: 3.5rem;
    }
}

/* Section "Commencez dès maintenant" */
.cta-section {
    background: linear-gradient(135deg, #274F57 0%, #1F3B44 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
}

.cta-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
    position: relative;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.cta-section .container {
    padding: 0 30px; /* Padding horizontal */
}

.steps-container {
    display: flex;
    justify-content: space-between;
    margin: 50px auto;
    max-width: 1000px;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 30px;
    right: -15%;
    width: 30%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 0;
}

.step-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    position: relative;
    transition: all 0.3s ease;
}

.step:hover .step-circle {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.step h4 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 10px;
}

.step p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    position: relative;
}

.cta-btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: #4FAE9A;
    color: white;
    border: 2px solid #4FAE9A;
}

.cta-btn.primary:hover {
    background: #3d9a88;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.pricing-section::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(39, 79, 87, 0.05);
    z-index: 0;
}