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

:root {
    --primary: #8B7355;
    --gold: #D4AF37;
    --dark: #2c2c2c;
    --gray: #666;
    --light: #f5f5f5;
    --white: #fff;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* NAV */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    font-size: 28px;
    color: var(--white);
}

.logo p {
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.nav-link:hover {
    color: var(--gold);
}

.logo h1,
.logo p {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--white);
    margin: 4px 0;
}

/* HERO */
.hero-section {
    height: 100vh;
    margin-top: 0;
    position: relative;
}

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

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    display: none;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
}

.hero-title {
    font-size: 70px;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

/* SECTIONS */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--gray);
    font-style: italic;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto;
}

/* NOTRE HISTOIRE */
.history-section {
    padding: 80px 0;
    background: var(--white);
}

.history-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.history-image {
    flex: 3;
    margin-left: -150px;
}

.history-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.history-text {
    flex: 1.2;
}

.history-text h3 {
    font-size: 26px;
    color: var(--gold);
    margin-bottom: 20px;
    font-style: italic;
}

.history-text p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.8;
}

.history-text .quote {
    font-size: 17px;
    color: var(--primary);
    font-style: italic;
    padding-left: 20px;
    border-left: 3px solid var(--gold);
    margin-bottom: 20px;
}

/* LE DOMAINE */
.domain-section {
    padding: 0 0 80px 0;
    background: var(--white);
}

.domain-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.domain-intro p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.domain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.domain-card {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: none;
    background: transparent;
    border: none;
}

.video-wrapper {
    height: 280px;
    background: var(--white);
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.2);
}

.domain-card h3 {
    font-size: 24px;
    color: white;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    white-space: nowrap;
}

.domain-card p {
    font-size: 14px;
    color: var(--gray);
    padding: 0 10px 5px;
}

/* NOS SERVICES */
.services-section {
    padding: 80px 0;
    background: var(--white);
}

.service-row {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    background: transparent;
    align-items: center;
}

/* MINI-SLIDER SERVICES */
.service-slider {
    position: relative;
    width: 45%;
    height: 500px;
    overflow: hidden;
}

.service-slider .service-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover ;
    object-position: center ;  
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-slider .service-img.active {
    opacity: 1;
}

.service-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.service-arrow:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.service-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

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

.service-dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

.service-text {
    flex: 1;
    padding: 40px;
}

.service-text h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
}

.service-text > p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-text h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 16px;
}

.service-text ul {
    list-style: none;
}

.service-text li {
    color: var(--gray);
    padding: 5px 0 5px 25px;
    position: relative;
    font-size: 14px;
}

.service-text li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* =============================================
   GALERIE EN GRILLE 3 PHOTOS AVEC NAVIGATION
   ============================================= */
.gallery-section {
    padding: 80px 0;
    background: var(--white);
    overflow: hidden;
}

.gallery-wrapper {
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-left: -150px;
    margin-right: -150px;
}

.gallery-item {
    overflow: hidden;
    display: none;
    cursor: pointer;
}

.gallery-item.visible {
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Boutons de navigation galerie */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav-btn.prev-btn {
    left: -120px;
}

.gallery-nav-btn.next-btn {
    right: -120px;
}

.gallery-nav-btn:hover {
    background: var(--gold);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Points de pagination galerie */
.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.gallery-dots .dot {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dots .dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

.gallery-dots .dot:hover {
    background: var(--primary);
}

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

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 50px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--gold);
    transform: scale(1.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: var(--gold);
}

.lightbox-nav.prev {
    left: 30px;
}

.lightbox-nav.next {
    right: 30px;
}

/* AVIS */
.avis-section {
    padding: 80px 0;
    background: var(--white);
}

.google-rating {
    margin-top: 15px;
}

.google-rating .stars {
    color: var(--gold);
    font-size: 24px;
}

.google-rating .rating-score {
    display: block;
    color: var(--gray);
    font-size: 14px;
    margin-top: 5px;
}

/* Slider Avis */
.avis-wrapper {
    position: relative;
    overflow: hidden;
}

.avis-grid {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.avis-card {
    min-width: calc(33.333% - 20px);
    background: var(--white);
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.avis-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.avis-nav-btn.prev-btn {
    left: -25px;
}

.avis-nav-btn.next-btn {
    right: -25px;
}

.avis-nav-btn:hover {
    background: var(--gold);
    transform: translateY(-50%) scale(1.1);
}

.avis-stars {
    color: var(--gold);
    font-size: 18px;
    margin-bottom: 15px;
}

.avis-card p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-style: italic;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.avis-author strong {
    display: block;
    font-size: 14px;
    color: var(--dark);
}

.avis-author span {
    font-size: 12px;
    color: var(--gray);
}

.avis-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-avis {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    border-radius: 3px;
}

.btn-avis:hover {
    background: var(--primary);
    color: var(--white);
}

/* CONTACT */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h3,
.contact-form h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 25px;
}

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

.info-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 8px;
}

.info-item p {
    color: var(--gray);
    font-size: 14px;
}

.contact-link {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--gold);
}

.social-buttons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}

.social-btn svg {
    width: 18px;
    height: 18px;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-btn.facebook {
    background: #1877f2;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row input,
.form-row select {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
}

textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    margin-bottom: 15px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 3px;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: var(--gold);
}

/* FOOTER */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 20px;
}

.footer-section p,
.footer-section a,
.footer-section li {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(0,0,0,0.9);
        flex-direction: column;
        padding: 20px;
        text-align: center;
        gap: 15px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 45px;
    }
    
    .history-content,
    .service-row {
        flex-direction: column;
    }
    
    .history-image {
        margin-left: 0;
    }
    
    .service-slider {
        width: 100%;
        height: 450px;
    }
    
    .domain-grid,
    .avis-grid {
        grid-template-columns: 1fr;
    }
    
    .avis-card {
        min-width: 100%;
    }
    
    .avis-nav-btn {
        display: none;
    }
    
    /* Galerie responsive: 2 colonnes sur tablette */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .gallery-item img {
        height: 300px;
    }
    
    .gallery-wrapper {
        padding: 0 60px;
    }
    
    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .gallery-nav-btn.prev-btn {
        left: 10px;
    }
    
    .gallery-nav-btn.next-btn {
        right: 10px;
    }
    
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .social-buttons {
        flex-direction: column;
    }
}

@media (max-width: 600px) {

    html, body {
        overflow-x: hidden;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        margin-left: 0;
        margin-right: 0;
    }

    .gallery-nav-btn.prev-btn {
        left: 10px;
    }

    .gallery-nav-btn.next-btn {
        right: 10px;
    }

    .service-slider{
        width: 100%;
        height: 420px;
        margin-bottom: 15px;
        overflow: hidden;
    }

    .service-slider .service-img{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .service-text{
        padding: 15px 10px;
    }

    .service-text h3{
        margin-top: -10px;
    }

    .service-row{
        margin-bottom: 30px;
    }

    .history-image img {
        display: block;
        height: auto;
        object-fit: contain;
    }
}