:root {
    --primary-color: #353332;
    --accent-color: #D6C1A3;
    --secondary-color: #8C7A6B;
    --bg-color: #F5F0EA;
    --text-color: #353332;
    --light-text: #F5F0EA;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
}

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

ul, li {
    list-style: none;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 10px 50px;
    z-index: 1000;
    background-color: transparent;
    transition: all 0.3s ease;
}

header.opaque-header {
    background-color: rgba(245, 240, 234, 0.97);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.nav-left, .nav-right {
    display: flex;
    flex: 1;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-color);
}

nav ul li a.active {
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
}

.logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo-main {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary-color);
}

/* ============================================
   HAMBURGER MENU
   ============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(245, 240, 234, 0.98);
    padding: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.mobile-menu.open {
    display: block;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

/* ============================================
   SLIDER PAGE ACCUEIL
   ============================================ */
.slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.slide.active {
    opacity: 1;
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.slider-sub {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: white;
}

/* ============================================
   PAGE CONTENT
   ============================================ */
.page-content {
    padding-top: 80px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about {
    background-color: white;
    padding-bottom: 80px;
}

.about-hero {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto 60px auto;
    padding: 60px 40px 0 40px;
}

.about-hero-image {
    flex: 0 0 420px;
}

.about-hero-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.about-hero-text {
    flex: 1;
    padding-top: 20px;
}

.about-hero-text h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.about-hero-text .intro {
    font-family: var(--font-serif);
    font-style: italic;
    color: #BC7A6B;
    font-size: 1rem;
    margin-bottom: 30px;
}

.about-hero-text p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.about-content p {
    font-size: 1.05rem;
    margin-bottom: 25px;
    line-height: 1.8;
}

.about h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.about .intro {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 40px;
    color: var(--accent-color);
}

.about-details, .about-vision {
    margin: 60px 0;
    padding: 40px;
    background-color: var(--bg-color);
    text-align: left;
}

.about h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 50px 0;
}

.about-gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.about-final {
    font-size: 1.1rem !important;
    font-style: italic;
    margin: 40px 0 20px !important;
}

.signature {
    font-family: 'Homemade Apple', cursive;
    font-size: 2rem;
    margin-top: 20px;
    color: var(--accent-color);
    display: block;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    margin-top: 80px;
    padding-top: 50px;
    border-top: 1px solid #eee;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.testimonial-item {
    background: var(--bg-color);
    padding: 40px;
    text-align: left;
}

.testimonial-item p {
    font-style: italic;
    font-size: 1rem;
    margin-bottom: 20px;
}

.testimonial-item .author {
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--accent-color);
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio {
    padding: 60px 50px 100px;
}

.portfolio h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
}

.categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 50px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    color: var(--text-color);
}

.filter-btn.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.gallery {
    column-count: 3;
    column-gap: 15px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 15px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 85vw;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 4rem;
    cursor: pointer;
    padding: 10px 20px;
    z-index: 10000;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lightbox-prev:hover, .lightbox-next:hover {
    opacity: 1;
}

.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 100px 50px;
    background-color: var(--bg-color);
    text-align: center;
}

.contact h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    margin-bottom: 30px;
}

.contact-header {
    margin-bottom: 40px;
}

.contact-header p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.contact-header h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--accent-color);
}

.contact-info-text {
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1rem;
    line-height: 1.8;
}

.promo-text {
    margin-top: 20px;
    font-weight: 600;
    color: var(--accent-color);
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#contact-form input,
#contact-form select,
#contact-form textarea {
    padding: 15px;
    border: 1px solid var(--accent-color);
    background-color: white;
    font-family: var(--font-sans);
    font-size: 1rem;
    outline: none;
}

#contact-form button {
    cursor: pointer;
    border: none;
    align-self: center;
    margin-top: 20px;
    padding: 12px 40px;
    background-color: var(--accent-color);
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    transition: background 0.3s ease;
}

#contact-form button:hover {
    background-color: var(--secondary-color);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 60px 50px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    letter-spacing: 5px;
}

.footer-contact p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    opacity: 0.85;
}

.footer-contact a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.copyright {
    margin-top: 20px;
    opacity: 0.5;
    font-size: 0.7rem;
}

/* ============================================
   RESPONSIVE MOBILE
   ============================================ */
@media (max-width: 768px) {

    header {
        padding: 12px 20px;
    }

    .hamburger {
        display: flex;
    }

    .nav-left, .nav-right {
        display: none;
    }

    /* SLIDER */
    .slider-sub {
        font-size: 1rem;
        padding: 0 20px;
    }

    /* ABOUT */
    .about-hero {
        flex-direction: column;
        gap: 30px;
        padding: 40px 20px 0;
    }

    .about-hero-image {
        flex: none;
        width: 100%;
    }

    .about-hero-image img {
        height: 400px;
    }

    .about-content {
        padding: 0 20px;
    }

    .about-gallery {
        grid-template-columns: 1fr;
    }

    .about-details, .about-vision {
        padding: 25px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    /* PORTFOLIO */
    .portfolio {
        padding: 40px 20px 60px;
    }

    .gallery {
        column-count: 2;
    }

    /* CONTACT */
    .contact {
        padding: 60px 20px;
    }

    /* FOOTER */
    footer {
        padding: 40px 20px;
    }

    /* LIGHTBOX */
    .lightbox-prev, .lightbox-next {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .gallery {
        column-count: 1;
    }
}

/* ============================================
   ABOUT - LAYOUT PIXIESET
   ============================================ */
.about-block {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    gap: 60px;
}

.about-block.reverse {
    flex-direction: row-reverse;
}

.about-block-text {
    flex: 1;
}

.about-block-text h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.about-block-text h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-block-text .intro {
    font-family: var(--font-serif);
    font-style: italic;
    color: #BC7A6B;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.about-block-text p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.about-block-image {
    flex: 0 0 45%;
}

.about-block-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: block;
}

/* TEMOIGNAGES PIXIESET */
.testimonials-pixieset {
    margin-top: 40px;
}

.temoignage-block {
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
    margin-bottom: 0;
}

.temoignage-block.reverse {
    flex-direction: row-reverse;
}

.temoignage-text {
    flex: 1;
    padding: 60px 80px;
    text-align: center;
}

.temoignage-text p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.temoignage-text .author {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--primary-color);
}

.temoignage-image {
    flex: 0 0 45%;
}

.temoignage-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

/* CONTACT - LAYOUT PHOTO + FORMULAIRE */
.contact-layout {
    display: flex;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    gap: 0;
}

.contact-photo {
    flex: 0 0 45%;
}

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

.contact-form-wrapper {
    flex: 1;
    background-color: var(--bg-color);
    padding: 60px 50px;
    display: flex;
    align-items: center;
}

.contact-form-wrapper #contact-form {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
    .about-block, .about-block.reverse {
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
    }

    .about-block-image {
        flex: none;
        width: 100%;
    }

    .about-block-image img {
        height: 350px;
    }

    .temoignage-block, .temoignage-block.reverse {
        flex-direction: column;
    }

    .temoignage-image {
        flex: none;
        width: 100%;
    }

    .temoignage-image img {
        height: 300px;
    }

    .temoignage-text {
        padding: 40px 25px;
    }

    .contact-layout {
        flex-direction: column;
    }

    .contact-photo {
        flex: none;
        width: 100%;
        height: 300px;
    }

    .contact-form-wrapper {
        padding: 40px 20px;
    }
}
