/* DIVERS */
#contact { scroll-margin-top: 100px; }

/* HEADER */
#particles-wrapper {
position: relative;
background-color: #fff;
overflow: hidden;
width: 100%;
box-shadow: 0px 0px 10px 0px black;
}
#canvas-container { 
position: absolute; 
top: 0; left: 0; 
width: 100%; height: 100%; 
z-index: 1; 
}
#particle-canvas { 
display: block; 
width: 100%; 
height: 100%; 
}
#header-particules {
position: relative;
z-index: 2;
padding: 80px 20px 40px 20px;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
min-height: 25vh;
}
#header-particules h1 {
color: #000;
margin: 0;
}

/* POINT FORT */
.slider {
background-color: white;
box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
height: 160px;
margin: auto;
overflow: hidden;
position: relative;
width: 100%;
}
.slide-track {
display: flex;
gap: 10px;
transition: transform 0.3s ease;
}
.slide-track.center {
justify-content: center;
}
.slide {
flex: 0 0 auto;
width: 150px;
height: 150px;
overflow: hidden;
}
.slide img {
width: 100%;
height: 100%;
object-fit: contain;
}

@keyframes scroll-pingpong {
0% { transform: translateX(0); }
50% { transform: translateX(var(--scroll-distance)); }
100% { transform: translateX(0); }
}

#slider-particules {
position: relative;
z-index: 2;
background: transparent !important;
padding-bottom: 40px;
}
#slider-particules .slide img {
/* Fait légèrement briller les images du slider */
filter: drop-shadow(0px 0px 8px rgba(255,255,255,0.2)); 
transition: transform 0.3s ease;
}
#slider-particules .slide img:hover {
transform: scale(1.1);
}

/* SERVICE */
.wrapper {
    width: 100%;
    margin: 40px auto 80px; 
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.content {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.card {
    width: calc(25% - 20px);
    min-width: 220px;
    max-width: 300px;
    height: 250px;
    border-radius: 10px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.24);
    border: 2px solid rgba(7, 7, 7, 0.12);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    transition: background 1s ease, height 0.3s ease;
}
.card:hover {
    height: 270px;
    background: linear-gradient(60deg, #9EE0FF 50%, #ff3ef6 100%);
    background-size: 200% 200%;
    background-position: right center;
}
.icon {
    margin: 0 auto;
    width: 80px;
    height: 80px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: linear-gradient(230deg, #8300A8, #D342FF, #8300A8, #D342FF);
    background-size: 300% 300%;
    animation: gradientFlow 6s ease-in-out infinite alternate;
}
.icon i {
    font-size: 40px;
    transition: all 0.5s ease;
}
.card:hover .icon {
    background: #000;
    color: #fff;
}
.card .title {
    width: 100%;
    margin-top: 30px;
    text-align: center;
    color: #000;
	padding : 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: #fff 1px 1px, #fff -1px 1px, #fff -1px -1px, #fff 1px -1px;
}
.card .text {
    width: 80%;
    margin: 0 auto;
    font-size: 13px;
    text-align: center;
    margin-top: 20px;
    color: #000;
    font-weight: 600;
    opacity: 0;
    max-height: 0;
    transition: all 0.3s ease;
}
.card:hover .text {
    opacity: 1;
    max-height: 40px;
}
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

@media (max-width: 600px) {
    .content {
		margin-top: 0px;
    }
	.card {
        width: 100%;
        max-width: 100%;
        height: 220px;
    }
    .card:hover {
        height: 240px;
    }
}


/* BIOGRAPHIE */
.container-biographie {
max-width: 1200px;
min-width: 900px;
margin: 0 auto;
text-align: justify;
font-size: 16px;
line-height: 1.7;
color: #000;
padding: 80px;
}
.bio-map-section {
display: flex;
align-items: flex-start;
gap: 40px;
width: 100%;
max-width: 1400px;
margin: 20px auto;
padding-left: 40px;
padding-right: 40px;
}
.bio-column {
flex: 1 1 70%;
}
.bio-column h2 {
text-align: center;
font-size: 35px;
font-weight: 700;
margin-bottom: 20px;
color: #333;
}
.bio-column p {
text-align: justify;
font-size: 16px;
line-height: 1.7;
color: #000;
}
.map-column {
flex: 1 1 45%;
}
.map-container {
width: 100%;
text-align: center;
}
.map-container h2 {
font-size: 30px;
font-weight: 700;
margin-bottom: 8px;
color: #333;
}
.map-container .map-subtitle {
font-size: 1rem;
color: #666;
margin-bottom: 20px;
}
.interactive-map-wrapper {
position: relative;
width: 100%;
padding-bottom: 100%; /* Ratio carré */
overflow: hidden;
border-radius: 20px;
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
cursor: pointer;
}
.map-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: contain;
transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
transform-origin: 95% 55%; /* Point de zoom */
}
.intervention-zone {
position: absolute;
top: 50%;
left: 50%;
width: 60%;
height: 60%;
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="45" fill="rgba(231, 60, 126, 0.2)" stroke="%23e73c7e" stroke-width="2"/></svg>');
background-size: contain;
background-repeat: no-repeat;
transform: translate(-50%, -50%) scale(0);
opacity: 0;
transition: transform 0.5s ease-out, opacity 0.5s ease-out;
pointer-events: none;
}
.interactive-map-wrapper.zoomed .map-image {
transform: scale(2.5);
}
.interactive-map-wrapper.zoomed .intervention-zone {
transform: translate(-50%, -50%) scale(1);
opacity: 1;
}

@media (max-width: 900px) {
	.bio-map-section {
        flex-direction: column;
		align-items: center;
    }
}

/* --- MODULE RECHERCHE DE ZONE --- */
.zone-search-container {
background: #ffffff;
padding: 40px;
border-radius: 24px;
box-shadow: var(--card-shadow);
border: 1px solid var(--border-light);
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
}
.search-box {
position: relative;
margin-top: 20px;
margin-bottom: 20px;
}
.search-box input {
width: 100%;
padding: 18px 20px 18px 50px !important;
font-size: 1.1rem !important;
border: 2px solid var(--border-light) !important;
border-radius: 16px !important;
background: #f8fafc !important;
transition: all 0.3s ease;
box-sizing: border-box;
}
.search-box input:focus {
border-color: var(--primary-magenta) !important;
background: #ffffff !important;
box-shadow: 0 0 15px rgba(167, 40, 121, 0.1);
}
.search-icon {
position: absolute;
left: 20px;
top: 50%;
transform: translateY(-50%);
color: var(--primary-magenta);
font-size: 1.2rem;
}
.clear-btn {
position: absolute;
right: 15px;
top: 50%;
transform: translateY(-50%);
background: none;
border: none;
color: var(--text-muted);
font-size: 1.2rem;
cursor: pointer;
transition: color 0.2s;
}
.clear-btn:hover { color: #ef4444; }
.zone-result {
background: #f8fafc;
border-radius: 16px;
padding: 25px;
margin-top: 10px;
border: 1px solid var(--border-light);
transition: opacity 0.4s ease, transform 0.4s ease;
opacity: 1;
transform: translateY(0);
}
.zone-result.hidden {
opacity: 0;
transform: translateY(10px);
pointer-events: none;
position: absolute;
visibility: hidden;
}
.zone-header {
display: flex;
align-items: center;
gap: 15px;
margin-bottom: 15px;
}
.zone-icon {
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
color: white;
}
.zone-title {
margin: 0;
font-size: 1rem;
font-family: 'CalSans-Regular', sans-serif !important;
font-weight: 700;
}
.zone-desc {
font-size: 0.95rem !important;
color: var(--text-muted) !important;
line-height: 1.6 !important;
margin-bottom: 20px !important;
}

@media (max-width: 900px) {
h1 {
font-size: 20px;
}
.zone-search-container {
padding: 20px;
}
.btn-cta {
padding: 10px 25px;
}
}

/* SOCIAL */
.form {
max-width: 1200px;
margin: 50px auto;
position: relative;
padding: 0 20px;
}
.social {
display: flex;
justify-content: center;
flex-flow: wrap;
gap: 1rem;
list-style: none;
margin-top: 60px;
margin-bottom: 40px;
}
.social li {
position: relative;
flex-basis: 4.5rem;
}
.social li::after {
position: absolute;
content: attr(data-tooltip);
inset: -45% auto auto 50%;
z-index: -1;
translate: -50%;
padding: 0.25rem 0.75rem;
font-size: 20px;
color: #fff;
background: var(--bg, #070707);
border-radius: 0.25rem;
opacity: 0;
visibility: hidden;
pointer-events: none;
transition: inset 0.4s cubic-bezier(0.47, 2, 0.41, 1.5),
visibility 0.3s ease-in-out, opacity 0.2s ease-in-out;
}
.social li:has(a:hover, a:focus-visible)::after {
opacity: 1;
visibility: visible;
inset-block-start: -60%;
}
.social a {
position: relative;
display: flex;
justify-content: center;
align-items: center;
aspect-ratio: 1;
font-size: 30px;
color: #82237D;
border: 1px solid;
border-radius: 100%;
text-decoration: none;
outline: none;
overflow: hidden;
transition: color 0.3s ease-in-out;
}
.social a > i {
position: relative;
z-index: 1;
}
.social a::after {
position: absolute;
content: "";
inset: 100% 0 0;
background: var(--bg, #070707);
pointer-events: none;
transition: inset 0.3s ease-in-out;
}
.social a:hover,
.social a:focus-visible {
color: #fff;
}
.social a:hover::after,
.social a:focus-visible::after {
inset-block-start: 0;
}

/* CONTACT */
#forms-container {
background: #fff;
padding: 30px;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.contact-form {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 20px;
}
.form-field {
position: relative;
width: 48%; /* 2 colonnes par défaut */
margin-bottom: 15px;
}
.form-field.full-width {
width: 100%;
}
.input-text {
width: 100%;
padding: 15px;
border: 1px solid #82237D;
border-radius: 8px;
background-color: #fff;
font-size: 1rem;
outline: none;
transition: all 0.3s ease;
box-sizing: border-box;
}
.input-text:focus {
border-color: #fff;
background-color: #fff;
box-shadow: 0 0 0 3px rgba(150, 47, 191, 0.1);
}
select.input-text {
appearance: none;
-webkit-appearance: none;
cursor: pointer;
color: #82237D;
}
.label {
position: absolute;
left: 15px;
top: 50%;
transform: translateY(-50%);
color: #999;
font-size: 1rem;
pointer-events: none;
transition: 0.3s ease all;
}
.label i {
margin-right: 8px;
color: #82237D;
}
.input-text:focus + .label,
.input-text:not(:placeholder-shown) + .label {
top: 0;
transform: translateY(-50%);
font-size: 0.8rem;
background: #fff;
padding: 0 5px;
color: #962fbf;
font-weight: 600;
}
select.input-text + .label {
top: 0 !important;
transform: translateY(-50%);
font-size: 0.8rem;
background: #fff;
padding: 0 5px;
}
textarea.input-text + .label {
top: 20px;
}
textarea.input-text:focus + .label,
textarea.input-text:not(:placeholder-shown) + .label {
top: 0;
}
.honeypot-field {
display: none;
opacity: 0;
position: absolute;
top: 0;
left: 0;
height: 0;
width: 0;
z-index: -1;
}

@media (max-width: 900px) {
.form-field {
width: 100%; 
}
}


/* AVIS */
.reviews {
text-align: center;
}
.reviews p{
margin-top:-35px;
margin-bottom:20px;
padding: 15px;
}
.container-reviews {
display: flex;
border-radius: 15px;
gap: 40px;
height: 200px;
justify-content: center;
align-items: center;
}
.chart {
display: flex;
justify-content: space-between;
flex-direction: column;
height: 100%;
margin-top: 40px;
}
.chart .rate-box {
display: flex;
justify-content: center;
align-items: center;
gap: 15px;
height: 30px;
padding: 20px 0;
padding: 10px;
}
.chart .rate-box > * {
height: 100%;
display: flex;
align-items: center;
font-weight: 500;
color: #444;
}
.rate-box .value {
display: flex;
align-items: center;
}
.rate-box .value:hover {
color: #DE00DE;
}
.chart .value {
font-size: 30px;
cursor: pointer;
}
.rate-box .progress-bar {
border-width: 1px;
position: relative;
background-color: #cfd8dc91;

height: 10px;
border-radius: 100px;
width: 350px;
}
.rate-box .progress-bar .progress {
background-color: #DE00DE;
height: 100%;
border-radius: 100px;
transition: 300ms ease-in-out;
}
.global-reviews {
height: 100%;
width: 150px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 8px;
}
.one .fas {
color: #cfd8dc;
}
.two {
background: linear-gradient(to right, #DE00DE 0%, transparent 0%);
-webkit-background-clip: text !important;
-webkit-text-fill-color: transparent;
transition: 0.5s ease-in-out all;
}
.global > span {
font-size: 90px;
font-weight: 500;
}
.rating-icons {
display: flex;
justify-content: center;
align-items: center;
position: relative;
width: 100%;
height: 10%;
}
.rating-icons span {
position: absolute;
display: flex;
font-size: 30px;
left: 50%;
transform: translateX(-50%);
margin-bottom: 5px;
}
.total-reviews {
font-size: 12px !important;
}
.global-value {
font-size: 70px;
font-weight: 700;
}
.contenainer-review-btn {
margin: 0 auto;
display: block;
width: 100%;
max-width: 400px;
text-align: center;
margin-top: 20px;
}
.review-btn {
margin-top: 1.5rem;
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1.25rem;
border: 1px solid #bc00de;
border-radius: 9999px;
color: #bc00de;
text-decoration: none;
transition: background-color 0.3s, color 0.3s;
}
.review-btn:hover {
background-color: #bc00de;
color: #ffffff;
}
.btn-icon {
width: 1rem;
height: 1rem;
}

@media (max-width: 900px) {
    .container-reviews {
        flex-direction: column;
        height: auto;
        gap: 25px;
        padding: 20px 0;
		margin-top:-70px;
    }
    .chart {
        width: 100%;
        max-width: 450px;
        padding: 0 15px;
    }
    .rate-box {
        gap: 10px;
    }
    .rate-box .value {
        font-size: 24px;
    }
    .rate-box .progress-bar {
        width: 100%;
    }
    .global-reviews {
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 15px 0;
		margin-top:-40px;
    }
    .global-value {
        font-size: 70px !important;
    }
    .rating-icons span {
        font-size: 26px;
    }
    .total-reviews {
        font-size: 20px;
		  margin-top: 5px;
		  
    }
	.contenainer-review-btn {
        margin-top:-40px;
    }
}

/*PARTENAIRES*/
.partners-carousel {
  overflow: hidden;
  padding: 40px 0;
  background-color: #f9f9f9;
}
.carousel-track {
  display: flex;
  gap: 30px;
  transition: transform 0.3s ease;
}
.carousel-track.center {
    justify-content: center;
}
.carousel-item {
  flex: 0 0 auto;
  width: 150px;
  height: 80px;
  display: block;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.carousel-item:hover img {
  transform: scale(1.1);
}
