/*
Theme Name: Marquage Textile
Author: Aurelien
Version: 0.1

*/
body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
}
:root {
    --color-bg: #ffffff;
    --color-text: #222222;
    --color-light: #f5f5f5;
    --color-mid: #cccccc;
    --color-dark: #111111;
    --space-xs: 8px;
    --space-s: 16px;
    --space-m: 24px;
    --space-l: 32px;
    --space-xl: 48px;
    /* Couleur dynamique déjà injectée par PHP */
    /* --couleur-service: ... */
}
main {
    padding: var(--space-l) var(--space-m);
}

p {
    margin-bottom: var(--space-s);
}
main{
    max-width: 900px;
    margin: 0 auto;
}
section {
    margin-bottom: var(--space-xl);
}
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin: 0 0 0.5em;
}
.service-title {
    color: var(--couleur-service);
}

.service-block {
    background: var(--couleur-service);
    padding: 20px;
    border-radius: 8px;
    color: white;
}
.button,
a.button {
    display: inline-block;
    padding: 12px 24px;
    background: var(--color-dark);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
}

.button:hover {
    background: var(--couleur-service);
}


@font-face {
    font-family: 'Mayones';
    src: url('fonts/Mayones.otf') format('opentype'),
         url('fonts/Mayones.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
.site-title a {
    font-family: 'Mayones', serif;
    font-size: 2.4rem;
    font-weight: normal;
    letter-spacing: -0.5px;
    color: var(--color-dark);
    text-decoration: none;
}
.pp-patch {
    color: #8a2be2; /* violet */
}

.pp-et {
    color: #000000; /* noir */
}

.pp-pixel {
    color: #00aa55; /* vert */
}
.site-title a:hover span {
    opacity: 0.8;
}

/* --- HEADER GLOBAL --- */

.site-header {
    width: 100%;
    padding: 20px 0;
	
    border-bottom: 1px solid var(--color-mid);
    background: var(--color-bg);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
	padding-left: 48px; /* <--- Patch & Pixel à 48px du bord du conteneur */
    display: flex;
    align-items: center !important;
    justify-content: flex-start;
	gap: 48px; /* espace entre Patch & Pixel et le menu */
	 height: 80px;             /* Hauteur fixe = header stable */
    box-sizing: border-box;
	 display: flex;
    justify-content: space-between; /* espace entre gauche et droite */
    align-items: center;
    padding-left: 48px;
    padding-right: 48px;
}
.header-left {
    display: flex;
    align-items: center;
	 justify-content: flex-start;
	 flex: 0 0 auto;
    gap: 48px; /* espace entre Patch & Pixel et le menu */
}


.header-right img {
    height: 100px; /* ajuste selon ton logo */
    width: auto;
    display: block;
}

/* --- LOGO / TITRE --- */
.site-title {
    margin: 0;
    padding: 0;
	 flex-shrink: 0;           /* empêche le logo de se compresser */
    display: flex;
    align-items: center;      /* centre verticalement les spans */
    justify-content: center;  /* garde le texte centré horizontalement */
}
.site-title a {
    font-family: 'Mayones', serif;
    font-size: 2.4rem;
    font-weight: normal;
    letter-spacing: -0.5px;
    color: var(--color-dark);
	 line-height: 1;           /* Empêche le débordement vertical */
    text-decoration: none;
    transition: opacity 0.2s ease;
	

}

.site-title a:hover {
    opacity: 0.7;
}

@media (max-width: 700px) {
    .header-inner {
        flex-direction: column;
        gap: 16px;
    }
	.header-right img {
        height: 32px;
    }

    .main-nav ul {
        gap: 20px;
    }

    .site-title a {
        font-size: 2rem;
    }
}
/* --- NAVIGATION --- */

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
}

/* --- CAPSULES (PILL) --- */

.main-nav a {
    display: flex;
	align-items: center;
    justify-content: center;
    text-align: center;
	    padding: 8px 22px;
    border-radius: 999px;
    background: var(--color-light);
    border: 1px solid var(--color-mid);
    color: var(--color-dark);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
text-decoration: none; /* supprime le soulignement */
    /* Ombre douce */
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);

    transition: all 0.25s ease;
}

/* --- HOVER NEUTRE (blanc/noir) --- */

.main-nav a:hover {
    background: var(--color-light); /* même couleur que l'état normal → plus de surlignage */
    color: black;
	 text-decoration: none; /* empêche le retour du soulignement au survol */
    border-color: black;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* ombre douce */
}

/* --- CAPSULE ACTIVE (page en cours) --- */

.main-nav .current-menu-item a,
.main-nav .current_page_item a,
.main-nav .current-menu-parent a,
.main-nav .current_page_parent a {
    background: var(--couleur-service, black);
    border-color: var(--couleur-service, black);
    color: white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

/* --- Cas particulier : page service --- */

body.single-service .main-nav a[href*="service"] {
    background: var(--couleur-service);
    color: white;
    border-color: var(--couleur-service);
}

.hero {
    position: relative;
}
.hero h1,
.hero p {
    color: white;
    text-shadow:
        0 0 4px rgba(0,0,0,1),
        0 0 8px rgba(0,0,0,0.9),
        0 0 12px rgba(0,0,0,0.8),
        0 2px 14px rgba(0,0,0,0.7);
}

.hero {
    background: url('image/fond accueil.jpg') center/cover no-repeat;
    padding: 120px 32px;
    border-radius: 12px;
    color: white;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35); /* voile sombre */
    border-radius: 12px;
}

.hero > * {
    position: relative;
    z-index: 1;
}
.site-footer {
    background: #111;
    color: #eee;
    padding: 48px 32px;
    margin-top: 80px;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    align-items: start;
}

.footer-logo img {
    height: 100px;
    width: auto;
}

.footer-desc p {
    margin: 0;
    line-height: 1.5;
    color: #ccc;
}

.footer-links h3,
.footer-social h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: white;
}

.footer-links ul,
.footer-social ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a,
.footer-social a {
    color: #ccc;
    text-decoration: none;
    transition: 0.2s;
}

.footer-links a:hover,
.footer-social a:hover {
    color: white;
}

.footer-legal {
    text-align: center;
    margin-top: 32px;
    font-size: 0.9rem;
    color: #777;
}

.footer-legal a {
    color: #aaa;
    text-decoration: none;
}

.footer-legal a:hover {
    color: white;
}

.contact-page {
    padding: 48px 32px;
    max-width: 900px;
    margin: auto;
}

.contact-intro h1 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.contact-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

.contact-form,
.contact-direct {
    margin-top: 48px;
}

.contact-direct ul {
    list-style: none;
    padding: 0;
}

.contact-direct li {
    margin-bottom: 12px;
}

.contact-direct a {
    color: #000;
    text-decoration: none;
}

.contact-direct a:hover {
    text-decoration: underline;
}
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 600px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.contact-form button {
    background: black;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

.contact-form button:hover {
    background: #333;
}

.success-message {
    margin-top: 20px;
    color: green;
    font-weight: bold;
}
.contact-form label {
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    background: #fafafa;
}
input[type="file"] {
    padding: 8px 0;
}
.upload-error {
    margin-top: 16px;
    padding: 12px;
    background: #ffdddd;
    border-left: 4px solid #d00;
    color: #900;
    border-radius: 4px;
}
.services-page {
    padding: 48px 32px;
    max-width: 1200px;
    margin: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.service-card {
    display: block;
    padding: 24px;
    border-radius: 12px;
    background: var(--couleur);
    color: white;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.service-card h2 {
    margin-top: 0;
    margin-bottom: 12px;
}
.services-page {
    padding: 48px 32px;
    max-width: 1200px;
    margin: auto;
	text-align: center;
   background:
        repeating-linear-gradient(
            -42deg,
            color-mix(in srgb, var(--couleur-service, black) 10%, transparent) 0px,
            color-mix(in srgb, var(--couleur-service, black) 10%, transparent) 2px,
            transparent 2px,
            transparent 8px
        );
       

}
.service-page {
    background:
        repeating-linear-gradient(
            -42deg,
            color-mix(in srgb, var(--couleur-service) 10%, transparent) 0px,
            color-mix(in srgb, var(--couleur-service) 10%, transparent) 2px,
            transparent 2px,
            transparent 8px
        );
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.service-card {
    display: block;
    padding: 24px;
    border-radius: 12px;
    background: var(--couleur);
    color: white;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.service-card h2 {
    margin-top: 0;
    margin-bottom: 12px;
}
.services-page h1 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin: 40px auto 50px;
    padding: 12px 24px;
   border: 3px solid #8a2be2; /* violet */
    color: #00aa55;            /* vert */
    display: inline-block;
    border-radius: 8px;
}


.galerie-page {
    text-align: center;
    padding: 40px 20px;
	position: relative;
 background:
        repeating-linear-gradient(
            -42deg,
            rgba(0,0,0,0.03) 0px,
            rgba(0,0,0,0.03) 2px,
            transparent 2px,
            transparent 8px
			
        );
}
.galerie-title {
    display: inline-block;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 40px;
    padding: 12px 24px;

    border: 3px solid #8a2be2; /* violet */
    color: #00aa55;            /* vert */

    border-radius: 8px;
}
.galerie-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}
.galerie-item {
    padding: 12px;
    border-radius: 10px;

    background:
      
        repeating-linear-gradient(
            -42deg,
            color-mix(in srgb, var(--couleur-service) 15%, transparent) 0px,
            color-mix(in srgb, var(--couleur-service) 15%, transparent) 2px,
            transparent 2px,
            transparent 8px
        );
}

.galerie-item img {
    width: 100%;
    border-radius: 6px;
    display: block;
}

/* Overlay */
#lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Image */
#lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}
.galerie-item {
    aspect-ratio: 1 / 1; /* carré propre */
    overflow: hidden;
    border-radius: 12px;
    padding: 0; /* on retire le padding pour un vrai recadrage */
    position: relative;

    background:
        repeating-linear-gradient(
            42deg,
            color-mix(in srgb, var(--couleur-service) 15%, transparent) 0px,
            color-mix(in srgb, var(--couleur-service) 15%, transparent) 2px,
            transparent 2px,
            transparent 8px
        ),
        repeating-linear-gradient(
            -42deg,
            color-mix(in srgb, var(--couleur-service) 15%, transparent) 0px,
            color-mix(in srgb, var(--couleur-service) 15%, transparent) 2px,
            transparent 2px,
            transparent 8px
        );
}

.galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* recadrage propre */
    object-position: center;
    display: block;
}
.galerie-carousel {
    display: flex;
    gap: 20px;
    overflow: hidden; /* indispensable pour le loop */
    padding: 20px 0;
    position: relative;
}

.galerie-item {
     flex: 0 0 260px;
    scroll-snap-align: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
	
}
.galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.galerie-item {
    transition: transform 0.3s ease;
}

.galerie-item:hover {
    transform: scale(1.08);
    z-index: 10;
	box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.galerie-item img {
    transition: transform 0.3s ease;
}

.galerie-item:hover img {
    transform: scale(1.12);
	
}
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    cursor: pointer;
    z-index: 20;
    user-select: none;
    transition: transform 0.25s ease, background 0.25s ease;
}

.carousel-arrow:hover {
    transform: translateY(-50%) scale(1.25);
    background: rgba(0,0,0,0.7);
}

.carousel-arrow.left { left: 10px; }
.carousel-arrow.right { right: 10px; }

.service-galerie {
    margin-top: 60px;
    padding: 20px 0;
}

.service-galerie-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    color: #00aa55;
}
.service-galerie-grid {
       display: grid;
    grid-template-columns: repeat(auto-fit, 120px);
    justify-content: center;
    gap: 15px;
}

.galerie-page {
    margin-top: 0 !important;
    padding-top: 0 !important;
	margin-left: 0 !important;
    padding-left: 0 !important;
}
.galerie-page h1 {
    margin-top: 40px;
}

.galerie-page {
    width: 100%;
    max-width: 100%;
	 display: block;
}

.service-galerie-item {
	 width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
 
    background:
  
        repeating-linear-gradient(
            -42deg,
            color-mix(in srgb, var(--couleur-service) 15%, transparent) 0px,
            color-mix(in srgb, var(--couleur-service) 15%, transparent) 2px,
            transparent 2px,
            transparent 8px
        );
}
.service-galerie-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    max-width: none !important;
display: block;
}


.service-galerie-item:hover img {
    transform: scale(1.12);
}
body.post-type-archive-galerie .site-header {
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.post-type-archive-galerie .header-inner {
    height: 120px; /* ou 90px selon ton rendu */
    align-items: center;
}
.header-left {
    display: flex;
    align-items: center;
}
.site-title {
    display: flex;
    align-items: center;
}
body.post-type-archive-galerie .site-title a {
    position: relative;
    top: -20px; /* ajuste finement pour cette page */
}

.single-service .service-content ul li::marker {
    content: "– "; /* tiret long */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--couleur-service);
    font-weight: 600;
}

.single-service h1 {
    color: color-mix(in srgb, var(--couleur-service) 100%, white);
}

.single-service h2 {
    color: color-mix(in srgb, var(--couleur-service) 80%, white);
}

.single-service h3 {
    color: color-mix(in srgb, var(--couleur-service) 60%, white);
}

.single-service h4 {
    color: color-mix(in srgb, var(--couleur-service) 50%, white);
}

.info-label {
    position: relative;
    cursor: help;
}

.info-label::after {
    content: attr(data-info);
    position: absolute;
    left: 0;
    top: 100%;
    background: #2A2A2A;
    color: #F2F6FF;
    padding: 10px 12px;
    font-size: 0.85rem;
    border-radius: 4px;
    width: 260px; /* largeur contrôlée */
    white-space: pre-line; /* permet les retours à la ligne */
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 20;
}
.info-label:hover::after,
.info-label:focus::after {
    opacity: 1;
    transform: translateY(0);
}
.galerie-page {
    min-height: calc(100vh - 80px - 200px);      /* 80px = header, 200px = footer approx, ajuste si besoin */
    display: block;
    padding-top: 40px; /* pour respirer */
}
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}
body.page-id-99 {
    background:
        repeating-linear-gradient(
            -42deg,
            color-mix(in srgb, #ffcc00 15%, transparent) 0px,
            color-mix(in srgb, #ffcc00 15%, transparent) 2px,
            transparent 2px,
            transparent 8px
        );
}

/* Page Accueil */
body.home {
    background:
        repeating-linear-gradient(
            -42deg,
            color-mix(in srgb, #ffcc00 15%, transparent) 0px,
            color-mix(in srgb, #ffcc00 15%, transparent) 2px,
            transparent 2px,
            transparent 8px
        );
}
/* --- Carte du site en étoile (version corrigée) --- */
/* --- Carte du site : positions des nodes --- */
/* --- Carte du site : disposition espacée --- */

.sitemap-star {
	flex: none;
    position: relative;
    width: 900px;   /* largeur réelle */
    height: 750px;  /* hauteur réelle */
    margin: 10px 10px;
    border: 1px dashed rgba(0,0,0,0.1); /* optionnel pour visualiser */
	background:    repeating-linear-gradient(
            -42deg,
            color-mix(in srgb, #ffcc00 15%, transparent) 0px,
            color-mix(in srgb, #ffcc00 15%, transparent) 2px,
            transparent 2px,
            transparent 8px
        );
}

/* Ligne entre center-node et node.left */
.node.right::after {
    content: "";
    position: absolute;
    top: 50%;   /* même top que center-node */
    left: -30px;  /* même left que center-node */
    width: 30px; /* distance horizontale entre les deux nodes */
    height: 2px;
    background: rgba(0,0,0,0.3);
    transform-origin: left center;
    transform: rotate(0deg); /* ligne horizontale */
    z-index: 1;
		background:
    repeating-linear-gradient(
    to right,
    #8a2be2 0 6px,   /* violet 6px */
    #00aa55 6px 12px /* vert 6px */
	);
	mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 75%,
    transparent 100%
);
}
/* Ligne entre center-node et node.left */
.sitemap-star::after {
    content: "";
    position: absolute;
    top: 350px;   /* même top que center-node */
    left: 253px;  /* point de départ du node.left */
    width: 310px; /* distance horizontale entre les deux nodes */
    height: 3px;
	background:
    repeating-linear-gradient(
    to right,
    #8a2be2 0 6px,   /* violet 6px */
    #00aa55 6px 12px /* vert 6px */
	);
	mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 75%,
    transparent 100%
);
	
    z-index: 1;
}


/* Style générique des nodes */
.node {
    position: absolute;
    background: white;
    border: 2px solid #ccc;
    padding: 12px 22px;
    border-radius: 50px;
    text-decoration: none;
    color: black;
    font-weight: 500;
    transition: 0.25s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.node.top::before {
    content: "";
    position: absolute;
    top: 50px;   /* même top que center-node */
    left: 50%;  /* même left que center-node */
    width: 20px; /* distance horizontale entre les deux nodes */
    height: 2px;
    background: rgba(0,0,0,0.3);
    transform-origin: left center;
    transform: rotate(90deg); /* ligne horizontale */
    z-index: 1;
		background:
    repeating-linear-gradient(
    to right,
    #8a2be2 0 6px,   /* violet 6px */
    #00aa55 6px 12px /* vert 6px */
	);
	mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 75%,
    transparent 100%
);
}
/* Centre */
.center-node {
    position: absolute;
    top: 350px;
    left: 600px;
    transform: translate(-50%, -50%);
    background: black;
    color: white;
    padding: 20px 30px;
    border-radius: 50%;
    font-weight: 600;
    text-align: center;
    z-index: 10;
}


.node:hover {
    transform: scale(1.12);
    border-color: black;
}

/* --- Pages principales autour du centre --- */

.node.top {
    top: 250px;
    left: 550px;
	background: rgb(98%, 98%, 98%); /* gris90% */
}

.node.right {
    top: 325px;
    left: 700px;
	background: rgb(95%, 95%, 95%); /* gris90% */
}
.node.bottom-right::before {
    content: "";
    position: absolute;
    top: -45px;   /* même top que center-node */
    left: -50px;  /* même left que center-node */
    width: 100px; /* distance horizontale entre les deux nodes */
    height: 2px;
    background: rgba(0,0,0,0.3);
    transform-origin: left center;
    transform: rotate(25deg); /* ligne horizontale */
    z-index: 1;
		background:
    repeating-linear-gradient(
    to right,
    #8a2be2 0 6px,   /* violet 6px */
    #00aa55 6px 12px /* vert 6px */
	);
	mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 75%,
    transparent 100%
);
}
.node.bottom-right {
    top: 420px;
    left: 650px;
	background: rgb(90%, 90%, 90%); /* gris90% */
}

.node.left {
    top: 350px;
    left: 140px;
	background: rgb(95%, 95%, 95%); /* gris90% */
    transform: translateY(-50%);
}

.node.bottom-left {
    top: 420px;
    left: 400px;
	background: rgb(85%, 85%, 85%); /* gris90% */
}
.node.bottom-left::before {
    content: "";
    position: absolute;
    top: -2px;   /* même top que center-node */
    left: 75px;  /* même left que center-node */
    width: 110px; /* distance horizontale entre les deux nodes */
    height: 2px;
    background: rgba(0,0,0,0.3);
    transform-origin: left center;
    transform: rotate(-25deg); /* ligne horizontale */
    z-index: 1;
		background:
    repeating-linear-gradient(
    to right,
    #8a2be2 0 6px,   /* violet 6px */
    #00aa55 6px 12px /* vert 6px */
	);
	mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 75%,
    transparent 100%
);
}
/* --- Services autour du node “Services” (node.left) --- */
/* On les écarte davantage pour éviter le chevauchement */

.node.SR1 { 
top: 200px; 
left: 215px; 
	color: black;
	background:var(--couleur-service);
    border-color: var(--couleur-service);
}  /* Flocage */
.node.SR1::before {
    content: "";
    position: absolute;
    top: 125px;   /* même top que center-node */
    left: 20px;  /* même left que center-node */
    width: 75px; /* distance horizontale entre les deux nodes */
    height: 2px;
    background: rgba(0,0,0,0.3);
    transform-origin: left center;
    transform: rotate(-80deg); /* ligne horizontale */
    z-index: 1;
		background:
    repeating-linear-gradient(
    to right,
    #8a2be2 0 6px,   /* violet 6px */
    #00aa55 6px 12px /* vert 6px */
	);
	mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 75%,
    transparent 100%
);
}
.node.SR2 { 
top: 285px; 
left: 295px; 
	color: black;
	background:var(--couleur-service);
    border-color: var(--couleur-service);
}   /* DTF */
.node.SR2::before {
    content: "";
    position: absolute;
    top: 45px;   /* même top que center-node */
    left: -50px;  /* même left que center-node */
    width: 50px; /* distance horizontale entre les deux nodes */
    height: 2px;
    background: rgba(0,0,0,0.3);
    transform-origin: left center;
    transform: rotate(-20deg); /* ligne horizontale */
    z-index: 1;
		background:
    repeating-linear-gradient(
    to right,
    #8a2be2 0 6px,   /* violet 6px */
    #00aa55 6px 12px /* vert 6px */
	);
	mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 75%,
    transparent 100%
);
}
.node.SR3 { 
top: 200px; 
left: 30px; 
	color: white;
	background:var(--couleur-service);
    border-color: var(--couleur-service);
}   /* Laser */
.node.SR3::before {
    content: "";
    position: absolute;
    top: 123px;   /* même top que center-node */
    left: 140px;  /* même left que center-node */
    width: 75px; /* distance horizontale entre les deux nodes */
    height: 2px;
    background: rgba(0,0,0,0.3);
    transform-origin: left center;
    transform: rotate(-100deg); /* ligne horizontale */
    z-index: 1;
		background:
    repeating-linear-gradient(
    to right,
    #8a2be2 0 6px,   /* violet 6px */
    #00aa55 6px 12px /* vert 6px */
	);
	mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 75%,
    transparent 100%
);
}
.node.SR4 { 
top: 385px; 
left: 275px; 
	color: black;
	background:var(--couleur-service);
    border-color: var(--couleur-service);
}   /* Broderie */
.node.SR4::before {
    content: "";
    position: absolute;
    top: -15px;   /* même top que center-node */
    left: -30px;  /* même left que center-node */
    width: 75px; /* distance horizontale entre les deux nodes */
    height: 2px;
    background: rgba(0,0,0,0.3);
    transform-origin: left center;
    transform: rotate(10deg); /* ligne horizontale */
    z-index: 1;
		background:
    repeating-linear-gradient(
    to right,
    #8a2be2 0 6px,   /* violet 6px */
    #00aa55 6px 12px /* vert 6px */
	);
	mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 75%,
    transparent 100%
);
}
.node.SR5 { 
top: 385px; 
left: 10px; 
	color: black;
	background:var(--couleur-service);
    border-color: var(--couleur-service);
}   /* Formation */
.node.SR5::before {
    content: "";
    position: absolute;
    top: -20px;   /* même top que center-node */
    left: 138px;  /* même left que center-node */
    width: 40px; /* distance horizontale entre les deux nodes */
    height: 2px;
    background: rgba(0,0,0,0.3);
    transform-origin: left center;
    transform: rotate(145deg); /* ligne horizontale */
    z-index: 1;
		background:
    repeating-linear-gradient(
    to right,
    #8a2be2 0 6px,   /* violet 6px */
    #00aa55 6px 12px /* vert 6px */
	);
	mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 75%,
    transparent 100%
);
}
.node.SR6 { 
top: 475px; 
left: 210px; 
	color: black;
	background:var(--couleur-service);
    border-color: var(--couleur-service);
}   /* Numérisation */
.node.SR6::before {
    content: "";
    position: absolute;
    top: -105px;   /* même top que center-node */
    left: 10px;  /* même left que center-node */
    width: 105px; /* distance horizontale entre les deux nodes */
    height: 2px;
    background: rgba(0,0,0,0.3);
    transform-origin: left center;
    transform: rotate(85deg); /* ligne horizontale */
    z-index: 1;
		background:
    repeating-linear-gradient(
    to right,
    #8a2be2 0 6px,   /* violet 6px */
    #00aa55 6px 12px /* vert 6px */
	);
	mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 75%,
    transparent 100%
);
}
.node.SR7 { 
top: 475px; 
left: 30px; 
	color: black;
	background:var(--couleur-service);
    border-color: var(--couleur-service);
}   /* Prestation vidéo */
.node.SR7::before {
    content: "";
    position: absolute;
    top: -103px;   /* même top que center-node */
    left: 80%;  /* même left que center-node */
    width: 100px; /* distance horizontale entre les deux nodes */
    height: 2px;
    background: rgba(0,0,0,0.3);
    transform-origin: left center;
    transform: rotate(90deg); /* ligne horizontale */
    z-index: 1;
		background:
    repeating-linear-gradient(
    to right,
    #8a2be2 0 6px,   /* violet 6px */
    #00aa55 6px 12px /* vert 6px */
	);
	mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 75%,
    transparent 100%
);
}
.node.SR8 { 
top: 285px; 
left: 10px; 
	color: black;
	background:var(--couleur-service);
    border-color: var(--couleur-service);
}   /* goodies */
.node.SR8::before {
    content: "";
    position: absolute;
    top: 50px;   /* même top que center-node */
    left: 133px;  /* même left que center-node */
    width: 35px; /* distance horizontale entre les deux nodes */
    height: 2px;
    background: rgba(0,0,0,0.3);
    transform-origin: left center;
    transform: rotate(200deg); /* ligne horizontale */
    z-index: 1;
		background:
    repeating-linear-gradient(
    to right,
    #8a2be2 0 6px,   /* violet 6px */
    #00aa55 6px 12px /* vert 6px */
	);
	mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 75%,
    transparent 100%
);
}