* {
    box-sizing: border-box; /* Assure que padding et bordures sont inclus dans la largeur de l'élément */
  }

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Empêche le débordement horizontal */
  }

body {
    font-family: Arial, sans-serif;
    background: var(--PRIMERY-P500-BASE, #0B081E);
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding-top: 150px; /* Augmenté l'espace entre le haut de la page et le header */
}

/* Conteneur de la vidéo */
.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajuste la vidéo pour couvrir toute la section */
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    z-index: 2;
    width: 90%;
    max-width: 1100px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-card {
    background: rgba(20, 20, 30, 0.6); /* plus opaque = plus foncé */
    backdrop-filter: blur(12px); /* flou plus intense */
    -webkit-backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 20px;
    color: #fff;
    max-width: 600px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); /* ombre plus marquée */
}


.hero-subtitle {
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e0e0e0;
    opacity: 0.8;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-title span {
    color: #ffffff;
}

.hero-title .highlight {
    background: linear-gradient(90deg, #a855f7, #3b82f6);
    background-clip: text; /* propriété standard */
    -webkit-background-clip: text; /* préfixe webkit */
    -webkit-text-fill-color: transparent;
}


.hero-title .spark {
    font-size: 1.4rem;
    margin-left: 6px;
    vertical-align: middle;
    filter: drop-shadow(0 0 4px #3b82f6);
}

.hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ccc;
}

.hero-button {
    display: inline-block;
    padding: 0.75rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    border-radius: 50px;
    background: linear-gradient(90deg, #a855f7, #3b82f6);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

.hero-button:hover {
    background: linear-gradient(90deg, #3b82f6, #a855f7);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}


/* Ajustement du header */
/* Ajustement du header */
header {
    background: var(--SECONDARY-S500-BASE, #1E1C30);
    padding: 20px 50px;
    position: fixed;
    top: 20px; /* espace en haut comme avant */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1300px;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-radius: 17px;
    border: 1px solid var(--SECONDARY-S400, #3A384F);
}

h1 a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 250px;
    margin-right: 10px;
}

.logo h1 {
    margin: 0;
    font-size: 22px;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #a855f7, #3b82f6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav {
    margin-left: auto; /* pousse le nav à droite */
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 18px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    font-family: 'Antonio', sans-serif;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: #a855f7;
}


/* Section Partners */
.partners {
    text-align: center;
    padding: 50px 40px;
    background: #0f0b28;
    color: white;
    margin-top: -10px;
}

.partners .highlight {
    color: #a855f7;
}

.partner-logos {
    display: flex;
    flex-wrap: nowrap; /* Pas de retour à la ligne */
    justify-content: center; /* Centre la ligne si elle tient dans l'écran */
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    width: 100%;
    overflow-x: auto; /* Scroll horizontal si besoin */
    padding-bottom: 10px;
}

.partner-logos::after {
    /* Trick pour que justify-content: center fonctionne même avec overflow-x */
    content: "";
    flex: 0 0 20px;
}

.partner {
    flex: 0 0 auto;
    padding: 5px 10px;
    border: 1px solid #3A384F;
    border-radius: 7px;
    background: transparent;
    transition: transform 0.3s ease;
}

.partner img {
    max-height: 30px;
    max-width: 100px; 
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .partner-logos {
        justify-content: center;
    }
    .partner {
        flex: 1 1 30%;
    }
}

@media (max-width: 480px) {
    .partner {
        flex: 1 1 45%;
    }
    .partner img {
        max-height: 40px; 
    }
}


.about-container {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-left: 50px; 
}

.about-card-container {
    position: relative;
    flex: 1;
}

.about-card-bg {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 520px; 
    height: 660px; 
    border-radius: 20px;
    background: rgba(168, 85, 247, 0.3);
    transform: rotate(-6deg);
    z-index: 0;
}

.about-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 1;
    width: 100%;
    max-width: 520px;
    flex-shrink: 0;
}

.about-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    flex: 1;
}

.about-content h2 {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ACCENT-COLOR-01-A200, #DDCCF8);
}

.about-content h3 {
    font-size: 3rem;
    margin: 20px 0;
    line-height: 1.2;
}

.about-content p {
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-content ul {
    list-style: none;
    padding: 0;
}

.about-content ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.read-more {
    color: #a855f7;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
    transition: opacity 0.3s;
}

.read-more:hover {
    opacity: 0.8;
}

.full-screen-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background-color: var(--PRIMERY-P500-BASE, #0B081E);
}

.card-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.card-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1100px;
    height: 672px;
    background: linear-gradient(286deg, #D0BEEC 34.88%, #9A74D4 122.71%);
    border-radius: 20px;
    box-shadow: 0px 0px 98.5px 0px rgba(115, 112, 142, 0.49);
    transform: translate(-50%, -50%) rotate(-6deg);
    z-index: 0;
}

.card {
    position: relative;
    width: 100%;
    max-width: 1300px;
    height: 1172px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.card iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===  Stats Section === */
.stats-section {
    background: linear-gradient(135deg, #0d081b, #140e2b);
    color: white;
    padding: 80px 20px;
  }
  
  .stats-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap;
  }
  
  .stat-item {
    flex: 1;
    min-width: 280px;
    text-align: left;
    padding: 20px 10px;
  }
  
  .stat-item h2 span {
    font-size: 48px;
    font-weight: 700;
    color: #a855f7;
    display: block;
  }
  
  .stat-item h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 10px 0;
  }
  
  .stat-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #ccc;
  }
  
  @media (max-width: 768px) {
    .stats-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .stat-item {
      padding: 20px 0;
    }
  
    .stat-item h2 span {
      font-size: 40px;
    }
  
    .stat-item h3 {
      font-size: 20px;
    }
  
    .stat-item p {
      font-size: 15px;
    }
  }
  

/*PRICE SECTION*/
.pricing-container {
    display: flex;
    gap: 50px;
    height: 100vh;
    align-items: center;
    justify-content: center; 
}

.pricing-text {
    max-width: 450px;
    text-align: left;
}

.pricing-text h2 {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ACCENT-COLOR-01-A200, #DDCCF8);
}

.pricing-text h3 {
    font-size: 2.5em;
    margin: 10px 0;
}

.pricing-text p {
    color: #b0b0b0;
    font-size: 1.1rem;
}

.pricing-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px 30px;
    display: flex;
    align-items: stretch; 
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    gap: 20px;
    width: 800px;
}

.card-left,
.card-middle,
.card-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-left,
.card-middle,
.card-right {
    flex: 1;
}

.card-left {
    max-width: 200px;
}
.card-middle {
    flex: 2;
}
.card-right {
    align-items: flex-end;
    justify-content: center; 
}

.card-left h4 {
    margin: 0;
    font-size: 1.3em;
}

.price {
    color: #b2aaff;
    font-size: 1.8em;
    margin: 5px 0;
}
.price span {
    font-size: 0.8em;
    color: gray;
}

.card-divider {
    height: auto;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.card-middle ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1em;
    color: #b0b0b0;
}
.card-middle ul li {
    margin-bottom: 8px;
}

.card-right .btn {
    background: none;
    color: #b2aaff;
    border: 1px solid #b2aaff;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
    font-size: 1em;
}
.card-right .btn:hover {
    background: #b2aaff;
    color: #0a0a12;
}

.footer {
  background: var(--SECONDARY-S500-BASE, #1E1C30);
  color: #fff;
  padding: 60px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center; 
}

.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  justify-items: center;
  text-align: center; 
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: center; 
}

.footer-column h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #ffffffdd;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer-note {
  font-size: 0.8rem;
  color: #bbbbbb;
  margin-top: 5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #ffffffcc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #a855f7; 
}

@media (max-width: 768px) {
  .footer-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Section principale */
.portfolio-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    background: var(--PRIMERY-P500-BASE, #0B081E);
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: 100px; 
    padding: 20px; 
}

.category {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
}

.category img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.3s ease;
}

.category:hover img {
    transform: scale(1.05);
}

.category-title {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #0b081e90;
    color: var(--PRIMERY-P500-BASE, #ffffff);
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;

    z-index: 1;
    overflow: hidden;
}

.category-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2px; 
    background: linear-gradient(45deg, #1717dc, #3b82f6, #a855f7);
    background-size: 300% 300%;
    border-radius: 5px;
    z-index: -1;
    animation: borderAnimation 3s linear infinite;
    pointer-events: none;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

@keyframes borderAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.category-title a {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 992px) {
    .portfolio-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .portfolio-main {
        grid-template-columns: 1fr;
    }
} 

/* Section Matériel */
.materiel-section {
    padding: 60px 20px;
    background: var(--PRIMERY-P500-BASE, #0B081E);
    color: #fff;
}

.materiel-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.materiel-container h2 {
    font-size: 32px;
    margin-top: 60px;
    letter-spacing: 2px;
}

.materiel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

@media (min-width: 1024px) {
    .materiel-grid {
        grid-template-columns: repeat(2, 1fr); 
    }

    .materiel-card img {
        height: 240px;
        object-fit: cover;
    }
}

.materiel-card {
    background: rgb(30, 20, 45);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.materiel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.materiel-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.materiel-card h3 {
    font-size: 35px;
    margin-bottom: 10px;
    color: #fff;
}

.materiel-card p {
    font-size: 20px;
    line-height: 1.6;
    color: #ccc;
}

@media (max-width: 768px) {
    .materiel-grid {
        grid-template-columns: 1fr;
    }
}

/*CONTACT*/
.hero {
    position: relative;
    height: 100vh; 
    background-image: url('../images/admin.svg');
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;}

    .contact-section {
        padding: 60px 20px;
        background: var(--PRIMERY-P500-BASE, #0B081E);
      }
      
      .contact-form {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 100px;
      }

      .section-title2 {
        font-size: 3rem;
        line-height: 1.2;
        margin:50px 0px 40px;
        text-align: center;
      }
      
      
      .contact-form input,
      .contact-form textarea {
        background-color: #2c2a40;
        border: none;
        border-radius: 8px;
        padding: 15px;
        color: #cfc9eb;
        font-size: 1rem;
      }
      
      .contact-form input::placeholder,
      .contact-form textarea::placeholder {
        color: #a8a2d4;
      }
      
      .contact-form button {
        align-self: flex-start;
        background-color: #a855f7;
        color: white;
        border: none;
        padding: 12px 24px;
        border-radius: 8px;
        font-weight: bold;
        cursor: pointer;
        transition: background-color 0.3s;
      }
      
      .contact-form button:hover {
        background-color: #9333ea;
      }
      

.section-inspiration {
    background: var(--PRIMERY-P500-BASE, #0B081E);
    padding: 50px 20px;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.section-inspiration-container p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.5;
    color: #fff; /* Texte blanc pour le mode sombre */
    transition: color 0.3s ease;
}

.section-inspiration-container h4 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: bold;
    color: #ddd; /* Gris clair pour le mode sombre */
    transition: color 0.3s ease;
}

.section-inspiration-container .btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    color: white;
    background-color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.section-inspiration-container .btn:hover {
    background-color: #555;
}

.section-about {
    background: var(--PRIMERY-P500-BASE, #0B081E);
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.section-about-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap; 
    max-width: 1200px;
    gap: 30px; 
    align-items: center;
}

.about-image {
    flex: 1;
    max-width: 50%; 
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px; 
}

.about-text {
    flex: 1;
    max-width: 50%;
    color: #fff;
    text-align: left;
    transition: color 0.3s ease;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-text .btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    color: white;
    background-color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.about-text .btn:hover {
    background-color: #555;
}


/* Responsivité */
@media (max-width: 768px) {
    .section-about-container {
        flex-direction: column; /* Empile les colonnes en mode mobile */
        align-items: center;
    }

    .about-image,
    .about-text {
        max-width: 100%; /* Largeur complète sur mobile */
        text-align: center; /* Centre le texte */
    }

    .about-text {
        text-align: center; /* Centre le texte */
    }

    .hero .overlay {
        margin: 50px auto 0; /* Centre horizontalement */
        text-align: center; /* Centre le texte */
    }
}

/* Section Instagram */
.section-instagram {
    background: var(--PRIMERY-P500-BASE, #0B081E);
    color: #fff; /* Texte blanc */
    padding: 80px 20px; /* Espacement interne */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.section-instagram-container {
    display: flex;
    max-width: 1200px;
    gap: 50px; /* Espacement entre texte et photos */
    align-items: flex-start; /* Aligne le texte et les photos */
    flex-wrap: wrap; /* Permet une adaptation en petit écran */
    width: 100%;
}

.instagram-text {
    flex: 1;
    max-width: 40%; /* Largeur maximale du texte */
    text-align: left; /* Aligne le texte à gauche */
}

.instagram-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #e0c084; /* Couleur dorée pour le titre */
}

.instagram-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff; /* Couleur du sous-titre */
}

.instagram-logo {
    width: 150px; /* Ajustez la taille selon vos besoins */
    height: 150px;
    vertical-align: middle; /* Aligne verticalement avec le texte */
}

.instagram-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.instagram-text a {
    font-size: 1rem;
    color: #e0c084; /* Couleur dorée */
    text-decoration: none;
    border: 2px solid #e0c084; /* Bordure dorée */
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.instagram-text a:hover {
    background-color: #e0c084;
    color: #191717; /* Texte sombre au hover */
}

.instagram-feed {
    flex: 2;
    max-width: 60%; /* Largeur maximale pour la grille */
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Grille avec 3 colonnes */
    gap: 15px; /* Espacement entre les images */
}

.instagram-post img {
    width: 100%;
    height: auto;
    border-radius: 10px; /* Coins arrondis */
    transition: transform 0.3s ease;
}

.instagram-post img:hover {
    transform: scale(1.05); /* Zoom au survol */
}


/*CATEGORIES*/
.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colonnes par défaut */
    gap: 50px; /* Espacement entre les images */
    padding: 0; /* Enlève tout padding implicite */
    margin-top: 100px; /* Compense le header fixe */
    justify-content: center; /* Centre les colonnes de la grille */
    justify-items: center; /* Centre les éléments dans leurs colonnes */
    max-width: 1200px; /* Définit une largeur maximale */
    margin-left: auto; /* Centre globalement */
    margin-right: auto; /* Centre globalement */
    width: calc(100% - 20px); /* Prend toute la largeur tout en compensant un éventuel padding global */
    box-sizing: border-box; /* Inclut padding et bordures dans la largeur */
    text-align: center; /* Assure un centrage global du texte */
}

.grid-wrapper img {
    width: 100%; /* Les images occupent toute la largeur de leur colonne */
    height: auto;
    object-fit: cover;
    display: block;
    border: none;
    aspect-ratio: 1 / 1; /* Assure un carré parfait */
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.grid-wrapper img:hover {
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}

/* === Media Queries === */

/* Tablettes : 768px à 1024px */
@media (max-width: 1024px) {
    .grid-wrapper {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
        gap: 30px; /* Réduit l'espacement */
        max-width: 95%; /* Réduit légèrement la largeur totale pour plus de centrage */
        margin-left: auto; /* Centre toujours */
        margin-right: auto; /* Centre toujours */
    }

    .grid-wrapper img {
        width: 100%; /* Garde les images adaptables */
    }
}

/* Téléphones : moins de 768px */
@media (max-width: 768px) {
    .grid-wrapper {
        grid-template-columns: repeat(2, 1fr); /* Toujours 2 colonnes */
        gap: 20px; /* Réduit l'espacement encore plus */
        max-width: 95%; /* Conserve un centrage parfait */
        margin-left: auto; /* Centre toujours */
        margin-right: auto; /* Centre toujours */
    }

    .grid-wrapper img {
        width: 100%; /* Garde les images fluides */
    }
}

/* Réinitialisation globale (facultative) */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
}

/* Styles pour la modale */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Contenu de la modale (l'image) */
.modal-content {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain; /* Conserve les proportions sans déformation */
    display: block; /* S'assure que l'image n'est pas inline */
}

/* Bouton de fermeture */
.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1100;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
    text-decoration: none;
}

.modal-wrapper {
    position: relative;
    display: inline-block;
    width: fit-content;
    height: fit-content;
}

.modal-content {
    position: relative;
    z-index: 1;
}

.watermark-overlay {
    position: absolute; /* Positionnement absolu pour couvrir l'image */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../log/filigrane.png'); /* Chemin de votre image de filigrane */
    background-repeat: repeat;
    background-size: 200px 200px; /* Ajustez la taille du motif */
    background-position: center;
    transform: rotate(-45deg);
    opacity: 0.05; /* Transparence du filigrane */
    z-index: 2; /* Assurez-vous que le filigrane reste au-dessus de l'image */
    pointer-events: none; /* Empêche toute interaction avec le filigrane */
}

.services-section {
    padding: 4rem 2rem;
    max-width: 1300px;
    margin: auto;
  }
  
  .services-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
  }
  
  .services-left {
    flex: 1 1 300px;
    min-width: 280px;
  }
  
  .services-left h2 {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ACCENT-COLOR-01-A200, #DDCCF8);
  }
  
  .services-left h3 {
    font-size: 3rem;
    line-height: 1.2;
    margin: 20px 0px;
  }
  
  .services-left p {
    color: #d0c9f2;
    margin-bottom: 2rem;
  }
  
  .btn-gradient {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(90deg, #a96eff, #6ba6ff);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease;
  }
  
  .btn-gradient:hover {
    transform: translateY(-3px);
  }
  
  .services-right {
    flex: 2 1 600px;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .service-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(163, 115, 255, 0.2);
  }
  
  .service-card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #c69cff;
  }
  
  .service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .service-card p {
    font-size: 0.95rem;
    color: #cfc9eb;
    margin-bottom: 1rem;
  }
  
  .service-card a {
    color: #b084ff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
  }
  
  @media (max-width: 768px) {
    .services-content {
      flex-direction: column;
    }
  
    .services-left h1 {
      font-size: 2rem;
    }
  
    .service-card {
      padding: 1.2rem;
    }
  }

  .portfolio {
    padding: 60px 20px;
  }
  
  .portfolio-wrapper {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .section-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ACCENT-COLOR-01-A200, #DDCCF8);
  }
  
  .section-title {
    font-size: 3rem;
    line-height: 1.2;
    margin: 20px 0px;
  }
  
  .portfolio-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .portfolio-card {
    background-color: #1E1C30;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    flex: 1 1 calc(33.333% - 20px);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
  }
  
  .portfolio-card:hover {
    transform: translateY(-5px);
  }
  
  .portfolio-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    width: 100%;
  }
  
  .portfolio-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .portfolio-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #cfc9eb;
  }
  
  .portfolio-content p {
    flex-grow: 1;
    font-size: 0.95rem;
    color: #cfc9eb;
    margin-bottom: 20px;
  }
  
  .read-more {
    align-self: flex-start;
    color: #a855f7;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
  }
  
  .read-more:hover {
    color: #0056b3;
  }
  
  /* ✅ Responsive 1x1x1 sur petit écran */
  @media (max-width: 768px) {
    .portfolio-card {
      flex: 1 1 100%;
    }
  }
  
.form-alert {
    padding: 15px 20px;
    margin: 20px auto;
    max-width: 600px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.form-alert.success {
    background-color: #e0f8e9;
    color: #218838;
    border: 1px solid #c3e6cb;
}

.form-alert.error {
    background-color: #f8e0e0;
    color: #c82333;
    border: 1px solid #f5c6cb;
}

.form-alert.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}



.politique-confidentialite {
  max-width: 1000px !important;
  margin: 100px auto 80px !important;
  padding: 40px 40px !important;
  background: #1e1e2f;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgb(168 85 247 / 0.3);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #e0e0e0;
  line-height: 1.65;
}

/* Le reste reste inchangé */

.politique-confidentialite h1 {
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #a855f7;
  text-shadow: 0 0 8px #a855f7aa;
}

.politique-confidentialite h2 {
  font-size: 1.9rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: #c084fc;
  border-left: 4px solid #a855f7;
  padding-left: 12px;
  text-shadow: 0 0 6px #a855f7aa;
}

.politique-confidentialite p {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: #ddd;
}

.politique-confidentialite ul {
  list-style: inside disc;
  margin-left: 18px;
  margin-bottom: 24px;
  color: #ccc;
}

.politique-confidentialite ul li {
  margin-bottom: 8px;
}

.politique-confidentialite a {
  color: #a855f7;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
}

.politique-confidentialite a:hover,
.politique-confidentialite a:focus {
  color: #f0abfc;
  text-decoration: underline;
  outline: none;
}

.politique-confidentialite section {
  margin-bottom: 38px;
}

.politique-confidentialite section:last-of-type {
  margin-bottom: 0;
}

.politique-confidentialite em {
  color: #999;
  font-style: normal;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .politique-confidentialite {
    padding: 30px 20px;
    max-width: 90vw;
    margin: 70px auto 50px;
  }
  .politique-confidentialite h1 {
    font-size: 2.2rem;
  }
  .politique-confidentialite h2 {
    font-size: 1.5rem;
  }
  .politique-confidentialite p, 
  .politique-confidentialite ul {
    font-size: 1rem;
  }
}
