/* Définir la police avec @font-face */
@font-face {
    font-family: 'Ubuntu';
    src: url('../fonts/ubuntu/Ubuntu-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #004d99;
    --text-color: #333;
    --background-color: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Ubuntu', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

html {
    scroll-behavior: smooth;

}

/* Navigation */
.navbar {
    background: white;
    padding: 0 5%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.logo-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-color);
}

.logo-header img {
    width: 250px;
    margin: 5px auto;
}

.logo p {
    margin: 0;
    padding: 0;
}

.logo h1:hover {
    transform: scale(1.05);
}

.subtitle {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-item {
    text-decoration: none;
    color: var(--text-color);
    position: relative;
    padding: 0.5rem 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
}

.nav-item:hover {
    color: var(--primary-color);
}

/* Offset for scroll padding when clicking on navigation links */
section {
    scroll-margin-top: 80px;
    /* Corresponds to navbar height */
}

.nav-item.active {
    color: var(--primary-color);
}



/* Services Section */
.services {
    display: flex;
    flex-direction: column;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 5%;
    background-color: #f5f5f5;
    /*background-image: url('../assets/fond-ecran/expertise.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
color: #fff;*/
    position: relative;
}

/* Animation slide up + fade in */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform-origin: center;

    /* Initial state (hidden) */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-card.visible {
    animation: fadeInUp 0.8s ease forwards;
}

/* Optionnel : apparition en décalé (effet cascade) */
.service-card.visible:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card.visible:nth-child(2) {
    animation-delay: 0.3s;
}

.service-card.visible:nth-child(3) {
    animation-delay: 0.5s;
}

.service-card.visible:nth-child(4) {
    animation-delay: 0.7s;
}

.service-card:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Conteneur des cartes de services */
.services-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    /* Espacement avec les détails */
}

/* Conteneur des détails des services */
.services-details {
    padding: 2rem;
    background-color: #f9f9f9;
    /* Fond clair pour différencier */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 60%;
    margin: auto;
}

.services-details .detail {
    margin-bottom: 2rem;
}

.services-details .detail h4 {
    font-size: 22px;
    color: #000;
    margin: 0px;
    text-transform: uppercase;
    /*font-family: "Montserrat", sans-serif;*/
    font-optical-sizing: auto;
    font-weight: 600;
    line-height: 29px;
    clear: both;
    text-align: center;
}

.services-details .detail p {
    padding: 21px 0px 4px 0px;
    font-size: 14px;
    color: #979797;
    margin: 0px;
    /*font-family: "Montserrat", sans-serif;*/
    font-optical-sizing: auto;
    line-height: 29px;
    font-weight: 500;

}

.services .solutions_it {
    width: 90%;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.services .solutions_it .solution_it {
    border-radius: 10px;
    width: 60%;

}

.services .solutions_it h2 {
    color: #0066cc;
    margin-bottom: 30px;
    font-size: 2rem;
}

/* Footer */
footer {
    background: white;
    padding: 2rem 5%;
    text-align: center;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.contacts {
    display: flex;
    flex-direction: column;
}

.contact-info {
    margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        transform: scale(1.05);
    }
}

/* Animation pour l'apparition */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    opacity: 0;
    /* Initialement invisible */
    transform: translateY(20px);
    /* Position initiale */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.section.visible {
    opacity: 1;
    /* Rendu visible */
    transform: translateY(0);
    /* Position finale */
    animation: fadeInUp 0.5s ease forwards;
}

/* Animation pour faire arriver les div d'en bas */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    opacity: 0;
    /* Initialement invisible */
    transform: translateY(50px);
    /* Position initiale */
    transition: opacity 1s ease, transform 0.5s ease;
}

.animated.visible {
    opacity: 1;
    /* Rendu visible */
    transform: translateY(0);
    /* Position finale */
    animation: slideUp 1s ease forwards;
}

/* Themes Section */
.themes {
    padding: 4rem 5%;
    background-color: #f9f9f9;
    /*background-image: url('../assets/fond-ecran/expertise.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    */
    position: relative;
}

.themes::before {
    /*content: '';*/
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Overlay sombre pour améliorer la lisibilité */
    z-index: 1;
}

.themes h2,
.themes .theme-grid {
    position: relative;
    z-index: 2;
    color: black
        /* Place le contenu au-dessus de l'overlay */
}

.section-title {
    text-align: center;
    color: white;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary-color);
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.theme-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideUp 0.5s ease forwards;
    animation-delay: calc(var(--order) * 0.2s);
}

.theme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.theme-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.theme-card ul li .stack {
    width: 40px;
    margin-right: 10px;
}

.theme-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.theme-card ul {
    list-style: none;
    padding: 0;
}

.theme-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    transition: transform 0.2s ease;
    color: gray;
    display: flex;
    align-items: center;
}

.theme-card ul li:last-child {
    border-bottom: none;
}

.theme-card ul li:hover {
    transform: translateX(10px);
    color: var(--primary-color);
}

/* Team Contact Section */
.team-contact {
    padding: 4rem 5%;
    background-color: white;
}

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

.team-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: slideUp 0.5s ease forwards;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.team-image {
    width: 100%;
    height: 200px;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(0);
    transition: transform 0.8s ease, opacity 0.8s ease;
}


.profile-placeholder.animate-left {
    transform: translateX(-50px);
}

.profile-placeholder.animate-right {
    transform: translateX(50px);
}

.profile-placeholder.visible {
    opacity: 1;
    transform: translateX(0);
}

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

.team-card:hover .profile-image {
    transform: scale(1.1);
}

.team-info {
    padding: 2rem;
}

.team-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-info .contact-cursus {
    text-align: justify;
    margin: 20px auto;
    font-size: 13px;
    color: gray;
}

.team-info .contact-cursus ul {}

.position {
    display: block;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.experience {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.description {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
}

.contact-link i {
    font-size: 1.2rem;
}

/* Footer Styles */
.footer {
    background-color: #222;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-links,
.footer-contact,
.footer-social {
    flex: 1;
    margin: 10px;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

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

.footer-links ul li {
    margin: 5px 0;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #00bcd4;
}

.footer-contact a {
    color: #00bcd4;
    text-decoration: none;
}

.footer-social .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-social .social-icons a {
    color: #fff;
    font-size: 20px;
    transition: color 0.3s;
}

.footer-social .social-icons a:hover {
    color: #00bcd4;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    border-top: 1px solid #444;
    padding-top: 10px;
}

/* Style pour la phrase dynamique */
.dynamic-text {
    font-size: 1.5rem;
    color: black;
    margin-top: 2.5rem;
    text-align: center;
    z-index: 1;
    display: flex;
    flex-direction: row;
    width: 850px;
}

#dynamic-words {
    font-weight: bold;
    color: black;
    /* Couleur secondaire pour mettre en valeur */
    border-right: 2px solid black;
    /* Curseur clignotant */
    animation: blink 0.7s step-end infinite;
    margin-left: 10px;
}

/* Animation pour le curseur clignotant */
@keyframes blink {
    from {
        border-color: black;
    }

    to {
        border-color: transparent;
    }
}

.contact {
    background-color: #6498d4;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    transition: 1s;
    text-decoration: none;
}

.contact:hover {
    background-color: #0b3463;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    transform: scale(1.1);
}

.fa-envelope-open-o {
    margin-left: 10px;
}

/* Section Contact */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0066cc;
}

.contact-form textarea {
    resize: none;
}

.btn-submit {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background-color: #0066cc;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #004a99;
}

/*.message-success-mail {
    color: white;
    font-weight: bold;
    position: absolute;
    background-color: #464646;
    z-index: 999;
    width: 25%;
    margin: auto;
    top: 30%;
    left: 0;
    right: 0;
    height: 75px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid green;
    border-radius: 5px;
    padding: 5px 10px;
}*/

.message-success-mail {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #c3e6cb;
    margin-bottom: 20px;
    text-align: center;
}

.message-error-mail {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #f5c6cb;
    margin-bottom: 20px;
}



/* Hero ADN */

.adn {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    /*align-items: left;*/
    justify-content: left;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin-top: 0px;
}

.adn h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    /*position: absolute;
    top: 10%;
    left: 10%;*/
    margin: 10px 7%;
    text-align: left;
}

.adn .adn-p {
    font-size: 1.1rem;
    color: white;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    margin: 10px 0 10px 9%;
    text-align: left;
    line-height: 1.5;
    width: 45%;
}

.adn-li {
    font-size: 1.1rem;
    color: white;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    margin: 10px 0 10px 13%;
    text-align: left;
    line-height: 1.5;
    width: 45%;
}

body {
    background-color: white;
}

.hero {
    width: 100%;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: row;
}

.hero .img {
    display: flex;
    flex-direction: column;
    width: 45%;
    justify-content: center;
    align-items: center;
}

.hero .img .img-logo {
    width: 55%;
    margin: 30px 0 60px 0;
}

.hero .img .img-grid {
    width: 35%;
    margin: 0;

}

.hero .grid {
    display: flex;
    flex-direction: row;
    width: 50%;
    justify-content: space-between;
    margin: 90px auto 0 auto;
    z-index: 1;
}

.section2 {
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    min-height: 80vh;
}

.section2 .expertises-img {
    width: 100%;
    /* L'élément occupe toute la largeur de l'écran */
    opacity: 1;
    /* Pas d'effet d'apparition sur mobile */
    transform: translateX(0);
    /* Pas de translation sur mobile */
    transition: none;
    /* Désactive les transitions sur mobile */
    margin-top: 54px;
}

.hero .grid .titre1 {
    display: flex;
    flex-direction: column;
    color: black;
    width: 900px;
    text-align: left;
}

.hero .grid .titre1 .span1 {
    font-family: 'Ubuntu';
    font-size: 44px;
    color: #114271;
    margin-top: 20px;
}

.hero .grid .titre1 .span2 {
    font-family: 'Ubuntu';
    font-size: 38px;
    color: #114271;
}

.hero .grid .titre1 .span3 {
    font-family: 'Ubuntu';
    font-size: 18px;
    margin-top: 45px;
    letter-spacing: 1.2px;
    width: 100%;
}

.hero .grid .titre1 .span3-sousgroup {
    font-family: 'Ubuntu';
    font-size: 17px;
    margin-left: 5em;
    letter-spacing: 1.2px;
    width: 100%;
}

.hero .grid .titre1 .span3-sousgroup .fa-bolt {
    color: green;
    font-size: 19px;
    margin-right: 10px;
}



.hero .div1 {
    margin: 50px auto;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.hero .div1 img {
    clip-path: circle(50% at 50% 50%);
    width: 60px;
    height: 60px;
    align-items: center;
    background-size: auto, cover;
    margin: 0 10px;

}

.section2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section2 h1 {
    margin: 0 auto;
    font-size: 35px;
    color: black;
    line-height: 50px;
}

.section2 h2 {
    margin: 0 auto 50px auto;
}

.section2 .paragraphes {
    position: relative;
    align-items: center;
    width: 1000px;
    height: 500px;
    color: #225555;
}

.section2 .paragraphes .logo {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 270px;
}

.section2 .paragraphes .paragraphe1,
.section2 .paragraphes .paragraphe2,
.section2 .paragraphes .paragraphe3,
.section2 .paragraphes .paragraphe4 {
    background-color: white;
    padding: 10px;
    border-radius: 5px 10px;
    box-shadow: 4px 4px 4px 3px gray;

}

.section2 .paragraphes .paragraphe1 {
    width: 355px;
    position: absolute;
    top: 0;
    left: -40px;
    text-align: right;
    line-height: 24px;
    font-size: 16px;
}

.section2 .paragraphes .paragraphe2 {
    width: 350px;
    position: absolute;
    top: 0;
    right: -40px;
    text-align: left;
    line-height: 24px;
    font-size: 16px;
    animation: identifier;
}



.section2 .paragraphes .paragraphe3 {
    width: 350px;
    position: absolute;
    bottom: 0;
    right: -40px;
    text-align: left;
    line-height: 24px;
    font-size: 16px;
}

.section2 .paragraphes .paragraphe4 {
    width: 350px;
    position: absolute;
    bottom: 0;
    left: -40px;
    text-align: right;
    line-height: 24px;
    font-size: 16px;
}

.section2 .paragraphes .paragraph-26 {
    font-size: 14px;
}



.section3 {
    position: relative;
    width: 100%;
    background-image: linear-gradient(#255048b3, #255048b3), url(../assets/Web-App-Solutions/notation.jpg);
    background-repeat: repeat, no-repeat;
    background-position: 0 0, 50%;
    background-size: auto, cover;
    justify-content: flex-start;
    align-items: center;
    min-height: 110vh;
}

.section3 h1 {
    position: absolute;
    top: 50px;
    right: 15%;
    text-align: right;
    color: white;
    font-size: 48px;
    font-family: 'Ubuntu';
}

.section3 h2 {
    position: absolute;
    top: 150px;
    right: 15%;
    text-align: left;
    color: white;
    font-size: 22px;
    font-family: 'Ubuntu';
    width: 30%;
}

.section3 p {
    position: absolute;
    top: 337px;
    right: 15%;
    text-align: right;
    color: white;
    font-size: 20px;
    font-family: 'Ubuntu';
    width: 30%;
    line-height: 32px;
}

.section3 .guillemet {
    width: 25px;
    margin: 0 5px;
}

.section3 .lien-contact {
    position: absolute;
    top: 550px;
    right: 15%;
    text-align: right;
    color: white;
    font-size: 20px;
    font-family: 'Ubuntu';
    width: 200px;
    line-height: 32px;
    text-decoration: none;
    border: 1px solid white;
    padding: 5px 10px;
    border-radius: 5px;
    text-align: center;
    transition: 1s;
}

.section3 .lien-contact:hover {
    background-color: white;
    color: black;
    transform: scale(1.1);
}

.section4 h1 {
    margin: 50px auto;
    font-size: 35px;
    color: black;
    line-height: 50px;
    text-align: center;
}

.section4 p {
    text-align: center;
    color: #225555;
    font-size: 25px;
}

.web-app-solutions-avis {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: 100px 0;
}

.section4 .web-app-solutions-avis .web-app-solutions-card .contacts p {
    text-align: left;
    width: 350px;
    text-align: justify;
    margin: 5px 0;
}

.section4 .web-app-solutions-avis .web-app-solutions-card .contacts .contact {
    font-size: 19px;
    font-weight: 600;
}

.section4 .web-app-solutions-avis .web-app-solutions-card .contacts .job {
    font-size: 17px;
    font-weight: normal;
    text-align: left;
}

.section4 .web-app-solutions-avis .web-app-solutions-card .contacts .description {
    font-size: 14px;
    font-weight: normal;
}

.fa-share {
    margin-right: 10px;
}

.fa-share-inverse {
    transform: rotate(180deg);
    margin-left: 10px;

}

.g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 20px 0 0px 0;
}


/* Style de base : initialement les paragraphes sont invisibles et en bas */
.paragraphe1, .paragraphe2, .paragraphe3, .paragraphe4 {
    opacity: 0;  /* Par défaut, tout est invisible */
    transform: translateY(50px);  /* Déplacement vers le bas */
    transition: opacity 3s ease, transform 2s ease;  /* Animation de l'opacité et du déplacement */
}

/* Quand la section devient visible, on applique les changements */
.section2.visible .paragraphe1,
.section2.visible .paragraphe2,
.section2.visible .paragraphe3,
.section2.visible .paragraphe4 {
    opacity: 1;  /* Rendre les éléments visibles */
    transform: translateY(0);  /* Remettre les éléments à leur position d'origine */
}

/* Pour l'image/logo */
.section2.visible .logo {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease, transform 1s ease;
}

.logo {
    opacity: 0;  /* Initialement l'image est invisible */
    transform: translateY(50px);  /* Déplacer l'image vers le bas */
}



