/* ============================================
   ALTIMUM — Design System
   ============================================ */

/* ============================================
   POLICES MUSEO (récupérées de l'ancien site)
   ============================================ */
@font-face {
    font-family: 'Museo';
    src: url('../assets/fonts/Museo300-Regular.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Museo';
    src: url('../assets/fonts/Museo700-Regular.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Couleurs — palette officielle Altimum (extraite du logo SVG) */
    --c-bordeaux: #8B1538;
    --c-bordeaux-dark: #6E102C;
    --c-bordeaux-light: #A6233F;
    --c-orange: #E85D2F;
    --c-orange-dark: #C84A22;
    --c-black: #1A1A1A;
    --c-charcoal: #2E2A28;
    --c-beige: #F5F1EA;
    --c-beige-light: #FAF8F4;
    --c-beige-dark: #E8E2D5;
    --c-text: #2E2A28;
    --c-text-muted: #6E665E;
    --c-line: rgba(139, 21, 56, 0.12);

    /* Typo */
    --f-serif: 'Cormorant Garamond', 'Times New Roman', serif;
    --f-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --f-museo: 'Museo', 'Inter', sans-serif;

    /* Sizes */
    --container: 1240px;
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;

    /* Transitions */
    --t-fast: 0.18s ease;
    --t: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--f-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--c-text);
    background: var(--c-beige);
    overflow-x: hidden;
    position: relative;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }

/* ============================================
   BLUEPRINT BACKGROUND (signature visuelle)
   ============================================ */
.blueprint-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-color: var(--c-beige);
    background-image:
        url("../assets/blueprint-floor-plan.png"),
        url("../assets/blueprint-broad.png");
    background-size:
        auto 110%,
        auto 100%;
    background-repeat: no-repeat, no-repeat;
    background-position:
        left -40px center,
        right -80px center;
    opacity: 0.55;
}
@media (max-width: 768px) {
    .blueprint-bg {
        background-image: url("../assets/blueprint-floor-plan.png");
        background-position: center;
        opacity: 0.3;
    }
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
    position: relative;
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }
}

/* ============================================
   TYPOGRAPHIE
   ============================================ */
h1, h2, h3, h4 {
    font-family: var(--f-serif);
    font-weight: 500;
    line-height: 1.15;
    color: var(--c-black);
    letter-spacing: -0.01em;
}

h1 em, h2 em {
    font-style: italic;
    color: var(--c-bordeaux);
    font-weight: 500;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--f-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-bordeaux);
    margin-bottom: 20px;
}
.kicker::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--c-orange);
}
.kicker--light { color: rgba(255,255,255,0.85); }
.kicker--light::before { background: var(--c-orange); }
.kicker--center { display: flex; justify-content: center; }
.kicker--center::before { display: none; }

.section__head { max-width: 720px; margin-bottom: 64px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__title { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 20px; }
.section__lead { font-size: 1.125rem; color: var(--c-text-muted); max-width: 600px; }
.section__head--center .section__lead { margin-left: auto; margin-right: auto; }

/* ============================================
   BOUTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: var(--radius-sm);
    transition: all var(--t);
    cursor: pointer;
    white-space: nowrap;
    border: 2px solid transparent;
}
.btn svg { transition: transform var(--t); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
    background: var(--c-bordeaux);
    color: #fff;
}
.btn--primary:hover {
    background: var(--c-orange);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(232, 93, 47, 0.25);
}

.btn--accent {
    background: var(--c-orange);
    color: #fff;
}
.btn--accent:hover {
    background: #fff;
    color: var(--c-bordeaux);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--c-bordeaux);
    border-color: var(--c-bordeaux);
}
.btn--outline:hover {
    background: var(--c-bordeaux);
    color: #fff;
}

.btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}
.btn--ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}
.btn--ghost-light:hover {
    background: rgba(255,255,255,0.15);
}

.btn--block { width: 100%; }

/* ============================================
   HEADER / NAVIGATION (transparent → solide au scroll)
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: all var(--t);
    background: transparent;
    border-bottom: 1px solid transparent;
}
.header.is-scrolled {
    background: rgba(245, 241, 234, 0.99);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-bottom-color: var(--c-line);
    box-shadow: 0 6px 28px -10px rgba(139, 21, 56, 0.14);
    padding: 10px 0;
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.header__logo img {
    transition: all var(--t);
    height: 60px;
    width: auto;
    max-width: 100%;
    filter: brightness(0) invert(1);
}
.header.is-scrolled .header__logo img {
    filter: none;
    height: 48px;
}

/* Nav links — blanc sur hero, sombre une fois scrollé */
.nav__list {
    display: flex;
    gap: 24px;
    flex-wrap: nowrap;
}
.nav__list a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    position: relative;
    padding: 6px 0;
    transition: color var(--t);
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.nav__list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--c-orange);
    transition: width var(--t);
}
.nav__list a:hover { color: #fff; }
.nav__list a:hover::after { width: 100%; }
.nav__list a.is-active { color: var(--c-orange); }
.nav__list a.is-active::after { width: 100%; }

.header.is-scrolled .nav__list a { color: var(--c-text); }
.header.is-scrolled .nav__list a:hover { color: var(--c-bordeaux); }
.header.is-scrolled .nav__list a.is-active { color: var(--c-bordeaux); }

.header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* FR/NL en pills ronds blancs */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--t);
}
.lang-btn {
    color: rgba(255, 255, 255, 0.7);
    padding: 5px 14px;
    border-radius: 100px;
    transition: all var(--t);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
}
.lang-btn:hover { color: #fff; }
.lang-btn.is-active {
    background: #fff;
    color: var(--c-bordeaux);
}
.lang-divider { display: none; }

.header.is-scrolled .lang-switch {
    background: rgba(139, 21, 56, 0.04);
    border-color: var(--c-line);
}
.header.is-scrolled .lang-btn { color: var(--c-text-muted); }
.header.is-scrolled .lang-btn:hover { color: var(--c-bordeaux); }
.header.is-scrolled .lang-btn.is-active {
    background: var(--c-bordeaux);
    color: #fff;
}

/* Téléphone */
.header__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 100px;
    transition: all var(--t);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    white-space: nowrap;
    flex-shrink: 0;
}
.header__phone span { white-space: nowrap; }
@media (max-width: 1200px) {
    .header__phone span { display: none; }
    .header__phone { padding: 9px 12px; }
}
.header__phone:hover {
    background: var(--c-orange);
    border-color: var(--c-orange);
    color: #fff;
}
.header.is-scrolled .header__phone {
    color: var(--c-bordeaux);
    border-color: var(--c-bordeaux);
    background: transparent;
}
.header.is-scrolled .header__phone:hover {
    background: var(--c-bordeaux);
    color: #fff;
}

/* Hamburger mobile */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all var(--t);
}
.header.is-scrolled .hamburger span { background: var(--c-text); }

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    padding: 150px 0 80px;
}
.hero__bg {
    position: absolute;
    inset: 0;
    background-color: #1a1a1a;
}
.hero__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.055);
    transition: opacity 950ms ease, transform 5200ms ease;
}
.hero__slide.is-active {
    opacity: 1;
    transform: scale(1);
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 82% 22%, rgba(232, 93, 47, 0.24) 0%, transparent 42%),
        linear-gradient(108deg, rgba(18, 16, 14, 0.93) 0%, rgba(26, 22, 20, 0.82) 46%, rgba(60, 25, 35, 0.58) 76%, rgba(110, 16, 44, 0.34) 100%),
        linear-gradient(180deg, rgba(0,0,0,0) 58%, rgba(0,0,0,0.58) 100%);
}
.hero::before {
    content: '';
    position: absolute;
    right: -120px;
    top: 9%;
    width: min(620px, 56vw);
    aspect-ratio: 1;
    background: url("../assets/blueprint-floor-plan.png") center/contain no-repeat;
    opacity: 0.3;
    transform: rotate(-8deg);
    z-index: 1;
    pointer-events: none;
}
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 880px;
}
.hero__title {
    font-size: clamp(3rem, 6.8vw, 5.6rem);
    line-height: 1.03;
    margin-bottom: 24px;
    color: #fff;
    font-weight: 500;
}
.hero__title em {
    color: var(--c-orange);
    font-style: italic;
}
.hero__claim {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 720px;
    margin: 0 0 24px;
    color: #fff;
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    font-weight: 700;
    letter-spacing: 0.01em;
}
.hero__claim::before {
    content: '';
    width: 34px;
    height: 2px;
    background: var(--c-orange);
    flex: 0 0 auto;
}
.hero__tagline {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
    color: var(--c-orange);
    margin-bottom: 14px;
    max-width: 700px;
    font-weight: 500;
}
.hero__subtitle {
    font-size: clamp(1rem, 1.25vw, 1.1rem);
    line-height: 1.65;
    max-width: 600px;
    margin-bottom: 34px;
    color: rgba(255,255,255,0.85);
    font-weight: 300;
}
.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.hero__indicators {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}
.hero__dot {
    width: 38px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,0.34);
    transition: width var(--t), background var(--t);
}
.hero__dot.is-active {
    width: 74px;
    background: var(--c-orange);
}
.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    z-index: 2;
    animation: bounce 2.4s ease-in-out infinite;
}
@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    background: rgba(250, 248, 244, 0.55);
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
}
.services__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
}
.service-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: 1px solid var(--c-line);
    transition: all var(--t);
    position: relative;
    overflow: hidden;
}
.service-card--visual {
    min-height: 520px;
}
.service-card__media {
    position: relative;
    margin: -28px -24px 6px;
    height: 185px;
    overflow: hidden;
    background: var(--c-charcoal);
}
.service-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(26,26,26,0.04) 0%, rgba(26,26,26,0.28) 100%),
        radial-gradient(ellipse at top right, rgba(232,93,47,0.28), transparent 55%);
}
.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity var(--t);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--c-bordeaux);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 62px -18px rgba(139, 21, 56, 0.24);
    border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover .service-card__media img {
    transform: scale(1.09);
}

.service-card__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--c-bordeaux) 0%, var(--c-orange) 100%);
    color: #fff;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    box-shadow: 0 14px 28px rgba(139, 21, 56, 0.18);
}
.service-card__icon svg {
    width: 32px;
    height: 32px;
}
.service-card__title {
    font-family: var(--f-serif);
    font-size: clamp(1.35rem, 1.6vw, 1.65rem);
    font-weight: 500;
    color: var(--c-black);
}
.service-card__tagline {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 1rem;
    color: var(--c-bordeaux);
    margin-top: -10px;
}
.service-card__desc {
    color: var(--c-text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    flex: 1;
}
.service-card__link {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--c-bordeaux);
    text-transform: uppercase;
    margin-top: 12px;
    transition: color var(--t);
}
.service-card__link:hover { color: var(--c-orange); }
.service-card__link span {
    display: inline-block;
    transition: transform var(--t);
    margin-left: 4px;
}
.service-card__link:hover span { transform: translateX(4px); }

/* ============================================
   COMMUNICATION CHANTIER
   ============================================ */
.communication {
    background:
        linear-gradient(135deg, rgba(26,26,26,0.94), rgba(87,16,41,0.92)),
        url("../assets/blueprint-bg-web.png") center/cover;
    color: #fff;
    overflow: hidden;
}
.communication::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 82% 18%, rgba(232,93,47,0.22), transparent 44%),
        linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
    pointer-events: none;
}
.communication__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 72px;
    align-items: center;
}
.communication .section__title,
.communication .section__title em {
    color: #fff;
}
.communication .section__title em {
    color: var(--c-orange);
}
.communication .section__lead {
    color: rgba(255,255,255,0.76);
    margin-bottom: 32px;
}
.communication__panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.comm-card {
    min-height: 210px;
    padding: 26px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform var(--t), background var(--t), border-color var(--t);
}
.comm-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.13);
    border-color: rgba(255,255,255,0.32);
}
.comm-card.is-featured {
    background: rgba(232,93,47,0.18);
    border-color: rgba(232,93,47,0.36);
}
.comm-card span {
    display: inline-flex;
    margin-bottom: 34px;
    font-family: var(--f-serif);
    font-size: 2.2rem;
    line-height: 1;
    color: var(--c-orange);
}
.comm-card h3 {
    color: #fff;
    font-family: var(--f-sans);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.comm-card p {
    color: rgba(255,255,255,0.72);
    font-size: 0.92rem;
}

/* ============================================
   SHOWCASE (avant/après)
   ============================================ */
.showcase {
    background: transparent;
}
.showcase__compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 56px;
}
.showcase__panel {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--c-beige-dark);
    box-shadow: 0 16px 40px -12px rgba(26, 26, 26, 0.18);
}
.showcase__panel > img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.showcase__panel:hover > img { transform: scale(1.04); }

/* ============================================
   COMPARE SLIDER (avant / après draggable)
   ============================================ */
.compare {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    aspect-ratio: 16/10;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 30px 80px -30px rgba(26, 26, 26, 0.4), 0 8px 20px -8px rgba(139, 21, 56, 0.2);
    cursor: ew-resize;
    user-select: none;
    background: var(--c-beige-dark);
}
.compare__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.compare__img--after { z-index: 1; }
.compare__img--before {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
    transition: none;
}
.compare__label {
    position: absolute;
    top: 24px;
    z-index: 4;
    padding: 8px 18px;
    background: rgba(26, 26, 26, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 4px;
}
.compare__label--before { left: 24px; background: rgba(26, 26, 26, 0.85); }
.compare__label--after { right: 24px; background: rgba(139, 21, 56, 0.92); }

.compare__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #fff;
    z-index: 3;
    pointer-events: none;
    transform: translateX(-50%);
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.35);
}
.compare__knob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}
.compare:hover .compare__knob,
.compare.is-dragging .compare__knob { transform: translate(-50%, -50%) scale(1.08); }
.compare__knob::before,
.compare__knob::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}
.compare__knob::before { border-right: 8px solid var(--c-bordeaux); margin-right: 4px; }
.compare__knob::after { border-left: 8px solid var(--c-bordeaux); margin-left: 4px; }

.compare__hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    padding: 6px 14px;
    border-radius: 100px;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.4s ease;
}
.compare.is-dragging .compare__hint { opacity: 0; }
.showcase__tag {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    background: var(--c-bordeaux);
    color: #fff;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.showcase__tag--after { background: var(--c-orange); }
.showcase__placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--c-beige-dark) 0%, #C5BDAF 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--c-text-muted);
}
.showcase__placeholder svg { color: var(--c-bordeaux); opacity: 0.5; }
.showcase__placeholder p { font-size: 0.9rem; font-style: italic; }
.showcase__panel figcaption {
    padding: 20px 24px;
    background: #fff;
    font-size: 0.92rem;
    color: var(--c-text-muted);
}
.showcase__cta { text-align: center; }

/* ============================================
   WHY US
   ============================================ */
.why {
    background: rgba(250, 248, 244, 0.55);
    border-top: 1px solid var(--c-line);
}
.why__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}
.why__intro .btn { margin-top: 28px; }

.why__list {
    display: flex;
    flex-direction: column;
}
.why__item {
    display: flex;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--c-line);
    transition: all var(--t);
}
.why__item:last-child { border-bottom: none; }
.why__item:hover { transform: translateX(8px); }
.why__num {
    font-family: var(--f-serif);
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--c-bordeaux);
    line-height: 1;
    min-width: 60px;
    opacity: 0.7;
}
.why__item h3 {
    font-family: var(--f-sans);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--c-black);
    margin-bottom: 6px;
}
.why__item p {
    color: var(--c-text-muted);
    font-size: 0.95rem;
}

/* ============================================
   CLIENTS
   ============================================ */
.clients {
    padding: 80px 0;
    background: transparent;
    text-align: center;
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
}
.clients__title {
    font-family: var(--f-serif);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: var(--c-text);
    font-weight: 400;
    font-style: italic;
    max-width: 920px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
    background:
        radial-gradient(ellipse at top right, rgba(232, 93, 47, 0.25) 0%, transparent 60%),
        linear-gradient(135deg, var(--c-bordeaux) 0%, var(--c-bordeaux-dark) 100%);
    color: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'><g fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.1'><rect x='40' y='60' width='120' height='80'/><rect x='180' y='60' width='80' height='80'/><rect x='280' y='60' width='80' height='120'/><circle cx='320' cy='320' r='28'/></g></svg>");
    background-size: 500px 500px;
}
.cta-band__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}
.cta-band__title {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
}
.cta-band__title em { color: var(--c-orange); }
.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
}

/* ============================================
   CONTACT PREVIEW
   ============================================ */
.contact-preview { background: transparent; }
.contact-preview__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 36px;
}
.contact-info li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    color: var(--c-text);
}
.contact-info svg { color: var(--c-bordeaux); flex-shrink: 0; }
.contact-info a:hover { color: var(--c-bordeaux); }

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--c-line);
    box-shadow: 0 24px 48px -20px rgba(139, 21, 56, 0.15);
}
.field { margin-bottom: 20px; }
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--c-beige-light);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-sm);
    color: var(--c-text);
    transition: all var(--t);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--c-bordeaux);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(139, 21, 56, 0.08);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note {
    font-size: 0.8rem;
    color: var(--c-text-muted);
    text-align: center;
    margin-top: 14px;
}
.form-note a { color: var(--c-bordeaux); text-decoration: underline; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--c-black);
    color: rgba(255,255,255,0.7);
    padding-top: 80px;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 60px;
}
.footer__brand img {
    filter: brightness(0) invert(1);
    margin-bottom: 18px;
}
.footer__tagline {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    max-width: 280px;
}
.footer h4 {
    font-family: var(--f-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c-orange);
    margin-bottom: 20px;
}
.footer ul li {
    margin-bottom: 12px;
    font-size: 0.92rem;
}
.footer ul a { transition: color var(--t); }
.footer ul a:hover { color: var(--c-orange); }
.footer__contact li { line-height: 1.7; }

.footer__social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.footer__social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    transition: all var(--t);
}
.footer__social a:hover {
    background: var(--c-orange);
    border-color: var(--c-orange);
    color: #fff;
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
}
.footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
}
.footer__bottom ul {
    display: flex;
    gap: 24px;
}
.footer__bottom ul li { margin: 0; }

/* ============================================
   RESPONSIVE — Tablet
   ============================================ */
@media (max-width: 1024px) {
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .why__grid,
    .contact-preview__grid,
    .cta-band__inner,
    .communication__grid { grid-template-columns: 1fr; gap: 48px; }
    .communication__panel { grid-template-columns: repeat(2, 1fr); }
    .cta-band__actions { justify-content: flex-start; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */
@media (max-width: 768px) {
    .nav, .header__phone { display: none; }
    .hamburger { display: flex; }
    .header__actions { gap: 12px; }

    .nav.is-open {
        display: flex !important;
        position: fixed;
        z-index: 999;
        top: 68px;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: calc(100vh - 68px);
        background: rgba(250, 248, 244, 0.98);
        border-top: 1px solid var(--c-line);
        box-shadow: 0 26px 60px rgba(26, 26, 26, 0.14);
        padding: 34px 24px 48px;
        flex-direction: column;
        overflow-y: auto;
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }
    .nav.is-open .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }
    .nav.is-open .nav__list a {
        display: flex;
        align-items: center;
        min-height: 56px;
        width: 100%;
        border-bottom: 1px solid var(--c-line);
        font-family: var(--f-sans);
        font-size: 1rem;
        font-weight: 700;
        color: var(--c-bordeaux);
        padding: 0;
        letter-spacing: 0.01em;
    }
    .nav.is-open .nav__list a::after {
        display: none;
    }
    .nav.is-open .nav__list a.is-active {
        color: var(--c-orange);
    }
    .hamburger[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .hamburger[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }
    .hamburger[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero { padding: 130px 0 60px; }
    .hero::before { width: 92vw; right: -42vw; top: 18%; opacity: 0.18; }
    .hero__cta { flex-direction: column; align-items: stretch; }
    .hero__cta .btn { width: 100%; }
    .hero__dot { width: 30px; }
    .hero__dot.is-active { width: 58px; }

    .services__grid { grid-template-columns: 1fr; }
    .service-card--visual { min-height: auto; }
    .service-card__media { height: 210px; }
    .communication__panel { grid-template-columns: 1fr; }
    .showcase__compare { grid-template-columns: 1fr; gap: 20px; }
    .field-row { grid-template-columns: 1fr; }
    .contact-form { padding: 28px; }
    .footer__grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
    .footer__bottom-inner { justify-content: center; text-align: center; }
}

/* ============================================
   PAGE INTERNE — HERO (compact, lisible)
   ============================================ */
.page-hero {
    position: relative;
    padding: 140px 0 80px;
    color: #fff;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}
.page-hero__bg {
    position: absolute;
    inset: 0;
    background-image: url("../assets/hero/slide2-facades.png");
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
}
.page-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, rgba(18, 16, 14, 0.92) 0%, rgba(26, 22, 20, 0.82) 45%, rgba(60, 25, 35, 0.65) 75%, rgba(110, 16, 44, 0.45) 100%);
}
.page-hero__content {
    width: 100%;
}
/* Variantes pour chaque page service */
.page-hero--construction .page-hero__bg { background-image: url("../assets/hero/slide1-construction.png"); }
.page-hero--facades .page-hero__bg { background-image: url("../assets/hero/slide2-facades.png"); }
.page-hero--renovation .page-hero__bg { background-image: url("../assets/hero/slide3-renovation.png"); }
.page-hero--technique .page-hero__bg { background-image: url("../assets/services/electricite/installations-electriques.png"); }
.page-hero::before {
    content: '';
    position: absolute;
    right: -90px;
    top: 12%;
    width: min(520px, 52vw);
    aspect-ratio: 1;
    background: url("../assets/blueprint-floor-plan.png") center/contain no-repeat;
    opacity: 0.24;
    transform: rotate(-8deg);
    z-index: 1;
    pointer-events: none;
}
.page-hero__content {
    position: relative;
    z-index: 2;
    max-width: 880px;
}
.page-hero__title {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    margin: 16px 0 24px;
    color: #fff;
    line-height: 1.05;
}
.page-hero__title em { color: var(--c-orange); font-style: italic; }
.page-hero__subtitle {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: rgba(255,255,255,0.85);
    max-width: 640px;
    font-weight: 300;
    line-height: 1.7;
}

/* ============================================
   BREADCRUMB (fil d'Ariane discret)
   ============================================ */
.breadcrumb {
    margin-bottom: 28px;
    padding: 0;
    background: none;
    border: none;
    display: block;
    width: auto;
}
.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    list-style: none;
    margin: 0;
    padding: 0;
}
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb a {
    color: rgba(255,255,255,0.7);
    transition: color var(--t);
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-hidden="true"] {
    color: rgba(255,255,255,0.25);
    font-size: 0.7rem;
    user-select: none;
}
.breadcrumb [aria-current="page"] {
    color: rgba(255,255,255,0.95);
    font-weight: 500;
}

/* ============================================
   INTRO SPLIT (texte + média)
   ============================================ */
.intro-split { background: rgba(250, 248, 244, 0.5); border-bottom: 1px solid var(--c-line); }
.intro-split__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}
.lead-text {
    font-family: var(--f-serif);
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--c-black);
    margin-bottom: 24px;
    font-weight: 400;
}
.intro-split__text p { margin-bottom: 18px; color: var(--c-text-muted); }

.intro-split__media {
    position: relative;
}
.media-placeholder {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--c-beige-dark) 0%, #C5BDAF 100%);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--c-text-muted);
    overflow: hidden;
}
.media-placeholder svg { color: var(--c-bordeaux); opacity: 0.45; }
.media-placeholder p { font-size: 0.95rem; font-style: italic; }
.media-placeholder--tall { aspect-ratio: 4/5; }

/* Photo réelle (remplace le placeholder) */
.real-media {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 50px -16px rgba(26, 26, 26, 0.3);
    position: relative;
}
.real-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.real-media--tall { aspect-ratio: 4/5; }
.real-media--wide { aspect-ratio: 16/10; }

.floating-badge {
    position: absolute;
    bottom: 24px;
    left: -24px;
    background: var(--c-bordeaux);
    color: #fff;
    padding: 20px 26px;
    border-radius: var(--radius-sm);
    box-shadow: 0 16px 32px rgba(139, 21, 56, 0.25);
    display: flex;
    flex-direction: column;
}
.floating-badge strong {
    font-family: var(--f-serif);
    font-size: 2.2rem;
    line-height: 1;
    color: var(--c-orange);
}
.floating-badge span { font-size: 0.82rem; line-height: 1.4; margin-top: 4px; }

/* ============================================
   KEY FIGURES (chiffres clés)
   ============================================ */
.key-figures {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--c-line);
}
.key-figures li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--c-text-muted);
    line-height: 1.4;
}
.key-figures__num {
    font-family: var(--f-serif);
    font-size: 2.4rem;
    color: var(--c-bordeaux);
    line-height: 1;
    font-weight: 500;
}
.key-figures__num small {
    font-size: 0.9rem;
    color: var(--c-orange);
    font-weight: 600;
    margin-left: 2px;
}

/* ============================================
   SUB-SERVICES (Façades / Toitures côte à côte)
   ============================================ */
.sub-services { background: transparent; }
.sub-services__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 20px;
}
.sub-service {
    background: #fff;
    border-radius: var(--radius);
    padding: 44px;
    border: 1px solid var(--c-line);
    box-shadow: 0 16px 40px -24px rgba(139, 21, 56, 0.15);
    transition: all var(--t);
}
.sub-service:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -20px rgba(139, 21, 56, 0.2); }

.sub-service__head {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--c-line);
}
.sub-service__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--c-bordeaux) 0%, var(--c-orange) 100%);
    color: #fff;
    border-radius: var(--radius-sm);
}
.sub-service__icon svg { width: 32px; height: 32px; }
.sub-service h3 {
    font-size: 1.8rem;
    color: var(--c-black);
}
.sub-service__tag {
    font-family: var(--f-serif);
    font-style: italic;
    color: var(--c-bordeaux);
    font-size: 1.05rem;
    margin-top: -8px;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.check-list li {
    position: relative;
    padding-left: 32px;
    font-size: 0.95rem;
    color: var(--c-text);
}
.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-bordeaux) 0%, var(--c-orange) 100%);
}
.check-list li::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 9px;
    width: 7px;
    height: 4px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

/* ============================================
   FEATURE GRID (sous-services avec photos)
   ============================================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.feature-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--c-line);
    transition: all var(--t);
    display: flex;
    flex-direction: column;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -16px rgba(139, 21, 56, 0.2);
    border-color: transparent;
}
.feature-card__media {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--c-beige-dark);
}
.feature-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card:hover .feature-card__media img { transform: scale(1.06); }
.feature-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(26, 26, 26, 0.35) 100%);
    pointer-events: none;
}
.feature-card__num {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--c-bordeaux);
    font-family: var(--f-serif);
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    backdrop-filter: blur(4px);
}
.feature-card__body {
    padding: 26px 28px 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.feature-card__title {
    font-family: var(--f-serif);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--c-black);
    line-height: 1.25;
}
.feature-card__desc {
    color: var(--c-text-muted);
    font-size: 0.93rem;
    line-height: 1.6;
    flex: 1;
}
.feature-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-bordeaux);
    margin-top: 6px;
    transition: color var(--t);
}
.feature-card__cta:hover { color: var(--c-orange); }
.feature-card__cta span { transition: transform var(--t); }
.feature-card__cta:hover span { transform: translateX(4px); }

/* Variante : carte avec icône (pas de photo) */
.feature-card--icon .feature-card__media {
    background: linear-gradient(135deg, var(--c-bordeaux) 0%, var(--c-orange) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.feature-card--icon .feature-card__media::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("../assets/blueprint-pattern.svg");
    background-size: 600px auto;
    background-position: center;
    opacity: 0.18;
    mix-blend-mode: screen;
}
.feature-card--icon .feature-card__media::after {
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.18) 100%);
}
.feature-card--icon .feature-card__media svg {
    width: 72px;
    height: 72px;
    color: rgba(255,255,255,0.95);
    z-index: 1;
    position: relative;
    transition: transform 0.5s ease;
}
.feature-card--icon:hover .feature-card__media svg { transform: scale(1.1); }

/* Variante : 6 cartes en 3x2 sur desktop */
@media (max-width: 1024px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
    .feature-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PROCESSUS
   ============================================ */
.process { background: rgba(250, 248, 244, 0.5); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.process__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}
.process__steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--c-bordeaux) 30%, var(--c-bordeaux) 70%, transparent 100%);
    opacity: 0.3;
}
.process-step {
    position: relative;
    padding: 0 20px;
    text-align: center;
}
.process-step__num {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: #fff;
    border: 2px solid var(--c-bordeaux);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-serif);
    font-size: 1.6rem;
    color: var(--c-bordeaux);
    font-weight: 500;
    position: relative;
    z-index: 1;
    transition: all var(--t);
}
.process-step:hover .process-step__num {
    background: var(--c-bordeaux);
    color: #fff;
    transform: scale(1.05);
}
.process-step h3 {
    font-family: var(--f-sans);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--c-black);
    margin-bottom: 10px;
}
.process-step p {
    font-size: 0.9rem;
    color: var(--c-text-muted);
    line-height: 1.6;
}

/* ============================================
   GALLERY (project cards)
   ============================================ */
.gallery { background: transparent; }
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.project-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--c-line);
    transition: all var(--t);
    cursor: pointer;
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -16px rgba(139, 21, 56, 0.18);
}
.project-card__media {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--c-beige-dark);
}
.project-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card:hover .project-card__media img { transform: scale(1.06); }
.project-card__media .media-placeholder {
    aspect-ratio: auto;
    height: 100%;
    border-radius: 0;
}
.project-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--c-bordeaux);
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.project-card__body { padding: 24px 28px 28px; }
.project-card__body h3 {
    font-family: var(--f-serif);
    font-size: 1.4rem;
    color: var(--c-black);
    margin-bottom: 8px;
}
.project-card__body p {
    color: var(--c-text-muted);
    font-size: 0.92rem;
    margin-bottom: 14px;
}
.project-card__meta {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--c-bordeaux);
    text-transform: uppercase;
    font-weight: 600;
}
.gallery__cta { text-align: center; margin-top: 48px; }

/* ============================================
   FAQ
   ============================================ */
.faq { background: rgba(250, 248, 244, 0.5); border-top: 1px solid var(--c-line); }
.faq__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    gap: 80px;
    align-items: start;
}
.link-accent { color: var(--c-bordeaux); text-decoration: underline; }
.link-accent:hover { color: var(--c-orange); }

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all var(--t);
}
.faq-item[open] {
    box-shadow: 0 8px 20px -8px rgba(139, 21, 56, 0.15);
    border-color: var(--c-bordeaux);
}
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 28px;
    cursor: pointer;
    font-weight: 600;
    color: var(--c-black);
    font-size: 1.02rem;
    list-style: none;
    transition: color var(--t);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--c-bordeaux); }
.faq-item__icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border: 1px solid var(--c-line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--c-bordeaux);
    transition: all var(--t);
}
.faq-item[open] .faq-item__icon {
    background: var(--c-bordeaux);
    color: #fff;
    transform: rotate(45deg);
}
.faq-item__body {
    padding: 0 28px 24px;
    color: var(--c-text-muted);
    line-height: 1.7;
    border-top: 1px solid var(--c-line);
    padding-top: 18px;
    animation: fadeInDown 0.3s ease;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   AUTRES SERVICES (en bas de page service)
   ============================================ */
.other-services { background: transparent; }
.other-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.other-services .service-card { cursor: pointer; }

/* ============================================
   RESPONSIVE — pages internes
   ============================================ */
@media (max-width: 1024px) {
    .intro-split__grid,
    .faq__grid { grid-template-columns: 1fr; gap: 48px; }
    .floating-badge { left: 16px; bottom: 16px; }
    .process__steps { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
    .process__steps::before { display: none; }
    .gallery__grid,
    .other-services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .page-hero { padding: 140px 0 60px; }
    .sub-services__grid { grid-template-columns: 1fr; gap: 20px; }
    .sub-service { padding: 32px; }
    .process__steps { grid-template-columns: 1fr; gap: 32px; }
    .gallery__grid,
    .other-services__grid { grid-template-columns: 1fr; }
    .key-figures { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================
   NAV ACTIVE
   ============================================ */
.nav__list a.is-active { color: var(--c-bordeaux); }
.nav__list a.is-active::after { width: 100%; }

/* ============================================
   MARQUEE — fil typographique discret
   ============================================ */
.marquee {
    overflow: hidden;
    padding: 14px 0;
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
    background: rgba(250, 248, 244, 0.5);
    position: relative;
}
.marquee::before, .marquee::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--c-beige) 0%, transparent 100%); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--c-beige) 0%, transparent 100%); }

.marquee__track {
    display: flex;
    gap: 24px;
    animation: marquee-slide 50s linear infinite;
    white-space: nowrap;
    width: max-content;
}
.marquee__item {
    font-family: var(--f-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 24px;
}
.marquee__item::after {
    content: '✦';
    color: var(--c-orange);
    font-size: 0.7em;
    letter-spacing: 0;
    opacity: 0.7;
}
@keyframes marquee-slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================
   SECTION NUMBER (chiffres serif XL en filigrane)
   ============================================ */
.section { position: relative; }
.section[data-num]::before {
    content: attr(data-num);
    position: absolute;
    top: 60px;
    right: 6%;
    font-family: var(--f-serif);
    font-size: clamp(8rem, 16vw, 18rem);
    font-weight: 500;
    color: var(--c-bordeaux);
    opacity: 0.04;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.section[data-num] .container { position: relative; z-index: 1; }
@media (max-width: 768px) {
    .section[data-num]::before { font-size: 6rem; top: 30px; right: 4%; opacity: 0.05; }
}

/* ============================================
   FILTRES (réalisations / blog)
   ============================================ */
.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 56px;
}
.filter-btn {
    padding: 10px 22px;
    background: transparent;
    border: 1px solid var(--c-line);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--c-text-muted);
    cursor: pointer;
    transition: all var(--t);
}
.filter-btn:hover {
    border-color: var(--c-bordeaux);
    color: var(--c-bordeaux);
}
.filter-btn.is-active {
    background: var(--c-bordeaux);
    border-color: var(--c-bordeaux);
    color: #fff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.projects-grid .project-card {
    cursor: pointer;
}
.projects-grid .project-card.is-hidden {
    display: none;
}
@media (max-width: 1024px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .projects-grid { grid-template-columns: 1fr; } }

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(20, 18, 14, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.lightbox.is-open {
    display: flex;
    opacity: 1;
}
.lightbox__content {
    position: relative;
    max-width: 1100px;
    max-height: 90vh;
    width: 100%;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 0;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 60px 120px rgba(0,0,0,0.6);
}
.lightbox__img {
    background: #1a1a1a;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.lightbox__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lightbox__body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.lightbox__badge {
    display: inline-block;
    align-self: flex-start;
    background: var(--c-bordeaux);
    color: #fff;
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.lightbox__title {
    font-family: var(--f-serif);
    font-size: 2rem;
    color: var(--c-black);
    margin-bottom: 16px;
    line-height: 1.2;
}
.lightbox__desc {
    color: var(--c-text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}
.lightbox__meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--c-text);
    border-top: 1px solid var(--c-line);
    padding-top: 18px;
}
.lightbox__meta strong { color: var(--c-bordeaux); font-weight: 600; }
.lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all var(--t);
    color: var(--c-bordeaux);
}
.lightbox__close:hover { background: var(--c-bordeaux); color: #fff; transform: rotate(90deg); }
@media (max-width: 768px) {
    .lightbox { padding: 20px; }
    .lightbox__content { grid-template-columns: 1fr; max-height: 95vh; overflow-y: auto; }
    .lightbox__body { padding: 28px; }
}

/* ============================================
   TEAM GRID (page À propos)
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.team-member {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--c-line);
    text-align: center;
    transition: all var(--t);
}
.team-member:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -16px rgba(139, 21, 56, 0.18);
}
.team-member__photo {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--c-bordeaux) 0%, var(--c-orange) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.95);
    font-family: var(--f-serif);
    font-size: 3.2rem;
    font-weight: 500;
    position: relative;
}
.team-member__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("../assets/blueprint-pattern.svg");
    background-size: 600px;
    background-position: center;
    opacity: 0.15;
    mix-blend-mode: screen;
}
.team-member__body { padding: 22px 18px; }
.team-member__name {
    font-family: var(--f-serif);
    font-size: 1.15rem;
    color: var(--c-black);
    margin-bottom: 4px;
}
.team-member__role {
    font-size: 0.82rem;
    color: var(--c-bordeaux);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.team-member__years {
    font-family: var(--f-serif);
    font-style: italic;
    color: var(--c-text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
}
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } }

/* ============================================
   VALUES (page À propos)
   ============================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.value-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px 32px;
    border: 1px solid var(--c-line);
    text-align: center;
    transition: all var(--t);
}
.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -16px rgba(139, 21, 56, 0.18);
}
.value-card__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--c-bordeaux) 0%, var(--c-orange) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.value-card__icon svg { width: 36px; height: 36px; }
.value-card h3 {
    font-family: var(--f-serif);
    font-size: 1.6rem;
    margin-bottom: 14px;
}
.value-card p { color: var(--c-text-muted); line-height: 1.7; }
@media (max-width: 1024px) { .values-grid { grid-template-columns: 1fr; } }

/* ============================================
   PARTNERSHIP BANNER (Irontec)
   ============================================ */
.partnership {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--c-bordeaux) 0%, var(--c-bordeaux-dark) 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.partnership::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("../assets/blueprint-pattern.svg");
    background-size: 1400px;
    opacity: 0.1;
    mix-blend-mode: screen;
}
.partnership__inner {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.partnership__kicker {
    color: var(--c-orange);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: block;
}
.partnership h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}
.partnership h2 em { color: var(--c-orange); font-style: italic; }
.partnership p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ============================================
   CONTACT FULL (page Contact)
   ============================================ */
.contact-full__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact-map {
    margin-top: 60px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--c-line);
    box-shadow: 0 16px 40px -16px rgba(0,0,0,0.15);
}
.contact-map iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}
.contact-channels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}
.contact-channel {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-sm);
    transition: all var(--t);
}
.contact-channel:hover {
    border-color: var(--c-bordeaux);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -12px rgba(139, 21, 56, 0.18);
}
.contact-channel__icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: var(--c-bordeaux);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-channel--wa .contact-channel__icon { background: #25D366; }
.contact-channel__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-text-muted);
    font-weight: 600;
}
.contact-channel__value {
    font-weight: 600;
    color: var(--c-black);
    margin-top: 2px;
    font-size: 0.92rem;
}
@media (max-width: 1024px) {
    .contact-full__grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-channels { grid-template-columns: 1fr; }
}

/* ============================================
   LEGAL PAGES (mentions, confidentialité, cookies)
   ============================================ */
.legal-article {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius);
    padding: 60px;
    border: 1px solid var(--c-line);
    box-shadow: 0 16px 40px -20px rgba(139, 21, 56, 0.12);
}
.legal-article h2 {
    font-family: var(--f-serif);
    font-size: 1.6rem;
    color: var(--c-bordeaux);
    margin: 32px 0 14px;
}
.legal-article h2:first-child { margin-top: 0; }
.legal-article h3 {
    font-family: var(--f-sans);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 24px 0 10px;
    color: var(--c-black);
}
.legal-article p, .legal-article li {
    color: var(--c-text);
    line-height: 1.75;
    margin-bottom: 12px;
}
.legal-article ul {
    list-style: disc;
    padding-left: 24px;
    margin: 12px 0;
}
.legal-article ul li { margin-bottom: 6px; }
.legal-article .last-update {
    font-style: italic;
    color: var(--c-text-muted);
    font-size: 0.9rem;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--c-line);
}
@media (max-width: 768px) { .legal-article { padding: 36px 24px; } }

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.wa-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: wa-pulse 2.5s ease-in-out infinite;
}
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab:hover {
    transform: scale(1.08) translateY(-2px);
    background: #128C7E;
    box-shadow: 0 16px 36px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0,0,0,0.2);
}
.wa-fab::before {
    content: 'WhatsApp';
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: #1a1a1a;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
}
.wa-fab::after {
    content: '';
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid #1a1a1a;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.wa-fab:hover::before { opacity: 1; transform: translateY(-50%) translateX(0); }
.wa-fab:hover::after { opacity: 1; }

@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
}

@media (max-width: 640px) {
    .wa-fab { width: 54px; height: 54px; bottom: 18px; right: 18px; }
    .wa-fab svg { width: 26px; height: 26px; }
    .wa-fab::before, .wa-fab::after { display: none; }
}

/* ============================================
   ANIMATIONS — Apparition au scroll
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   MOBILE NAV OVERRIDE
   ============================================ */
@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
    }

    body.menu-open .header {
        z-index: 3000;
        background: rgba(250, 248, 244, 0.98);
        border-bottom-color: var(--c-line);
        box-shadow: 0 12px 30px rgba(28, 24, 20, 0.1);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    body.menu-open .header__logo img {
        filter: none;
    }

    body.menu-open .hamburger span {
        background: var(--c-text);
    }

    .nav.is-open,
    body.menu-open .nav.is-open {
        display: block !important;
        position: fixed !important;
        inset: 70px 0 0 0 !important;
        z-index: 2999 !important;
        width: 100vw !important;
        height: calc(100dvh - 70px) !important;
        padding: 18px 22px 34px !important;
        overflow-y: auto !important;
        background: #faf8f4 !important;
        border-top: 1px solid var(--c-line);
        box-shadow: 0 22px 40px rgba(28, 24, 20, 0.14);
    }

    .nav.is-open .nav__list,
    body.menu-open .nav.is-open .nav__list {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .nav.is-open .nav__list li,
    body.menu-open .nav.is-open .nav__list li {
        display: block !important;
        width: 100% !important;
    }

    .nav.is-open .nav__list a,
    body.menu-open .nav.is-open .nav__list a {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        min-height: 58px !important;
        padding: 0 4px !important;
        border-bottom: 1px solid var(--c-line) !important;
        color: var(--c-bordeaux) !important;
        font-family: var(--f-sans) !important;
        font-size: 1rem !important;
        font-style: normal !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
        background: transparent !important;
    }

    .nav.is-open .nav__list a::before,
    .nav.is-open .nav__list a::after,
    body.menu-open .nav.is-open .nav__list a::before,
    body.menu-open .nav.is-open .nav__list a::after {
        display: none !important;
        content: none !important;
    }

    .nav.is-open .nav__list a.is-active,
    body.menu-open .nav.is-open .nav__list a.is-active {
        color: var(--c-orange) !important;
    }
}
