/* Styles spécifiques à iOS */

@supports (-webkit-overflow-scrolling: touch) {

    /* Ajoute ici les ajustements spécifiques à iOS */
    .wo-servs>a {
        transition: opacity 1s ease, -webkit-transform 1s ease;
        transition: opacity 1s ease, transform 1s ease;
        will-change: opacity, transform;
    }
}


/* Préfixes pour Safari iOS */

.wo-servs a {
    -webkit-transition: opacity 1s ease, -webkit-transform 1s ease;
    transition: opacity 1s ease, transform 1s ease;
    -webkit-will-change: opacity, transform;
    will-change: opacity, transform;
}

.scroll-left {
    -webkit-animation: scroll-left 60s linear infinite;
    animation: scroll-left 60s linear infinite;
}

.scroll-right {
    -webkit-animation: scroll-right 60s linear infinite;
    animation: scroll-right 60s linear infinite;
}

@font-face {
    font-family: 'Azonix';
    src: url(media/Azonix.otf);
}

@font-face {
    font-family: 'Louis George Cafe';
    src: url(media/Louis\ George\ Cafe\ Light.ttf);
}

@font-face {
    font-family: 'Louis George Cafe IT';
    src: url(media/Louis\ George\ Cafe\ Light\ Italic.ttf);
}

@font-face {
    font-family: 'Louis George Cafe GR';
    src: url(media/Louis\ George\ Cafe\ Bold.ttf);
}

@font-face {
    font-family: 'The Bold Font';
    src: url(media/THE\ BOLD\ FONT\ -\ FREE\ VERSION\ -\ 2023.ttf);
}

@font-face {
    font-family: 'Baskerville';
    src: url(media/LibreBaskerville-Bold.ttf);
}

@font-face {
    font-family: 'Naturalise';
    src: url(media/Naturaliste.ttf);
}

* {
    box-sizing: border-box;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
    /* To prevent selection */
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    /* To prevent drag */
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

a {
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    text-decoration: none;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    padding: 0;
    margin: 0;
}

.wrapper {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-track {
    background: #ffffff;
}

::-webkit-scrollbar-thumb {
    background-color: #a1a1a1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #5c5c5c;
    transition: background 0.3s ease-in-out;
}

::-webkit-scrollbar-thumb:active {
    background-color: #303030;
    transition: background 0.3s ease-in-out;
}


/*Page Index*/

.header_id {
    width: 100%;
    height: 100vh;
    min-height: 760px;
    background-color: #000000;
    background-image: url(media/fond1.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav {
    height: 10vh;
    width: 100%;
    position: relative;
    background-color: transparent;
    top: 40px;
    font-family: Verdana;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
}

.menu a {
    text-decoration: none;
}

.menu img {
    width: 10vw;
    min-width: 125px;
    height: auto;
}

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

.menu ul li {
    margin-left: 5vw;
}

.menu ul li a {
    color: #ffffff;
    font-size: clamp(0.8em, 1.5vw, 1.2em);
    transition: color 0.3s ease;
}

.menu ul li a:hover {
    color: #8c00ff41;
}

.he-container {
    height: auto;
    width: clamp(300px, 80%, 30vw);
    position: relative;
    left: 20vw;
    top: 200px;
    /* Changé en px */
    color: #ffffff;
}

.he-container h1 {
    font-size: clamp(2em, 5vw, 3.5em);
    margin-bottom: clamp(2vh, 5vh, 7.5vh);
    font-family: 'Azonix';
    min-width: 45vw;
}

.he-container p {
    font-size: clamp(1em, 2.5vw, 1.5em);
    margin-bottom: clamp(2vh, 3vh, 5vh);
    font-family: 'Louis George Cafe';
    text-align: justify;
    min-width: 45vw;
}


/* Styles pour le menu mobile */

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5em;
    color: #ffffff;
    z-index: 1000;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
}

@media screen and (max-width: 1370px) {
    .he-container {
        width: clamp(550px, 85%, 50vw);
    }
}

@media screen and (max-width: 1024px) {
    .he-container {
        left: 10vw;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
        margin-right: 5vw;
    }

    .menu ul {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        font-size: 1.5em;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 20vh 0;
        z-index: 999;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .menu ul li {
        margin: 0;
        text-align: center;
        padding: 2vh 0;
        border-bottom: 1px solid #1b1b1b;
    }

    .menu ul.show {
        display: flex;
        transform: translateY(0);
    }

    .menu ul.hide {
        transform: translateY(-100%);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .he-container {
        left: 5vw;
        top: 150px;
        /* Ajusté pour les écrans plus petits */
    }
}

@media screen and (min-width: 480px) and (max-width: 720px) and (min-height: 720px) {
    .he-container {
        width: 90%;
        left: 5%;
        top: 120px;
        max-width: 500px;
    }
}

@media screen and (max-width: 480px) {
    .he-container {
        width: 90%;
    }
}

@media screen and (max-width: 1030px) and (max-height: 700px) and (orientation: landscape) {
    .he-container {
        height: 110vh;
        font-size: clamp(0.2em, 5vw, 0.6em);
        top: 100px;
        /* Ajusté pour l'orientation paysage */
    }

    .he-container h1 {
        font-size: clamp(1.5em, 5vw, 2.5em);
    }
}

.work {
    width: 100vw;
    background-color: rgb(0, 12, 36);
    position: relative;
    padding: 8vh 5vw 10vh;
    box-sizing: border-box;
}

.wo-container h1 {
    font-size: clamp(3em, 5vw, 4em);
    position: relative;
    left: 15vw;
    color: #ffffff;
    font-family: 'The Bold Font';
    margin-bottom: 8vh;
    opacity: 0;
    transform: translateX(-100%);
    will-change: opacity, transform;
}

.wo-container h1 span {
    font-family: 'Louis George Cafe IT';
}

.wo-servs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3vw;
}

.wo-servs a {
    flex: 1 1 18vw;
    /* Permet aux éléments de s'étendre uniformément */
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}


/* Une fois l'animation jouée, les éléments restent fixes et visibles */

.wo-servs a.animated {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.wo-servs .servs1,
.wo-servs .servs2,
.wo-servs .servs3,
.wo-servs .servs4 {
    width: 100%;
    border: 1px solid #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2vh 1.5vw;
    box-sizing: border-box;
    height: 100%;
}

.servs1 img,
.servs2 img,
.servs3 img,
.servs4 img {
    max-width: 80%;
    height: 15vh;
    width: auto;
    object-fit: contain;
    margin-bottom: 2vh;
}

.servs1 h1,
.servs2 h1,
.servs3 h1,
.servs4 h1 {
    width: 100%;
    font-family: 'The Bold Font';
    font-size: clamp(1em, 2vw, 1.8em);
    color: #ffffff;
    text-align: center;
    margin-bottom: 2vh;
}

.servs1 p,
.servs2 p,
.servs3 p,
.servs4 p {
    flex-grow: 1;
    /* Assurer que les paragraphes occupent l'espace disponible */
    width: 100%;
    font-family: 'Louis George Cafe';
    font-size: clamp(0.8em, 1.5vw, 1.3em);
    color: #ffffff;
    text-align: center;
    margin-bottom: 2vh;
    /* Ajouter un peu de marge en bas */
}

@media screen and (max-width: 1350px) {
    .work {
        padding: 6vh 4vw 8vh;
    }

    .wo-container h1 {
        max-width: 700px;
        left: 10vw;
    }

    .wo-servs a {
        flex: 1 1 40vw;
    }

    .servs1 h1,
    .servs2 h1,
    .servs3 h1,
    .servs4 h1 {
        font-size: clamp(0.9em, 1.8vw, 1.6em);
    }

    .servs1 p,
    .servs2 p,
    .servs3 p,
    .servs4 p {
        font-size: clamp(0.7em, 1.3vw, 1.1em);
    }
}

@media screen and (max-width: 768px) {
    .work {
        padding: 5vh 3vw 7vh;
    }

    .wo-container h1 {
        left: 10vw;
        margin-bottom: 6vh;
        max-width: 700px;
    }

    .wo-servs a {
        flex: 1 1 80vw;
        margin-bottom: 4vh;
    }

    .servs1 h1,
    .servs2 h1,
    .servs3 h1,
    .servs4 h1 {
        font-size: clamp(1.2em, 3vw, 1.8em);
    }

    .servs1 p,
    .servs2 p,
    .servs3 p,
    .servs4 p {
        font-size: clamp(1em, 2.5vw, 1.4em);
    }
}

@media screen and (max-width: 480px) {
    .work {
        padding: 4vh 2vw 6vh;
    }

    .wo-container h1 {
        left: 10vw;
        font-size: clamp(2em, 6vw, 3em);
        max-width: 300px;
    }

    .servs1 h1,
    .servs2 h1,
    .servs3 h1,
    .servs4 h1 {
        font-size: clamp(1.3em, 4.5vw, 1.8em);
    }

    .servs1 p,
    .servs2 p,
    .servs3 p,
    .servs4 p {
        font-size: clamp(1em, 3.5vw, 1.4em);
    }
}

@media screen and (max-width: 1030px) and (max-height: 700px) and (orientation: landscape) {
    .work {
        min-height: 170vh;
    }
}

.guarantee {
    width: 100vw;
    min-height: 80vh;
    background-color: rgb(47, 0, 65);
    background-position: center;
    background-size: 110%;
    background-repeat: no-repeat;
    position: relative;
    padding: 8vh 5vw;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.guarantee>h1 {
    font-size: clamp(2em, 4vw, 3em);
    color: #ffffff;
    font-family: 'The Bold Font';
    margin-bottom: 7vh;
    text-align: center;
}

.guarantee-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    gap: 3vw;
}

.efficiency,
.satisfaction {
    width: 100%;
    max-width: 500px;
    border: 1px solid #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2vh;
    box-sizing: border-box;
    flex-grow: 1;
}

.satisfaction img,
.efficiency img {
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    padding: 0;
    margin-bottom: 2vh;
}

.satisfaction h1,
.efficiency h1 {
    width: 100%;
    font-family: 'The Bold Font';
    font-size: clamp(1.2em, 2vw, 2em);
    color: #ffffff;
    text-align: center;
    margin-bottom: 2vh;
}

.satisfaction p,
.efficiency p {
    width: 100%;
    font-family: 'Louis George Cafe';
    font-size: clamp(0.9em, 1.5vw, 1.3em);
    color: #ffffff;
    text-align: center;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    margin-bottom: 2vh;
}

@media screen and (max-width: 1280px) {
    .guarantee {
        padding: 6vh 4vw;
    }

    .efficiency,
    .satisfaction {
        max-width: 45%;
    }

    .satisfaction h1,
    .efficiency h1 {
        font-size: clamp(1.1em, 2.5vw, 1.8em);
    }

    .satisfaction p,
    .efficiency p {
        font-size: clamp(0.8em, 1.5vw, 1.2em);
        -webkit-line-clamp: 7;
    }
}

@media screen and (max-width: 950px) {
    .guarantee {
        padding: 5vh 3vw;
        background-size: 300%;
    }

    .guarantee>h1 {
        font-size: clamp(1.8em, 5vw, 2.5em);
        margin-bottom: 5vh;
    }

    .guarantee-container {
        flex-direction: column;
        align-items: center;
    }

    .efficiency,
    .satisfaction {
        width: 85%;
        max-width: none;
        margin-bottom: 5vh;
    }

    .satisfaction h1,
    .efficiency h1 {
        font-size: clamp(1.3em, 3.5vw, 2em);
    }

    .satisfaction p,
    .efficiency p {
        font-size: clamp(1em, 2.5vw, 1.3em);
        -webkit-line-clamp: 8;
    }
}

@media screen and (max-width: 480px) {
    .guarantee {
        padding: 4vh 2vw;
        background-size: 350%;
    }

    .guarantee>h1 {
        font-size: clamp(1.6em, 6vw, 2.2em);
    }

    .efficiency,
    .satisfaction {
        width: 92%;
        padding: 3vh 4vw;
    }

    .satisfaction h1,
    .efficiency h1 {
        font-size: clamp(1.2em, 4.5vw, 1.8em);
    }

    .satisfaction p,
    .efficiency p {
        font-size: clamp(0.9em, 3.5vw, 1.2em);
        -webkit-line-clamp: 9;
    }
}

.efficiency {
    transform: translateX(-50%);
}

.satisfaction {
    transform: translateX(50%);
}

.guarantee>h1 {
    transform: translateY(-50%);
}

.guarantee>h1,
.efficiency,
.satisfaction {
    opacity: 0;
    transition: opacity 0.5s, transform 0.5s;
}

.guarantee>h1.animated,
.efficiency.animated,
.satisfaction.animated {
    opacity: 1;
    transform: translateX(0);
}

.contact {
    width: 100vw;
    min-height: 100vh;
    background-color: rgb(252, 240, 255);
    padding: 5vh 5vw;
    box-sizing: border-box;
}

.contact h1 {
    font-size: clamp(1.5em, 2.5vw, 2em);
    position: relative;
    max-width: 1300px;
    text-align: justify;
    margin: 0 auto 5vh;
    color: #000000;
    font-family: 'Louis George Cafe GR';
}

.ct-container {
    border: 1.5px solid #000000;
    position: relative;
    top: 10vh;
    width: 90%;
    max-width: 1200px;
    margin: 5vh auto;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    overflow: hidden;
    margin-bottom: 100px;
}

.ct-content {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4vh 3vw;
    box-sizing: border-box;
}

.ct-container p {
    font-family: 'Louis George Cafe GR';
    font-size: clamp(1.2em, 2vw, 1.7em);
    text-align: justify;
    color: #000000;
    margin-bottom: 2vh;
}

.ct-content a {
    font-family: 'The Bold Font';
    font-size: clamp(1.2em, 1.8vw, 1.5em);
    color: #000000;
    text-decoration: none;
    text-align: center;
    padding: 2.5px 10px;
    border-bottom: 3px solid #000000;
    align-self: center;
    margin-bottom: 2vh;
    transition: all 0.3s ease;
}

.ct-content a:hover {
    background-color: #000000;
    color: #ffffff;
    border-bottom: 3px solid #000000;
}

.ct-container .img-container {
    flex: 1;
    overflow: hidden;
}

.ct-container img {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
    object-position: center;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

.ct-content,
.img-container img,
.contact h1 {
    opacity: 0;
    will-change: opacity, transform;
}

.ct-content.appear,
.img-container img.appear {
    animation: fadeInRight 0.5s ease forwards;
}

.contact h1.appear {
    animation: fadeInLeft 0.5s ease forwards;
}

@media (max-width: 1024px) {
    .ct-container {
        flex-direction: column;
        height: auto;
        top: 5vh;
    }

    .ct-content,
    .ct-container .img-container {
        flex: 0 0 auto;
        width: 100%;
    }

    .ct-content {
        padding: 4vh 5vw;
    }

    .ct-container .img-container {
        height: 50vh;
    }

    .ct-content a {
        margin-top: 4vh;
        margin-bottom: 2vh;
    }
}

@media (max-width: 768px) {
    .contact h1 {
        font-size: clamp(1.2em, 3vw, 1.5em);
    }

    .ct-container {
        top: 5vh;
    }

    .ct-container p {
        font-size: clamp(1em, 2.5vw, 1.3em);
    }

    .ct-content a {
        font-size: clamp(1em, 2.2vw, 1.3em);
    }
}


/*Page Services*/

.header_se {
    width: 100%;
    height: 100vh;
    min-height: 760px;
    background-color: #ffffff;
    background-image: url(media/fond2.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

.header_se::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(209, 209, 209, 0.555);
    pointer-events: none;
}

.he_se-container {
    height: auto;
    width: clamp(300px, 80%, 30vw);
    position: relative;
    left: 20vw;
    top: 200px;
    /* Changé en px */
    color: #000000;
}

.he_se-container h1 {
    font-size: clamp(2em, 5vw, 3.5em);
    margin-bottom: clamp(2vh, 5vh, 7.5vh);
    font-family: 'Azonix';
    min-width: 45vw;
}

.he_se-container p {
    font-size: clamp(1em, 2.5vw, 1.5em);
    margin-bottom: clamp(2vh, 3vh, 5vh);
    font-family: 'Louis George Cafe';
    text-align: justify;
    min-width: 45vw;
}

@media screen and (max-width: 1370px) {
    .he_se-container {
        width: clamp(550px, 85%, 50vw);
    }
}

@media screen and (max-width: 1024px) {
    .he_se-container {
        left: 10vw;
    }
}

@media screen and (max-width: 768px) {
    .he_se-container {
        left: 5vw;
        top: 15vh;
    }
}

@media screen and (max-width: 480px) {
    .he_se-container {
        width: 90%;
    }
}

@media screen and (max-width: 1180px) and (max-height: 820px) and (orientation: landscape) {
    .he_se-container {
        height: 110vh;
        font-size: clamp(0.2em, 5vw, 0.6em);
    }

    .he_se-container h1 {
        font-size: clamp(1.5em, 5vw, 2.5em);
    }
}

.axe {
    width: 100%;
    min-height: 75vh;
    background-color: #000000;
    background-image: url(#);
    background-position: center;
    background-size: 200%;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.axe>h1 {
    color: #ffffff;
    font-family: 'The Bold Font';
    font-size: 2.5em;
    margin: 5vh 0 2vh 5vw;
}

.axe hr {
    width: 100%;
    border: none;
    border-top: 1px solid #ffffff;
    margin: 0;
    padding: 0;
}

.ct-axe {
    display: flex;
    justify-content: space-between;
    height: calc(100% - 10vh);
    /* Ajuste la hauteur en fonction du titre et du hr */
    position: relative;
}

.left-ax,
.right-ax {
    width: 50%;
    display: flex;
    flex-direction: column;
    padding: 4vh 5vw;
    box-sizing: border-box;
}

.left-ax {
    align-items: flex-end;
    text-align: right;
}

.right-ax {
    align-items: flex-start;
    text-align: left;
}

.left-ax h1,
.right-ax h1 {
    font-size: 1.8em;
    margin-bottom: 2vh;
    color: #ffffff;
    font-family: 'The Bold Font';
}

.left-ax p,
.right-ax p {
    font-family: 'Louis George Cafe';
    font-size: 1.5em;
    color: #ffffff;
    line-height: 2.1;
    max-width: 600px;
}


/* Trait vertical séparateur */

.ct-axe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background-color: #ffffff;
}

@media (max-width: 1280px) {
    .axe {
        height: auto;
    }

    .axe>h1 {
        font-size: 2.25em;
    }

    .ct-axe {
        flex-direction: column;
        height: auto;
    }

    .left-ax,
    .right-ax {
        width: 100%;
        align-items: center;
        text-align: center;
        padding: 3vh 5vw;
    }

    .left-ax h1,
    .right-ax h1 {
        font-size: 2em;
    }

    .left-ax p,
    .right-ax p {
        font-size: 1.2em;
    }

    .ct-axe::before {
        display: none;
    }
}

.axe>h1,
.axe>hr,
.left-ax,
.right-ax {
    opacity: 0;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.axe>h1 {
    transform: translateY(-20px);
}

.axe>hr {
    transform: scaleX(0);
    transition: transform 0.5s ease-out;
}

.left-ax {
    transform: translateX(-50px);
}

.right-ax {
    transform: translateX(50px);
}

.axe>h1.animated {
    opacity: 1;
    transform: translateY(0);
}

.axe>hr.animated {
    opacity: 1;
    transform: scaleX(1);
}

.left-ax.animated,
.right-ax.animated {
    opacity: 1;
    transform: translateX(0);
}

.pole {
    width: 100%;
    min-height: 240vh;
    background-color: #ffffff;
    padding: 20vh 5vw 8vh;
    box-sizing: border-box;
}

.pole>h1 {
    font-size: clamp(1.5em, 2.5vw, 2em);
    text-align: center;
    max-width: 1300px;
    margin: 0 auto 25vh;
    color: #000000;
    font-family: 'Louis George Cafe GR';
}

.partie-dev,
.partie-prod {
    width: 100%;
    min-height: 70vh;
    position: relative;
    margin-bottom: 20vh;
}

.partie-dev>h1,
.partie-prod>h1 {
    font-size: clamp(2.5em, 4vw, 3.5em);
    position: relative;
    left: 15vw;
    color: #000000;
    font-family: 'The Bold Font';
    margin-bottom: 5vh;
}

.partie-dev>h1 span,
.partie-prod>h1 span {
    font-family: 'Louis George Cafe IT';
    text-transform: uppercase;
}

.flex-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 3vw;
}

.dev,
.seo,
.com,
.prod,
.reso {
    width: 25vw;
    height: auto;
    min-height: 25vh;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2vh;
    box-sizing: border-box;
    overflow-y: auto;
}

.dev img,
.seo img,
.com img,
.prod img,
.reso img {
    max-width: 100%;
    height: 30vh;
    padding: 0;
    width: auto;
    object-fit: contain;
}

.dev p,
.seo p,
.com p,
.prod p,
.reso p {
    width: 100%;
    font-family: 'Louis George Cafe';
    font-size: clamp(1em, 1.5vw, 1.5em);
    color: #000000;
    text-align: center;
    line-height: 1.4;
}

.dev span,
.seo span,
.com span,
.prod span,
.reso span {
    font-weight: bold;
    display: block;
    margin-bottom: 1vh;
}

@media screen and (max-width: 1280px) {

    .dev,
    .seo,
    .com,
    .prod,
    .reso {
        width: 30vw;
    }
}

@media screen and (max-width: 768px) {
    .pole {
        padding: 5vh 3vw 7vh;
    }

    .pole>h1 {
        text-align: justify;
        top: 5vh;
    }

    .partie-dev>h1,
    .partie-prod>h1 {
        left: 10vw;
        margin-bottom: 6vh;
        max-width: 600px;
        left: 5vw;
    }

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

    .dev,
    .seo,
    .com,
    .prod,
    .reso {
        width: 80vw;
        height: auto;
        min-height: 35vh;
        margin-bottom: 4vh;
    }
}

@media screen and (max-width: 480px) {
    .pole {
        padding: 4vh 2vw 6vh;
    }

    .partie-dev>h1,
    .partie-prod>h1 {
        left: 10vw;
        font-size: clamp(2em, 5vw, 3em);
        max-width: 300px;
    }

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

    .dev,
    .seo,
    .com,
    .prod,
    .reso {
        width: 90vw;
        min-height: auto;
        margin-bottom: 4vh;
    }
}

.pole>h1,
.partie-dev>h1,
.partie-prod>h1,
.dev,
.seo,
.com,
.prod,
.reso {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.pole>h1.animated,
.partie-dev>h1.animated,
.partie-prod>h1.animated,
.dev.animated,
.seo.animated,
.com.animated,
.prod.animated,
.reso.animated {
    opacity: 1;
    transform: translateX(0);
}


/*Page apercu*/

.header_ap {
    width: 100%;
    height: 100vh;
    min-height: 950px;
    background-color: #ffffff;
    background-image: url(#);
    background-position: center;
    background-size: cover;
    position: relative;
    border-bottom: 1px solid #000000;
}

.header_ap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

.he_ap-container {
    height: auto;
    width: clamp(300px, 80%, 30vw);
    position: relative;
    left: 20vw;
    top: 200px;
    /* Changé en px */
    color: #000000;
}

.he_ap-container h1 {
    font-size: clamp(2em, 5vw, 3.5em);
    margin-bottom: clamp(2vh, 5vh, 7.5vh);
    font-family: 'Azonix';
    min-width: 45vw;
}

.he_ap-container p {
    font-size: clamp(1em, 2.5vw, 1.5em);
    margin-bottom: clamp(0.5vh, 1.5vh, 2.5vh);
    font-family: 'Louis George Cafe';
    text-align: justify;
    min-width: 45vw;
}

@media screen and (max-width: 1370px) {
    .he_ap-container {
        width: clamp(550px, 85%, 50vw);
    }
}

@media screen and (max-width: 1024px) {
    .he_ap-container {
        left: 10vw;
    }
}

@media screen and (max-width: 768px) {
    .he_ap-container {
        left: 5vw;
        top: 150px;
        /* Ajusté pour les écrans plus petits */
    }
}

@media screen and (min-width: 480px) and (max-width: 720px) and (min-height: 720px) {
    .he_ap-container {
        width: 90%;
        left: 5%;
        top: 120px;
        max-width: 500px;
    }
}

@media screen and (max-width: 480px) {
    .he_ap-container {
        width: 90%;
    }
}

@media screen and (max-width: 1030px) and (max-height: 700px) and (orientation: landscape) {
    .he_ap-container {
        height: 110vh;
        font-size: clamp(0.2em, 5vw, 0.6em);
        top: 100px;
        /* Ajusté pour l'orientation paysage */
    }

    .he_ap-container h1 {
        font-size: clamp(1.5em, 5vw, 2.5em);
    }
}

.team {
    width: 100%;
    height: auto;
    min-height: 500px;
    background-color: #ffffff;
    position: relative;
    padding: 100px 20px 20px;
    box-sizing: border-box;
}

.team h1 {
    font-family: 'The Bold Font', sans-serif;
    font-size: 2.5em;
    margin-bottom: 60px;
    text-align: left;
    position: relative;
    left: 20vw;
}

.team-container {
    width: 58%;
    margin: 0 auto 80px;
    height: 950px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: space-between;
    background-image: url(#);
    background-color: #000000;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 20px;
    border-radius: 0;
}

.team-member {
    width: calc(50% - 10px);
    height: calc(50% - 10px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #fff;
    padding: 10px;
    box-sizing: border-box;
    color: #fff;
    text-align: left;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.3s ease;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
    transition: all 0.3s ease;
}

.team-member:nth-child(1)::before {
    background-image: url('chemin/vers/photo_yanis.jpg');
}

.team-member:nth-child(2)::before {
    background-image: url('chemin/vers/photo_pierre.jpg');
}

.team-member:nth-child(3)::before {
    background-image: url('chemin/vers/photo_victor.jpg');
}

.team-member:nth-child(4)::before {
    background-image: url('chemin/vers/photo_ramzi.jpg');
}

.team-member:nth-child(5)::before {
    background-image: url('chemin/vers/photo_louis.jpg');
}

.team-member h2 {
    font-size: 1.2em;
    font-family: 'The Bold Font', sans-serif;
    margin: 0 0 5px;
    position: relative;
    z-index: 1;
}

.team-member p:first-of-type {
    margin: 0 0 5px;
    font-family: 'Louis George Cafe GR', sans-serif;
    position: relative;
    z-index: 1;
}

.team-member p {
    margin: 0 0 5px;
    font-family: 'Louis George Cafe', sans-serif;
    position: relative;
    z-index: 1;
}

.team-description {
    font-family: 'Louis George Cafe', sans-serif;
    font-size: 1.2em;
    margin-top: 100px;
    margin-bottom: 100px;
    color: #000;
    max-width: 800px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 768px) {
    .team h1 {
        left: 0;
    }

    .team-container {
        width: 100%;
        height: auto;
    }

    .team-member,
    .team-member:nth-child(n+3) {
        width: 100%;
        height: 400px;
        margin-bottom: 20px;
    }
}


/* Page de contact */

.header_co {
    min-height: 100vh;
    background-color: #000000;
    background-image: url(media/fond4.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

.he-co_container {
    display: flex;
    align-items: center;
    height: 100%;
}

.contact-form-container {
    width: 50%;
    position: relative;
    top: 15vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.contact-form {
    background-color: transparent;
    border-radius: 5px;
    padding: 20px;
    max-width: 500px;
    width: 100%;
    color: #ffffff;
}

.contact-form h1 {
    font-size: 2em;
    color: #ffffff;
    margin-bottom: 20px;
    font-family: 'Azonix';
    position: relative;
    left: 2.5vw;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
    font-family: 'Louis George Cafe GR';
}

.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ffffff;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 3px;
    transition: border-color 0.3s;
    outline: none;
    background-color: transparent;
    caret-color: #c4c4c4;
    color: #ffffff;
}

.form-input:focus {
    border-color: #575757;
}

.form-input::placeholder {
    color: #bfbfbf;
}

.form-label {
    position: absolute;
    top: -10px;
    left: 0;
    font-size: 12px;
    transition: all 0.3s;
    pointer-events: none;
    padding: 0 5px;
}

.form-input:not(:placeholder-shown)+.form-label {
    top: -10px;
    font-size: 12px;
}

.form-input#message {
    resize: none;
    height: 15vh;
    max-height: 15vh;
}

.submit-button {
    color: #fff;
    padding: 10px 20px;
    border: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
    cursor: pointer;
    background-color: #000000;
    transition: all 0.3s ease;
}

.submit-button:hover {
    color: #000000;
    background-color: #ffffff;
}

@media (max-width: 767px) {
    .he-co_container {
        flex-direction: column;
    }

    .contact-form h1 {
        font-size: 1.5em;
        left: 5vw;
    }

    .contact-form-container {
        width: 100%;
        padding: 20px;
        top: 10vh;
    }
}

.header_le {
    flex-grow: 1;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
}

.legal {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 5px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.legal h2 {
    text-align: center;
    color: #000000;
    font-size: 2em;
    font-family: 'Azonix', sans-serif;
    margin-bottom: 20px;
}

.legal h1 {
    color: #000000;
    font-size: 1.5em;
    font-family: 'The Bold Font', sans-serif;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal p {
    line-height: 1.6;
    font-family: 'Louis George Cafe GR', sans-serif;
    margin-bottom: 15px;
    text-align: justify;
}

.legal hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .legal {
        padding: 15px;
        margin: 10px auto;
    }

    .legal h2 {
        font-size: 1.8em;
    }

    .legal h1 {
        font-size: 1.3em;
    }

    .legal p {
        font-size: 0.9em;
    }
}


/* Footer */

.ft_id {
    background-color: #000000;
    color: #ffffff;
    padding: 4rem 15vw 2rem;
    font-family: 'Louis George Cafe GR';
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h3 {
    font-family: 'Azonix', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.footer-section p,
.footer-section a {
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #8400c2;
}

.footer-logo {
    width: 150px;
    margin-bottom: 1rem;
}

footer .socials {
    display: flex;
    gap: 25px;
}

footer .socials a {
    color: rgb(175, 175, 175);
    font-size: 1.5rem;
    transition: transform 0.3s;
}

footer .socials a:hover {
    transform: scale(1.2);
    color: #5b256b;
    transition: transform 0.3s;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

@media screen and (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .ft_id {
        padding: 2rem 5vw;
    }
}