/* ════════════════════════════════════════
   VARIABLES & BASE
════════════════════════════════════════ */
:root {
    --primary:       #8B5A2B;
    --primary-light: #A67C52;
    --secondary:     #2B2118;
    --light:         #F5F1EC;
    --accent:        #D7B377;
    --text:          #2F2F2F;
    --background:    #FAF8F5;
    --wood-dark:     #5D4037;
    --wood-medium:   #8D6E63;
    --wood-light:    #D7CCC8;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 4.5rem;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background-color: var(--background);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

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

html, body { -webkit-overflow-scrolling: touch; width: 100%; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section { padding: 4.5rem 0; }

/* ── Section title ── */
.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}
.section-title h2 {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: .8rem;
    text-transform: uppercase;
}
.section-title p { color: #666; }
.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px; left: 50%;
    transform: translateX(-50%);
    width: 70px; height: 3px;
    background-color: var(--accent);
}

/* ── Button ── */
.btn {
    display: inline-block;
    padding: .75rem 1.4rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 2px;
    font-weight: 500;
    text-decoration: none;
    transition: all .3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-family: 'Poppins', sans-serif;
    font-size: .95rem;
}
.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
    transition: left .7s;
    z-index: -1;
}
.btn:hover::before { left: 100%; }
.btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139,90,43,.3);
}
.btn-outline-white {
    background-color: transparent;
    border: 2px solid white;
}
.btn-outline-white:hover { background-color: rgba(255,255,255,.15); }

/* ── Fade-in animation ── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.active { opacity: 1; transform: translateY(0); }

/* ── Wood grain texture ── */
.wood-grain {
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='w' patternUnits='userSpaceOnUse' width='100' height='200' patternTransform='rotate(45)'%3E%3Crect width='100' height='200' fill='rgba(139,90,43,.02)'/%3E%3Cpath d='M0 0 Q50 50 100 0 Q50 150 0 200 Q50 150 100 200' stroke='rgba(139,90,43,.05)' stroke-width='1' fill='none'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23w)'/%3E%3C/svg%3E");
    opacity: .4;
    pointer-events: none;
    z-index: 0;
}

/* ════════════════════════════════════════
   LOADER
════════════════════════════════════════ */
#page-loader {
    position: fixed; inset: 0;
    background-color: var(--background);
    display: flex; justify-content: center; align-items: center;
    z-index: 9999;
    transition: opacity .4s ease, visibility .4s ease;
}
.loader-content { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.loader-spinner { position: relative; width: 70px; height: 70px; }
.spinner-circle {
    position: absolute; inset: 0;
    border-radius: 50%;
    border: 4px solid transparent;
    animation: spin 1.5s linear infinite;
}
.spinner-circle:nth-child(1) { border-top-color: var(--primary); animation-delay: 0s; }
.spinner-circle:nth-child(2) { border-right-color: var(--accent); animation-delay: .5s; }
.spinner-circle:nth-child(3) { border-bottom-color: var(--wood-medium); animation-delay: 1s; }
@keyframes spin { to { transform: rotate(360deg); } }
.loader-hidden { opacity: 0; visibility: hidden; }
body.loading { overflow: hidden; }

/* ════════════════════════════════════════
   CORNER DECORATION
════════════════════════════════════════ */
.corner-decoration {
    position: fixed; bottom: 0; right: 0;
    width: 200px; height: 200px;
    overflow: hidden; z-index: 100000; pointer-events: none;
}
.golden-circle {
    position: absolute; width: 70px; height: 70px;
    bottom: -25px; right: -25px; border-radius: 50%;
    background: radial-gradient(circle, #d7bb7b 25%, #968b5a 100%);
    animation: pulseGold 6s infinite ease-in-out; z-index: 12;
}
.dark-ring {
    position: absolute; width: 300px; height: 300px;
    bottom: -170px; right: -170px; border-radius: 50%;
    border: 40px solid #524b40; background: transparent;
    animation: rotateRing 12s infinite ease-in-out; z-index: 11;
}
@keyframes pulseGold {
    0%,100% { transform: scale(1); box-shadow: 0 0 0 rgba(215,187,123,0); }
    50% { transform: scale(1.3); box-shadow: 0 0 15px rgba(215,187,123,.5); }
}
@keyframes rotateRing {
    0%,100% { transform: rotate(0deg); }
    50% { transform: rotate(20deg) scale(1.08); }
}

/* ════════════════════════════════════════
   HEADER / NAV
════════════════════════════════════════ */
.header {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000; transition: all .4s ease;
}
.header.scrolled {
    background-color: rgba(255,255,255,.97);
    box-shadow: 0 4px 18px rgba(0,0,0,.1);
}
.header-hidden { transform: translateY(-150%); }

.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.1rem 2rem;
    transition: padding .4s ease;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-icon img { width: 260px; }

.nav-menu { display: flex; list-style: none; gap: 1.6rem; }
.nav-link {
    color: var(--text); text-decoration: none;
    font-weight: 500; font-size: .93rem;
    position: relative; transition: color .3s;
}
.nav-link::after {
    content: ''; position: absolute;
    width: 0; height: 2px; bottom: -4px; left: 0;
    background-color: var(--primary); transition: width .3s;
}
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 100%; }

.hamburger { display: none; cursor: pointer; z-index: 1001; }
.hamburger span {
    display: block; width: 24px; height: 2.5px;
    background-color: var(--text); margin: 5px 0;
    transition: all .3s ease;
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
    height: 100vh; width: 100%;
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    background-size: cover; background-position: center;
    background-attachment: fixed;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(43, 33, 24, 0.85), rgba(139, 90, 43, 0.75));
    z-index: 1;
}
.hero-content {
    position: relative; z-index: 2;
    color: white; max-width: 680px;
    padding: 2rem;
    animation: heroFadeIn 1.2s ease;
}
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-title { font-size: 3.2rem; margin-bottom: 1.2rem; line-height: 1.2; }
.hero-title .highlight {
    color: var(--accent); display: inline-block;
    font-weight: 300; font-size: 2.6rem;
}
.hero-subtitle { font-size: 1.1rem; margin-bottom: 1.8rem; font-weight: 300; }
.hero-btns { display: flex; gap: .9rem; flex-wrap: wrap; }

/* Social proof */
.hero-social-proof {
    display: flex; align-items: center; gap: .7rem;
    margin-top: 1rem; opacity: .9;
}
.hero-stars { color: var(--accent); font-size: .9rem; letter-spacing: 2px; }
.hero-social-proof span { color: rgba(255,255,255,.85); font-size: .82rem; }

/* Scroll cue */
.hero-scroll {
    position: absolute; bottom: 1.5rem; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center;
    color: white; z-index: 2;
}
.scroll-text { font-size: .8rem; font-weight: 300; letter-spacing: 1px; opacity: .75; margin-bottom: .4rem; }
.scroll-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,.5); color: white;
    animation: bounce 2s infinite; transition: all .3s;
}
.scroll-btn:hover { background-color: var(--primary); border-color: var(--primary); }
@keyframes bounce {
    0%,20%,50%,80%,100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* ════════════════════════════════════════
   ABOUT + INLINE PROCESS
════════════════════════════════════════ */
.about { position: relative; overflow: hidden; }
.about-bg {
    position: absolute; width: 450px; height: 450px;
    background-color: rgba(215,179,119,.1); border-radius: 50%;
    top: -220px; left: -220px; z-index: -1;
}
.about-content { display: flex; align-items: center; gap: 3.5rem; }
.about-image {
    flex: 1; height: 400px; border-radius: 5px; overflow: hidden;
    position: relative;
}
.about-image img { width: 106%; height: 100%; object-fit: cover; transition: transform .5s; }
.about-image:hover img { transform: scale(1.04); }
.about-text { flex: 1; }
.about-subtitle { color: var(--primary); font-size: 1.1rem; font-weight: 500; margin-bottom: .8rem; }
.about-title { font-size: 2.2rem; margin-bottom: 1.2rem; }
.about-desc { margin-bottom: 1.6rem; line-height: 1.8; color: #555; }

/* Inline steps (process fusionné) */
.inline-steps { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.8rem; }
.inline-step { display: flex; align-items: flex-start; gap: 1rem; }
.inline-step-num {
    flex-shrink: 0;
    width: 36px; height: 36px; border-radius: 50%;
    background-color: var(--primary); color: white;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .95rem;
}
.inline-step strong { font-family: 'Playfair Display', serif; font-size: .95rem; display: block; margin-bottom: .2rem; }
.inline-step p { font-size: .85rem; color: #666; line-height: 1.5; margin: 0; }

/* ════════════════════════════════════════
   GALLERY GRID
════════════════════════════════════════ */
.projects { background-color: var(--light); position: relative; overflow: hidden; }
.projects-bg {
    position: absolute; width: 450px; height: 450px;
    background-color: rgba(215,179,119,.1); border-radius: 50%;
    bottom: -220px; right: -220px; z-index: 0;
}

.filter-buttons {
    display: flex; justify-content: center;
    gap: .8rem; margin-bottom: 1.8rem; flex-wrap: wrap;
}
.filter-btn {
    padding: .45rem 1.2rem;
    background-color: white;
    border: 1px solid var(--wood-light);
    color: var(--text); border-radius: 30px;
    cursor: pointer; transition: all .3s; font-size: .88rem;
}
.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary); color: white;
}

.gallery-grid { columns: 4; column-gap: 10px; position: relative; z-index: 1; }
.gallery-item {
    break-inside: avoid; margin-bottom: 10px;
    position: relative; overflow: hidden;
    border-radius: 5px; cursor: pointer; background: #eee;
}
.gallery-item img { width: 100%; display: block; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(43,33,24,.82) 40%, transparent 100%);
    opacity: 0; transition: opacity .3s;
    display: flex; flex-direction: column;
    justify-content: flex-end; padding: 12px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-badge {
    position: absolute; top: 8px; right: 8px;
    background: var(--primary); color: white;
    font-size: .68rem; text-transform: uppercase; letter-spacing: 1px;
    padding: 3px 7px; border-radius: 3px;
}
.gallery-title {
    color: white; font-family: 'Playfair Display', serif;
    font-size: .88rem; font-weight: 600; margin: 0 0 3px; line-height: 1.3;
}
.gallery-zoom {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    color: white; font-size: 1.3rem; opacity: 0; transition: opacity .3s;
}
.gallery-item:hover .gallery-zoom { opacity: .9; }

/* ── Project popup modal ── */
.project-tag {
    background-color: rgba(139,90,43,.1); color: var(--primary);
    padding: .25rem .75rem; border-radius: 30px; font-size: .78rem;
}
.project-modal { display: none; position: fixed; inset: 0; z-index: 2000; align-items: center; justify-content: center; }
.project-modal.active { display: flex; }
.project-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.75); cursor: pointer; }
.project-modal-box {
    position: relative; background: white; border-radius: 10px;
    max-width: 660px; width: calc(100% - 1.5rem); max-height: 90vh;
    overflow-y: auto; z-index: 1; display: flex; flex-direction: column;
    animation: modalPop .22s ease;
}
@keyframes modalPop {
    from { opacity: 0; transform: scale(.94) translateY(16px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.project-modal-close {
    position: absolute; top: 10px; right: 14px;
    background: rgba(255,255,255,.92); border: none;
    font-size: 1.5rem; line-height: 1; cursor: pointer;
    color: var(--secondary); border-radius: 50%;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    z-index: 2; transition: background .2s;
}
.project-modal-close:hover { background: var(--primary); color: white; }
.project-modal-img-wrap { max-height: 300px; overflow: hidden; border-radius: 10px 10px 0 0; flex-shrink: 0; }
.project-modal-img-wrap img { width: 100%; height: 300px; object-fit: cover; }
.project-modal-body { padding: 1.3rem; }
.pmodal-badge {
    display: inline-block; background: rgba(139,90,43,.12); color: var(--primary);
    font-size: .72rem; text-transform: uppercase; letter-spacing: 1px;
    padding: 3px 9px; border-radius: 20px; margin-bottom: .6rem;
}
.project-modal-body h3 { font-size: 1.3rem; margin-bottom: .6rem; color: var(--secondary); }
.pmodal-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: .9rem; }
.project-modal-body p { color: #555; line-height: 1.65; font-size: .92rem; margin-bottom: 1rem; }
.pmodal-contact-btn {
    display: block; text-align: center;
    border: 2px solid var(--primary); color: var(--primary);
    padding: .65rem; border-radius: 2px; font-weight: 500; font-size: .9rem;
    text-decoration: none; transition: all .3s;
}
.pmodal-contact-btn:hover { background: var(--primary); color: white; }

/* ════════════════════════════════════════
   SERVICES
════════════════════════════════════════ */
.services { position: relative; }
.services-wrapper { position: relative; z-index: 1; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
    background: white; border-radius: 8px; overflow: hidden;
    padding: 1.8rem; box-shadow: 0 4px 14px rgba(0,0,0,.05);
    display: flex; flex-direction: column; align-items: center; text-align: center;
    position: relative; z-index: 1; transition: all .3s;
}
.service-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0; transition: opacity .3s; z-index: -1;
}
.service-card:hover { transform: translateY(-8px); color: white; }
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 64px; height: 64px; background-color: rgba(139,90,43,.1);
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    margin-bottom: 1.2rem; color: var(--primary); font-size: 1.7rem; transition: all .3s;
}
.service-card:hover .service-icon { background-color: white; }
.service-title { font-size: 1.3rem; margin-bottom: .8rem; transition: color .3s; }
.service-text { line-height: 1.6; font-size: .92rem; transition: color .3s; }
.service-card:hover .service-title, .service-card:hover .service-text { color: white; }

/* ════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════ */
.testimonials { position: relative; overflow: hidden; }
.testimonial-slider { position: relative; width: 100%; overflow: hidden; }
.testimonial-track { display: flex; transition: transform .5s ease; }
.testimonial-slide { flex: 0 0 100%; padding: 0 1.5rem; }
.testimonial-stars { color: var(--accent); font-size: .9rem; letter-spacing: 2px; margin-bottom: .8rem; }
.testimonial-card {
    background: white; border-radius: 8px; padding: 1.8rem;
    box-shadow: 0 5px 15px rgba(0,0,0,.05); position: relative; z-index: 1;
}
.testimonial-card::before {
    content: '\201C'; font-family: Georgia, serif;
    position: absolute; top: -8px; left: 16px;
    font-size: 4.5rem; color: rgba(139,90,43,.08); z-index: -1;
}
.testimonial-text { font-style: italic; margin-bottom: 1.2rem; line-height: 1.8; font-size: .95rem; }
.testimonial-author { display: flex; align-items: center; gap: .8rem; }
.author-info h3 { font-size: 1rem; margin-bottom: .2rem; color: var(--text); }
.author-info p  { color: var(--primary); font-size: .85rem; }
.slider-nav { display: flex; justify-content: center; margin-top: 1.5rem; gap: .8rem; }
.slider-btn {
    width: 38px; height: 38px; border-radius: 50%;
    background: white; color: var(--primary); border: 1px solid var(--primary);
    display: flex; justify-content: center; align-items: center;
    cursor: pointer; transition: all .3s;
}
.slider-btn:hover { background: var(--primary); color: white; }
.slider-dots { display: flex; justify-content: center; gap: .5rem; margin-top: .8rem; }
.slider-dot {
    width: 9px; height: 9px; border-radius: 50%;
    background-color: var(--wood-light); cursor: pointer; transition: all .3s;
}
.slider-dot.active { background-color: var(--primary); transform: scale(1.2); }

/* ════════════════════════════════════════
   FAQ
════════════════════════════════════════ */
.faq { background: #f8f8f8; }
.faq-container { max-width: 860px; margin: 0 auto; }
.faq-item {
    background: white; padding: 22px; margin-bottom: 16px;
    border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.05);
    transition: box-shadow .3s;
}
.faq-item:hover { box-shadow: 0 4px 14px rgba(0,0,0,.09); }
.faq-question {
    width: 100%; text-align: left; background: none; border: none;
    font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 600;
    color: var(--secondary); cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0; transition: color .3s;
}
.faq-question:hover { color: var(--primary); }
.faq-icon { color: var(--accent); transition: transform .3s; font-size: .95rem; flex-shrink: 0; margin-left: 14px; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer p { margin-top: 12px; line-height: 1.8; color: #555; font-size: .93rem; }

/* ════════════════════════════════════════
   CTA SECTION
════════════════════════════════════════ */
.cta {
    background-color: var(--primary); color: white;
    text-align: center; padding: 4rem 0;
}
.cta-title { font-size: 2.2rem; margin-bottom: 1.2rem; }
.cta-text  { font-size: 1.1rem; margin-bottom: 1.8rem; max-width: 650px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.cta-btn   { background-color: white; color: var(--primary); padding: .9rem 2rem; font-size: 1.05rem; border-radius: 50px; }
.cta-btn:hover { background-color: var(--accent); color: white; }

/* ════════════════════════════════════════
   CONTACT
════════════════════════════════════════ */
.contact { position: relative; }
.contact-container { display: flex; gap: 2.5rem; }
.contact-form {
    flex: 1; background: white; padding: 1.8rem;
    border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,.05);
}
.contact-info { flex: 1; }
.contact-subtitle { color: var(--primary); font-weight: 500; margin-bottom: .8rem; }
.contact-title { font-size: 1.8rem; margin-bottom: 1.2rem; }
.contact-text  { margin-bottom: 1.8rem; line-height: 1.8; color: #555; }
.contact-details { display: flex; flex-direction: column; gap: 1.3rem; }
.contact-item { display: flex; align-items: center; gap: .9rem; }
.contact-icon {
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(139,90,43,.1);
    display: flex; justify-content: center; align-items: center;
    color: var(--primary); font-size: 1.1rem; flex-shrink: 0;
}
.form-group { margin-bottom: 1.3rem; }
.form-label { display: block; margin-bottom: .45rem; font-weight: 500; font-size: .92rem; }
.form-control {
    width: 100%; padding: .72rem .9rem;
    border: 1px solid var(--wood-light); border-radius: 4px;
    transition: border-color .3s; font-family: 'Poppins', sans-serif; font-size: .9rem;
}
.form-control:focus { outline: none; border-color: var(--primary); }
textarea.form-control { min-height: 130px; resize: vertical; }
.form-submit {
    width: 100%; padding: .9rem;
    background-color: var(--primary); color: white;
    border: none; border-radius: 4px; font-weight: 600;
    cursor: pointer; transition: all .3s; font-size: .95rem;
    font-family: 'Poppins', sans-serif;
}
.form-submit:hover { background-color: var(--primary-light); }
.form-submit:disabled { opacity: .7; cursor: not-allowed; }
.form-notification { margin-top: 16px; transition: opacity .5s; }
.notification {
    padding: 13px; border-radius: 4px;
    display: flex; align-items: center; font-weight: 500; font-size: .9rem;
}
.notification i { margin-right: 8px; }
.notification.success { background: rgba(76,175,80,.1); color: #4CAF50; border-left: 4px solid #4CAF50; }
.notification.error   { background: rgba(244,67,54,.1);  color: #F44336; border-left: 4px solid #F44336; }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.seo-links { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.footer { background-color: var(--secondary); color: white; padding: 3.5rem 0 1.5rem; }
.footer-content {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
    gap: 2rem; margin-bottom: 2.5rem;
}
.footer-logo { margin-bottom: 1.2rem; }
.footer-logo img { width: 180px; }
.footer-about { margin-bottom: 1.2rem; line-height: 1.8; color: rgba(255,255,255,.7); font-size: .9rem; }
.footer-title {
    font-size: 1.1rem; margin-bottom: 1.2rem;
    position: relative; padding-bottom: .5rem; color: white;
    font-family: 'Playfair Display', serif; font-weight: 600;
}
.footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 44px; height: 2px; background: var(--primary); }
.footer-links { list-style: none; }
.footer-link { margin-bottom: .8rem; }
.footer-link a { color: rgba(255,255,255,.7); text-decoration: none; font-size: .9rem; transition: all .3s; }
.footer-link a:hover { color: var(--primary); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; text-align: center; color: rgba(255,255,255,.5); font-size: .88rem; }
.footer-extra { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.footer-credit { margin-top: 8px; font-size: .85rem; }
.social-links { display: flex; gap: .8rem; }
.social-link {
    width: 38px; height: 38px; background: rgba(255,255,255,.1);
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    color: white; text-decoration: none; transition: all .3s;
}
.social-link:hover { background: var(--primary); transform: translateY(-4px); }

/* ════════════════════════════════════════
   LEGAL PAGE
════════════════════════════════════════ */
.legal-section { padding: 110px 0 70px; background: #fafafa; position: relative; }
.legal-section .section-title h1 { font-family: 'Playfair Display', serif; font-size: 2.3rem; margin-bottom: 14px; color: #333; }
.legal-content { max-width: 860px; margin: 36px auto; background: #fff; padding: 36px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,.05); }
.legal-block { margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid #eee; }
.legal-block:last-child { border-bottom: none; margin-bottom: 0; }
.legal-block h2 { font-family: 'Playfair Display', serif; color: #333; font-size: 1.4rem; margin-bottom: 12px; }
.legal-block p  { margin-bottom: 12px; line-height: 1.6; color: #555; }
.legal-block ul { margin-left: 18px; margin-bottom: 12px; }
.legal-block ul li { margin-bottom: 7px; color: #555; line-height: 1.6; }
.legal-block a  { color: #c9a96e; text-decoration: none; }
.legal-block a:hover { color: #a08654; text-decoration: underline; }
.legal-return { text-align: center; margin-top: 36px; }

/* ════════════════════════════════════════
   MOBILE NAV MENU
════════════════════════════════════════ */
.mobile-menu-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.5); z-index: 998;
    display: none; opacity: 0; transition: opacity .3s;
}
.mobile-menu-overlay.active { display: block; opacity: 1; }
.body-fixed { overflow: hidden; }
@keyframes slideInNav {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}
.nav-menu.active .nav-item {
    animation: slideInNav .3s ease-in-out forwards; opacity: 0;
}
.nav-menu.active .nav-item:nth-child(1) { animation-delay: .05s; }
.nav-menu.active .nav-item:nth-child(2) { animation-delay: .1s; }
.nav-menu.active .nav-item:nth-child(3) { animation-delay: .15s; }
.nav-menu.active .nav-item:nth-child(4) { animation-delay: .2s; }
.nav-menu.active .nav-item:nth-child(5) { animation-delay: .25s; }
.nav-menu.active .nav-item:nth-child(6) { animation-delay: .3s; }

/* ════════════════════════════════════════
   FLOATING MOBILE CTA BAR
════════════════════════════════════════ */
.mobile-cta-bar { display: none; }

/* ════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
════════════════════════════════════════ */
@media (max-width: 1024px) {
    .gallery-grid { columns: 3; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
════════════════════════════════════════ */
@media (max-width: 768px) {

    /* Base */
    .section { padding: 2.8rem 0; }
    .container { padding: 0 1rem; }
    .section-title { margin-bottom: 1.8rem; }
    .section-title h2 { font-size: 1.6rem; }
    .corner-decoration { display: none; }

    /* Hero */
    .hero { background-attachment: scroll; }
    .hero-title { font-size: 1.9rem; }
    .hero-title .highlight { font-size: 1.6rem; }
    .hero-subtitle { font-size: 1rem; margin-bottom: 1.3rem; }
    .hero-btns { flex-direction: column; gap: .7rem; }
    .hero-btns .btn { width: 100%; text-align: center; }
    .hero-social-proof { display: none; }
    .hero-scroll { display: none; }

    /* Nav menu mobile */
    .nav-menu {
        position: fixed; top: 0; right: -100%;
        flex-direction: column; background: white;
        width: 72%; max-width: 280px; height: 100vh;
        z-index: 999; padding: 4.5rem 1.8rem 2rem;
        transition: right .3s ease;
        box-shadow: -5px 0 18px rgba(0,0,0,.12);
        gap: 0;
    }
    .nav-menu.active { right: 0; }
    .nav-item { margin: .9rem 0; }
    .nav-link { font-size: 1rem; }
    .hamburger { display: block; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
    .logo-icon img { width: 150px; }
    .navbar { padding: .85rem 1rem; }

    /* About */
    .about-content { flex-direction: column; gap: 1.5rem; }
    .about-image { width: 100%; height: 240px; }
    .about-title { font-size: 1.7rem; }
    .about-desc { font-size: .9rem; }
    .inline-step strong { font-size: .88rem; }
    .inline-step p { font-size: .8rem; }

    /* Gallery */
    .gallery-grid { columns: 2; column-gap: 7px; }
    .gallery-item { margin-bottom: 7px; }
    .gallery-overlay { opacity: 1; }
    .gallery-zoom { display: none; }
    .gallery-title { font-size: .78rem; }
    /* On mobile, always show overlay so titles are visible */

    /* Project modal */
    .project-modal-box { max-height: 95vh; }
    .project-modal-img-wrap { max-height: 220px; }
    .project-modal-img-wrap img { height: 220px; }
    .project-modal-body { padding: 1rem; }
    .project-modal-body h3 { font-size: 1.1rem; }

    /* Services */
    .services-grid { grid-template-columns: 1fr; gap: 1rem; }
    .service-card { padding: 1.4rem; }
    .service-icon { width: 54px; height: 54px; font-size: 1.4rem; margin-bottom: .9rem; }
    .service-title { font-size: 1.15rem; }

    /* Testimonials */
    .testimonial-slide { padding: 0 .5rem; }
    .testimonial-card { padding: 1.3rem; }
    .testimonial-text { font-size: .88rem; }

    /* FAQ */
    .faq-item { padding: 16px; }
    .faq-question { font-size: 1rem; }

    /* CTA */
    .cta { padding: 3rem 0; }
    .cta-title { font-size: 1.7rem; }
    .cta-text  { font-size: .95rem; }

    /* Contact */
    .contact-container { flex-direction: column; gap: 1.5rem; }
    .contact-form { padding: 1.3rem; }
    .contact-title { font-size: 1.5rem; }

    /* Footer */
    .footer { padding: 2.5rem 0 80px; } /* 80px = space for floating bar */
    .footer-content { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-logo img { width: 150px; }

    /* Floating CTA bar — appears after scrolling */
    .mobile-cta-bar {
        display: none; position: fixed; bottom: 0; left: 0; right: 0;
        z-index: 1500; box-shadow: 0 -2px 10px rgba(0,0,0,.15);
        transition: transform .3s ease, opacity .3s ease;
        transform: translateY(100%);
        opacity: 0;
    }
    .mobile-cta-bar.visible {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }
    .mobile-cta-call, .mobile-cta-devis {
        flex: 1; padding: .85rem .5rem; text-align: center;
        font-weight: 600; font-size: .88rem; text-decoration: none;
        display: flex; align-items: center; justify-content: center;
        gap: .45rem; transition: filter .2s;
    }
    .mobile-cta-call  { background: var(--secondary); color: white; }
    .mobile-cta-devis { background: var(--primary);   color: white; }
    .mobile-cta-call:hover, .mobile-cta-devis:hover { filter: brightness(1.1); }

    /* body padding for fixed bar */
    body { padding-bottom: 52px; }
}

/* ════════════════════════════════════════
   RESPONSIVE — SMALL (≤ 480px)
════════════════════════════════════════ */
@media (max-width: 480px) {
    .section { padding: 2.2rem 0; }
    .section-title h2 { font-size: 1.45rem; }
    .hero-title { font-size: 1.65rem; }
    .hero-title .highlight { font-size: 1.4rem; }
    .about-title { font-size: 1.5rem; }
    .about-image { height: 210px; }
    .cta-title { font-size: 1.5rem; }
    .btn { font-size: .88rem; padding: .68rem 1.1rem; }
    .filter-btn { font-size: .82rem; padding: .38rem .9rem; }
}