/* ════════════════════════════════════════
   LANDING PAGE LP — style-lp.css
════════════════════════════════════════ */

/* ── Shared section title ── */
.section-title-lp {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--secondary);
    text-align: center;
    margin-bottom: .6rem;
}

.lp-section-sub {
    text-align: center;
    color: #666;
    margin-bottom: 2.5rem;
    font-size: .95rem;
}

/* ════════════════════════════════════════
   HEADER on LP pages — hidden by default, shows on scroll (same as homepage)
════════════════════════════════════════ */
#siteHeader {
    background-color: transparent;
    transform: translateY(-150%);
    transition: transform .4s ease, background-color .35s ease, box-shadow .35s ease;
}

#siteHeader.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 18px rgba(0,0,0,.1);
    transform: translateY(0);
}

#siteHeader.header-hidden {
    transform: translateY(-150%);
}

/* ════════════════════════════════════════
   HERO LP
════════════════════════════════════════ */
.hero-lp {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 6rem 0 4rem;
}

.hero-lp-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(43, 33, 24, 0.88), rgba(139, 90, 43, 0.72));
    z-index: 1;
}

.hero-lp-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 720px;
}

.hero-lp-eyebrow {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: .8rem;
    font-weight: 500;
}

.hero-lp-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: white;
}

.hero-lp-highlight {
    color: var(--accent);
    font-weight: 300;
}

.hero-lp-sub {
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 1.2rem;
    color: rgba(255,255,255,.9);
    max-width: 600px;
}

.hero-lp-proof {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: 1.8rem;
    color: rgba(255,255,255,.82);
    font-size: .85rem;
}

.proof-stars { color: var(--accent); letter-spacing: 2px; }

.hero-lp-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ── LP buttons ── */
.btn-lp-primary {
    display: inline-block;
    padding: .85rem 1.8rem;
    background: var(--primary);
    color: white;
    border-radius: 3px;
    font-weight: 600;
    text-decoration: none;
    font-size: .95rem;
    transition: all .3s;
    font-family: 'Poppins', sans-serif;
}

.btn-lp-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139,90,43,.35);
}

.btn-lp-secondary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.6rem;
    background: transparent;
    border: 2px solid rgba(255,255,255,.7);
    color: white;
    border-radius: 3px;
    font-weight: 500;
    text-decoration: none;
    font-size: .95rem;
    transition: all .3s;
    font-family: 'Poppins', sans-serif;
}

.btn-lp-secondary:hover {
    background: rgba(255,255,255,.12);
    border-color: white;
}

.btn-lp-ghost {
    display: inline-block;
    padding: .75rem 1.8rem;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 3px;
    font-weight: 500;
    text-decoration: none;
    font-size: .9rem;
    transition: all .3s;
    font-family: 'Poppins', sans-serif;
}

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

/* ════════════════════════════════════════
   ABOUT + SERVICES SECTION
════════════════════════════════════════ */
.lp-about { background: white; }

.lp-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.lp-eyebrow {
    color: var(--primary);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    margin-bottom: .7rem;
}

.lp-about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.lp-about-text > p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.8rem;
}

/* Inline steps */
.lp-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.lp-step {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
}

.lp-step-n {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
}

.lp-step strong {
    font-family: 'Playfair Display', serif;
    font-size: .93rem;
    display: block;
    margin-bottom: .2rem;
    color: var(--secondary);
}

.lp-step p { font-size: .83rem; color: #666; line-height: 1.5; margin: 0; }

/* Services grid */
.lp-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.lp-service {
    background: var(--light);
    border-radius: 8px;
    padding: 1.4rem;
    text-align: center;
    transition: transform .3s, box-shadow .3s;
}

.lp-service:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(139,90,43,.12);
}

.lp-service i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: .8rem;
    display: block;
}

.lp-service h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: .4rem;
}

.lp-service p { font-size: .82rem; color: #666; margin: 0; }

/* ════════════════════════════════════════
   RÉALISATIONS GALLERY
════════════════════════════════════════ */
.lp-realisations { background: var(--light); }

.lp-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 280px 280px;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.lp-gal-item {
    position: relative;
    overflow: hidden;
    border-radius: 7px;
    cursor: pointer;
}

.lp-gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
    display: block;
}

.lp-gal-item:hover img { transform: scale(1.06); }

.lp-gal-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
.lp-gal-item:nth-child(2) { grid-column: 3 / 5; grid-row: 1; }
.lp-gal-item:nth-child(3) { grid-column: 1 / 2; grid-row: 2; }
.lp-gal-item:nth-child(4) { grid-column: 2 / 3; grid-row: 2; }
.lp-gal-item:nth-child(5) { grid-column: 3 / 5; grid-row: 2; }

.lp-gal-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(43,33,24,.88), transparent);
    padding: 1rem 1.2rem;
    transform: translateY(100%);
    transition: transform .35s ease;
}

.lp-gal-item:hover .lp-gal-overlay { transform: translateY(0); }

.lp-gal-overlay p {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.lp-gallery-cta { text-align: center; }

/* ════════════════════════════════════════
   TÉMOIGNAGES
════════════════════════════════════════ */
.lp-testimonials { background: white; }

.lp-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.lp-testi-card {
    background: var(--light);
    border-radius: 8px;
    padding: 1.6rem;
    box-shadow: 0 3px 12px rgba(0,0,0,.06);
}

.lp-testi-stars {
    color: #FFB800;
    font-size: .95rem;
    letter-spacing: 2px;
    margin-bottom: .8rem;
}

.lp-testi-card > p {
    font-style: italic;
    color: var(--text);
    line-height: 1.7;
    font-size: .92rem;
    margin-bottom: 1.2rem;
}

.lp-testi-author {
    border-top: 1px solid #ddd;
    padding-top: .9rem;
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.lp-testi-author strong {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--secondary);
}

.lp-testi-author span { font-size: .82rem; color: #888; }

/* ════════════════════════════════════════
   FAQ
════════════════════════════════════════ */
.lp-faq { background: var(--light); }

.lp-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.lp-faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    overflow: hidden;
}

.lp-faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.2rem 1.4rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color .25s;
}

.lp-faq-q:hover { color: var(--primary); }

.lp-faq-q i {
    color: var(--accent);
    transition: transform .3s;
    flex-shrink: 0;
    font-size: .9rem;
}

.lp-faq-item.active .lp-faq-q i { transform: rotate(180deg); }

.lp-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.lp-faq-a p {
    padding: 0 1.4rem 1.2rem;
    color: #555;
    line-height: 1.75;
    font-size: .92rem;
    margin: 0;
}

/* ════════════════════════════════════════
   CONTACT
════════════════════════════════════════ */
.lp-contact { position: relative; background: white; }

.lp-contact-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.lp-contact-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: .6rem;
}

.lp-contact-header p { color: #666; font-size: .95rem; }

.lp-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.lp-contact-info { padding: .5rem 0; }

.lp-contact-artisan {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
    padding: 1.2rem;
    background: var(--light);
    border-radius: 8px;
}

.lp-artisan-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.lp-contact-artisan strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    display: block;
    margin-bottom: .2rem;
    color: var(--secondary);
}

.lp-contact-artisan p { font-size: .85rem; color: #666; margin: 0; line-height: 1.5; }

.lp-contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lp-contact-item {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.lp-contact-phone {
    text-decoration: none;
    color: inherit;
    background: var(--light);
    padding: .8rem 1rem;
    border-radius: 6px;
    transition: background .25s;
}

.lp-contact-phone:hover { background: rgba(139,90,43,.1); }

.lp-contact-item strong {
    font-family: 'Playfair Display', serif;
    font-size: .9rem;
    display: block;
    color: var(--secondary);
}

.lp-contact-item p { font-size: .85rem; color: #555; margin: 0; }

/* ── Contact form (reuses main style.css rules) ── */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
}

/* ════════════════════════════════════════
   WOOD GRAIN (LP version)
════════════════════════════════════════ */
.wood-grain {
    position: absolute;
    inset: 0;
    opacity: .03;
    background-image:
        repeating-linear-gradient(90deg, #8B5A2B 0px, transparent 1px, transparent 2px, #8B5A2B 3px),
        repeating-linear-gradient(0deg,  #8B5A2B 0px, transparent 1px, transparent 2px, #8B5A2B 3px);
    pointer-events: none;
    z-index: 0;
}

/* ════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
════════════════════════════════════════ */

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

@media (max-width: 1024px) {
    .lp-about-grid { gap: 2.5rem; }

    .lp-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 240px);
    }
    .lp-gal-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
    .lp-gal-item:nth-child(2) { grid-column: 1 / 2; grid-row: 2; }
    .lp-gal-item:nth-child(3) { grid-column: 2 / 3; grid-row: 2; }
    .lp-gal-item:nth-child(4) { grid-column: 1 / 2; grid-row: 3; }
    .lp-gal-item:nth-child(5) { grid-column: 2 / 3; grid-row: 3; }
}

/* ════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Hero */
    .hero-lp {
        min-height: 100svh;
        background-attachment: scroll;
        padding: 5rem 0 3rem;
    }
    .hero-lp-content h1 { font-size: 1.9rem; }
    .hero-lp-sub { font-size: .93rem; }
    .hero-lp-btns { flex-direction: column; }
    .btn-lp-primary, .btn-lp-secondary { width: 100%; text-align: center; justify-content: center; }

    /* Section titles */
    .section-title-lp { font-size: 1.6rem; }
    /* Nav menu mobile: force white bg (overrides transparent header on LP) */
    .nav-menu {
        background: white !important;
    }
    .nav-link { color: var(--text) !important; }


    /* About */
    .lp-about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .lp-services-grid { grid-template-columns: 1fr 1fr; }

    /* Gallery */
    .lp-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 190px 190px 190px;
        gap: .7rem;
    }
    .lp-gal-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
    .lp-gal-item:nth-child(2) { grid-column: 1 / 2; grid-row: 2; }
    .lp-gal-item:nth-child(3) { grid-column: 2 / 3; grid-row: 2; }
    .lp-gal-item:nth-child(4) { grid-column: 1 / 2; grid-row: 3; }
    .lp-gal-item:nth-child(5) { grid-column: 2 / 3; grid-row: 3; }
    .lp-gal-overlay { transform: translateY(0); }

    /* Testimonials */
    .lp-testimonials-grid { grid-template-columns: 1fr; }

    /* Contact */
    .lp-contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-form { padding: 1.3rem; }

    /* Floating btn */
    
    

    /* Mobile bottom CTA bar */
    .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-bottom: 56px; }
    .footer { padding-bottom: 80px; }

}

@media (max-width: 480px) {
    .hero-lp-content h1 { font-size: 1.6rem; }
    .section-title-lp { font-size: 1.45rem; }
    .lp-services-grid { grid-template-columns: 1fr 1fr; }
    .lp-gallery { grid-template-rows: 170px 170px 170px; }
}