/* --------------------
   RESET + BASE
-------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    background: #f5f5f5;
    color: #222;
    line-height: 1.6;
}

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

/* --------------------
   HEADER
-------------------- */
header {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo {
    height: 60px;
    transition: transform .3s;
}

.logo:hover {
    transform: scale(1.05);
}

nav a {
    margin-left: 25px;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

nav a::after {
    content: "";
    width: 0%;
    height: 2px;
    background: #1C69D4; /* BLEU BMW */
    position: absolute;
    left: 0;
    bottom: -4px;
    transition: .3s;
}

nav a:hover::after {
    width: 100%;
}

.btn-leboncoin {
    background: #1C69D4; /* BLEU BMW */
    padding: 10px 18px;
    border-radius: 6px;
    color: #fff !important;
    transition: .3s;
}

.btn-leboncoin:hover {
    background: #0F4CAB; /* BLEU FONCÉ BMW */
}

/* --------------------
   HERO
-------------------- */
.premium-hero {
    background: #f3f4f6; /* gris clair premium */
    padding: 80px 20px;
}

.hero-content {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.hero-tag {
    display: inline-block;
    background: #111;
    color: #fff;
    padding: 6px 14px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
}

.hero-content h2 {
    font-size: 20px;
    font-weight: 400;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.4;
}

.hero-content p {
    font-size: 17px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
}

.hero-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta {
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.cta.primary {
    background: #111;
    color: #fff;
}

.cta.primary:hover {
    background: #333;
}

.cta.secondary {
    border: 2px solid #111;
    color: #111;
}

.cta.secondary:hover {
    background: #111;
    color: #fff;
}

/* --------------------
   TITRES DE SECTIONS
-------------------- */
.section-title {
    text-align: center;
    margin-bottom: 35px;
    font-size: 2rem;
    font-weight: 700;
    color: #222;
}

/* --------------------
   PRESTATIONS
-------------------- */
.prestations {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    padding: 20px;
}

.presta-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: transform .25s, box-shadow .25s;
    font-weight: 600;
    font-size: 1.05rem;
}

.presta-card i {
    font-size: 26px;
    margin-bottom: 10px;
    display: block;
    color: #1C69D4; /* BLEU BMW */
}

.presta-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* --------------------
   MODAL
-------------------- */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 450px;
    animation: fadeIn .4s ease;
}

@keyframes fadeIn {
    from { transform: scale(.95); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.close {
    float: right;
    font-size: 1.8rem;
    cursor: pointer;
}

/* --------------------
   GALERIE
-------------------- */
.galerie {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding: 10px 20px;
}

.galerie img {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: .3s;
}

.galerie img:hover {
    transform: scale(1.03);
}

/* --------------------
   FORMULAIRE CONTACT
-------------------- */
form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, textarea {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

button {
    background: #1C69D4; /* BLEU BMW */
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    transition: .3s;
}

button:hover {
    background: #0F4CAB; /* BLEU BMW FONCÉ */
}

/* --------------------
   FOOTER
-------------------- */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background: #0A2E70; /* BLEU BMW TRÈS FONCÉ */
    color: #fff;
}

/* --------------------
   RESPONSIVE MENU
-------------------- */
@media(max-width: 820px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    nav a {
        margin: 10px;
        display: inline-block;
    }
}
/* --------------------
   CARROUSEL HERO
-------------------- */
.hero-carousel {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-text {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: white;
    text-shadow: 0 0 10px black;
    font-size: 2rem;
    font-weight: 700;
}

/* Flèches */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 45px;
    color: white;
    cursor: pointer;
    padding: 10px;
    user-select: none;
    z-index: 5;
    transition: 0.3s;
}

.carousel-arrow:hover {
    color: #1C69D4;
}

.carousel-arrow.left {
    left: 20px;
}

.carousel-arrow.right {
    right: 20px;
}

/* Points */
.carousel-dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.carousel-dots .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.6;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: .3s;
}

.carousel-dots .dot.active {
    opacity: 1;
    background: #1C69D4; /* Bleu BMW */
}

/* Mobile */
@media(max-width: 768px) {
    .carousel-text {
        font-size: 1.4rem;
        left: 20px;
        bottom: 20px;
    }
}

.media-section {
  margin-top: 40px;
}

