
section{
    background-color: rgb(255, 255, 255,0);
    width:80%;
    margin:0 auto;
    height:100vh;
    min-height: fit-content;
    position:relative;
    max-width: 1250px;
}

.topSection{
    margin-top:150px;
}

.quickServiceView.topSection{
   margin-top: 50px;
}


.bottomSection{
    padding-bottom: 200px !important;
}

/* ERROR DOCUMENT SECTION */
.errorDocumentSection{
        display:flex;
        flex-direction: column;
        align-items: left;
        width:fit-content;
        margin: -80px auto 0;
        width:90%;
        max-width:900px;
        gap:20px;
        justify-content: center;
}

/* WELCOME SECTION */

#welcomeContainer {
    background-color: rgba(235, 153, 11, 0.12);
    border-left: 4px solid var(--orange);
    border-radius: 0 8px 8px 0;
    margin-top:0;
    padding: 25px;
    display: flex;
    text-align:left;
    flex-direction: column;
    gap: 15px;
}

#welcomeContainer h1 {
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    color: var(--orange);
}

#welcomeContainer p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    color: #444;
}

#welcomeContainer .welcome-actions {
    display: flex;
    gap: 10px;
    margin-top: 4px;
    flex-wrap: wrap;
}

#welcomeContainer .btn-secondary {
    padding: 7px 16px;
    border-radius: 6px;
    border: 1px solid var(--orange);
    background: transparent;
    color: var(--orange);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

#welcomeContainer a{
    text-decoration:none !important;
}

#welcomeContainer .btn-primary {
    padding: 7px 16px;
    border-radius: 6px;
    border: none;
    background: var(--orange);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

#welcomeContainer .btn-secondary:hover { background: rgba(235, 153, 11, 0.1); }
#welcomeContainer .btn-primary:hover { opacity: 0.88; }

.welcomeContainer{
    display: flex;
    flex-direction: column;
    gap:10px;
    background-color: var(--light-orange);
    padding:40px 20px;
    max-width:500px;
    width:95%;
    height:max-content;
    border-radius: 0px;
}


@media screen and (max-width: 500px) {
    .welcomeContainer{
        height:max-content;
        margin:175px auto;
        gap:20px;
    }

}


.welcomeContainer h1{
    line-height: 2.5rem;
}

.welcomeContainer p{
    hyphens: none;
    line-height: 1.5rem;
}


/* --- CONTENEUR PRINCIPAL --- */
.welcome-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Prend toute la hauteur de l'écran */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: transparent; /* Laisse voir ton SVG de fond */
}

/* --- STYLE DE BASE DES BULLES --- */
.floating-bubble {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform, filter;
    pointer-events: auto;
}

.floating-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
}

/* --- EFFETS DE PROFONDEUR (Classes PHP) --- */
.bubble-bg {
    filter: blur(2px);
    opacity: 0.6;
    z-index: 1;
}

.bubble-fg {
    filter: blur(0px);
    opacity: 1;
    z-index: 2;
}

/* --- ANIMATION DE FLOTTEMENT --- */
@keyframes float-complex {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, -30px) rotate(3deg); }
    66% { transform: translate(-20px, 15px) rotate(-3deg); }
}

.floating-bubble {
    animation: float-complex 12s ease-in-out infinite;
}

/* --- INTERACTION HOVER --- */
.floating-bubble:hover {
    filter: blur(0px) !important;
    opacity: 1 !important;
    z-index: 15; /* Passe devant les autres bulles mais sous le texte */
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    cursor: pointer;
}

/* --- POSITIONS ET TAILLES RELATIVES (12 Bulles) --- */

/* Gauche */
.bubble-1  { width: 8vw;  height: 8vw;  top: 8%;   left: 4%;   animation-duration: 10s; }
.bubble-2  { width: 12vw; height: 12vw; top: 25%;  left: 15%;  animation-duration: 14s; animation-delay: -2s; }
.bubble-3  { width: 7vw;  height: 7vw;  top: 50%;  left: 2%;   animation-duration: 11s; animation-delay: -5s; }
.bubble-4  { width: 14vw; height: 14vw; bottom: 8%; left: 6%;   animation-duration: 15s; animation-delay: -3s; }
.bubble-5  { width: 9vw;  height: 9vw;  bottom: 25%; left: 22%;  animation-duration: 13s; animation-delay: -8s; }

/* Droite */
.bubble-6  { width: 6vw;  height: 6vw;  top: 5%;   right: 40%; animation-duration: 12s; animation-delay: -1s; }
.bubble-7  { width: 10vw; height: 10vw; top: 2%;   right: 20%; animation-duration: 16s; animation-delay: -6s; }
.bubble-8  { width: 13vw; height: 13vw; top: 15%;  right: 5%;  animation-duration: 14s; animation-delay: -4s; }
.bubble-9  { width: 7.5vw; height: 7.5vw; top: 45%;  right: 2%;  animation-duration: 11s; animation-delay: -9s; }
.bubble-10 { width: 15vw; height: 15vw; bottom: 5%; right: 4%;  animation-duration: 18s; animation-delay: -2s; }
.bubble-11 { width: 8.5vw; height: 8.5vw; bottom: 20%; right: 22%; animation-duration: 13s; animation-delay: -7s; }

/* Centre Bas */
.bubble-12 { width: 6.5vw; height: 6.5vw; bottom: 15%; left: 45%;  animation-duration: 12s; animation-delay: -10s; }

/* --- ADAPTATION MOBILE --- */
@media (max-width: 768px) {
    .welcome-wrapper {
        min-height: 100vh; /* Utilise toute la hauteur pour disperser */
    }

    /* --- DISPERSION MAXIMALE MOBILE (12 BULLES) --- */
    
    /* Coin haut gauche */
    .bubble-1  { width: 25vw; height: 25vw; top: 2%;  left: -5%; } 
    /* Un peu plus bas à gauche */
    .bubble-2  { width: 30vw; height: 30vw; top: 18%; left: 8%; }
    /* Milieu gauche */
    .bubble-3  { width: 22vw; height: 22vw; top: 45%; left: -8%; }
    /* Bas gauche */
    .bubble-4  { width: 35vw; height: 35vw; bottom: 20%; left: 2%; }
    /* Très bas gauche */
    .bubble-5  { width: 28vw; height: 28vw; bottom: 2%;  left: 15%; }
    
    /* Haut centre (derrière le début du texte) */
    .bubble-6  { width: 20vw; height: 20vw; top: -2%; left: 40%; }
    /* Haut droite */
    .bubble-7  { width: 26vw; height: 26vw; top: 4%;  right: 10%; }
    /* Milieu droite haut */
    .bubble-8  { width: 32vw; height: 32vw; top: 22%; right: -5%; }
    /* Milieu droite bas */
    .bubble-9  { width: 24vw; height: 24vw; top: 50%; right: -10%; }
    /* Bas droite */
    .bubble-10 { width: 38vw; height: 38vw; bottom: 5%; right: -5%; }
    /* Très bas droite */
    .bubble-11 { width: 28vw; height: 28vw; bottom:19%; right: 15%; }
    /* Bas centre */
    .bubble-12 { width: 22vw; height: 22vw; bottom: 8%; left: 35%; }

    /* On s'assure que le texte est bien lisible devant */
    .welcomeSection {
        z-index: 20;
        position: relative;
        width:100%;
        padding:0;
        transform: scale(0.85);
        text-shadow: 0 0 15px rgba(255,255,255,0.5); /* Optionnel : aide à la lecture si une bulle passe dessous */
    }
    
}
/* --- ADAPTATION MOBILE --- */

.welcomeSection{
    display:flex;
    flex-direction: column;
    align-items: left;
    width:fit-content;
    margin: -80px auto 0;
    max-width:90%;
    pointer-events: none;
    gap:20px;
    justify-content: center;
}

.welcomeSection h1, .errorDocumentSection h1,.errorDocumentSection h2, .welcomeSection h2{
    font-weight: 700;
}


.welcomeSection hr,.errorDocumentSection hr{
    width:40%;
    height:4px;
    background-color: var(--orange);
    margin:-10px 0 0;
}

.welcomeSection u, .errorDocumentSection u{
    text-decoration: none;
    border-bottom:3px solid var(--black);
}


section.gallerySection {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    justify-content: flex-start; /* Aligne au début pour éviter les décalages si une ligne est incomplète */
    gap: 15px;
    height: fit-content;
}

section.gallerySection img{
    width:100%;
}


/* --- MOBILE --- */
@media only screen and (max-width: 600px) {
    
    section{
        width:85%;
    }

    .topSection{
        margin-top:100px;
    }

    .welcomeSection, .errorDocumentSection{
        gap:12px;
    }

    .welcomeSection hr, .errorDocumentSection hr{
        height:3px;
        margin-bottom:2px;
    }

    section.gallerySection {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    justify-content: flex-start; /* Aligne au début pour éviter les décalages si une ligne est incomplète */
    gap: 15px;
    height: fit-content;
}
}


@media only screen and (max-width: 500px) {
    .welcomeSection div.flex, .errorDocumentSection div.flex{
        flex-direction: column;
    }

}

@media only screen and (max-width: 425px) {
    

    .welcomeSection div.flex, .errorDocumentSection div.flex{
        flex-direction: column;
    }
}

@media only screen and (max-width: 375px) {
    .welcomeSection div.flex, .errorDocumentSection div.flex{
        flex-direction: column;
    }
}

/* SECTION QUICK SERVICE VIEW */

.quickServiceView {
    height: fit-content;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding:100px 0;
}


.quickServiceView .details p.freestyleFont{
    font-size:1.5rem;
    line-height: 2rem;
    margin-top:10px;
}

.quickServiceView.reverse{
    grid-template-areas: 
    "col1 col2";
}

.quickServiceView.reverse div:nth-child(1){
    grid-area: col2;
}

.quickServiceView.reverse div:nth-child(2){
    grid-area: col1;
}

@media only screen and (max-width: 1439px) {
    .quickServiceView, .quickServiceView.reverse{
        grid-template-columns: 1fr;
        gap:50px;
    }

    .quickServiceView.reverse{
        grid-template-areas: 
        "col1"
        "col2";
    }
    
    .quickServiceView.reverse div:nth-child(1){
        grid-area: col1;
    }
    
    .quickServiceView.reverse div:nth-child(2){
        grid-area: col2;
    }

}

.quickServiceView img{
    width:100%;
}


.quickServiceView h1 strong{
    font-size: 1.2rem;
}


.quickServiceView div.details{
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: left;
    gap:30px;
}

.quickServiceView div p{
    line-height: 1.5rem;
    color:var(--dark-gray);
}


/* CHECKMARK SECTION */

.checkmarkSection{
    display: flex;
    flex-direction: column;
    gap:50px;
    height:fit-content;
    padding:75px 0;

}

.checkmarkDivs{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.checkmarkDivs div{
    display: flex;
    gap: 20px;
    align-items: center;
    color:var(--black);
}

.checkmarkDivs div img{
    width: 40px;
    height:fit-content;
}

/* PRICE SECTION */

#priceSectionSiteWeb div{
display: flex;
    flex-direction: column;
    gap:15px;
}

.priceSection{
    color:var(--black);
    display: flex;
    flex-direction: column;
    gap:50px;
    height:fit-content;
    padding:75px 0;
}

.priceSection div:nth-child(1){
    display: flex;
    flex-direction: column;
    gap:10px;
}

.multipleSubscriptionPlan{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap:50px;
    width:100%;
}

.multipleSubscriptionPlan div{
    display: grid;
    flex-direction: column;
    gap:5px;
    padding:30px;
    border-radius:30px;
    width:100%;
    height:fit-content;
}

@media only screen and (max-width: 1440px) {
    .multipleSubscriptionPlan{
        display: grid;
        grid-template-columns: repeat(1,1fr);
    }  
}

.multipleSubscriptionPlan div:nth-child(1){
    background-color: var(--light-gray);
}

.multipleSubscriptionPlan div:nth-child(2){
    background-color: var(--light-orange);
}

.multipleSubscriptionPlan div:nth-child(3){
    background-color: var(--orange);
}

.multipleSubscriptionPlan div strong{
    color:var(--black);
    margin: 10px 0;
}



.multipleSubscriptionPlan div p,.multipleSubscriptionPlan div ul{
    color:var(--black);
}

.multipleSubscriptionPlan div span{
    font-size:0.8rem;
    color:var(--black);
}

.multipleSubscriptionPlan div ul{
    display: flex;
    flex-direction: column;
    margin:20px 0 20px 15px;
    gap:15px;
}


/* displayProjectSection */
.displayProjectSection{
    height:fit-content;
    margin:75px auto;
}

.displayProjectSection div{
    display: flex;
    flex-wrap: wrap;
    gap:25px;
    margin-top:25px;
}

@media only screen and (max-width: 700px) {
    .displayProjectSection div button{
        width:100%;
    }
}

/* FAQ SECTION */

.faqSection{
    display: flex;
    flex-direction: column;
    gap:25px;
    height:fit-content;
}


@media only screen and (max-width: 1000px) {
    .faqSection h1{
        font-size:2.5rem;
    }
}

.politiquesSection{
    display: flex;
    flex-direction: column;
    gap:25px;
    height:fit-content;
    padding:75px 0;
}

.politiquesSection h3{
    font-size:1.4rem;
}

.contactSection{
    display: flex;
    flex-direction: column;
    gap:25px;
    height:fit-content;
    text-align: center;
}

.contactSection #linkContainer{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap:25px;
    height:fit-content;
    text-align: center;
}

#followUS{
    display: flex;
    flex-direction: column;
    gap:10px;
}

#img_container{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap:10px;
}

#followUS img{ 
    max-height:50px;
    background-color: white;
    border-radius:100%;
    border:2px solid var(--light-gray);
    max-width:50px;
    cursor:pointer;
}

#followUS img:hover{
    border:2px solid var(--orange);
} 


@media screen and (max-width:1000px){
    .contactSection #linkContainer{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap:25px;
        height:fit-content;
        text-align: center;
    }
    
}

.contactSection button{
    padding:20px 20px;
    line-height: 1.5rem;
    border-radius: 10px;
    background-color: var(--light-gray);
}

.soumissionSection{
    display: flex;
    flex-direction: column;
    gap:25px;
    height: fit-content;
}

#loadingPage{
    width:100%;
    position:fixed;
    overflow:hidden;
    height:100%;
    z-index:10000;
    left:0;
    top:0;
    background-color: rgb(239, 163, 82,0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#loadingCircle {
    background-color: transparent;
 
    border: 5px solid rgb(255, 255, 255,0.5);
    border-top: 5px solid white; 
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: block;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#message-banner{
    width:100%;
    background-color: var(--lighter-orange);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height:40px;
    white-space: nowrap;
}

#message-banner p{
    padding:10px 20px;
    box-sizing: border-box;
    font-size:15px;
    display: inline;
}

@media only screen and (max-width: 1000px) {
#message-banner {
  width: 100%;
  background-color: var(--lighter-orange);
  text-align: center;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
  height: 40px;
  white-space: nowrap;
}

#message-banner p {
  padding: 10px 20px;
  box-sizing: border-box;
  font-size: 15px;
  display: inline-block;
  max-width: 100%;

  /* Animation modifiée */
  animation: scrollFullCompletely 20s linear infinite; /* Ajustez la durée pour la vitesse */
}

@keyframes scrollFullCompletely {
  0% {
    transform: translateX(100%); /* Commence complètement à droite */
  }
  100% {
    transform: translateX(calc(-100vw*2.75)); /* Se termine complètement à gauche de la fenêtre */
  }
}
}