:root {
    --nav-bg: #3498db;
    --ecoride-success: #2ecc71;
    --background-color: #f5f5f5;
    --text-color: #333333;
    --white: #ffffff;
    --button-color: #3498db;
    --button-hover-color: #2980b9;
    --border-color: #dddddd;
    --input-background-color: #ffffff;
    --input-border-color: #cccccc;
}

@font-face {
    font-family: 'Marianne';
    src: url('../font/Marianne-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;



}

/* color  */

.t-black {
    color: #000000;
}

.t-white {
    color: #ffffff;
}

.t-blue {
    color: #3498db;
}

.bg-purple {
    background-color: #e5dff9;
}
/* font styles */

.t-bold{
    font-weight: bold;
}
.uppercase {
    text-transform: uppercase;
}
/* display */

.show {
    animation: bounceIn 0.5s;
    display: block;
}

.hide {
    display: none;
}   

.m-20 {
    margin: 20px;
}
.mt-20 {
    margin-top: 20px;
}
.p-10 {
    padding: 10px;
}
.pt-20{
    padding-top: 20px;
}
.pt-200{
    padding-top: 200px;
}
.w-50 {
    width: 20%;
}
.w-100 {
    width: 100%;
}
.mw-100 {
    max-width: 100%;
}
.center{
    display: flex;
    justify-content: center;
    align-items: center;
}
.flex{
    display: flex;
    flex-direction: column;
}

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

.alert-message {
    width: 90%;
    max-width: 100%;
    margin: auto;
}
.alert-success {
    position: fixed;
    bottom: 10px;
    left: 50%;
    background-color: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transform: translateX(-50%);
    z-index: 3;
    opacity: 1;
    transition: all 0.3s ease-out;
}


/* GENERAL STYLES */

/* * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}  */
/* main {
    background-color: #4c6faf;
} */

body {
    color: var(--text-color);
    max-width: 100%;
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: scroll;
    max-width: 100%;
    scroll-behavior: smooth;

}


input,
textarea,
select {
    background-color: #ffffff;
    color: #000000;
}

input[type="file"] {
        display: block;
        border: solid 1px #4c6faf;
        border-radius: 20px;
        color: black;
    }

h1 {
    font-family: 'Marianne';
    font-size: 2em;
    padding-bottom: 15px;
}


h2 {
    font-size: 1.5em;
    padding-bottom: 10px;
}


h3 {
    font-size: 1.25em;
    padding-bottom: 5px;
}

p {
    font-size: 20px;
    position: relative;
    left: 5px;
    top: 25px;

}
a {
    text-decoration: none;
}
span {
    color: var(--white);
}


div.tp-dfwv {
    display: none !important;
}



nav li {

    text-decoration: none;
    color: white;
}



footer a {
    text-decoration: none;
    color: #ffffff;
}

footer {
    display: flex;
    justify-content:space-between;
    align-items: center;
    background-color: var(--nav-bg);
    color: #ffffff;
    height: 200px;
    padding: 20px;
}

/* --- Navigation --- */
nav {
    width: 100vw;
    height: 200px;
    font-size: 1em;
    background: var(--nav-bg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    z-index: 10;
    transition: all 0.3s;
    padding: 10px 0;
    transition: height 0.3s ease, box-shadow 0.3s ease;

}

nav.navShadow {
    box-shadow: 0 4px 30px -5px rgba(0, 0, 0, 0.2);
    height: 100px;
}

nav.navShadow #word-mark {
    opacity: 0;
}

nav ul {
    display: inline-block;
    width: 100vw;
    max-height: 0;
    background: #282929;
    /* ton $aqua */
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 5px 30px -4px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    list-style: none;
}

nav ul li {
    width: 50%;
    height: 0;
    opacity: 0;
    visibility: hidden;
    float: left;
    padding-left: 40px;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;

}

nav ul.showMenu {
    padding: 20px 0;
    max-height: 300px;
    /* c'est ça qui "déroule" le menu */
}

nav ul.showMenu li {
    height: 70px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);

}



nav ul.showMenu li a {
    display: flex;
    /* Flex pour aligner icône + texte */
    align-items: center;
    /* centre verticalement */
    gap: 8px;
    /* espace entre icône et texte */
    font-size: 14px;

    padding: 8px 12px;
    height: auto;
    /* laisse le contenu définir la hauteur */
    text-decoration: none;
    color: white;
    border: 1px solid transparent;
    border-radius: 15px;
    background-color: transparent;
    transition: all 0.3s ease;
}

/* Icones Font Awesome */
nav ul.showMenu li a .fa {
    display: inline-block;
    width: 18px;
    /* largeur uniforme pour toutes */
    text-align: center;
    /* centre l'icône */
}



/* Li avant l'animation */
nav ul li {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

/* Li quand le menu est ouvert */
nav ul.showMenu li {
    opacity: 1;
    transform: translateY(0);
}

.desktop ul {
    display: flex;
    gap: 10px;
    max-height: none;
    position: static;
    overflow: visible;
    background: transparent;
    box-shadow: none;
}

.desktop ul li {
    height: auto;
    opacity: 1;
    visibility: visible;
    float: none;
    padding-left: 0;
    z-index: 2;
}



#brand,
#menu,
ul {
    display: flex;
    align-items: center;
}

#brand {
    padding-left: 40px;
}

#logo {
    width: 55px;
    height: 55px;

    border-radius: 50%;
    cursor: pointer;
}



#word-mark {
    width: auto;
    background: var(--accent);
    border-radius: 90px;
    margin-left: 20px;
    opacity: 1;
    transition: all 0.3s;
}



/* --- Menu --- */
#menu {
    justify-content: flex-end;
    padding-right: 40px;
}

li a {
    display: flex;
    align-items: center;
    gap: 8px;

    text-decoration: none;
    color: var(--white);
    font-size: 18px;
    font-weight: lighter;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;

    border: 1px solid transparent;
    border-radius: 15px;
    padding: 5px 10px;
    background-color: transparent;
}

li button {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--white);
    font-size: 18px;
    font-weight: lighter;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;

    border: 1px solid transparent;
    /* empêche le "saut" */
    border-radius: 15px;
    padding: 5px 10px;
    background-color: transparent;
}







#menu-toggle {
    width: 55px;
    height: 55px;
    background: rgb(159, 229, 229);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    position: fixed;
}

#menu-toggle:hover .bar {
    width: 25px;
}

#menu-toggle.closeMenu .bar {
    width: 25px;
}

#menu-toggle.closeMenu .bar:first-child {
    transform: translateY(7px) rotate(45deg);
}

#menu-toggle.closeMenu .bar:nth-child(2) {
    transform: scale(0);
}

#menu-toggle.closeMenu .bar:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

.bar {
    width: 25px;
    height: 2px;
    background: var(--background-color);
    transition: 0.3s ease-in-out;
}

.bar:nth-child(2) {
    width: 20px;
    margin: 5px 0;
}

.bar:last-child {
    width: 15px;
}


/* --- Sections --- */
section {
    width: 100vw;
    height: calc(100vh - 100px);
    display: flex;
    justify-content: center;
}

section:nth-child(odd) {
    background: black;
}

section:nth-child(even) {
    background: var(--nav-bg);
}

/* --- Header --- */
header {
    width: 100vw;
    height: 100vh;
    background: var(--header-bg);
    display: flex;
    padding: auto;
}


/* Recherche */

.recherche-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: none;
    max-width: 100%;
    transition: all 0.3s ease;
    padding: 20px;
}



#ecoride-recherche.active {
    display: block;
    max-height: auto;
    max-width: 100%;
    border-radius: 30px;
    animation: tada 0.5s;
    margin: 10px;
}


.recherche-multicriteres {
    display: flex;
    align-items: center;
    max-width: 100%;
    border: solid 1px transparent;
    border-radius: 30px;
    padding: 10px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}



.recherche-multicriteres label {
    margin-right: 5px;
}

.recherche-multicriteres input[type="text"],
.recherche-multicriteres input[type="date"] {
    padding: 8px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    max-width: auto;
    flex: 1;
    min-width: 0;
}

.recherche-multicriteres button {
    padding: 10px 15px;
    background-color: #fafafa;
    color: rgb(11, 11, 11);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    margin-left: auto;
}



button svg {
    width: 24px;
    height: 24px;
    fill: rgb(2, 2, 2);
}

/* 
form container form styles */


.form-container {
    position: relative;
    top: 200px;
    margin: 80px auto;
    
    padding: 20px;

}

/* .form-container form {
    width: 100%;
    transition: all 0.3s ease-in-out;
    padding: 10px 0;
    position: relative;
}


.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-container label {
    display: block;
    margin-bottom: 5px;
} */

.form-container input[type="text"],
.form-container input[type="password"],
.form-container input[type="email"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #717171;
    border-radius: 10px;
}

/* .form-container button {
    width: 100%;
    padding: 10px;
    background-color: #4c6faf;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
} */


/* carrousel styles */

.c-container {
    position: relative;
    margin: 10px;
    padding: 10px;
    margin-top: 200px;
}

.c-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    margin-right: auto;
    float: right;
}


.c-container ul {
    width: 90vw;
    max-height: auto;
    padding: 20px;
    display: flex;
    gap: 4vw;
    margin: 10px;
}

.c-container ul li {
    list-style-type: none;
    background-color: #eeeeee;
    border: 1px solid #dddddd;
    padding: 10px;
    max-height: auto;
    flex: 0 0 100%;

}

.c-container ul {
    overflow-x: scroll;
    scroll-snap-type: x mandatory;

}

.c-container ul::-webkit-scrollbar {
    display: none;
}

.c-container ul li {
    scroll-snap-align: center;
}


.c-container ul {
    anchor-name: --my-carousel;
}


.dots {
    text-align: center;
    margin-top: 15px;
}

.dots button {
    border: none;
    background: #ccc;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.dots button.active {
    background: #333;
}



/* index content styles  */

.grid-container {
    position: relative;
    margin: 20px;
}

.grid-item {
    background-color: #e5dff9;
    /* background-color: #eeeeee; */
    border: 1px solid #dddddd;
    padding: 10px;
    max-height: auto;
    flex: 0 0 100%;
    margin-bottom: 30px;
}

.grid-item h3 {
    padding: 5px;
}

.grid-item p {
    padding: 5px;
}



/* codepen picture scroll effect  */


/* @import 'normalize.css' layer(normalize); */
@import url('https://unpkg.com/normalize.css') layer(normalize);

@layer normalize, base, demo, grid, setup, scroll, novelty;

@layer novelty {
    @property --flip {
        syntax: '<number>';
        inherits: true;
        initial-value: 0;
    }

    @keyframes flip {
        to {
            --flip: 1;
        }
    }

    [data-enhanced='true'] {
        @media (prefers-reduced-motion: no-preference) {
            @supports (animation-timeline: scroll()) and (animation-range: 0 100%) {
                footer>span {
                    animation: flip both steps(1, end);
                    animation-timeline: scroll(root);
                }

                footer .arm {
                    opacity: var(--flip);
                }

                footer .table {
                    display: inline-block;
                    transform-origin: 0 50%;
                    rotate: calc((-180 + (var(--flip) * 180)) * 1deg);
                    translate: calc(16% + (var(--flip) * -16%)) calc(var(--flip) * -45%);
                    transform: translateY(calc(var(--flip) * 90%));
                    transition-property: translate, rotate, transform;
                    transition-duration: calc(var(--flip) * 0.2s);
                    transition-duration: 0.2s, 0.24s, 0.5s;
                }

                .spring {
                    outline: 1px dashed red;
                    clip-path: inset(0 0 0 0);
                }

                .spring span {
                    rotate: calc(-180deg + (var(--flip) * 180deg));
                    display: inline-block;
                    transform-origin: 50% 150%;
                    transition: rotate 0.24s;
                }
            }
        }
    }
}

@layer scroll {
    :root {
        --power-1-out: linear(0 0%,
                0.0027 3.64%,
                0.0106 7.29%,
                0.0425 14.58%,
                0.0957 21.87%,
                0.1701 29.16%,
                0.2477 35.19%,
                0.3401 41.23%,
                0.5982 55.18%,
                0.7044 61.56%,
                0.7987 68.28%,
                0.875 75%,
                0.9297 81.25%,
                0.9687 87.5%,
                0.9922 93.75%,
                1 100%);
        --power-2-out: linear(0 0%,
                0.0036 9.62%,
                0.0185 16.66%,
                0.0489 23.03%,
                0.0962 28.86%,
                0.1705 34.93%,
                0.269 40.66%,
                0.3867 45.89%,
                0.5833 52.95%,
                0.683 57.05%,
                0.7829 62.14%,
                0.8621 67.46%,
                0.8991 70.68%,
                0.9299 74.03%,
                0.9545 77.52%,
                0.9735 81.21%,
                0.9865 85%,
                0.9949 89.15%,
                1 100%);
        --power-3-out: linear(0 0%,
                0.0029 13.8%,
                0.0184 21.9%,
                0.0339 25.51%,
                0.0551 28.81%,
                0.0827 31.88%,
                0.1168 34.76%,
                0.1962 39.57%,
                0.3005 44.02%,
                0.4084 47.53%,
                0.6242 53.45%,
                0.7493 57.93%,
                0.8495 62.97%,
                0.8888 65.67%,
                0.9213 68.51%,
                0.9629 73.9%,
                0.9876 80.16%,
                0.998 87.5%,
                1 100%);
        --power-4-out: linear(0 0%,
                0.0012 14.95%,
                0.0089 22.36%,
                0.0297 28.43%,
                0.0668 33.43%,
                0.0979 36.08%,
                0.1363 38.55%,
                0.2373 43.07%,
                0.3675 47.01%,
                0.5984 52.15%,
                0.7121 55.23%,
                0.8192 59.21%,
                0.898 63.62%,
                0.9297 66.23%,
                0.9546 69.06%,
                0.9733 72.17%,
                0.9864 75.67%,
                0.9982 83.73%,
                1 100%);
        --sine: linear(0 0%,
                0.2861 18.47%,
                0.4829 32.08%,
                0.6437 44.52%,
                0.7712 56.07%,
                0.8722 67.47%,
                0.9115 73.02%,
                0.9434 78.49%,
                0.9682 83.91%,
                0.9859 89.3%,
                0.9965 94.66%,
                1 100%);
    }

    @keyframes fade {

        0%,
        55% {
            opacity: 0;
        }
    }

    @keyframes reveal {

        0%,
        30% {
            scale: 0;
        }
    }

    @keyframes scale-x {

        0%,
        10% {
            width: calc(100vw - (2 * var(--gutter)));
        }
    }

    @keyframes scale-y {

        0%,
        10% {
            height: calc(100vh - (2 * var(--gutter)));
        }
    }

    @media (prefers-reduced-motion: no-preference) {
        [data-enhanced='true'] {
            main section:first-of-type {
                min-height: 240vh;
            }

            @supports (animation-timeline: scroll()) and (animation-range: 0 100%) {
                main section:first-of-type {
                    view-timeline: --runner;
                }

                &[data-center='true'] {
                    .scaler img {
                        animation-name: scale-x, scale-y;
                        animation-fill-mode: both;
                        animation-timing-function: var(--power-2-out), var(--power-1-out);
                        animation-timeline: --runner, --runner;
                        animation-range: entry 100% exit -20%;
                    }
                }

                &[data-layers='true'] {
                    .grid .layer {
                        animation-name: fade, reveal;
                        animation-fill-mode: both;
                        animation-timeline: --runner, --runner;
                        animation-timing-function: var(--sine), var(--power-1-out);
                        animation-range: entry 100% exit 0%;
                    }

                    &[data-stagger='timing'] .grid .layer {
                        &:nth-of-type(1) {
                            animation-timing-function: var(--sine), var(--power-1-out);
                        }

                        &:nth-of-type(2) {
                            animation-timing-function: var(--sine), var(--power-3-out);
                        }

                        &:nth-of-type(3) {
                            animation-timing-function: var(--sine), var(--power-4-out);
                        }
                    }

                    &[data-stagger='range'] .grid .layer {
                        &:nth-of-type(1) {
                            animation-range: entry 100% exit 0%;
                        }

                        &:nth-of-type(2) {
                            animation-range: entry 100% exit -10%;
                        }

                        &:nth-of-type(3) {
                            animation-range: entry 100% exit -20%;
                        }
                    }
                }
            }
        }
    }
}

@layer setup {

    /* gross calculations here to appease Safari and Firefox */
    :root {
        --container-width: 1600px;
        --gap: clamp(10px, 7.35vw, 30px);
        --gutter: 2rem;
    }

    @media (max-width: 600px) {
        :root {
            --gutter: 1rem;
        }

        section .mobile {
            display: none;
        }

        section .mobile {
            display: none;
        }
    }

    .content {
        min-height: 100vh;
        width: 100vw;
        display: flex;
        place-items: center;
        align-content: center;
        position: sticky;
        top: 0;
    }



    .scaler {
        z-index: 2;
        width: 100%;
        height: 100%;
        position: relative;
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;

        img {
            position: absolute;
            top: 50%;
            left: 50%;
            translate: -50% -50%;
            object-fit: cover;
            border-radius: 1rem;
            width: 100%;
            height: 100%;
            will-change: width, height;
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
        }
    }
}

@layer grid {

    /* it's a 5x3 grid using subgrid, always centered */
    .grid {
        --offset: 0;
        width: 1600px;
        max-width: calc(100% - (2 * var(--gutter)));
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(3, auto);
        gap: var(--gap);
        margin: 0 auto;
        align-content: center;
        /* hmm */
        position: absolute;
        top: 50%;
        left: 50%;
        translate: -50% -50%;
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    /* .grid img {
    width: 10vw;
    height: 12vw;
  } */

    @media (max-width: 600px) {
        .grid {
            grid-template-columns: repeat(3, 1fr);
            --offset: -1;
        }

        .grid>div:nth-of-type(1) {
            display: none;
        }
    }

    .grid>.layer {
        display: grid;
        grid-column: 1 / -1;
        grid-row: 1 / -1;
        grid-template-columns: subgrid;
        grid-template-rows: subgrid;
        will-change: opacity, transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    .grid>div:nth-of-type(1) div:nth-of-type(odd) {
        grid-column: 1;
    }

    .grid>div:nth-of-type(1) div:nth-of-type(even) {
        grid-column: -2;
    }

    .grid>div:nth-of-type(2) div:nth-of-type(odd) {
        grid-column: calc(2 + var(--offset));
    }

    .grid>div:nth-of-type(2) div:nth-of-type(even) {
        grid-column: calc(-3 - var(--offset));
    }

    .grid>div:nth-of-type(3) div {
        grid-column: calc(3 + var(--offset));

        &:last-of-type {
            grid-row: -1;
        }
    }

    .grid .scaler {
        position: relative;
        grid-area: 2 / calc(3 + var(--offset));
    }

    .grid img {
        width: 100%;
        aspect-ratio: 4 / 5;
        object-fit: cover;
        border-radius: 1rem;
    }
}

@layer demo {
    html {
        scrollbar-color: rgb(169, 134, 134) #0000;
    }

    body {
        background: canvasText;
    }

    h1 {
        --font-level: 8;
        line-height: 0.6;
    }

    h2 {
        --font-level: 4;
    }

    header {
        min-height: 100vh;
        display: grid;
        margin: 0 auto;
        align-content: center;
        max-width: calc(100% - (2 * var(--gutter)));
        padding-left: 48px;
        text-align: left;
    }

    body {
        display: block;
    }

    main,
    section {
        max-width: 100%;
    }

    section {
        min-height: 100vh;
    }

    .content {
        overflow: hidden;
    }

    main section:last-of-type {
        display: grid;
        place-items: center;
    }

    .content-wrap {
        overflow: clip;
        background: light-dark(#fff, #000);
        z-index: 2;
    }


}

@layer base {
    :root {
        --font-size-min: 16;
        --font-size-max: 20;
        --font-ratio-min: 1.2;
        --font-ratio-max: 1.33;
        --font-width-min: 375;
        --font-width-max: 1500;
    }

    html {
        color-scheme: light dark;
    }

    [data-theme='light'] {
        color-scheme: light only;
    }

    [data-theme='dark'] {
        color-scheme: dark only;
    }

    :where(.fluid) {
        --fluid-min: calc(var(--font-size-min) * pow(var(--font-ratio-min), var(--font-level, 0)));
        --fluid-max: calc(var(--font-size-max) * pow(var(--font-ratio-max), var(--font-level, 0)));
        --fluid-preferred: calc((var(--fluid-max) - var(--fluid-min)) / (var(--font-width-max) - var(--font-width-min)));
        --fluid-type: clamp((var(--fluid-min) / 16) * 1rem,
                ((var(--fluid-min) / 16) * 1rem) - (((var(--fluid-preferred) * var(--font-width-min)) / 16) * 1rem) + (var(--fluid-preferred) * var(--variable-unit, 100vi)),
                (var(--fluid-max) / 16) * 1rem);
        font-size: var(--fluid-type);
    }

    *,
    *:after,
    *:before {
        box-sizing: border-box;
    }



    .content-wrap::before {
        --size: 45px;
        --line: color-mix(in lch, canvasText, transparent 70%);
        content: '';
        height: 100vh;
        width: 100vw;
        position: fixed;
        background: linear-gradient(90deg,
                var(--line) 1px,
                transparent 1px var(--size)) 50% 50% / var(--size) var(--size),
            linear-gradient(var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size);
        mask: linear-gradient(-20deg, transparent 50%, white);
        top: 0;
        transform-style: flat;
        pointer-events: none;
        display: none;
    }

    .bear-link {
        color: canvasText;
        position: fixed;
        top: 1rem;
        left: 1rem;
        width: 48px;
        aspect-ratio: 1;
        display: grid;
        place-items: center;
        opacity: 0.8;
    }

    :where(.x-link, .bear-link):is(:hover, :focus-visible) {
        opacity: 1;
    }

    .bear-link svg {
        width: 75%;
    }

    /* Utilities */
    .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border-width: 0;
    }
}

[data-stick='true'] div.tp-dfwv {
    position: fixed;
}

section h2 {
    margin: 10px;
}

section .mobile {
    margin: 30px;
    padding: 10px;
    color: white;
}

section:last-of-type {
    padding-bottom: 10px;
    /* ou plus si tu veux plus d'espace */
}

@media screen and (max-width: 968px) {
    section .mobile {
        display: none;
    }

    section .mobile {
        display: none;


    }

    div.tp-dfwv {
        display: none !important;
    }
    
    .scroll-buffer {

    max-width: 100%;

    }
}

.scroll-buffer {
    height: 100vh;

}

.scroll-buffer p {
    margin: 10px;
    color: #333;
    font-size: 20px;
    font-style: italic;
    padding: 10px;
}

/* SEARCH CTA  */



.search-form-button {
    position: sticky;
    top: 100px;
    width: 100%;
    height: 50px;
    margin-bottom: 20px;
    z-index: 11;
}

.box {
    padding: 10px;
    height: 1200px;
}

/* Bouton centré */
.add-search-btn {
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background-color: #0c6b5b;
    color: white;
    font-size: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: 2;
}

#ecoride-recherche {
    scroll-margin-top: 120px;
}

.add-search-btn:hover {

    background-color: #09996d;
    animation: pulse 1s infinite;
}


/* Avis et commentaire  */


.avis ul {
    width: 90vw;
    max-height: auto;
    padding: 20px;
    display: flex;
    gap: 4vw;
}

.avis ul li {
    list-style-type: none;
    background-color: #eeeeee;
    border: 1px solid #dddddd;
    padding: 10px;
    max-height: auto;

    flex: 0 0 100%;

}



.avis ul {
    overflow-x: scroll;
    scroll-snap-type: x mandatory;

}

.avis ul::-webkit-scrollbar {
    display: none;
}

.avis ul li {
    scroll-snap-align: center;
}

.avis ul {
    anchor-name: --my-carousel;
}

/* Contact form styles  */

.column-1 {
    max-width: 100%;
}

.column {
    max-width: 100%;
}

.column-1 form {
    margin: 20px;
}

.column-1 h2 {
    margin: 10px;
    font-size: 20px;
}

.column-1 img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    margin-right: auto;

}


fieldset input {
    width: 90%;
    padding: 10px;
    margin: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

fieldset textarea {
    width: 90%;
    padding: 10px;
    margin: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    resize: vertical;
}

fieldset button {
    background-color: #0c6b5b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 10px;
}

fieldset button:hover {
    background-color: #09996d;
}

/* 
covoiturage filters and styles */


.filter-button {
    position: fixed;
    bottom: 10px;
    right: 20px;
    z-index: 12;
    padding: 10px;
    height: 85px;
    width: 85px;
    font-size: 18px;
    background-color: white;
    color: black;
    border: solid 2px #4c6faf;
    border-radius: 10%;
    cursor: grab;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
}

.filter-button .fas {
    color: #4c6faf;
}


.menu-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 35px;
    background: white;
    color: black;
    border: 1px solid black;
    border-radius: 8px;
    min-width: 150px;
    z-index: 10;
    flex-direction: column;
}

.menu-dropdown button {
    background: transparent;
    border: none;
    padding: 10px;
    text-align: left;
    width: 100%;
    cursor: pointer;
    color: black;
}

.menu-dropdown button:hover {
    background: rgb(233, 232, 232);
}

.publication .menu-container {
    position: absolute;
    top: 0px;
    right: 2px;
    z-index: 10;
}

.menu-btn {

    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #555;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 25%;
    transition: background 0.2s, color 0.2s;
}

.menu-btn:hover {
    background: #f0f0f0;
    color: #000;


}

.publication-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1em;
    color: #555;


}

.publication-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.profile-picture {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ccc;
    /* Placeholder */
    margin-right: 10px;
    overflow: hidden;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex-grow: 1;
}

.author-name {
    font-weight: bold;
    margin-bottom: 2px;
}

.publication-date {
    font-size: 0.8em;
    color: #777;
}

.publication {
    background-color: #fff;
    border-radius: 8px;
    border: solid 1px #3b3939;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px;
    word-break: break-word;
    width: 90%;
    margin: 20px auto;
    /* Empêche les longs mots de casser la mise en page */
}

.filter-container {
    position: absolute;
    max-width: 300px;
    border: solid 1px #3b3939;
    border-radius: 8px;
    padding: 15px;
    z-index: 9;
    background-color: #f9f9f9;
    margin: 5px;
    top: 320px;
    height: 100%;
    max-height: 100%;
    display: none;
    animation: wobble 0.5s;


}

.filter-container.active {
    display: block;
}



.apply-filters-button {
    width: 100%;
    padding: 10px;
    background-color: white;
    color: black;
    border: solid 1px #4c6faf;
    border-radius: 20px;
    cursor: pointer;
    margin-bottom: 10px;
}

/* confirmation page styles   */

.container-1 {
    background-color: #fff;
    border-radius: 8px;
    border: solid 1px #3b3939;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px;
    word-break: break-word;
    width: 90%;
    margin: 20px auto;
}


/* responsive and media queries   */

@media screen and (max-width: 968px) {
    .desktop {
        display: none;
    }
}


