/* ============================================
   VISION 57 STUDIO - Architecture d'intérieur
   ============================================ */

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

:root {
    /* Base */
    --noir: #1c1a17;
    --blanc: #f5f1ea;           /* crème lin chaud */
    --gris: #6b6560;
    --gris-clair: #e2dbd0;      /* béton clair */

    /* Bleu marine — ton principal */
    --accent: #162040;
    --accent-light: #2a3f6f;

    /* Végétation — sauge douce */
    --sage: #6b8060;
    --sage-light: #d6e2cf;
    --sage-bg: #edf2e9;

    /* Béton — pierre chaude */
    --stone: #9e9590;
    --stone-bg: #e8e2d9;

    /* Terre — ocre/terracotta */
    --terre: #a0633e;
    --terre-light: #dfc4b0;
    --terre-bg: #f2e8df;

    /* Lin — fond sable */
    --lin-bg: #ede6d8;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', 'Segoe UI', Helvetica, sans-serif;
    --transition: 0.3s ease;
    --shadow: 0 2px 20px rgba(0,0,0,0.07);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--noir);
    background: var(--blanc);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.3;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.text-center {
    text-align: center;
}

/* =====================
   NAVIGATION
   ===================== */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(4px);
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

#navbar.scrolled {
    background: rgba(247, 246, 243, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    border-bottom-color: rgba(0,0,0,0.06);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter var(--transition);
}

#navbar.scrolled .logo-img {
    filter: none;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-links a {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

#navbar.scrolled .nav-links a {
    color: var(--gris);
}

#navbar.scrolled .nav-links a:hover,
#navbar.scrolled .nav-links a.active {
    color: var(--noir);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
}

.btn-nav {
    padding: 0.5rem 1.2rem !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    transition: all var(--transition) !important;
}

.btn-nav:hover {
    background: white !important;
    color: var(--noir) !important;
}

#navbar.scrolled .btn-nav {
    border-color: var(--noir) !important;
}

#navbar.scrolled .btn-nav:hover {
    background: var(--noir) !important;
    color: var(--blanc) !important;
}

/* Language switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 1.2rem;
    padding-left: 1.2rem;
    border-left: 1px solid rgba(255,255,255,0.25);
}

.lang-btn {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color var(--transition);
}

.lang-btn:hover { color: white; }

.lang-btn.lang-active {
    color: white;
    font-weight: 600;
}

.lang-sep {
    color: rgba(255,255,255,0.3);
    font-size: 0.65rem;
}

#navbar.scrolled .lang-switch {
    border-left-color: var(--gris-clair);
}

#navbar.scrolled .lang-btn { color: var(--gris); }
#navbar.scrolled .lang-btn:hover { color: var(--noir); }
#navbar.scrolled .lang-btn.lang-active { color: var(--noir); }
#navbar.scrolled .lang-sep { color: var(--gris-clair); }

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -1rem;
    background: white;
    min-width: 200px;
    padding: 0.8rem 0;
    box-shadow: var(--shadow);
    list-style: none;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
    white-space: nowrap;
    color: var(--gris) !important;
}

.dropdown-menu li a:hover {
    background: var(--gris-clair);
    color: var(--noir) !important;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--noir);
    position: absolute;
    left: 0;
    transition: all var(--transition);
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 0; }

.menu-toggle.active span:nth-child(1) { top: 50%; transform: rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { bottom: 50%; transform: rotate(-45deg); }

/* =====================
   BUTTONS
   ===================== */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    background: #162040;
    color: var(--blanc);
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 2px solid #162040;
    cursor: pointer;
    transition: all var(--transition);
}

.btn:hover {
    background: transparent;
    color: #162040;
}

.btn-outline {
    background: transparent;
    color: #162040;
}

.btn-outline:hover {
    background: #162040;
    color: var(--blanc);
}

.link-arrow {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 2px;
    transition: all var(--transition);
}

.link-arrow:hover {
    color: var(--noir);
    border-color: var(--noir);
}

/* =====================
   HERO
   ===================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    background-color: #1a1a1a;
    background-image: url('hero-bg (1).jpg');
    background-position: center 62%;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.45) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(1.7rem, 4vw, 3.2rem);
    font-weight: 400;
    margin-bottom: 1.4rem;
    letter-spacing: 0.5px;
    color: white;
    white-space: normal;
    overflow-wrap: break-word;
}

.hero-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-logo-icon {
    width: 110px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.75;
    margin-top: 4rem;
    margin-bottom: 4rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    background: white;
    color: var(--noir);
    border-color: white;
}

.hero .btn:hover {
    background: transparent;
    color: white;
}

.hero .btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.7);
}

.hero .btn-outline:hover {
    background: white;
    color: var(--noir);
    border-color: white;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =====================
   PAGE HEADER
   ===================== */
.page-header {
    padding: 12rem 2rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: #1a1a1a;
    background-image: url('hero-bg (1).jpg');
    background-position: center 50%;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: clamp(1.6rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: white;
}

.page-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
}

/* =====================
   SECTIONS
   ===================== */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--stone-bg);
}

/* Sections matières supplémentaires */
.section-sage  { background: var(--sage-bg); }
.section-terre { background: var(--terre-bg); }
.section-lin   { background: var(--lin-bg); }

.section-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    text-align: center;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--gris);
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* =====================
   ENTRY CARDS (double entrée)
   ===================== */
.entry-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.entry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    padding: 3rem 2.5rem 2.5rem;
    background: white;
    border: 1px solid var(--gris-clair);
    border-radius: 4px;
    transition: all 0.4s ease;
}

.entry-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-4px);
    border-color: var(--accent);
}

.entry-card-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.entry-card-icon svg {
    width: 48px;
    height: 48px;
}

.entry-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--noir);
}

.entry-card p {
    color: var(--gris);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.entry-cta {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
    border-bottom: 1px solid var(--accent-light);
    padding-bottom: 3px;
    transition: all 0.3s ease;
}

.entry-card:hover .entry-cta {
    color: var(--noir);
    border-color: var(--noir);
}

/* =====================
   PILLARS (différenciateur)
   ===================== */
.pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 0.5rem;
}

.pillar-card {
    padding: 2.5rem;
    background: white;
    border-left: 3px solid var(--sage);
}

.pillar-card:nth-child(2) {
    border-left-color: var(--terre);
}

.pillar-num {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--sage);
    display: block;
    margin-bottom: 0.8rem;
}

.pillar-card:nth-child(2) .pillar-num {
    color: var(--terre);
}

.pillar-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.pillar-card p {
    color: var(--gris);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* =====================
   BEFORE / AFTER SLIDER
   ===================== */

.ba-labels-top {
    display: flex;
    justify-content: space-between;
    max-width: 900px;
    margin: 2rem auto 0.6rem;
    padding: 0 0.5rem;
}

.ba-labels-top span {
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gris);
}

.ba-slider-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 3rem;
}

.ba-slider {
    position: relative;
    width: 100%;
    height: 560px;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
}

.ba-img-wrap {
    position: absolute;
    inset: 0;
}

.ba-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.ba-after-wrap {
    clip-path: inset(0 0 0 50%);
}

.ba-label {
    position: absolute;
    top: 1.5rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: white;
    background: rgba(26, 26, 26, 0.6);
    padding: 0.45rem 1.1rem;
    backdrop-filter: blur(4px);
}

.ba-label-left  { left: 1.5rem; }
.ba-label-right { right: 1.5rem; left: auto; }

.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 2px;
    pointer-events: none;
    z-index: 10;
}

.ba-handle-line {
    position: absolute;
    inset: 0;
    background: white;
    opacity: 0.9;
}

.ba-handle-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 34px;
    height: 34px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.22);
    color: var(--noir);
}

/* =====================
   INTRO
   ===================== */
.intro-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.intro-text p {
    color: var(--gris);
    margin-bottom: 1.5rem;
}

.intro-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--gris-clair);
    border-radius: 4px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--accent);
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gris);
    margin-top: 0.3rem;
}

/* =====================
   SERVICES GRID (Home)
   ===================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem 2rem;
    background: white;
    transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.service-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--gris);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

/* =====================
   SERVICE DETAIL (Services page)
   ===================== */
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.service-detail-grid.reverse {
    direction: rtl;
}

.service-detail-grid.reverse > * {
    direction: ltr;
}

.service-label {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
}

.service-detail-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-detail-text p {
    color: var(--gris);
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    margin-bottom: 2rem;
}

.service-list li {
    padding: 0.4rem 0;
    padding-left: 1.2rem;
    position: relative;
    color: var(--gris);
    font-size: 0.95rem;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 1px;
    background: var(--accent);
}

.service-detail-img {
    width: 100%;
    min-height: 400px;
    height: 100%;
}

/* =====================
   PROJECTS GRID
   ===================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.projects-grid-large {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.project-card {
    cursor: pointer;
    transition: transform var(--transition);
    display: block;
    color: inherit;
    text-decoration: none;
}

.project-card:hover {
    transform: translateY(-4px);
}

.project-img {
    width: 100%;
    height: 280px;
    margin-bottom: 1rem;
    background-color: var(--gris-clair);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.project-info {
    padding: 0 0.2rem;
}

.project-tag {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
}

.project-card h3 {
    font-size: 1.3rem;
    margin: 0.3rem 0;
}

.project-card p {
    color: var(--gris);
    font-size: 0.9rem;
}

/* =====================
   PROJECT DETAIL — Réalisations
   ===================== */

.project-detail {
    padding: 5rem 0;
    border-bottom: 1px solid var(--gris-clair);
}

.project-detail:last-of-type {
    border-bottom: none;
}

/* En-tête tag + titre */
.pd-header {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.pd-tag {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--blanc);
    background: var(--accent);
    padding: 0.3rem 0.85rem;
    white-space: nowrap;
    display: inline-block;
}

.pd-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 300;
    color: var(--noir);
    line-height: 1.15;
    margin: 0;
}

/* Photo cover + métadonnées */
.pd-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    margin-bottom: 2.5rem;
    align-items: stretch;
}

.pd-cover {
    width: 100%;
    min-height: 420px;
    background-color: var(--gris-clair);
    background-size: cover;
    background-position: center;
}

.pd-meta {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 0.25rem;
}

/* Grille de specs — style monospace */
.pd-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem 2rem;
}

.pd-spec-full {
    grid-column: span 2;
}

.pd-spec-label {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--noir);
    margin-bottom: 0.35rem;
    display: block;
}

.pd-spec-value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--gris);
    line-height: 1.3;
}

.pd-desc {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--gris);
    margin: 0;
}

/* =====================
   LIGHTBOX
   ===================== */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.93);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    display: block;
    user-select: none;
    border-radius: 6px;
}

.lightbox-close {
    position: fixed;
    top: 1.5rem;
    right: 2rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
    background: none;
    border: none;
    padding: 0.5rem;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
    width: 3.5rem;
    height: 3.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-btn:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-counter {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.gallery-grid {
    display: flex;
    gap: 10px;
    margin-top: 2rem;
    align-items: flex-start;
}

.gallery-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-img {
    display: block;
    width: 100%;
    height: auto;
    cursor: zoom-in;
    transition: opacity 0.3s ease;
}

.gallery-img-wrap {
    overflow: hidden;
    background: var(--gris-clair);
    width: 100%;
    border-radius: 6px;
}

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

.gallery-img:hover .gallery-img-wrap img {
    transform: scale(1.04);
}

.gallery-img-missing {
    display: none;
}

/* Titre sous chaque photo */
.gallery-caption {
    display: block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--gris);
    padding: 0.4rem 0.3rem 0.2rem;
    background: transparent;
    line-height: 1.4;
}

/* Titre dans la lightbox — sous la photo */
.lightbox-title {
    color: rgba(255,255,255,0.8);
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    pointer-events: none;
}

/* Plan — traité comme une photo normale */
.gallery-img-wide,
.gallery-img-plan {
    background: #ffffff !important;
}

/* =====================
   PLAN D'AMÉNAGEMENT
   ===================== */

.project-plan-section {
    margin-top: 3rem;
    padding: 2.5rem 0;
    background: transparent;
    border: none;
}

.plan-section-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.75rem;
}

.plan-img-link {
    display: block;
    cursor: zoom-in;
    position: relative;
}

.plan-img-link::after {
    content: '⤢ Agrandir';
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.92);
    color: var(--accent);
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.4rem 0.8rem;
    border-radius: 2px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.plan-img-link:hover::after {
    opacity: 1;
}

.plan-img-link img {
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: contain;
    display: block;
    background: transparent;
    mix-blend-mode: multiply;
}

.gallery-placeholder {
    opacity: 0.6;
}

/* Filter bar */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--gris-clair);
    padding-bottom: 0;
}

.filter-btn {
    padding: 0 0 1rem 0;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gris);
    text-decoration: none;
    display: inline-block;
}

.filter-btn:hover {
    color: var(--noir);
    background: none;
    border-bottom-color: var(--gris-clair);
}

.filter-btn.active {
    color: var(--noir);
    background: none;
    border-bottom-color: var(--accent);
    font-weight: 500;
}

/* =====================
   PROCESS / METHOD
   ===================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem 1rem;
}

.process-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.process-step:nth-child(1) .process-num { color: var(--sage); }
.process-step:nth-child(2) .process-num { color: var(--accent); }
.process-step:nth-child(3) .process-num { color: var(--terre); }
.process-step:nth-child(4) .process-num { color: var(--stone); }

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.process-step p {
    color: var(--gris);
    font-size: 0.9rem;
}

/* =====================
   CTA SECTION
   ===================== */
.cta-section {
    background: #f2f2f2;
    padding: 5rem 2rem;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--gris);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* =====================
   PRICING (Tarifs)
   ===================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: white;
    padding: 2.5rem 2rem;
    border: 1px solid var(--gris-clair);
    position: relative;
    transition: box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card .btn,
.pricing-card .btn-outline {
    margin-top: auto;
    align-self: stretch;
    text-align: center;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    box-sizing: border-box;
}

.pricing-card:hover {
    box-shadow: var(--shadow);
}

.pricing-featured {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    white-space: nowrap;
}

.pricing-header h3 {
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
}

.pricing-desc {
    color: var(--gris);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-price {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gris-clair);
}

.price {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--noir);
}

.price-unit {
    color: var(--gris);
    font-size: 0.85rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.4rem 0;
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--gris);
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 1px;
    background: var(--accent);
}

.tarifs-note {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--gris-clair);
    text-align: center;
    color: var(--gris);
    font-size: 0.95rem;
}

/* =====================
   FAQ
   ===================== */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 1rem 0;
}

.faq-item summary {
    font-family: var(--font-display);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem 0;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::before {
    content: '+';
    margin-right: 1rem;
    color: var(--accent);
    font-weight: 300;
}

.faq-item[open] summary::before {
    content: '\2212';
}

.faq-item p {
    color: var(--gris);
    padding: 0.5rem 0 0.5rem 1.8rem;
    font-size: 0.95rem;
}

/* =====================
   ABOUT
   ===================== */
.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.about-portrait {
    width: 100%;
    min-height: 400px;
}

.about-bio h2 {
    font-size: 2rem;
    margin-bottom: 0.3rem;
}

.about-tagline {
    color: var(--accent);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.about-bio p {
    color: var(--gris);
    margin-bottom: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-top: 2px solid var(--gris-clair);
    transition: border-color var(--transition);
}

.value-card:nth-child(1) { border-top-color: var(--sage); }
.value-card:nth-child(2) { border-top-color: var(--accent); }
.value-card:nth-child(3) { border-top-color: var(--terre); }
.value-card:nth-child(4) { border-top-color: var(--stone); }

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.value-card p {
    color: var(--gris);
    font-size: 0.9rem;
}

.approach-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.approach-text p {
    color: var(--gris);
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* =====================
   CONTACT
   ===================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info-col h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info-col > p {
    color: var(--gris);
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1.2rem;
}

.contact-item h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.2rem;
}

.contact-item p {
    color: var(--gris);
    font-size: 0.95rem;
}

.contact-social {
    display: flex;
    gap: 1.5rem;
}

.contact-social a {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gris);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.contact-social a:hover {
    color: var(--noir);
    border-color: var(--noir);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gris);
    margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 0.8rem 1rem;
    border: 1px solid #d4d0c8;
    background: white;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--noir);
    outline: none;
    transition: border-color var(--transition);
    -webkit-appearance: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--accent);
}

/* =====================
   BLOG
   ===================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: white;
    border: 1px solid var(--gris-clair);
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition), transform var(--transition);
}

.blog-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.blog-card-img {
    display: block;
    width: 100%;
    height: 220px;
    background-color: var(--gris-clair);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.blog-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.blog-card h2 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-card h2 a {
    color: var(--noir);
}

.blog-card p {
    color: var(--gris);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

/* Blog cards statiques */
.blog-card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #162040;
    margin-bottom: 0.6rem;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.3;
    color: var(--noir);
    margin-bottom: 0.75rem;
}

.blog-card-excerpt {
    color: var(--gris);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.blog-card-meta {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--stone);
    text-transform: uppercase;
}

.blog-read {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
    align-self: flex-start;
}

/* =====================
   FOOTER
   ===================== */
footer {
    background-color: #162040;
    background-image: repeating-linear-gradient(
        -45deg,
        rgba(255,255,255,0.07) 0,
        rgba(255,255,255,0.07) 1px,
        transparent 0,
        transparent 50%
    );
    background-size: 8px 8px;
    color: rgba(255,255,255,0.65);
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
}

footer .logo {
    display: block;
    margin-bottom: 1rem;
}

footer .logo-img {
    filter: brightness(0) invert(1);
    height: 40px;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: white;
    margin-bottom: 1rem;
}

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

.footer-col ul li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-col ul a {
    color: rgba(255,255,255,0.65);
    transition: color var(--transition);
}

.footer-col ul a:hover {
    color: white;
}

.footer-bottom {
    background: #162040;
    border-top: none;
    padding: 1.5rem 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

.footer-bottom a {
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: white;
}

/* =====================
   ANIMATIONS
   ===================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1100px) {
    .container {
        padding: 0 2rem;
    }
    .nav-container {
        padding: 1rem 2rem;
    }
}

/* =====================
   NAVIGATION ADAPTIVE (≤ 1024px)
   Déclenche la nav 2 lignes dès la tablette
   ===================== */
@media (max-width: 1024px) {
    .menu-toggle { display: none !important; }

    .nav-container {
        flex-wrap: wrap;
        padding: 0.6rem 1.5rem;
        gap: 0;
    }

    .logo  { order: 1; }

    .lang-switch {
        order: 2;
        margin-left: auto;
        border-left: none;
        padding-left: 0;
    }

    .nav-links {
        display: flex !important;
        order: 3;
        width: 100%;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 1.4rem;
        padding: 0.5rem 0;
        margin-top: 0.35rem;
        border-top: 1px solid rgba(255,255,255,0.15);
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        position: static;
        background: transparent;
        backdrop-filter: none;
    }

    .nav-links::-webkit-scrollbar { display: none; }

    #navbar.scrolled .nav-links {
        border-top-color: rgba(0,0,0,0.07);
    }

    .nav-links > li { flex-shrink: 0; }

    .nav-links a { font-size: 0.78rem; }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: var(--shadow);
        display: none;
        margin-top: 0.3rem;
    }

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

@media (max-width: 968px) {
    .intro-grid,
    .service-detail-grid,
    .about-hero-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-detail-grid.reverse {
        direction: ltr;
    }

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

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

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

    .entry-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Nav — ajustements taille mobile uniquement */
    .nav-container { padding: 0.5rem 1.25rem; }
    .nav-links { gap: 1.1rem; }
    .nav-links a { font-size: 0.72rem; white-space: nowrap; }

    /* Sections */
    .section { padding: 3rem 0; }
    .cta-section { padding: 3rem 1.5rem; }

    .container { padding: 0 1.25rem; }

    /* Page header */
    .page-header { padding: 7rem 1.5rem 3.5rem; }

    /* Hero */
    .hero { padding: 5rem 1.5rem 3rem; }
    .hero-text { font-size: 0.95rem; }
    .hero-logo-icon { width: 70px; margin-top: 2rem; margin-bottom: 2rem; }
    .hero-cta { flex-direction: column; align-items: center; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }

    /* Process */
    .process-grid { grid-template-columns: 1fr 1fr; }

    /* Form */
    .form-row { grid-template-columns: 1fr; }

    /* Gallery */
    .gallery-grid { gap: 2px; }
    .gallery-col { gap: 2px; }

    /* Project detail */
    .pd-top { grid-template-columns: 1fr; gap: 2rem; }
    .pd-cover { aspect-ratio: 4 / 3; min-height: 0; }
    .pd-specs-grid { grid-template-columns: 1fr 1fr; }
    .pd-title { font-size: clamp(1.4rem, 5vw, 2rem); }

    /* Gallery masonry — colonnes gérées par JS */

    /* Pricing */
    .pricing-grid { grid-template-columns: 1fr; }

    /* Before / After slider */
    .ba-slider { height: 280px; }
    .ba-slider-wrap { padding: 0 1.25rem; }

    /* Services */
    .service-detail-img { min-height: 220px; }
    .about-portrait { min-height: 220px; }

    /* Projects */
    .project-img { height: 200px; }

    /* Filter bar */
    .filter-bar { gap: 2rem; }

    /* Entry cards */
    .entry-card { padding: 2rem 1.5rem; }

    /* Pillar cards */
    .pillar-card { padding: 1.75rem; }

    /* CTA section */
    .cta-section h2 { font-size: clamp(1.4rem, 4vw, 2.2rem); }
}

/* =====================
   TRÈS PETITS ÉCRANS (≤ 480px)
   ===================== */
@media (max-width: 480px) {
    .container { padding: 0 1rem; }

    .nav-container { padding: 0.5rem 1rem; }
    .nav-links { gap: 1rem; }
    .logo-img { height: 30px; }

    .section { padding: 2.5rem 0; }
    .page-header { padding: 6rem 1rem 2.5rem; }

    .entry-cards { gap: 1rem; }
    .entry-card { padding: 1.5rem 1rem; }
    .entry-card-icon { width: 50px; height: 50px; }

    .pillars-grid { gap: 1rem; }
    .pillar-card { padding: 1.25rem; }

    .process-grid { grid-template-columns: 1fr; }
    .process-step { padding: 1rem 0.5rem; }
    .process-num { font-size: 1.8rem; }

    .ba-slider { height: 220px; }
    .ba-slider-wrap { padding: 0 1rem; }

    .projects-grid { grid-template-columns: 1fr; }
    .project-img { height: 220px; }

    /* Gallery — 1 colonne sur mobile */
    .gallery-grid { flex-direction: column; }
    .gallery-col { flex: none; width: 100%; }

    .pd-specs-grid { grid-template-columns: 1fr; }

    .filter-bar { gap: 1.5rem; }

    .pricing-card { padding: 1.75rem 1.25rem; }

    .faq-item summary { font-size: 1rem; }

    .contact-grid { gap: 2rem; }

    .footer-grid { gap: 1.25rem; }
    .footer-bottom { padding: 1.25rem 1rem; }

    .section-subtitle { font-size: 0.9rem; }

    .btn { padding: 0.75rem 1.5rem; font-size: 0.8rem; }
}


/* ============================================================
   DESIGN — FOND BLANC
   ============================================================ */

/* Coins arrondis sur toutes les photos */
.project-img,
.pd-cover,
.gallery-img,
.service-detail-img,
.about-portrait,
.blog-card-img,
.blog-card {
    border-radius: 6px;
    overflow: hidden;
}

/* Fond général blanc */
body {
    background: #ffffff;
}

/* Toutes les sections → blanc pur */
.section-alt,
.section-sage,
.section-lin,
.section-terre {
    background: #ffffff;
}

/* Séparation visuelle entre sections via une fine ligne */
.section + .section,
.section-alt + .section,
.section + .section-alt,
.section-sage + .section,
.section + .section-sage,
.section-lin + .section,
.section + .section-lin {
    border-top: 1px solid rgba(0,0,0,0.07);
}

/* Cartes — ajout d'une ombre légère pour les faire ressortir sur blanc */
.entry-card {
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.08);
}

.pillar-card {
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.pricing-card {
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

/* Note tarifs sur fond blanc */
.tarifs-note {
    background: #f4f4f2;
    border: 1px solid rgba(0,0,0,0.07);
}

/* Bloc statistiques sur fond blanc */
.stat {
    background: #f4f4f2;
}

/* Process steps — séparateur entre étapes */
.process-step {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.process-step:last-child {
    border-bottom: none;
}

/* CTA section — fond gris clair */

/* Boutons — inchangés, noirs sur blanc = parfait */

/* Footer — inchangé, fond sombre */

