/**
 * CSS commun pour les pages de services
 * Metal Services - Style cohérent avec page À propos
 */

/* ============================================
   HERO SECTION - Style À propos
   ============================================ */
.page-hero {
    position: relative;
    display: block;
    min-height: auto;
    height: auto;
}

.page-hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, var(--color-secondary) 0%, var(--color-secondary) 45%, transparent 75%);
    z-index: 1;
}

/* Texture métallique sur le hero */
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background-image: url('../../../assets/img/Metal scratch png overlay, abstract design on transparent background.png');
    background-size: cover;
    opacity: 1;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 2;
    mask-image: linear-gradient(to right, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 50%, transparent 100%);
}

.page-hero__content {
    position: relative;
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 3;
    max-width: 55%;
    margin: 0;
}

.page-hero__title {
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-transform: uppercase;
    font-family: var(--font-heading);
    line-height: 1.2;
}

.page-hero__subtitle {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 1rem 0 0 0;
    max-width: 550px;
    line-height: 1.7;
}

/* Hauteur minimum pour le hero */
.page-hero {
    min-height: 280px;
}

/* ============================================
   PAGE SERVICE DETAIL - Conteneur principal
   ============================================ */
.page-service-detail {
    display: flex;
    flex-direction: column;
}

/* Section avec image de fond */
.page-section--with-bg {
    position: relative;
    background-image: url(../../../assets/img/kenrick-baksh-WS5ycYiXf-w-unsplash.jpg);
    --bg-size: 165%;
    background-size: var(--bg-size);
    background-position: top;
    background-repeat: no-repeat;
}

.page-section--with-bg > * {
    position: relative;
    z-index: 1;
}

/* ============================================
   SECTION BASE
   ============================================ */
.page-section {
    padding: 5rem 2rem;
}

.page-section--white {
    background: white;
}

.page-section--light {
    background: var(--color-light);
}

.page-section--dark {
    background: var(--color-secondary);
    color: white;
}

.page-section__container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================================
   INTRO SECTION - Style À propos
   ============================================ */
.page-intro {
    padding: 4rem 2rem;
    background: white;
    position: relative;
}

.page-intro__container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.page-intro__text {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.8;
    margin: 0;
}

.page-intro__badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.page-intro__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    background: var(--color-secondary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
}

.page-intro__badge svg {
    color: var(--color-primary);
    stroke: var(--color-primary);
}

/* ============================================
   CONTENT SECTION (Image + Texte) - Style À propos
   ============================================ */
.content-section {
    padding: 5rem 2rem;
    position: relative;
}

.content-section__grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-section__grid--reverse {
    direction: rtl;
}

.content-section__grid--reverse > * {
    direction: ltr;
}

.content-section__image-wrapper {
    position: relative;
}

/* Élément décoratif jaune en haut à gauche */
.content-section__image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background:
        var(--color-primary);
    background-size: cover;
    z-index: 0;
}



.content-section__image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Image cliquable avec hover */
.content-section__image-wrapper--clickable {
    overflow: hidden;
}

.content-section__image-link {
    display: block;
    position: relative;
    z-index: 1;
}

.content-section__image-link .content-section__image {
    transition: transform 0.4s ease;
}

.content-section__image-link:hover .content-section__image {
    transform: scale(1.05);
}

.content-section__image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(8, 41, 71, 0.9) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.content-section__image-link:hover .content-section__image-overlay {
    opacity: 1;
}

.content-section__image-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform: translateX(10px);
    transition: transform 0.4s ease, gap 0.3s ease;
}

.content-section__image-cta svg {
    transition: transform 0.3s ease;
}

.content-section__image-link:hover .content-section__image-cta {
    transform: translateX(0);
}

.content-section__image-link:hover .content-section__image-cta svg {
    transform: translateX(3px);
}

/* Stats du projet sur l'image */
.content-section__image-stats {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 3;
}

.content-section__image-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-secondary);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.4rem 0.75rem;
    backdrop-filter: blur(4px);
}

.content-section__image-stat svg {
    color: var(--color-primary);
    stroke: var(--color-primary);
    flex-shrink: 0;
}

/* Image divisée en deux (acier/aluminium) */
.content-section__image-wrapper--split {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 400px;
}

.content-section__split-image {
    position: relative;
    flex: 1;
    overflow: hidden;
    z-index: 1;
}

.content-section__split-image img {
    width: 100%;
    height: 200%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.content-section__split-image--top img {
    object-position: top;
}

.content-section__split-image--bottom img {
    object-position: bottom;
}

.content-section__split-image--full {
    flex: 1;
}

.content-section__split-image--full img {
    height: 100%;
}

.content-section__split-image:hover img {
    transform: scale(1.05);
}

.content-section__split-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(to top, rgba(8, 41, 71, 0.85) 0%, transparent 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-section__split-image:hover .content-section__split-label {
    opacity: 1;
}

/* Responsive split images */
@media (max-width: 768px) {
    .content-section__image-wrapper--split {
        height: 300px;
    }
}

.content-section__content {
    padding: 1rem 0;
}

/* Tag au-dessus du titre */
.content-section__tag {
    display: inline-block;
    color: var(--color-secondary);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
    margin-bottom: 0.4rem;
}

.content-section__tag--primary {
    background: var(--color-primary);
    color: var(--color-secondary);
}

/* Tag transparent avec texte blanc (pour fonds sombres) */
.content-section__tag--light {
    background: transparent;
    color: white;
}

.content-section__title {
    position: relative;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    font-family: var(--font-heading);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

/* Croix décorative avant le titre (effet croquis) */
.content-section__title::before {
    content: '';
    width: 140px;
    height: 48px;
    border-left: 3px solid var(--color-primary);
    border-top: 3px solid var(--color-primary);
    flex-shrink: 0;
    margin-top: -0.5rem;
    margin-right: -8.7rem;
}

/* Second L retourné pour former la croix */
.content-section__title::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 25px;
    border-right: 3px solid var(--color-primary);
    border-bottom: 3px solid var(--color-primary);
    top: -1.88rem;
    left: -1.2rem;
}

.content-section__title .highlight {
    color: var(--color-primary);
}

/* Titre sur fond sombre */
.content-section__title--light {
    color: white;
}

.content-section__title--light::before {
    border-left-color: white;
    border-top-color: white;
}

.content-section__title--light::after {
    border-right-color: white;
    border-bottom-color: white;
}

/* Conteneur texte pour éviter les problèmes de flex wrap */
.content-section__title-text {
    display: inline;
}

.content-section__text {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.8;
    margin: 0 0 1.25rem 0;
}

/* ============================================
   LISTE À PUCES - Style À propos
   ============================================ */
.check-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.check-list__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.check-list__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--color-secondary);
    color: var(--color-light);
    stroke: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.check-list__text {
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.6;
}

/* ============================================
   FEATURES GRID (Cartes avantages) - Style À propos
   ============================================ */
.features-section {
    padding: 5rem 2rem;
    background: #cfcfcf;
    position: relative;
    overflow: hidden;
}

/* Texture métallique */
.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../../assets/img/Metal scratch png overlay, abstract design on transparent background.png');
    background-size: cover;
    opacity: 1;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.features-section__container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.features-section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.features-section__title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.features-section__title .highlight {
    color: var(--color-primary);
}

.features-section__subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin: 0;
}

.features-section__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    position: relative;
    background: white;
    padding: 2.5rem 1.75rem;
    border-bottom: 4px solid var(--color-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 280px;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(8, 41, 71, 0.15);
    border-bottom-color: var(--color-secondary);
}

.feature-card__icon {
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card__icon svg {
    stroke: var(--color-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(15, 106, 190, 0.2));
}

.feature-card:hover .feature-card__icon {
    transform: scale(1.15) translateY(-5px);
}

.feature-card:hover .feature-card__icon svg {
    stroke: var(--color-secondary);
    filter: drop-shadow(0 4px 8px rgba(8, 41, 71, 0.3));
}

.feature-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-card__title {
    color: var(--color-primary);
}

.feature-card__text {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-card__text {
    color: var(--color-text);
}

/* Image de fond au hover */
.feature-card__bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--card-bg-image);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.feature-card--has-image:hover .feature-card__bg-image {
    opacity: 0.15;
}

.feature-card--has-image .feature-card__icon,
.feature-card--has-image .feature-card__title,
.feature-card--has-image .feature-card__text {
    position: relative;
    z-index: 1;
}

/* Cards cliquables (liens) */
.feature-card--link {
    text-decoration: none;
    cursor: pointer;
    display: block;
}

.feature-card--link:hover {
    text-decoration: none;
}

/* Cards K2 avec overlay au survol */
.feature-card--k2 {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.feature-card__k2-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 41, 71, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.feature-card--k2:hover .feature-card__k2-overlay {
    opacity: 1;
    visibility: visible;
}

.feature-card__k2-logo {
    width: 60px;
    height: auto;
    object-fit: contain;
}

.feature-card__k2-overlay span {
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Grille compacte pour plus de cards */
.features-section__grid--compact {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

/* Cards compactes (moitié de la taille) */
.feature-card--compact {
    padding: 1.5rem 1.25rem;
    min-height: 160px;
}

.feature-card--compact .feature-card__icon {
    margin-bottom: 1rem;
}

.feature-card--compact .feature-card__icon svg {
    width: 24px;
    height: 24px;
}

.feature-card--compact .feature-card__title {
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.feature-card--compact .feature-card__text {
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* Footer avec lien "Voir plus" */
.features-section__footer {
    text-align: center;
    margin-top: 2rem;
}

.features-section__more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-secondary);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    background: white;
    border-bottom: 3px solid var(--color-primary);
    transition: all 0.3s ease;
}

.features-section__more-link:hover {
    background: var(--color-secondary);
    color: white;
    border-bottom-color: var(--color-secondary);
}

.features-section__more-link:hover svg {
    transform: translateX(4px);
}

.features-section__more-link svg {
    transition: transform 0.3s ease;
}

.features-section__more-count {
    background: var(--color-primary);
    color: var(--color-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card__content {
    padding: 1.5rem;
}

.service-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0 0 0.75rem 0;
}

.service-card__text {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.service-card__link:hover {
    gap: 0.75rem;
}

/* ============================================
   PROCESS SECTION (Étapes) - Style À propos
   ============================================ */
.process-section {
    padding: 5rem 2rem;
    background: var(--color-secondary);
    position: relative;
    overflow: hidden;
}

/* Texture métallique */
.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../../assets/img/Metal scratch png overlay, abstract design on transparent background.png');
    background-size: cover;
    opacity: 1;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* Barres décoratives */
.process-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 4px;
    background: var(--color-primary);
}

.process-section__container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.process-section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.process-section__title {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.process-section__title .highlight {
    color: var(--color-primary);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    counter-reset: step;
}

.process-step {
    position: relative;
    padding: 1.5rem 1rem;
    background: transparent;
    text-align: center;
}

.process-step::before {
    counter-increment: step;
    content: "0" counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: var(--color-secondary);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step__title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
}

.process-step__text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   CTA SECTION - Style À propos (fond bleu)
   ============================================ */
.cta-section {
    padding: 5rem 2rem;
    background: var(--color-secondary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Texture métallique */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../../assets/img/Metal scratch png overlay, abstract design on transparent background.png');
    background-size: cover;
    opacity: 1;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* Barres décoratives */
.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 4px;
    background: var(--color-primary);
}

.cta-section__container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-section__title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.cta-section__text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.cta-section__buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS - Style À propos
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-radius: 0;
    cursor: pointer;
}

.btn--primary {
    background: var(--color-primary);
    color: var(--color-secondary);
    border-color: var(--color-primary);
}

.btn--primary:hover {
    background: white;
    color: var(--color-secondary);
    border-color: white;
}

.btn--white {
    background: var(--color-primary);
    color: var(--color-secondary);
    border-color: var(--color-primary);
}

.btn--white:hover {
    background: white;
    color: var(--color-secondary);
    border-color: white;
}

.btn--outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn--outline:hover {
    background: var(--color-primary);
    color: white;
}

.btn--outline-white {
    background: transparent;
    color: white;
    border-color: var(--color-primary);
}

.btn--outline-white:hover {
    background: var(--color-primary);
    color: var(--color-secondary);
}

/* ============================================
   TARGET BADGES (B2B / B2C) - Style À propos
   ============================================ */
.target-section {
    padding: 5rem 2rem;
    background: white;
}

.target-section__container {
    max-width: 1000px;
    margin: 0 auto;
}

.target-section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.target-section__title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.target-section__title .highlight {
    color: var(--color-primary);
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.target-card {
    position: relative;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Carte impaire (1, 3) - fond bleu avec texture */
.target-card:nth-child(odd) {
    background: var(--color-secondary);
    overflow: hidden;
}

.target-card:nth-child(odd)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../../assets/img/Metal scratch png overlay, abstract design on transparent background.png');
    background-size: cover;
    opacity: 0.3;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.target-card:nth-child(odd) .target-card__badge {
    background: var(--color-primary);
    color: var(--color-secondary);
}

.target-card:nth-child(odd) .target-card__title {
    color: white;
}

.target-card:nth-child(odd) .target-card__text {
    color: rgba(255, 255, 255, 0.85);
}

/* Carte paire (2, 4) - fond clair avec bordure */
.target-card:nth-child(even) {
    background: var(--color-light);
    border: 2px solid var(--color-secondary);
}

.target-card:nth-child(even) .target-card__badge {
    background: var(--color-secondary);
    color: white;
}

.target-card__badge {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.target-card__title {
    position: relative;
    z-index: 1;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0 0 1rem 0;
    text-transform: uppercase;
}

.target-card__text {
    position: relative;
    z-index: 1;
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    /* Hero responsive */
    .page-hero__overlay {
        background: var(--color-secondary);
    }

    .page-hero::before {
        width: 100%;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .page-hero__content {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }

    .content-section__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-section__grid--reverse {
        direction: ltr;
    }

    /* Masquer les décorations sur tablette */
    .content-section__image-wrapper::before,
    .content-section__image-wrapper::after {
        display: none;
    }

    .target-grid {
        grid-template-columns: 1fr;
    }

    /* Grille compacte 3 colonnes sur tablette */
    .features-section__grid--compact {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    /* Hero mobile - sans image, fond uni */
    .page-hero {
        display: block;
        min-height: auto;
        background: var(--color-secondary);
    }

    .page-hero__image {
        display: none; /* Masquer l'image sur mobile */
    }

    .page-hero__overlay {
        display: none; /* Masquer l'overlay sur mobile */
    }

    .page-hero::before {
        display: none; /* Masquer la texture sur mobile */
    }

    .page-hero__content {
        position: relative;
        padding: 2rem 1.5rem;
        max-width: 100%;
        background: transparent;
    }

    /* Badges du hero sur mobile */
    .page-hero__content > div[style*="display: flex"][style*="flex-wrap: wrap"] {
        flex-direction: column;
        gap: 0.5rem !important;
    }

    .page-hero__content > div[style*="display: flex"][style*="flex-wrap: wrap"] > span {
        width: fit-content;
    }

    .page-hero__title {
        font-size: 1.5rem;
    }

    .page-hero__subtitle {
        font-size: 0.875rem;
        margin-top: 0.75rem;
    }


    .page-section {
        padding: 3rem 1.5rem;
    }

    .content-section {
        padding: 3rem 1.5rem;
    }

    .content-section__title {
        font-size: 1.5rem;
    }

    .content-section__image {
        height: 280px;
    }

    .features-section,
    .process-section,
    .target-section,
    .cta-section {
        padding: 3rem 1.5rem;
    }

    .features-section__title,
    .process-section__title,
    .target-section__title,
    .cta-section__title {
        font-size: 1.5rem;
    }

    .feature-card,
    .target-card {
        padding: 2rem 1.5rem;
        min-height: auto;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-section__buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .page-intro__badges {
        flex-direction: column;
        align-items: center;
    }

    /* Features grid 2 colonnes */
    .features-section__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Grille compacte responsive */
    .features-section__grid--compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .feature-card--compact {
        padding: 1.25rem 1rem;
        min-height: 140px;
    }

    .feature-card--compact .feature-card__title {
        font-size: 0.875rem;
    }

    .feature-card--compact .feature-card__text {
        font-size: 0.75rem;
    }

    .features-section__more-link {
        font-size: 0.75rem;
        padding: 0.6rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .process-steps {
        grid-template-columns: 1fr;
    }

    /* Features grid 1 colonne */
    .features-section__grid {
        grid-template-columns: 1fr;
    }

    /* Grille compacte 2 colonnes sur mobile */
    .features-section__grid--compact {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card {
        min-height: 250px;
    }

    .feature-card__icon svg {
        width: 40px;
        height: 40px;
    }

    .feature-card__title {
        font-size: 1.125rem;
    }
}

/* ============================================
   PAGE SERVICES - NOUVEAU STYLE
   ============================================ */

/* Hero responsive */
.page-services__hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
}

/* Nouvelles cartes de service */
.service-card-new {
    display: flex;
    flex-direction: column;
    position: relative;
    background: white;
    overflow: hidden;
    text-decoration: none;
    border-bottom: 4px solid var(--color-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.service-card-new__image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.service-card-new__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-new__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(8, 41, 71, 0.3) 100%);
    transition: all 0.4s ease;
}

/* Badge statistiques - apparaît au survol */
.service-card-new__stats {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: #292929;
        color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 0.75rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 0 0 rgba(234, 179, 8, 0);
}

/* Texture métallique sur le badge */
.service-card-new__stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 300%;
    height: 100%;
    background-image: url('../../../assets/img/Metal scratch png overlay, abstract design on transparent background.png');
    background-size: cover;
    opacity: 1;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.service-card-new:hover .service-card-new__stats {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 0 10px #252525, 0 0 20px #2d2d2d;
}

.service-card-new__content {
    position: relative;
    padding: 1.5rem;
    background: #e8e8e8;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-new__texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    opacity: 1;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.service-card-new__title {
    position: relative;
    z-index: 1;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0 0 0.75rem 0;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.service-card-new__text {
    position: relative;
    z-index: 1;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.service-card-new__link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: gap 0.3s ease;
    margin-top: 1rem;
}

/* Hover sur les cartes de service */
.service-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(8, 41, 71, 0.15);
    border-bottom-color: var(--color-secondary);
}

.service-card-new:hover .service-card-new__image {
    transform: scale(1.1);
}

.service-card-new:hover .service-card-new__overlay {
    background: linear-gradient(180deg, transparent 0%, rgba(8, 41, 71, 0.5) 100%);
}

.service-card-new:hover .service-card-new__title {
    color: var(--color-primary);
}

.service-card-new:hover .service-card-new__link {
    gap: 0.75rem;
}

/* Nouvelles étapes de processus */
.process-step-new {
    text-align: center;
    padding: 1.5rem 1rem;
}

.process-step-new__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: var(--color-secondary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.process-step-new__title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
}

.process-step-new__text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin: 0;
}

/* Boutons CTA page services */
.cta-btn-services-primary:hover {
    background: white !important;
    color: var(--color-secondary) !important;
}

.cta-btn-services-secondary:hover {
    background: var(--color-primary) !important;
    color: var(--color-secondary) !important;
    border-color: var(--color-primary) !important;
}

/* ============================================
   RESPONSIVE NOUVEAU STYLE
   ============================================ */
@media (max-width: 1024px) {
    .page-services__hero {
        grid-template-columns: 1fr !important;
    }

    .page-services__hero > div:last-child {
        min-height: 200px !important;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .page-services section > div > div[style*="grid-template-columns: repeat(5, 1fr)"] {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .page-services__hero > div:first-child {
        padding: 2rem 1.5rem !important;
    }

    .page-services__hero h1 {
        font-size: 1.75rem !important;
    }

    .services-grid {
        grid-template-columns: 1fr !important;
    }

    .page-services section > div > div[style*="grid-template-columns: repeat(5, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .process-step-new {
        padding: 1rem 0.5rem;
    }

    .process-step-new__number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .process-step-new__title {
        font-size: 0.875rem;
    }

    .process-step-new__text {
        font-size: 0.75rem;
    }

    /* Badges hero */
    .page-services__hero div[style*="display: flex; flex-wrap: wrap; gap: 1rem"] {
        flex-direction: column;
        gap: 0.5rem !important;
    }

    /* CTA buttons */
    .page-services div[style*="display: flex; gap: 1rem; justify-content: center"] {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-services section > div > div[style*="grid-template-columns: repeat(5, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   SERVICE CONTENT GRID - Grille responsive texte/image
   ============================================ */
.service-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-content-grid--reverse {
    direction: rtl;
}

.service-content-grid--reverse > * {
    direction: ltr;
}

/* Grille de cartes 2 colonnes responsive */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .service-content-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .service-content-grid--reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .service-content-grid {
        gap: 2.5rem;
    }

    .service-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ============================================
   SCROLL BEHAVIOR
   ============================================ */
html {
    scroll-behavior: smooth;
}
