/* VARIABLES & COULEURS */
:root {
    --bg-beige: #F7F4EF;
    --white: #FFFFFF;
    --blue-night: #1E3554;
    --anthracite: #2D2D2D;
    --olive-green: #6A7253;
    --gold: #C7AA72;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
}

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

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

/* TYPOGRAPHIES */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--blue-night);
    text-transform: uppercase;
    font-weight: 600;
}

/* HEADER */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: transparent;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--anthracite);
    text-decoration: none;
    letter-spacing: 1px;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-navigation a {
    text-decoration: none;
    color: var(--anthracite);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: var(--gold);
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 50px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(247, 244, 239, 0.2);
}

.hero-card {
    position: relative;
    background: rgba(247, 244, 239, 0.92);
    padding: 60px 50px;
    max-width: 550px;
    backdrop-filter: blur(5px);
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-card h1 {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.divider {
    width: 50px;
    height: 2px;
    background-color: var(--gold);
    margin: 20px 0;
}

.divider.center {
    margin: 20px auto;
}

.hero-card p {
    font-size: 15px;
    color: var(--anthracite);
    margin-bottom: 30px;
}

/* BOUTONS */
.btn-primary {
    display: inline-block;
    background-color: var(--blue-night);
    color: var(--white);
    padding: 16px 32px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* SERVICES SECTION */
.services-section {
    padding: 100px 50px;
    text-align: center;
}

.section-title {
    font-size: 36px;
    letter-spacing: 2px;
}

.section-subtitle {
    color: #666;
    font-size: 15px;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 50px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.service-card h3 {
    font-size: 18px;
    margin: 20px 0 15px;
    letter-spacing: 1px;
}

.service-card p {
    font-size: 14px;
    color: #666;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   STYLES PAGE PRESTATION & MAGAZINE
   ========================================================================== */

/* Layout & Utilitaires */
.bg-white { background-color: var(--white); }
.bg-beige { background-color: var(--bg-beige); }
.text-center { text-align: center; }
.container-inner { max-width: 1200px; margin: 0 auto; padding: 0 30px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 20px; }

/* 2. SECTION VOTRE PROJET (GRID 2 COLS) */
.section-projet { padding: 100px 0; }
.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}
.col-image img {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 2px;
}
.checklist-sleek {
    list-style: none;
    margin-top: 30px;
}
.checklist-sleek li {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}
.check-icon {
    color: var(--gold);
    font-weight: bold;
}

/* 3. VISUAL BREATHER */
.visual-breather {
    height: 70vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* 4. NOTRE MÉTHODE (TIMELINE HORIZONTALE) */
.section-methode { padding: 100px 0; }
.timeline-horizontal {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 60px;
    position: relative;
}
.timeline-step {
    padding: 30px 20px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    border-top: 3px solid var(--gold);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.timeline-step.visible {
    opacity: 1;
    transform: translateY(0);
}
.step-num {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--gold);
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}
.timeline-step h3 { font-size: 18px; margin-bottom: 10px; }
.timeline-step p { font-size: 13px; color: #666; }

/* 5. PRESTATIONS STYLE MAGAZINE (BANDES ALTERNÉES) */
.section-prestations { padding: 100px 0 0 0; }
.magazine-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    align-items: center;
}
.magazine-band.reverse {
    direction: rtl;
}
.magazine-band.reverse .magazine-text {
    direction: ltr;
}
.magazine-img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}
.magazine-text {
    padding: 80px 10%;
}
.magazine-text h3 { font-size: 28px; letter-spacing: 1.5px; }

/* 6. BEFORE / AFTER SLIDER */
.section-before-after { padding: 100px 0; }
.before-after-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}
.ba-slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 2px;
}
.ba-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
}
.ba-before {
    width: 50%; /* Contrôlé dynamiquement par le JS */
    border-right: 2px solid var(--white);
}
.ba-range-slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
}

/* 7. RÉALISATIONS LINE */
.section-projects-line { padding: 100px 0; }
.projects-line-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}
.project-card-line .project-img-wrap {
    height: 320px;
    overflow: hidden;
    margin-bottom: 20px;
}
.project-card-line img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.project-card-line:hover img {
    transform: scale(1.04);
}
.project-card-line h3 { font-size: 20px; margin-bottom: 5px; }
.project-details { font-size: 13px; color: #777; margin-bottom: 12px; }
.btn-link {
    color: var(--blue-night);
    font-weight: 600;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.btn-link:hover { color: var(--gold); }

/* 8. TÉMOIGNAGE SOBRE */
.section-testimonial-sobre { padding: 90px 0; text-align: center; }
.client-photo img {
    width: 90px; height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
}
.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 24px;
    font-style: italic;
    color: var(--blue-night);
    line-height: 1.4;
    margin-bottom: 20px;
}
.client-name {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #666;
}

/* 9. CTA DARK */
.section-cta-dark {
    background-color: var(--blue-night);
    color: var(--white);
    padding: 110px 20px;
}
.section-cta-dark h2 {
    color: var(--white);
    font-size: 34px;
    max-width: 750px;
    margin: 0 auto 20px auto;
}
.btn-gold {
    display: inline-block;
    background-color: var(--gold);
    color: var(--white);
    padding: 18px 36px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 2px;
    transition: background-color 0.3s;
}
.btn-gold:hover { background-color: #b59862; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .grid-2col, .before-after-grid, .projects-line-grid { grid-template-columns: 1fr; }
    .magazine-band, .magazine-band.reverse { grid-template-columns: 1fr; direction: ltr; }
    .timeline-horizontal { grid-template-columns: 1fr; }
}

/* COULEURS & ACCENTS */
.hero-card.olive { background: rgba(247, 244, 239, 0.95); }
.btn-primary.olive, .btn-olive {
    background-color: #6A7253;
    color: #FFFFFF;
    padding: 16px 32px;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1.5px;
    display: inline-block;
    transition: background 0.3s;
}
.btn-olive:hover { background-color: #1E3554; }

/* 3 CARTES SOLUTIONS (Agrandidement) */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}
.solution-card {
    height: 380px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}
.solution-overlay {
    width: 100%;
    background: rgba(106, 114, 83, 0.85); /* Vert Olive Transparent */
    padding: 20px;
    text-align: center;
    color: #FFF;
}
.solution-overlay h3 {
    color: #FFF;
    font-size: 18px;
    letter-spacing: 1.5px;
}

/* PROCESSUS AVEC FLÈCHES */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
}
.process-step { text-align: center; flex: 1; }
.step-icon { font-size: 32px; color: #C7AA72; margin-bottom: 10px; }
.step-code { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: bold; display: block; }
.step-arrow { font-size: 24px; color: #CCC; padding: 0 10px; }

/* CHIFFRES CLÉS (SECTION +35% DE CONFORT...) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
    padding: 60px 0;
}
.stat-number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    color: #1E3554;
    font-weight: 700;
}
.stat-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; display: block; }
.stat-sub { font-size: 12px; color: #777; }

/* FAQ ACCORDÉON */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}
.faq-item {
    background: #FFF;
    padding: 20px;
    border: 1px solid #E5E0D8;
    cursor: pointer;
}
.faq-item summary { font-weight: 600; color: #1E3554; outline: none; }
.faq-item p { margin-top: 10px; font-size: 14px; color: #555; }

/* BANNIÈRE CTA SBLIT (Page Extension) */
.cta-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #6A7253;
    color: #FFF;
}
.cta-content { padding: 80px 10%; }
.cta-content h2 { color: #FFF; font-size: 32px; }
.cta-image { background-size: cover; background-position: center; min-height: 400px; }

/* ==========================================================================
   STYLES PAGE PRESTATION (EXTENSIONS & RÉNOVATION)
   ========================================================================== */

/* LAYOUT & CONTENEURS */
.page-prestation {
    font-family: 'Montserrat', sans-serif;
    color: #333333;
    background-color: #FFFFFF;
}

.container-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 60px 20px;
}

.bg-beige { background-color: #F7F4EF; }
.bg-white { background-color: #FFFFFF; }
.text-center { text-align: center; }

/* SEPARATEUR DÉCORATIF */
.divider {
    width: 60px;
    height: 2px;
    background-color: #C7AA72;
    margin: 15px 0;
}
.divider.center {
    margin: 15px auto 30px auto;
}

/* HERO SECTION (HAUT DE PAGE) */
.hero-prestation {
    position: relative;
    min-height: 520px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 10%;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.25);
}
.hero-card {
    position: relative;
    z-index: 2;
    max-width: 480px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.hero-card.olive { background: rgba(247, 244, 239, 0.95); }
.hero-card.blue { background: rgba(255, 255, 255, 0.95); }

.hero-card h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    line-height: 1.15;
    letter-spacing: 2px;
    color: #1E3554;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.hero-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 25px;
}

/* BOUTONS */
.btn-primary.olive, .btn-olive {
    background-color: #6A7253;
    color: #FFFFFF !important;
    padding: 14px 28px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    display: inline-block;
    border: none;
    transition: all 0.3s ease;
}
.btn-primary.blue {
    background-color: #1E3554;
    color: #FFFFFF !important;
    padding: 14px 28px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    display: inline-block;
}
.btn-olive:hover, .btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* SECTION CARTES SOLUTIONS (3 COLONNES) */
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    letter-spacing: 2px;
    color: #1E3554;
    text-transform: uppercase;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.solution-card {
    min-height: 380px;
    background-size: cover;
    background-position: center;
    background-color: #E5E0D8; /* Couleur de secours si pas d'image */
    position: relative;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.solution-overlay {
    width: 100%;
    background: rgba(106, 114, 83, 0.90); /* Vert Olive semi-transparent */
    padding: 20px 15px;
    text-align: center;
}
.solution-overlay h3 {
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
}

/* FRISE PROCESSUS (5 ÉTAPES ALIGNÉES) */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    flex-wrap: nowrap;
}
.process-step {
    text-align: center;
    flex: 1;
}
.step-icon {
    font-size: 28px;
    color: #C7AA72;
    margin-bottom: 8px;
}
.step-code {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 700;
    color: #1E3554;
    display: block;
}
.process-step h4 {
    font-size: 12px;
    letter-spacing: 1px;
    color: #333;
    margin-top: 5px;
    text-transform: uppercase;
}
.step-arrow {
    font-size: 22px;
    color: #C7AA72;
    padding: 0 10px;
}

/* CHIFFRES CLÉS (4 COLONNES) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.stat-number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 46px;
    color: #1E3554;
    font-weight: 700;
    line-height: 1;
}
.stat-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-top: 8px;
    color: #333;
}
.stat-sub {
    font-size: 12px;
    color: #777;
}

/* BANNIÈRE FINALE DE CONTACT (SPLIT 50/50) */
.cta-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #6A7253;
    color: #FFFFFF;
    align-items: center;
}
.cta-content {
    padding: 80px 10%;
}
.cta-content h2 {
    color: #FFFFFF;
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    letter-spacing: 1.5px;
}
.cta-content p {
    color: #F7F4EF;
    margin-bottom: 30px;
    font-size: 15px;
}
.cta-image {
    background-size: cover;
    background-position: center;
    background-color: #555B42;
    min-height: 100%;
}

/* ADAPTATION MOBILE */
@media (max-width: 768px) {
    .solutions-grid, .stats-grid, .cta-split {
        grid-template-columns: 1fr;
    }
    .process-steps {
        flex-direction: column;
        gap: 20px;
    }
    .step-arrow {
        transform: rotate(90deg);
    }
}