/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    -webkit-tap-highlight-color: transparent; /* Enlève la surbrillance bleue au clic */
}

/* BANDE DÉFILANTE */
.slogan-marquee {
    background: #000;
    color: #FFF;
    font-weight: bold;
    font-size: 16px;
    padding: 6px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 2px solid #F7C600;
}
.slogan-marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: defilement 14s linear infinite;
}
@keyframes defilement {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* HEADER & NAVBAR (STICKY) */
.navbar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #FFF;
    padding-top: env(safe-area-inset-top); /* Gestion de l'encoche mobile */
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 40px;
    background: #FFF;
    border-bottom: 1px solid #eee;
}
.header-logo img {
    height: 80px;
    width: auto;
}
.nav {
    display: flex;
    align-items: center;
    gap: 18px;
}
.nav a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    transition: transform 0.1s ease; /* Animation fluide */
}
/* Animation clic */
.nav a:active { transform: scale(0.95); }

.nav a.active {
    border-bottom: 2px solid #F7C600;
}
.btn-call {
    background: #000;
    color: #FFF !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    transition: transform 0.1s ease;
}
.btn-call:active { transform: scale(0.95); }

.nav-phone {
    font-weight: 700;
    color: #F7C600;
}

/* BOUTONS GÉNÉRIQUES */
.btn-yellow, .btn-sms, .btn-calendar {
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: transform 0.1s ease;
}
.btn-yellow:active, .btn-sms:active, .btn-calendar:active { transform: scale(0.95); }
.btn-yellow { background: #F7C600; color: #000; }
.btn-sms { background: #000; color: #FFF; }
.btn-calendar { background: #ffffff; color: #000; border: 1px solid #ccc; }
.full-width { width: 100%; }

/* HERO FINAL */
.hero-final {
    position: relative;
    width: 100%;
    min-height: 85vh;
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px;
    gap: 40px;
    overflow: hidden;
}
.hero-final::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("file:///C|/Users/Utilisateur/Documents/images/septiles.png");
    background-size: cover;
    background-position: center;
    opacity: 0.22;
    filter: saturate(1.1) contrast(1.05);
    z-index: -1;
}
.hero-left { width: 48%; color: #000; }
.hero-left h1 { font-size: 2.8rem; font-weight: 900; margin-bottom: 10px; }
.hero-left h2 { font-size: 1.6rem; font-weight: 600; margin-bottom: 20px; }
.hero-left p { font-size: 1.2rem; margin-bottom: 30px; }
.hero-right { width: 48%; display: flex; flex-direction: column; gap: 20px; }
.hero-img-box { width: 100%; display: flex; justify-content: flex-end; }
.hero-img-box img { width: 75%; max-width: 420px; border-radius: 12px; object-fit: cover; box-shadow: 0 0 20px rgba(0,0,0,0.15); }

/* BLOC RÉSERVATION ACCUEIL */
.reservation-block { display: flex; justify-content: space-between; padding: 50px 60px; gap: 40px; background: #FFF; }
.reservation-left { width: 48%; color: #000; }
.reservation-right { width: 48%; background: #f9f9f9; padding: 24px; border-radius: 12px; box-shadow: 0 0 18px rgba(0,0,0,0.08); }

/* PAGE RÉSERVATION – HERO */
.hero-reservation { position: relative; min-height: 40vh; display: flex; align-items: center; padding: 40px 60px; background: #FFF; }
.hero-reservation::before { content: ""; position: absolute; inset: 0; background-image: url("file:///C|/Users/Utilisateur/Documents/images/septiles.png"); background-size: cover; opacity: 0.15; z-index: -1; }
.hero-reservation-inner { max-width: 600px; color: #000; }

/* PAGE RÉSERVATION – CONTENEUR FLEX */
.reservation-page-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px 60px;
    max-width: 1200px;
    margin: auto;
    align-items: flex-start;
}
.form-section, .map-section { flex: 1; min-width: 350px; }

/* CORRECTION MAP */
#map {
    height: 400px;
    width: 100%;
    display: block !important; 
    border-radius: 10px;
    border: 2px solid #F7C600;
}
.sept-iles-img { width: 100%; border-radius: 10px; margin-bottom: 20px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }

/* FORMULAIRE */
.reservation-form-wrapper { background: #f9f9f9; padding: 24px; border-radius: 12px; box-shadow: 0 0 18px rgba(0,0,0,0.08); }
.reservation-form { display: flex; flex-direction: column; gap: 12px; }
.reservation-form input, .reservation-form textarea { padding: 10px; border-radius: 8px; border: 1px solid #ccc; }

/* FOOTER */
.footer { position: relative; background: #000; color: #FFF; display: flex; align-items: center; gap: 30px; padding: 16px 40px; overflow: hidden; }
.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("file:///C|/Users/Utilisateur/Documents/images/septiles.png");
    background-size: cover;
    opacity: 0.12;
    filter: blur(3px);
    z-index: -1;
}
.footer-left img { height: 70px; }
.footer-slide { overflow: hidden; white-space: nowrap; width: 100%; }
.footer-slide span { display: inline-block; padding-left: 100%; animation: footerSlide 14s linear infinite; }
@keyframes footerSlide { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* RESPONSIVE & MOBILE */
@media (max-width: 900px) {
    .header, .footer, .reservation-page-container, .hero-final, .reservation-block { flex-direction: column; text-align: center; }
    .hero-left, .hero-right, .reservation-left, .reservation-right { width: 100%; }
}

/* MOBILE AJOUTÉE */
@media (max-width: 600px) {
    .header { padding: 10px 15px !important; }
    .hero-final { padding: 20px !important; gap: 20px !important; }
    .reservation-block, .reservation-page-container { padding: 20px !important; }
    .nav { gap: 8px !important; }
    .hero-left h1 { font-size: 1.8rem !important; }
    .hero-img-box img { width: 100% !important; }
}

/* Correction pour les cartes d'événements */
.event-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.1s ease;
}
.event-card:active { transform: scale(0.98); }

.event-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.event-details { padding: 15px; }
.btn-event-book {
    display: block;
    text-align: center;
    background: #000;
    color: #F7C600;
    padding: 12px;
    margin-top: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.1s ease;
}
.btn-event-book:active { transform: scale(0.95); }

/* Style des boutons pour attirer l'attention */
.btn-cta {
    background-color: #ffcc00; /* Jaune taxi */
    color: #000;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
    transition: background 0.3s;
}

.btn-cta:hover { background-color: #e6b800; }

.services-page { padding: 40px; max-width: 800px; margin: auto; }
.price-tag { font-size: 1.5rem; color: #d9534f; font-weight: bold; margin: 10px 0; }
section { margin-bottom: 50px; text-align: center; }