section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(45, 19, 197, 0.2); /* Réglage de l'opacité ici */
    padding: 40px 20px 80px 20px;
    animation: fadeInUp 1s ease-in-out;
    font-size: 16px;
    color: white;
    
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.localisation{
   padding-top: 50px;
}
.text-content {
    flex: 1;
    padding: 20px;
    line-height: 1.8;
    
    font-size: 18px;
}
 .header-title{
    font-size: 52px;
    text-shadow: 9px 3px 0px rgba(163, 61, 61, 0.3);
    max-width: 550px;
   
}

h2{
    cursor: pointer;
    margin-top: 20px;
}
.image {
    flex: 1;
    text-align: right;
    
}

.image img {
    max-width: 100%;
    height: auto;
    border: 2px solid white;
    border-radius: 92px 20px 92px 19px;
    -webkit-border-radius: 92px 20px 92px 19px;
    -moz-border-radius: 92px 20px 92px 19px;
}

.circle-text{
    width: 34px;
    height: 34px;
}
.sub-text {
    opacity: 0; /* Définissez l'opacité initiale à 0 */
    max-height: 0; /* Pour masquer le contenu de manière progressive */
    overflow: hidden; /* Pour masquer le contenu débordant */
    transition: max-height 2.0s, opacity 1.0s; /* Ajoutez une transition pour l'animation de fondu */
    background-color: rgba(156, 143, 229, 0.2);
  
}

.sub-text.visible {
    display: block;
    background-color: rgba(156, 143, 229, 0.2); /* Réglage de l'opacité ici */
    max-height: 1000px;
    padding: 20px;
    opacity: 1;
}
.fade-in {
    opacity: 1; /* Augmentez l'opacité à 1 pour montrer l'élément */
}
/* Styles CSS pour les flèches */
.toggle-subtext .arrow {
    font-size: 20px;
    margin-right: 5px;
    display: inline-block;
    transform: rotate(0deg);
    transition: transform 0.2s;
    cursor: pointer;
   
}
.arrow{
    border-radius: 200px 200px 200px 200px;
    -webkit-border-radius: 200px 200px 200px 200px;
    -moz-border-radius: 200px 200px 200px 200px;
    background-color: #0056b3;
    padding: 3px;
    margin-right: 10px;
}
.toggle-subtext.visible .arrow {
    transform: rotate(-180deg);
}
/* Styles CSS pour le bouton */
.button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 40px;
    border: none;
    border-radius: 25px; /* Ajout de coins arrondis */
    background-color: #007BFF; /* Couleur de l'arrière-plan */
    color: #fff; /* Couleur du texte */
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #0056b3; /* Couleur de survol */
}
.titre-separation-section{
    
    font-size: 38px;
    text-shadow: 9px 3px 0px rgba(163, 61, 61, 0.3);
    text-align: center;
    color: white;
    background-color: rgba(158, 145, 236, 0.5);
    padding: 40px;
  

}
/*SECTION LIVRE OR */
.confiance {
    display: flex;
    flex-wrap: wrap;
    
    
}
.text-container-livreOr{
    background-color: rgba(45, 19, 197, 0.2);
    transition: transform 0.3s;
}
.text-container-livreOr:hover{
    transform: translateY(-5px);
}
 .text-container-livreOr strong{
    color: yellow;
}
.text-container-livreOr,
.image-container-livreOr {
    flex: 1;
    padding: 20px;
    border-radius: 10px;
}

.text-container-livreOr p, .text-container-livreOr h2 {
    font-size: 20px;
    line-height: 1.5;
    margin: 0 0 20px;
}

.text-container-livreOr h2 {
    text-shadow: 9px 3px 0px rgba(163, 61, 61, 0.3);

    font-size: 26px;
}

.image-container-livreOr {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    position: relative;
    
}

.image-container-livreOr img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    border: 1px solid #0066cc;
    background-image: url("/img/fond-img.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.image-container-livreOr a {
    display: inline-block;
    padding: 5px 10px;
  
    color: #fff;
    text-decoration: none;

    font-weight: bold;
    transition: background-color 0.3s;
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
}
.image-container-livreOr a svg{
    max-width: 100%;
}
.image-container-livreOr .button:hover {
    background-color: #004c99;
}
a .animation-svg {
    width: 55px; /* Ajustez la taille selon vos besoins */
    height: 100px; /* Ajustez la taille selon vos besoins */
    transition: transform 0.3s; /* Ajoute une transition pour l'effet de survol */
  }
  
  a:hover .animation-svg {
    transform: scale(1.2); /* Par exemple, agrandissez le SVG lors du survol */
  }


@media (max-width: 1094px) {
    .text-content .header-title{
        font-size: 34px;
    }
    section p, h2{
        font-size: 16px;
    }
    .text-content{
        max-width: 400px;
    }
    .image img {
        max-width: 100%;
        margin-left: 20px;
    }
    .button {
        padding: 5px 10px;
        font-size: 17px;
    }

}
/* Media queries pour la mise en page responsive */
@media (max-width: 768px) {
    section {
        flex-direction: column-reverse;
        text-align: center;
        
    }
    .image img {
        max-width: 100%;
        margin-left: 0;
    }
    .text-content, .image {
        flex: none;
    }
    .titre-separation-section{
        font-size: 34px;
    }
    
}




@media (max-width: 1440px) {
    .text-container-livreOr p, .text-container-livreOr h2 {
        font-size: 16px;
    }

    .text-container-livreOr h2 {
        font-size: 20px;
    }
}

@media (max-width: 1024px) {
    .confiance {
        display: flex;
        flex-direction: column;
    }
    .text-container-livreOr{
        margin-top: 80px;
        
    }
    .text-container-livreOr p, .text-container-livreOr h2 {
        font-size: 18px;
       text-align: center;
    }

    .text-container-livreOr h2 {
        font-size: 20px;
        text-align: center;
       
     
    }
    
   
}
