/* ============================================================
   CSS FINAL — Responsive mobile complet
   Corrections : hamburger nav, page professionnels, textes
   ============================================================ */

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

body {
    font-family: 'Montserrat', sans-serif;
    background: #f5f3ef;
    color: #1e1e1e;
    overflow-x: hidden;
}


/* ════════════════════════════════════════
   HEADER
════════════════════════════════════════ */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 40px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    box-sizing: border-box;
    z-index: 1000;
}

nav {
    display: flex;
    gap: 42px;
}

nav a {
    text-decoration: none;
    color: #111;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    opacity: 0.6;
    color: #7c8b75;
}

.logo img,
.logo-home img,
.logo-professionnels img {
    width: 150px;
    height: auto;
    object-fit: contain;
}

span {
    font-weight: bold;
}

.home header nav a:hover,
.professionnels header nav a:hover {
    color: #d4af37;
}

/* ── Bouton hamburger (caché sur desktop) ── */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    z-index: 1100;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #1e1e1e;
    border-radius: 2px;
    transition: all 0.3s ease;
    font-weight: normal;  /* reset du span global */
}

/* Animation croix quand menu ouvert */
.burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
    opacity: 0;
}
.burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* Slides en image de fond */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.5s ease, transform 6s ease;
    overflow: hidden;
}

/* Si les slides utilisent des <img> à la place du background */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10%;
    padding-right: 5%;
    color: white;
}

.hero-content span {
    letter-spacing: 4px;
    font-size: 13px;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-content h1 {
    font-size: 54px;
    line-height: 1.1;
    font-weight: 300;
    margin-bottom: 30px;
}

.hero-content p {
    font-size: 18px;
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    width: fit-content;
    padding: 18px 40px;
    background: white;
    color: #1e1e1e;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    transition: 0.4s;
}

.btn:hover {
    background: #d9dfd3;
}


/* ════════════════════════════════════════
   INTRO
════════════════════════════════════════ */

.intro {
    display: flex;
    padding: 80px 10%;
    gap: 100px;
    align-items: center;
}

.intro-left {
    flex: 1;
}

.intro-right {
    flex: 1;
}

.intro h2 {
    font-size: 50px;
    font-weight: 300;
    line-height: 1.2;
}

.intro p {
    margin-bottom: 30px;
    line-height: 2;
    color: #555;
    font-size: 19px;
}


/* ════════════════════════════════════════
   SERVICES
════════════════════════════════════════ */

.services {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 10%;
    margin-bottom: 40px;
}

.service-card {
    flex: 1;
    min-width: 220px;
    background: white;
    padding: 50px;
    transition: 0.4s;
}

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

.number {
    font-size: 50px;
    color: #d9dfd3;
    margin-bottom: 30px;
    font-weight: 700;
}

.service-card h3 {
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 400;
}

.service-card p {
    line-height: 1.9;
    color: #666;
}


/* ════════════════════════════════════════
   IMAGE SECTION
════════════════════════════════════════ */

.image-section {
    height: 60vh;
    min-height: 280px;
    background: url('images/image4.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.image-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-overlay h2 {
    color: white;
    font-size: 56px;
    font-weight: 300;
    text-align: center;
    padding: 0 20px;
}


/* ════════════════════════════════════════
   PAGE HERO (particuliers / professionnels)
════════════════════════════════════════ */

.page-hero {
    height: 35vh;
    min-height: 160px;
    background: #dfe5dc;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10%;
}

.page-hero h1 {
    font-size: 35px;
    font-weight: 300;
    color: #1e1e1e;
    line-height: 1.7;
    text-align: center;
}

.page-content {
    padding: 120px 10%;
    max-width: 1100px;
    margin: auto;
}

.page-content h2 {
    font-size: 48px;
    margin-bottom: 40px;
    font-weight: 300;
}

.page-content p {
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
}


/* ════════════════════════════════════════
   CONTACT
════════════════════════════════════════ */

.contact-container {
    display: flex;
    min-height: 100vh;
}

.contact-content {
    flex: 1;
    background: #d9dfd3;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-images {
    flex: 1;
    min-height: 300px;
}

.contact-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.subtitle p {
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #666;
    margin-bottom: 10px;
    font-size: 12px;
    margin-top: 15px;
}

.subtitle h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: #222;
}

.description {
    line-height: 2;
    font-size: 16px;
    color: #2f2f2f;
    margin-bottom: 0;
    max-width: 500px;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
}

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

.contact-item {
    margin-bottom: 20px;
}

.contact-label {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    color: #555;
}

.contact-value {
    margin-top: 5px;
    font-size: 1rem;
    color: #222;
}

.btn-contact {
    display: inline-block;
    width: fit-content;
    padding: 15px 35px;
    background: #222;
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-contact:hover {
    background: #555;
}

.contact-form button:hover {
    background: #6e7c67;
}


/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */

footer {
    background: #1e1e1e;
    color: white;
    padding: 60px 10%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    font-size: 10px;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}


/* ════════════════════════════════════════
   SECTION PREMIUM
════════════════════════════════════════ */

.premium-section {
    background: #f7f5f2;
    padding-bottom: 120px;
}

.premium-carousel {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    margin-top: 90px;
}

.slides {
    display: none;
    width: 100%;
    height: 100%;
}

.slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.78);
}

.premium-overlay {
    position: absolute;
    bottom: 30%;
    left: 8%;
    color: white;
    z-index: 10;
    max-width: 700px;
}

.premium-subtitle {
    display: inline-block;
    margin-bottom: 18px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
}

.premium-overlay h2 {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 300;
    letter-spacing: -2px;
}

.premium-content {
    max-width: 1100px;
    margin: 100px auto 0 auto;
    padding: 0 40px;
}

.premium-content h2 {
    font-size: 25px;
    line-height: 1.2;
}

.premium-content p {
    font-size: 15px;
    line-height: 2;
    color: #2a2a2a;
    margin-bottom: 40px;
    font-weight: 300;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 24px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: 0.4s ease;
}

.prev:hover,
.next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.prev { left: 30px; }
.next { right: 30px; }

.fade {
    animation: fadeEffect 1.2s ease;
}

@keyframes fadeEffect {
    from { opacity: 0.4; transform: scale(1.02); }
    to   { opacity: 1;   transform: scale(1);    }
}


/* ════════════════════════════════════════
   SERVICES PRO
════════════════════════════════════════ */

.services-pro {
    max-width: 800px;
    margin: auto;
    padding: 70px 20px;
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.9;
}

.services-pro h2 {
    font-size: 25px;
    margin-bottom: 35px;
    color: #111;
    font-weight: 600;
}

.services-pro li {
    font-size: 19px;
    margin-left: 20px;
}

.services-pro p {
    font-size: 17px;
    margin-top: 20px;
	margin-bottom: 35px;
}

.custom-list-pro {
    list-style: none;
    padding: 0;
    margin-bottom: 50px;
}

.custom-list-pro li {
    position: relative;
    padding-left: 20px;
    padding-right: 0;
    margin-bottom: 20px;
    font-size: 18px;
}

.custom-list-pro li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: #333;
    font-weight: bold;
}


/* ════════════════════════════════════════
   GALERIES
════════════════════════════════════════ */

.image-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 60px auto;
    max-width: 1400px;
    padding: 0 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
}

.gallery-item img {
    width: 90%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease, filter 0.8s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(0.92);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.15), rgba(0,0,0,0));
    opacity: 0;
    transition: 0.6s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.image-gallery-pro {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 60px auto;
    max-width: 1600px;
    padding: 0 20px;
}

.gallery-item-pro {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

.gallery-item-pro img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease, filter 0.8s ease;
}

.gallery-item-pro:hover img {
    transform: scale(1.08);
    filter: brightness(0.92);
}

.gallery-item-pro::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.15), rgba(0,0,0,0));
    opacity: 0;
    transition: 0.6s ease;
}

.gallery-item-pro:hover::after {
    opacity: 1;
}


/* ════════════════════════════════════════
   TABLETTE  (max-width: 1100px)
════════════════════════════════════════ */

@media (max-width: 1100px) {

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

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

    .gallery-item-pro img {
        height: 360px;
    }

    .intro {
        gap: 50px;
        padding: 60px 6%;
    }

    .intro h2 {
        font-size: 40px;
    }

    .premium-overlay h2 {
        font-size: 48px;
    }
}


/* ════════════════════════════════════════
   MOBILE  (max-width: 768px)
════════════════════════════════════════ */

@media (max-width: 768px) {

    /* ── HEADER & NAVIGATION HAMBURGER ── */

    header {
        padding: 16px 20px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        /* hauteur fixe pour que le menu absolu se positionne bien */
        position: fixed;
    }

    .logo img,
    .logo-home img,
    .logo-professionnels img {
        width: 110px;
    }

    /* Burger visible en mobile */
    .burger {
        display: flex;
    }

    /* Nav fermé par défaut en mobile */
    nav {
        display: none;                    /* caché */
        flex-direction: column;
        gap: 0;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        z-index: 1050;
        justify-content: center;
        align-items: center;
        padding: 80px 30px 40px;
    }

    /* Nav ouvert via JS (classe .open) */
    nav.open {
        display: flex;
    }

    nav a {
        font-size: 18px;
        letter-spacing: 2px;
        padding: 16px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0,0,0,0.06);
        color: #1e1e1e;
    }

    nav a:last-child {
        border-bottom: none;
    }

    /* ── HERO ── */

    .hero {
        height: 100svh;
    }

    .hero-content {
        padding: 0 24px;
        justify-content: flex-end;
        padding-bottom: 70px;
    }

    .hero-content span {
        font-size: 10px;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .hero-content h1 {
        font-size: 26px;
        line-height: 1.3;
        margin-bottom: 14px;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .btn {
        padding: 14px 28px;
        font-size: 12px;
    }

    /* ── INTRO ── */

    .intro {
        flex-direction: column;
        padding: 50px 24px;
        gap: 24px;
    }

    .intro h2 {
        font-size: 24px;
        line-height: 1.3;
    }

    .intro p {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 12px;
    }

    /* ── SERVICES ── */

    .services {
        flex-direction: column;
        padding: 0 24px;
        gap: 16px;
        margin-bottom: 24px;
    }

    .service-card {
        padding: 28px 24px;
        min-width: unset;
    }

    .service-card h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .number {
        font-size: 36px;
        margin-bottom: 14px;
    }

    /* ── IMAGE SECTION ── */

    .image-section {
        height: 40vh;
        min-height: 220px;
    }

    .image-overlay h2 {
        font-size: 20px;
        padding: 0 24px;
        text-align: center;
    }

    /* ── PAGE HERO ── */

    .page-hero {
        height: auto;
        padding: 100px 24px 40px;
        min-height: unset;
    }

    .page-hero h1 {
        font-size: 22px;
        text-align: center;
    }

    /* ── PAGE CONTENT ── */

    .page-content {
        padding: 40px 24px;
    }

    .page-content h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .page-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    /* ── CONTACT ── */

    .contact-container {
        flex-direction: column;
        min-height: unset;
    }

    .contact-images {
        min-height: 260px;
        order: -1;
    }

    .contact-content {
        padding: 40px 24px;
    }

    .subtitle h1 {
        font-size: 1.8rem;
    }

    .description {
        font-size: 14px;
        max-width: 100%;
    }

    .btn-contact {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    /* ── FOOTER ── */

    footer {
        padding: 40px 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    /* ── GALERIES ── */

    .image-gallery,
    .image-gallery-pro {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 24px;
        margin: 40px auto;
    }

    .gallery-item img {
        height: 240px;
    }

    .gallery-item-pro img {
        height: 260px;
    }

    /* ── PREMIUM CARROUSEL ── */

    .premium-carousel {
        height: 65vh;
        margin-top: 60px;
    }

    .premium-overlay {
        left: 20px;
        right: 20px;
        bottom: 10%;
        max-width: 100%;
    }

    .premium-overlay h2 {
        font-size: 30px;
        line-height: 1.2;
        letter-spacing: -0.5px;
    }

    .premium-content {
        padding: 0 24px;
        margin-top: 50px;
    }

    .premium-content h2 {
        font-size: 20px;
    }

    .premium-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .prev,
    .next {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .prev { left: 12px; }
    .next { right: 12px; }

    /* ── SERVICES PRO (page professionnels) ── */

    .services-pro {
        padding: 40px 24px;
    }

    .services-pro h2 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    /* Correction débordement textes */
    .services-pro li {
        font-size: 15px;
        margin-left: 0;
    }

    .services-pro p {
        font-size: 15px;
        margin-top: 20px;
    }

    .custom-list-pro li {
        font-size: 14px;
        padding-left: 18px;
        padding-right: 0;
        margin-bottom: 12px;
    }
}


/* ════════════════════════════════════════
   TRÈS PETITS ÉCRANS  (max-width: 380px)
════════════════════════════════════════ */

@media (max-width: 380px) {

    .hero-content h1 {
        font-size: 22px;
    }

    .premium-overlay h2 {
        font-size: 24px;
    }

    .subtitle h1 {
        font-size: 1.5rem;
    }

    .intro h2 {
        font-size: 20px;
    }
}
