/* ============================================================
   CloisolSud — Pages services & références (v2 — centré simple)
   ------------------------------------------------------------
   Layout : une seule colonne centrée, lisible, maintenable.
   Tout le contenu s'aligne sur le même axe vertical.
   ============================================================ */

:root {
    --v2-steel-dark:  #1f2530;
    --v2-steel:       #2c3340;
    --v2-steel-light: #3a4250;
    --v2-content-w:   720px;     /* largeur de lecture unique */
    --v2-radius:      14px;
    --v2-radius-lg:   22px;
    --v2-shadow-sm:   0 1px 2px rgba(20, 25, 35, 0.04), 0 2px 6px rgba(20, 25, 35, 0.05);
    --v2-shadow-md:   0 8px 24px rgba(20, 25, 35, 0.07), 0 2px 8px rgba(20, 25, 35, 0.04);
    --v2-shadow-lg:   0 24px 60px -16px rgba(20, 25, 35, 0.18), 0 8px 24px -6px rgba(20, 25, 35, 0.08);
}

/* ============================================================
   CANVAS — fond global
   ============================================================ */

body.v2-page {
    background: var(--paper-2);
}

.v2-canvas {
    position: relative;
    min-height: 100vh;
    padding: 120px 24px 80px;
    background:
        radial-gradient(ellipse 70% 40% at 50% 0%, rgba(200, 92, 40, 0.05) 0%, transparent 60%),
        linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}

.v2-main {
    max-width: var(--v2-content-w);
    margin: 0 auto;
}

/* ============================================================
   HERO — bandeau d'en-tête
   ============================================================ */

.v2-hero {
    background: linear-gradient(135deg, var(--v2-steel-dark) 0%, var(--v2-steel) 60%, var(--v2-steel-light) 100%);
    border-radius: var(--v2-radius-lg) var(--v2-radius-lg) 0 0;
    padding: 56px 48px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.v2-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 50% 100%, rgba(200, 92, 40, 0.18) 0%, transparent 70%);
    pointer-events: none;
}
.v2-hero > * { position: relative; z-index: 1; }

.v2-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 6px 14px;
    background: rgba(200, 92, 40, 0.12);
    border: 1px solid rgba(200, 92, 40, 0.28);
    border-radius: 100px;
    margin-bottom: 18px;
}

.v2-breadcrumb {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 22px;
}
.v2-breadcrumb a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color var(--transition);
}
.v2-breadcrumb a:hover { color: #fff; }
.v2-breadcrumb .sep { margin: 0 8px; color: rgba(255, 255, 255, 0.3); }
.v2-breadcrumb .current { color: rgba(255, 255, 255, 0.9); }

.v2-hero h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -1.2px;
    line-height: 1.1;
    margin: 0 0 16px;
}

.v2-hero-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================================
   ARTICLE — corps centré
   ============================================================ */

.v2-article {
    background: #fff;
    padding: 56px 48px;
    box-shadow: var(--v2-shadow-lg);
    border-left: 1px solid var(--paper-3);
    border-right: 1px solid var(--paper-3);
}

.v2-article > *:first-child { margin-top: 0; }
.v2-article > *:last-child  { margin-bottom: 0; }

.v2-article p {
    font-size: 15.5px;
    color: var(--ink-2);
    line-height: 1.75;
    margin: 0 0 22px;
}

.v2-intro {
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
    margin: 0 0 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--paper-3);
}
.v2-intro strong { color: var(--accent-dark); font-weight: 600; }

/* ─── Titres de section ──────────────────────────────── */

.v2-section {
    margin: 48px 0;
}
.v2-section:first-child { margin-top: 0; }
.v2-section:last-child  { margin-bottom: 0; }

.v2-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.v2-section-eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.v2-section h2 {
    font-family: 'Syne', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin: 0 0 20px;
}

/* ============================================================
   BLOC : SPECS (cartes 2 colonnes)
   ============================================================ */

.v2-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.v2-spec {
    background: var(--paper);
    border: 1px solid var(--paper-3);
    border-radius: var(--v2-radius);
    padding: 22px 22px 20px;
    transition: all var(--transition);
}
.v2-spec:hover {
    border-color: rgba(200, 92, 40, 0.35);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: var(--v2-shadow-md);
}

.v2-spec-icon {
    font-size: 24px;
    line-height: 1;
    margin-bottom: 12px;
    display: block;
}

.v2-spec-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.v2-spec-value {
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.55;
}
.v2-spec-value strong { color: var(--accent-dark); font-weight: 600; }

/* ============================================================
   BLOC : TABLEAU
   ============================================================ */

.v2-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--paper-3);
    border-radius: var(--v2-radius);
    background: #fff;
}

.v2-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.v2-table thead {
    background: var(--paper);
}
.v2-table th {
    text-align: left;
    padding: 14px 18px;
    font-weight: 700;
    color: var(--ink);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--paper-3);
}
.v2-table td {
    padding: 14px 18px;
    color: var(--ink-2);
    border-bottom: 1px solid var(--paper-3);
    line-height: 1.5;
    vertical-align: top;
}
.v2-table tbody tr:last-child td { border-bottom: none; }
.v2-table tbody tr:hover { background: var(--paper); }
.v2-table strong { color: var(--accent-dark); font-weight: 700; }

/* ============================================================
   BLOC : LISTE D'AVANTAGES (checkmarks)
   ============================================================ */

.v2-checks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}
.v2-checks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: var(--paper);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--v2-radius) var(--v2-radius) 0;
    font-size: 14.5px;
    color: var(--ink-2);
    line-height: 1.5;
}
.v2-checks li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
    line-height: 1.4;
}

/* ============================================================
   BLOC : LISTE EN PUCES SIMPLES (clients, sous-secteurs)
   ============================================================ */

.v2-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.v2-pills li {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    background: var(--paper);
    border: 1px solid var(--paper-3);
    border-radius: 100px;
    font-size: 14px;
    color: var(--ink);
    font-weight: 500;
    transition: all var(--transition);
}
.v2-pills li:hover {
    border-color: var(--accent);
    background: #fff;
    color: var(--accent-dark);
}

/* ============================================================
   BLOC : LISTE DE PRESTATIONS (cases à cocher)
   ============================================================ */

.v2-prestations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.v2-prestations li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--paper);
    border: 1px solid var(--paper-3);
    border-radius: var(--v2-radius);
    font-size: 14px;
    color: var(--ink);
    font-weight: 500;
    transition: all var(--transition);
}
.v2-prestations li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    flex-shrink: 0;
}
.v2-prestations li:hover {
    border-color: var(--accent);
    background: #fff;
    transform: translateY(-1px);
}

/* ============================================================
   BLOC : ÉTAT VIDE (références sans chantier)
   ============================================================ */

.v2-empty {
    background: var(--paper);
    border: 1px dashed var(--paper-3);
    border-radius: var(--v2-radius-lg);
    padding: 44px 32px;
    text-align: center;
}
.v2-empty-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    background: #fff;
    color: var(--accent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: var(--v2-shadow-sm);
}
.v2-empty h3 {
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 10px;
}
.v2-empty p {
    font-size: 14.5px;
    color: var(--ink-2);
    line-height: 1.6;
    max-width: 460px;
    margin: 0 auto 22px;
}
.v2-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    transition: all var(--transition);
}
.v2-empty-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(200, 92, 40, 0.3);
}

/* ============================================================
   CTA — bandeau de bas de page
   ============================================================ */

.v2-cta {
    background: linear-gradient(135deg, var(--v2-steel-dark) 0%, var(--v2-steel) 100%);
    border-radius: 0 0 var(--v2-radius-lg) var(--v2-radius-lg);
    padding: 44px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.v2-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(200, 92, 40, 0.18) 0%, transparent 70%);
    pointer-events: none;
}
.v2-cta > * { position: relative; z-index: 1; }

.v2-cta-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.v2-cta h2 {
    font-family: 'Syne', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}

.v2-cta p {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 22px;
}

.v2-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 12px;
    transition: all var(--transition);
    box-shadow: 0 8px 24px rgba(200, 92, 40, 0.4);
}
.v2-cta-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(200, 92, 40, 0.5);
}

/* ============================================================
   AUTRES PAGES (related links, en bas)
   ============================================================ */

.v2-related {
    margin-top: 56px;
    padding-top: 36px;
    border-top: 1px solid var(--paper-3);
}
.v2-related-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-3);
    text-align: center;
    margin-bottom: 18px;
}
.v2-related-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.v2-related-grid a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid var(--paper-3);
    border-radius: 100px;
    font-size: 13px;
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition);
}
.v2-related-grid a:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
    transform: translateY(-1px);
}
.v2-related-grid a::after {
    content: '→';
    color: var(--accent);
    font-weight: 700;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 720px) {
    .v2-canvas { padding: 100px 16px 60px; }
    .v2-hero   { padding: 40px 24px 36px; }
    .v2-hero h1 { font-size: 28px; }
    .v2-article { padding: 36px 24px; }
    .v2-cta    { padding: 36px 24px; }
    .v2-cta h2 { font-size: 22px; }
    .v2-specs,
    .v2-prestations { grid-template-columns: 1fr; }
    .v2-table th,
    .v2-table td { padding: 12px 14px; font-size: 13px; }
}
