/* section hero de services */
.hero-services {
    background: var(--gradient-hero);
    padding: 5rem 2.5rem 4rem;
    margin: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 100px;
}

.hero-services::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 60% at 20% 50%, rgba(255, 193, 7, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 80% at 80% 20%, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-services h1 {
    position: relative;
    z-index: 1;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 600;
    color: var(--color-titre);
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    animation: heroFadeIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}

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

.hero-services p {
    color: var(--color-text-light);
    font-size: 1.5rem;
    letter-spacing: 3px;
}


/* section services details */
.service-detail {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
    margin-top: 4rem;
    
}

.service-container {
    width: 100%;
    margin: 0 2rem;
    padding: 2rem;
    height: 100%;
    border-radius: 50px;
    border-left: 5px solid var(--color-accent);
    border-right: 5px solid var(--color-accent);
    background-color: white;
    box-sizing: border-box;
}

.service-content {
    display: grid;
    grid-template-columns: 60% 40%;
    grid-template-rows: 1fr;
    gap: 2rem;
    align-items: center;
}
.service-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}
.service-text h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-titre);
    margin-bottom: 2rem;
    text-align: start;
    text-transform: uppercase;
}

.service-text p {
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--color-text);
    margin-bottom: 1rem;
    text-align: justify;
}

.service-text ul li {
    font-size: 1rem;
    line-height: 2;
    color: var(--color-text);
    margin-bottom: 1rem;
    margin-left: 2rem;
    text-align: justify;
}

.service-text a {
    margin-top: 2rem;
    text-decoration: none;
    color: var(--color-text-light);
    background-color: var(--color-accent);
    padding: 1rem 2rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    display: inline-block;
    align-self: flex-start;
}

.service-text a:hover {
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}

/* service-benefits */
    
.service-benefits {
    background-color: var(--color-accent);
    max-width: 100%;
    padding: 2rem;
    margin: 0 2rem;
    border-radius: 20px;
    color: var(--color-text-light);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.service-benefits-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-light);
}

.service-benefits ul {
    padding: 0;
    margin: 0;
}

.service-benefits ul li {
    font-size: 0.9rem;
    line-height: 2;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
    margin-left: 0;
    text-align: left;
    list-style: none;
}

.service-benefits ul li::before {
    content: "✓";
    color: var(--color-text-light);
    font-weight: bold;
    margin-right: 1rem;
}

/* Section wrapper */
.other-services {
    max-width: 1100px;
    margin-inline: auto;
    padding: 4rem 2rem;
}

/* ── Header ── */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -.03em;
    margin-bottom: .5rem;
}

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

/* Grid des mini-cares */
.services-grid-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    list-style: none;
    padding: 0;
}

/* Mini cartes */
.service-mini-card {
    position: relative;
    background: white;
    border: 1.5px solid transparent;
    border-radius: 15px;
    padding: 2rem 1.75rem 1.75rem;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: .75rem;
    transition: transform var(--transition-card),
                box-shadow var(--transition-card),
                border-color var(--transition-card);

   /* Ligne décorative en haut */
    overflow: hidden;
}

/* Accent bar top */
.service-mini-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity var(--transition-card);
}
.service-mini-card:hover,
.service-mini-card:focus-within {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
  
}
.service-mini-card:hover::before,
.service-mini-card:focus-within::before {
    opacity: 1;
}
/* Icône emoji */
.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--color-primary);
    font-size: 1.5rem;
    transition: background var(--transition-card), transform var(--transition-card);
    flex-shrink: 0;
}
.service-mini-card:hover .card-icon {
    background: var(--color-primary);
    transform: scale(1.08) rotate(-4deg);
}
/* Titre */
.service-mini-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
}
/* Description */
.service-mini-card p {
    font-size: .9rem;
    color: var(--color-text);
    flex-grow: 1;
}
/* ── Lien discret en bas ── */
.card-link {
    font-size: .85rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    transition: gap var(--transition);
}
.card-link:hover  { gap: .6rem; }
.card-link::after { content: '→'; }
.card-link:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}
/* Notre processus */
.process-section {
    margin: 4rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.process-container {
    margin: 2rem;
    padding: 2rem;
    border-radius: 20px;
    border-left: 5px solid var(--color-accent);
    border-right: 5px solid var(--color-accent);
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.process-container h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-titre);
    margin-bottom: 1rem;
    text-align: center;
}
.process-container p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-text);
    margin-bottom: 1rem;
    text-align: center;
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    width: 100%;
}
.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 1rem 0;
    padding: 1rem;
}
.step-number {
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-primary);
    background: var(--gradient-hero);
    border-radius: 50%;
    padding: 0;
    margin: 0 auto 3rem;
    flex-shrink: 0;
}
.process-step h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
}
.process-step h3::after {
    content: "→";
    display: block;
    width: 50%;
    height: 2px;
    background-color: var(--color-accent);
    margin: 0 auto;
}
.process-step p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-text);
    margin: 1rem 0;
    text-align: center;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}

/* Responsive */

/* MOBILE  max-width: 768px */
@media (max-width: 768px) {

    /* Hero */
    .hero-services {
        padding: 3rem 1.5rem 2.5rem;
        margin: 0.5rem;
        border-radius: 0 50px;
    }

    .hero-services p {
        font-size: 1.1rem;
        letter-spacing: 1.5px;
    }

    /* Service detail */
    .service-detail {
        margin-top: 2rem;
        margin-bottom: 2.5rem;
    }

    .service-container {
        margin: 0 1rem;
        padding: 1.5rem;
        border-radius: 30px;
    }

    .service-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 1.5rem;
    }

    .service-text h2 {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }

    .service-text p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .service-text ul li {
        font-size: 0.95rem;
        margin-left: 1rem;
    }

    .service-text a {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
        margin-top: 1.5rem;
    }

    /* Service benefits */
    .service-benefits {
        margin: 0;
        padding: 1.5rem;
        border-radius: 15px;
    }

    .service-benefits-title {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }

    .service-benefits ul li {
        font-size: 0.9rem;
    }

    /* Other services */
    .other-services {
        padding: 2.5rem 1rem;
    }

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

    .services-grid-mini {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-mini-card {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    /* Process */
    .process-section {
        margin: 2.5rem 0;
    }

    .process-container {
        margin: 0 1rem;
        padding: 1.5rem;
        border-radius: 15px;
    }

    .process-container h2 {
        font-size: 1.5rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .process-step {
        padding: 0.8rem;
        margin: 0.5rem 0;
    }

    .step-number {
        width: 110px;
        height: 110px;
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }

    .process-step h3 {
        font-size: 1.1rem;
    }

    .process-step h3::after {
        content: "↓";
    }

    .process-step p {
        font-size: 0.95rem;
    }
}


/* PETIT MOBILE  max-width: 480px */
@media (max-width: 480px) {

    /* Hero */
    .hero-services {
        padding: 2.5rem 1rem 2rem;
        margin: 0.3rem;
        border-radius: 0 30px;
    }

    .hero-services p {
        font-size: 0.95rem;
        letter-spacing: 1px;
    }

    /* Service detail */
    .service-container {
        margin: 0 0.5rem;
        padding: 1.2rem;
        border-radius: 20px;
    }

    .service-text h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .service-text p {
        font-size: 0.95rem;
    }

    .service-text ul li {
        font-size: 0.9rem;
        margin-left: 0.5rem;
    }

    .service-text a {
        font-size: 0.95rem;
        padding: 0.7rem 1.2rem;
        border-radius: 15px;
    }

    /* Service benefits */
    .service-benefits {
        padding: 1.2rem;
    }

    .service-benefits-title {
        font-size: 1.1rem;
        gap: 0.6rem;
        margin-bottom: 1rem;
    }

    /* Other services */
    .other-services {
        padding: 2rem 0.8rem;
    }

    .services-grid-mini {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .service-mini-card {
        padding: 1.2rem 1rem 1rem;
        border-radius: 12px;
    }

    .card-icon {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }

    .service-mini-card h3 {
        font-size: 0.95rem;
    }

    .service-mini-card p {
        font-size: 0.85rem;
    }

    /* Process */
    .process-container {
        margin: 0 0.5rem;
        padding: 1.2rem;
    }

    .process-container h2 {
        font-size: 1.3rem;
    }

    .step-number {
        width: 90px;
        height: 90px;
        font-size: 2.4rem;
        margin-bottom: 1rem;
    }

    .process-step h3 {
        font-size: 1rem;
    }

    .process-step p {
        font-size: 0.9rem;
    }
}

/* TABLET  768px – 1024px */
@media (min-width: 768px) and (max-width: 1024px) {

    /* Hero */
    .hero-services {
        padding: 4rem 2rem 3rem;
        border-radius: 0 70px;
    }

    .hero-services p {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }

    /* Service detail */
    .service-detail {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .service-container {
        margin: 0 1.5rem;
        padding: 1.8rem;
        border-radius: 35px;
    }

    .service-content {
        grid-template-columns: 55% 45%;
        gap: 1.5rem;
    }

    .service-text h2 {
        font-size: 1.7rem;
    }

    .service-text p {
        font-size: 1.05rem;
    }

    /* Service benefits */
    .service-benefits {
        margin: 0;
        padding: 1.8rem;
    }

    .service-benefits-title {
        font-size: 1.3rem;
    }

    /* Other services */
    .other-services {
        padding: 3rem 1.5rem;
    }

    .services-grid-mini {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    /* Process */
    .process-container {
        margin: 0 1.5rem;
        padding: 1.8rem;
    }

    .process-container h2 {
        font-size: 1.7rem;
    }

    .process-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .step-number {
        width: 120px;
        height: 120px;
        font-size: 3.2rem;
        margin-bottom: 2rem;
    }

    .process-step h3 {
        font-size: 1.1rem;
    }
}

/* DESKTOP  1024px – 1920px */
@media (min-width: 1024px) and (max-width: 1920px) {

    /* Hero */
    .hero-services {
        padding: 5rem 3rem 4rem;
        border-radius: 0 100px;
    }

    /* Service detail */
    .service-container {
        margin: 0 3rem;
        padding: 2.5rem;
    }

    .service-content {
        grid-template-columns: 60% 40%;
        gap: 2rem;
    }

    /* Service benefits */
    .service-benefits {
        margin: 0 2rem;
    }

    /* Other services */
    .other-services {
        max-width: 1100px;
        padding: 4rem 2rem;
    }

    .services-grid-mini {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Process */
    .process-container {
        margin: 2rem 3rem;
        padding: 2rem 2.5rem;
    }

    .process-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* TRÈS GRAND ÉCRAN  min-width: 1920px */
@media (min-width: 1920px) {

    /* Hero */
    .hero-services {
        padding: 7rem 5rem 6rem;
        margin: 1.5rem;
        border-radius: 0 140px;
    }

    .hero-services p {
        font-size: 1.8rem;
        letter-spacing: 4px;
    }

    /* Service detail */
    .service-detail {
        margin-top: 5rem;
        margin-bottom: 5rem;
    }

    .service-container {
        margin: 0 5rem;
        padding: 3rem;
        border-radius: 70px;
    }

    .service-content {
        gap: 3rem;
    }

    .service-text h2 {
        font-size: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .service-text p {
        font-size: 1.3rem;
        line-height: 1.8;
    }

    .service-text ul li {
        font-size: 1.2rem;
        line-height: 2.2;
    }

    .service-text a {
        font-size: 1.4rem;
        padding: 1.2rem 2.5rem;
        border-radius: 25px;
        margin-top: 2.5rem;
    }

    /* Service benefits */
    .service-benefits {
        margin: 0 3rem;
        padding: 2.5rem;
        border-radius: 25px;
    }

    .service-benefits-title {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }

    .service-benefits ul li {
        font-size: 1.15rem;
        line-height: 2.2;
        margin-bottom: 0.8rem;
    }

    /* Other services */
    .other-services {
        max-width: 1700px;
        padding: 6rem 4rem;
    }

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

    .section-header h2 {
        font-size: 2.8rem;
    }

    .section-header p {
        font-size: 1.3rem;
    }

    .services-grid-mini {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }

    .service-mini-card {
        padding: 2.5rem 2rem 2rem;
        border-radius: 20px;
    }

    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        border-radius: 16px;
    }

    .service-mini-card h3 {
        font-size: 1.3rem;
    }

    .service-mini-card p {
        font-size: 1.1rem;
    }

    .card-link {
        font-size: 1.1rem;
    }

    /* Process */
    .process-section {
        margin: 6rem 0;
    }

    .process-container {
        margin: 2rem 5rem;
        padding: 3rem 4rem;
        border-radius: 30px;
    }

    .process-container h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .process-container > p {
        font-size: 1.2rem;
    }

    .process-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.5rem;
    }

    .step-number {
        width: 190px;
        height: 190px;
        font-size: 5rem;
        margin-bottom: 3.5rem;
    }

    .process-step h3 {
        font-size: 1.4rem;
    }

    .process-step p {
        font-size: 1.2rem;
        line-height: 1.8;
    }
}