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

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
    color: #2b114f;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


img {
    display: block;
    max-width: 100%;
    height: auto;
}

.topbar {
    width: 100%;
    background: #4b0d72;
    color: white;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: 14px;
    text-align: center;
}

.topbar img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 15px 30px;
    background: white;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.logo {
    width: 220px;
    height: auto;
}

nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 22px;
    list-style: none;
}

nav a {
    color: #4b0d72;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.btn,
.btn2,
.btn-outline {
    display: inline-block;
    text-align: center;
}

.btn {
    background: linear-gradient(90deg, #ff2b92, #ff6f3c);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
}

.btn2 {
    background: linear-gradient(90deg, violet, pink);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
}

.hero,
.apropos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    padding: 80px 8%;
    gap: 50px;
}

.hero h1,
.apropos-text h1 {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: #666;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.specialite-subaquatique {
    max-width: 1200px;
    margin: 70px auto;
    padding: 55px 30px;
    border-radius: 24px;
    background: linear-gradient(135deg, #e8fbfa, #f8eafa);
    text-align: center;
}

.specialite-introduction {
    max-width: 760px;
    margin: 0 auto 42px;
}

.specialite-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #9b3f91;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.specialite-subaquatique h2 {
    margin: 0 0 18px;
    color: #253b58;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.2;
}

.specialite-subaquatique p {
    color: #4d5968;
    line-height: 1.7;
}

.specialite-btn {
    display: inline-block;
    margin-top: 18px;
    text-decoration: none;
}

.equipements-subaquatiques {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.equipement-card {
    padding: 28px 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 6px 18px rgba(37, 59, 88, 0.08);
}

.equipement-icone {
    margin-bottom: 12px;
    font-size: 2.4rem;
}

.equipement-card h3 {
    margin: 0 0 10px;
    color: #253b58;
    font-size: 1.25rem;
}

.equipement-card p {
    margin: 0;
    font-size: 0.95rem;
}

/* Adaptation sur téléphone */
@media (max-width: 700px) {
    .specialite-subaquatique {
        margin: 45px 16px;
        padding: 35px 18px;
        border-radius: 18px;
    }

    .specialite-subaquatique h2 {
        font-size: 1.8rem;
    }

    .equipements-subaquatiques {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .equipement-card {
        padding: 22px 18px;
    }

    .specialite-btn {
        width: 100%;
        box-sizing: border-box;
    }
}

.apropos {
    text-align: center;
}

.apropos-text p {
    font-size: 1rem;
    margin-bottom: 35px;
    color: #666;
}

.btn-outline {
    border: 2px solid #ff2b92;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    color: #ff2b92;
}

.hero-image img {
    width: 100%;
    border-radius: 30px;
}

.services,
.gallery {
    padding: 100px 8%;
    text-align: center;
}

.services h2,
.process h2,
.gallery h2 {
    font-size: 3rem;
    margin-bottom: 50px;
}

.services h2 {
    margin-bottom: 60px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    justify-content: center;
}

.card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.card-link .card {
    height: 100%;
    cursor: pointer;
}

.card {
    background: white;
    padding: 35px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: .3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    margin-bottom: 15px;
    color: #ff2b92;
}

.process {
    padding: 100px 8%;
    background: linear-gradient(90deg, #fff4fa, #f8f6ff);
    text-align: center;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.step {
    background: white;
    padding: 30px;
    border-radius: 20px;
    width: 250px;
}

.step span {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #ff2b92;
    color: white;
    font-weight: 700;
    position: static;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    object-fit: cover;
}

footer {
    width: 100%;
    padding: 50px 20px;
    background: linear-gradient(90deg, #00c6d7, #ff2b92, #ffb300);
    color: white;
    text-align: center;
    overflow: hidden;
     margin-top: auto;
    margin-bottom: 0;
}

footer .contact {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    text-align: center;
}

footer .contact > span {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

footer .contact > span > a {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    text-align: center;
}

footer .contact img {
    width: 52px;
    height: 52px;
    margin: 0 auto;
    object-fit: contain;
}

@media (max-width: 900px) {
    nav {
        gap: 15px;
    }

    .hero,
    .apropos {
        grid-template-columns: 1fr;
        padding: 60px 6%;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-buttons {
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .topbar {
        padding: 8px 10px;
        gap: 6px 12px;
        font-size: 11px;
    }

    .topbar img {
        width: 26px;
        height: 26px;
    }

    nav {
        flex-direction: column;
        padding: 15px 12px;
        gap: 15px;
    }

    .logo {
        width: 170px;
    }

    nav ul {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    nav li {
        width: 100%;
    }

    nav a {
        display: block;
        padding: 8px 4px;
        text-align: center;
        font-size: 13px;
        white-space: normal;
        background: #f5eafa;
        border-radius: 6px;
    }
}

@media (max-width: 600px) {
    .hero,
    .apropos {
        padding: 45px 20px;
        gap: 30px;
    }

    .hero h1,
    .apropos-text h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons .btn,
    .hero-buttons .btn2,
    .hero-buttons .btn-outline {
        width: min(280px, 100%);
    }

    .services,
    .process,
    .gallery {
        padding: 55px 20px;
    }

    .services h2,
    .process h2,
    .gallery h2 {
        font-size: 2rem;
        margin-bottom: 35px;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .card {
        padding: 25px 18px;
    }

    .steps {
        gap: 18px;
    }

    .step {
        width: 100%;
        padding: 25px 18px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-grid img {
        height: auto;
        max-height: 320px;
    }

    footer {
        padding: 30px 12px;
    }

    footer .contact {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        align-items: center;
        gap: 14px;
    }

    footer .contact > span {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    footer .contact > span > a {
        margin: 0 auto;
        text-align: center;
    }

    footer .contact .btn,
    footer .contact .btn2 {
        width: min(280px, 100%);
        padding: 12px 16px;
        font-size: 14px;
    }

    footer .contact img {
        width: 48px;
        height: 48px;
    }
}.site-header {
    width: 100%;
    margin: 0;
    padding: 0;
}



.topbar {
    width: 100%;
    min-height: 44px;
    padding: 8px 20px;
    box-sizing: border-box;
    background: #4b0d72;
    color: #ffffff;
}

.topbar-content {
    max-width: 1200px;
    min-height: 44px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;

    text-align: center;
}

.topbar-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.topbar-social {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar-social a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar-social img {
    width: 26px;
    height: 26px;
    display: block;
    object-fit: contain;
}

main {
    flex: 1;
    min-height: 0;
}

.main-navigation {
    width: 100%;
    max-width: 1200px;
    min-height: 110px;
    margin: 0 auto;
    padding: 15px 25px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: #ffffff;
}

.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    display: block;
    width: auto;
    max-width: 180px;
    height: auto;
}

.menu-principal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-principal a {
    color: #4b0d72;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.menu-principal a:hover {
    color: #d85b9d;
}

.page-catalogue .menu-principal a {
    pointer-events: none;
    cursor: default;
}

@media (max-width: 768px) {
    .topbar-content {
        flex-wrap: wrap;
        gap: 6px 16px;
    }

    .topbar-info {
        white-space: normal;
        font-size: 13px;
    }

    .main-navigation {
        min-height: auto;
        padding: 15px;
        flex-direction: column;
        justify-content: center;
    }

    .logo {
        max-width: 160px;
    }
    

    .menu-principal {
        flex-direction: column;
        gap: 12px;
    }
}

/* Uniquement sur catalogue.php */


@media (max-width: 600px) {
    .site-header.catalogue-header .logo-link,
    .site-header.catalogue-header .logo {
        background-color: transparent !important;
        box-shadow: none;
    }
}

.prestation-page {
    max-width: 1000px;
    margin: 60px auto;
    padding: 20px;
    text-align: center;
}

.prestation-page h1 {
    color: #7d3cff;
    margin-bottom: 30px;
}

.prestation-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.carousel-image-container {
    width: min(700px, 80vw);
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 18px;
    background: #f5efff;
    box-shadow: 0 8px 25px rgba(90, 50, 130, 0.18);
}
.carousel-image {
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

#image-carousel {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-button {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: #9b4dca;
    color: white;
    font-size: 25px;
    cursor: pointer;
    transition: 0.3s;
}

.carousel-button:hover {
    background: #72269e;
    transform: scale(1.08);
}

#description-prestation {
    margin: 25px auto;
    max-width: 650px;
    font-size: 17px;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media screen and (max-width: 600px) {
    .prestation-carousel {
        gap: 8px;
    }

    .carousel-image-container {
        width: 75vw;
        height: 330px;
    }

    .carousel-button {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
}

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

.menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
}

.container-contact {
    max-width: 1100px;
    margin: auto;
    padding: 60px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info,
.formulaire {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.info h2,
.formulaire h2 {
    margin-bottom: 30px;
    font-size: 2em;
    color: #111;
}

.info p {
    margin-bottom: 18px;
}

.info h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.container-contact ul {
    padding-left: 20px;
}

.container-contact li {
    margin-bottom: 12px;
}

.formulaire input,
.formulaire textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: Poppins, sans-serif;
    box-sizing: border-box;
}

.formulaire textarea {
    height: 180px;
    resize: vertical;
}

.formulaire button {
    background: #000;
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 40px;
    font-size: 16px;
    cursor: pointer;
    transition: .3s;
}

.formulaire button:hover {
    background: #444;
}

.bandeau {
    padding: 50px;
    text-align: center;
    background: linear-gradient(90deg, #00c6d7, #ff2b92, #ffb300);
    color: white;
}

.bandeau h2 {
    margin-bottom: 15px;
}

@media (max-width: 850px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}


.avis-google {
    max-width: 1100px;
    margin: 70px auto 30px;
    padding: 55px 25px;
    text-align: center;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .07);
}

.avis-google-intro {
    max-width: 700px;
    margin: 0 auto 35px;
}

.avis-surtitre {
    display: block;
    margin-bottom: 12px;
    color: #e52b8a;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    font-size: .85rem;
}

.avis-google h2 {
    margin-bottom: 15px;
    color: #222;
    font-size: 2rem;
}

.avis-google p {
    margin: 0 auto;
    color: #666;
    line-height: 1.7;
}

@media (max-width: 700px) {
    .avis-google {
        margin: 45px 15px 25px;
        padding: 35px 15px;
    }

    .avis-google h2 {
        font-size: 1.6rem;
    }
}

.apropos {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    align-items: start;
    gap: 55px;
    max-width: 1250px;
    margin: 0 auto;
    padding: 80px 6%;
}

.apropos-text {
    width: 100%;
    text-align: center;
}

.avis-google {
    width: 100%;
    margin: 0;
    padding: 35px 22px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    text-align: center;
}

.avis-google-intro {
    margin-bottom: 28px;
}

.avis-surtitre {
    display: block;
    margin-bottom: 12px;
    color: #e52b8a;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.avis-google h2 {
    margin: 0 0 15px;
    color: #2b114f;
    font-size: 1.7rem;
    line-height: 1.25;
}

.avis-google p {
    margin: 0 auto;
    color: #666;
    line-height: 1.6;
}

.avis-google {
    width: 100%;
    min-width: 0;
    min-height: 250px;
    margin: 0;
    padding: 35px 22px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    text-align: center;
}

.avis-google .elfsight-app-3df786e9-5686-41b7-8d85-58c9627f7806 {
    width: 100%;
    min-height: 180px;
    margin-top: 25px;
}

/* Correction mobile de la page À propos */
@media (max-width: 900px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .apropos {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 45px 15px;
        box-sizing: border-box;
    }

    .apropos-text,
    .avis-google {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .avis-google {
        position: static;
        overflow: hidden;
        margin-top: 40px;
        padding: 28px 12px;
        border-radius: 15px;
    }

    .avis-google-intro {
        max-width: 100%;
        margin-bottom: 25px;
    }

    .avis-google h2 {
        font-size: 1.45rem;
        line-height: 1.3;
        overflow-wrap: break-word;
    }

    .avis-google p {
        font-size: .95rem;
        line-height: 1.55;
    }

    .avis-google .elfsight-app-3df786e9-5686-41b7-8d85-58c9627f7806 {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        overflow: hidden;
    }
}
.carousel-image {
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.vignette-services {
    width: 190px;
    height: 105px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .vignette-services {
        width: 130px;
        height: 75px;
    }
}
.prestation-carousel {
    display: grid;
    grid-template-columns: 45px minmax(0, 660px) 45px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0 auto;
}

.carousel-button.previous {
    grid-column: 1;
}

.carousel-image-container {
    grid-column: 2;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.carousel-button.next {
    grid-column: 3;
}

#image-carousel,
#video-carousel {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#image-carousel {
    display: block;
}

#video-carousel {
    display: none;
}

@media (max-width: 768px) {
    .prestation-carousel {
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        gap: 5px;
    }

    .carousel-image-container {
        height: 330px;
    }

    .carousel-button {
        width: 36px;
        height: 48px;
    }
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
}

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

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    #menu-principal {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    #menu-principal.is-open {
        display: flex;
    }
}

/* Menu mobile */
#menu-principal {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 15px auto;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #4b0d72;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

/* Texte accessible pour les lecteurs d'écran, invisible visuellement */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    #menu-principal {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 10px;
    }

    #menu-principal.is-open {
        display: flex;
    }

    #menu-principal li,
    #menu-principal a {
        width: 100%;
        text-align: center;
    }

    #menu-principal a {
        display: block;
        padding: 14px 10px;
        border-radius: 12px;
        background: #f4e6fa;
        color: #4b0d72;
        font-size: 18px;
    }
}

.menu-toggle {
    display: none;
    border: 0;
    padding: 8px 12px;
    color: #4b0d72;
    font-size: 2rem;
    line-height: 1;
    background: transparent;
    cursor: pointer;
}

#menu-principal {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#menu-principal a {
    text-decoration: none;
}

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

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1001;
    }

    #menu-principal {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-top: 15px;
        padding: 10px 0;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }

    #menu-principal.menu-ouvert {
        display: flex;
    }

    #menu-principal li {
        width: 100%;
    }

    #menu-principal a {
        display: block;
        padding: 12px 20px;
    }
}