﻿#wrapper, .burger {
    flex-direction: column
}

.hero, .tarif {
    text-align: center
}

#wrapper, .hero-img, footer, header.hero, main {
    width: 100%
}

.hero, .hero > * {
    position: relative
}

.burger, .hero {
    background: 0 0
}

    .burger span, .menu a:hover {
        background-color: var(--color-primary)
    }

.avis, .menu {
    visibility: hidden
}

    .avis.active, .menu.open {
        opacity: 1;
        visibility: visible
    }

    .menu a, footer a {
        text-decoration: none
    }

.burger, .close {
    cursor: pointer
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body, html {
    height: 100%;
    min-height: 100%;
    background: linear-gradient(to bottom,#0b1c2c 0,#132a3a 40%,#0a141d 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    color: #fff;
    font-family: 'Segoe UI',sans-serif
}

:root {
    --color-primary: #0077b6;
    --color-secondary: #03152c;
    --color-accent: #90e0ef
}

#wrapper {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: flex-start
}

main {
    flex: 1
}

.section-center {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem
}

.section-padding {
    padding: 1rem 0
}

.section-margin-top {
    margin-top: 1rem
}

.section-title {
    font-size: clamp(1.6rem,4vw,2rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-accent)
}

.tarif {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0077b6;
    margin: 1rem 0 2rem
}

.avis, footer a {
    color: var(--color-accent)
}

.hero {
    padding: 2rem 0
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: 1200px; /* tu peux ajuster */
    margin: 0 auto;
    aspect-ratio: 16/9; /* ❤️ le ratio parfait */
    overflow: hidden;
    border-radius: 12px;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ❤️ recadrage propre */
    display: block;
}


.hero > * {
    z-index: 2
}

.floating-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2000
}

    .floating-logo img {
        width: 80px;
        height: auto;
        aspect-ratio: 1/1;
        border-radius: 50%;
        border: 3px solid #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,.3);
        object-fit: cover
    }

.burger {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 2500;
    width: 40px;
    height: 40px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px
}

.menu, .overlay {
    position: fixed;
    height: 100vh;
    pointer-events: none;
    opacity: 0;
    top: 0
}

.menu, footer {
    background-color: var(--color-secondary)
}

.burger span {
    display: block;
    width: 24px;
    height: 3px;
    border-radius: 2px;
    transition: .3s
}

.menu {
    right: 0;
    width: 220px;
    display: flex;
    flex-direction: column;
    padding-top: 4rem;
    z-index: 2000;
    transform: translateX(100%);
    transition: transform .3s,opacity .3s,visibility .3s
}

.avis-slider, footer {
    padding: 2rem;
    text-align: center
}

.menu.open {
    transform: translateX(0);
    pointer-events: auto
}

.menu a {
    color: #fff;
    padding: 1rem;
    border-bottom: 1px solid var(--color-accent)
}

.overlay {
    left: 0;
    width: 100vw;
    background: rgba(0,0,0,.4);
    z-index: 1500;
    transition: opacity .3s
}

.menu.open ~ .overlay {
    opacity: 1;
    pointer-events: auto
}

.burger.open span:first-child {
    transform: rotate(45deg) translate(5px,5px)
}

.burger.open span:nth-child(2) {
    opacity: 0
}

.burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px,-5px)
}

.port-container {
    width: 100%;
    max-width: 800px;
    margin: 1rem auto;
    text-align: center
}

    .port-container img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0,0,0,.2)
    }

.avis-slider {
    border-radius: 12px;
    backdrop-filter: blur(6px);
    max-width: 800px;
    margin: 1rem auto 0;
    position: relative;
    overflow: hidden;
    background: 0 0
}

    .avis-slider h2 {
        color: var(--color-primary);
        margin-bottom: 2rem;
        font-size: clamp(1.5rem,4vw,2rem);
        line-height: 1.2
    }

.avis-container {
    position: relative;
    min-height: 120px
}

.avis {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out,visibility 1s ease-in-out;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-style: italic;
    padding: 1rem 2rem;
    text-align: center;
    line-height: 1.4
}

    .avis.active {
        z-index: 1
    }

footer {
    color: #fff;
    font-size: .9rem
}

    footer a {
        margin: 0 .5rem
    }

        footer a:hover {
            text-decoration: underline
        }

.footer-links {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap
}

.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.6)
}

.modal-content {
    background: #fff;
    color: #000;
    margin: 10% auto;
    padding: 20px;
    border-radius: 12px;
    width: 80%;
    max-width: 400px;
    text-align: center
}

.container, .map-container {
    max-width: 800px;
    width: 100%
}

.close {
    float: right;
    font-size: 24px
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 1rem
}

.contact-btn, .round-btn {
    text-decoration: none;
    display: inline-block
}

.round-btn {
    padding: 12px 20px;
    border-radius: 50px;
    color: #fff;
    font-weight: 700
}

.whatsapp {
    background: #25d366
}

.facebook {
    background: #1877f2
}

.email {
    background: #555
}

.phone {
    background: #ff9800
}

.instagram {
    background: #e1306c
}

.contact-btn, .reserve-btn {
    background: var(--color-primary);
    font-weight: 700;
    color: #fff;
    cursor: pointer
}

.contact-btn {
    border: none;
    padding: .75rem 1.5rem;
    border-radius: 4px;
    margin: 2rem 0
}

.button, .item, .slide {
    display: flex
}

.contact-btn:hover, .reserve-btn:hover {
    background: var(--color-secondary)
}

.map-container {
    margin: 0 auto;
    padding: 0
}

.map-embed {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden
}

    .map-embed iframe {
        width: 100%;
        height: 100%;
        border: 0
    }

@media (max-width:768px) {
    .footer-links {
        flex-wrap: wrap;
        gap: .5rem
    }

    .floating-logo img {
        width: 64px
    }

    .map-embed {
        height: 320px
    }
}

.reserve-btn {
    margin-top: 1rem;
    border: none;
    padding: .75rem 1.5rem;
    border-radius: 4px;
    transition: background .3s
}

section {
    background: 0 0 !important
}

.container {
    margin: 2rem auto;
    aspect-ratio: 2/1;
    overflow: hidden;
    border-radius: 12px;
    position: relative
}

.slide {
    transition: transform .5s;
    width: 100%;
    height: 100%
}

.item {
    flex: 0 0 100%;
    background-size: cover;
    background-position: center;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 1rem
}

    .item .content {
        /* background: rgba(0,0,0,0.4); */
        text-shadow: 0 2px 6px rgba(0,0,0,0.8);
        padding: 1rem;
        border-radius: 8px;
    }

    .item .name {
        font-size: 1.5rem;
        font-weight: bold;
    }

    .item .des {
        margin-top: 0.5rem;
        font-size: 1.3rem;
        font-weight: bold;
    }
    .item .content * {
        -webkit-text-stroke: 1px rgba(0,0,0,0.8);
    }
.button {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    justify-content: space-between;
    padding: 0 1rem;
    transform: translateY(-50%)
}

    .button button {
        background: rgba(0,0,0,.4);
        color: #fff;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        cursor: pointer
    }

        .button button:hover {
            background: rgba(0,0,0,.7)
        }

@media (max-width:600px) {
    .item .name {
        font-size: 1.2rem
    }

    .item .des {
        font-size: 1rem
    }
}
/*mecanique*/
.mecha-box {
    text-align: center;
}

    .mecha-box .contact-btn {
        display: inline-block;
        margin: 1.5rem auto 0;
    }

.mecha-list {
    list-style: none; /* enlève les points */
    padding: 0;
    margin: 1rem 0;
}

    .mecha-list li {
        margin: 0.3rem 0;
        color: var(--color-accent);
    }

.flash-location {
    margin-top: 1rem;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffeb3b; /* jaune vif lisible */
    animation: flashLocation 1.2s infinite alternate;
}

@keyframes flashLocation {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.35;
    }
}