/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== STYLE GLOBAL ===== */
body {
    font-family: "Roboto", Arial, sans-serif;
    line-height: 1.6;
    color: #222;
    background-image: url(./fond/fond6.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    overflow-x: hidden;





}

/* ===== HEADER ===== */
header {
    /* background: #000000;
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 44%, rgba(10, 2, 23, 1) 100%); */
    background-color: black;





    color: #fff;
    padding: 25px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
}

header h1 {
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== NAV ===== */
nav {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-right: 25px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 100px;
}

nav a {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: #fff;
}

/* ===== MAIN ===== */
main {
    padding: 40px 20px;
    max-width: 1000px;
    margin: auto;
}

h2 {
    display: flex;
    justify-content: center;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== PRESTATIONS (SCROLL) ===== */
.liste-prestations {
    max-height: 330px;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 50px;
}

/* Scrollbar */
.liste-prestations::-webkit-scrollbar {
    width: 8px;
}

.liste-prestations::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
}

.liste-prestations::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

.liste-prestations::-webkit-scrollbar-track {
    background-color: transparent;
}

/* Carte prestation */
.prestation {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 18px 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    transition: 0.5s;
}

.prestation:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: url('./fond/scissors-cursor.png'), auto;
}

.info {
    flex: 1;
    min-width: 200px;
    text-align: left;
}

.prestation h3 {
    color: #111;
    margin-bottom: 5px;
    font-size: 1.2rem;
    font-weight: 600;
}

.prestation p {
    color: #555;
    font-size: 0.95rem;
}

/* Bouton Choisir */
.btn-choisir {
    background-color: #111;
    color: #fff;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 5px;
    font-weight: 500;
    transition: 0.3s;
    opacity: 0.8;
}



/* ===== GALERIE ===== */
#photos {
    margin-top: 50px;
}

#photos h2 {
    color: #fff;
}

.galerie {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.galerie img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    filter: grayscale(30%);
    transition: 0.4s;
}

.galerie img:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
}

/* ===== FOOTER ===== */
footer {
    background-color: #020000;
    color: #eee;
    text-align: center;
    padding: 35px 10px;
    margin: 60px 0 0 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

footer h2 {
    color: #fff;
    margin-bottom: 15px;
}

footer p {
    margin: 6px 0;
    color: #ccc;
}

/* ===== BADGES ===== */
.badge {
    width: 60px;
    height: 60px;
    object-fit: contain;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.badge-left {
    left: 500px;
    top: 117px;
    border-radius: 20px;
}

.badge-second {
    left: 100px;
    top: 117px;
    width: 60px;
    height: 60px;
    object-fit: contain;
    width: 180px;
    height: auto;
}

.badge-mid {
    left: 10;
    top: 170px;
    border-radius: 20px;
    width: 200px;
}

.badge-right {
    right: 500px;
    top: 117px;
}

/* ===== POLICES / STYLE TEXTE ===== */
header h1 {
    font-family: "Road Rage", Arial, sans-serif;
    font-size: 3rem;
}

h2 {
    font-family: "Road Rage", Arial, sans-serif;
    font-size: 2rem;
}

nav a {
    font-family: "Oswald", sans-serif;
    letter-spacing: 1px;
}

footer p {
    font-family: "Roboto", sans-serif;
}

#prestations {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.856);
}

#rea {
    font-weight: bold;
}

/* ===== PRESENTATION ===== */
.presentation {
    background-color: rgba(3, 3, 3, 0.815);
    border-radius: 5px;
    padding: 30px 40px;
    margin-bottom: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.808);
    transition: 0.5s;
}

.presentation:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.presentation h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "Road Rage", Arial, sans-serif;
    font-size: 2rem;
}

.presentation p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
    font-family: "Roboto", sans-serif;
}

.presentation p:last-child {
    margin-bottom: 0;
}

/* ===== RESPONSIVE ===== */

/* Tablettes et écrans moyens (601px à 900px) */
@media (max-width: 900px) {
    header h1 {
        font-size: 2.2rem;
    }

    main {
        padding: 30px 15px;
    }

    .badge-left {
        left: 40px;
    }

    .badge-second {
        left: 200px;
        width: 140px;
    }

    .badge-right {
        right: 40px;
    }

    .galerie {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .presentation {
        padding: 25px 30px;
    }
}

/* Tablettes portrait (601px à 768px) */
@media (max-width: 768px) {
    header {
        padding: 20px 10px;
    }

    header h1 {
        font-size: 1.8rem;
    }

    nav ul {
        gap: 15px;
        flex-wrap: wrap;
    }

    .badge {
        width: 50px;
        height: 50px;
    }

    .badge-left {
        left: 20px;
        top: 100px;
    }

    .badge-second {
        left: 150px;
        width: 120px;
        top: 100px;
    }

    .badge-mid {
        width: 150px;
        top: 110px;
    }

    .badge-right {
        right: 20px;
        top: 100px;
    }

    h2 {
        font-size: 1.7rem;
    }

    .liste-prestations {
        max-height: 300px;
    }

    .galerie img {
        height: 180px;
    }

    footer {
        padding: 25px 10px;
        margin-top: 40px;
    }
}

/* Smartphones (481px à 600px) */
@media (max-width: 600px) {
    header h1 {
        font-size: 1.6rem;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .prestation {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }

    .btn-choisir {
        align-self: flex-end;
        margin-top: 10px;
    }

    .liste-prestations {
        max-height: 280px;
    }

    .galerie {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .galerie img {
        height: 200px;
    }

    .presentation {
        padding: 20px 25px;
    }

    .presentation h2 {
        font-size: 1.6rem;
    }

    .presentation p {
        font-size: 0.95rem;
    }

    /* Masquer les badges sur petit écran */
    .badge {
        display: none;
    }
}

/* Très petits smartphones (320px à 480px) */
@media (max-width: 480px) {
    body {
        background-attachment: scroll;
    }

    header {
        padding: 15px 5px;
    }

    header h1 {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    main {
        padding: 25px 10px;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .liste-prestations {
        max-height: 250px;
        padding-right: 5px;
    }

    .prestation {
        padding: 12px 15px;
        margin-bottom: 15px;
    }

    .prestation h3 {
        font-size: 1.1rem;
    }

    .prestation p {
        font-size: 0.9rem;
    }

    .btn-choisir {
        padding: 7px 15px;
        font-size: 0.9rem;
    }

    .galerie img {
        height: 180px;
        border-radius: 8px;
    }

    .presentation {
        padding: 18px 20px;
        margin-bottom: 30px;
    }

    .presentation h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .presentation p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    footer {
        padding: 20px 10px;
        margin-top: 30px;
    }

    footer h2 {
        font-size: 1.3rem;
    }

    footer p {
        font-size: 0.9rem;
    }
}

/* Très petits écrans (max 375px) */
@media (max-width: 375px) {
    header h1 {
        font-size: 1.2rem;
    }

    nav ul {
        gap: 8px;
    }

    nav a {
        font-size: 0.9rem;
    }

    .liste-prestations {
        max-height: 220px;
    }

    .galerie img {
        height: 160px;
    }

    .presentation {
        padding: 15px;
    }
}

/* Bouton */

.calendly-btn-wrapper {
    text-align: center;
    margin: 30px 0;
}

.calendly-btn {
    display: inline-block;
    padding: 15px 30px;
    background: rgb(234, 234, 248);
    color: black;
    font-size: 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;

}

.calendly-btn:hover {

    transform: scale(1.02);


}

header {
    padding-top: 50px;
    /* augmente la hauteur intérieure du header */
    padding-bottom: 50px;
}

header h1 {
    margin-top: 20px;
    /* espace au-dessus du titre */
    margin-bottom: 30px;
    /* espace en dessous */
}


footer a {
    color: inherit;
    /* Garde la couleur du texte du parent */
    text-decoration: none;
    /* Enlève le soulignement */
}

footer a:focus,
footer a:active {
    outline: none;
    /* Enlève le contour bleu sur mobile */
}

.titre-avec-image {
    position: relative;
    text-align: center;
    margin-bottom: 100px;
    /* ✅ espace entre le titre et le paragraphe */
}

.titre-avec-image h2 {
    font-size: 2em;
    text-align: center;
    margin: 0;
}

.panneau-newyork {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 180px;
    /* ✅ doublé (avant 90px) */
    height: auto;
}

/* footer */

footer {
    background: #000;
    /* garde ta couleur */
    color: white;
    padding: 40px 20px;
}

/* Conteneur horizontal */
.footer-container {
    display: flex;
    justify-content: center;
    /* le texte reste centré */
    align-items: flex-start;
    position: relative;
    /* pour placer la map à droite */
}

/* Bloc contact centré */
.footer-center {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

/* MAP à droite */
.footer-map {
    position: absolute;
    right: 20px;
    /* ajustable */
    top: 50%;
    transform: translateY(-50%);
    /* alignement vertical au centre */
    width: 280px;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* 📱 Responsive */
@media (max-width: 850px) {
    .footer-map {
        position: static;
        transform: none;
        margin: 20px auto 0 auto;
        width: 90%;
        height: 220px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }
}





/* Carrousel */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}



.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    flex-wrap: nowrap;
    /* ⛔ empêche le passage sur une nouvelle ligne */
}

.carousel img {
    flex: 0 0 calc(33.333% - 10px);
    /* ⛔ largeur FIXE */
    width: calc(33.333% - 10px);
    /* sécurité */
    height: 250px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 10px;
}

/* Boutons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: black;
    color: white;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    opacity: 0.7;
    border: none;
    border-radius: 5px;
    z-index: 10;
}

.carousel-btn:hover {
    opacity: 1;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}