* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Atelier palette (mockup) */
    --iron:        #211F1C;
    --iron-2:      #2C2A25;
    --paper:       #E7E0D1;
    --paper-2:     #D9D0BC;
    --surface-lift:#F2ECE1;
    --ink:         #201C17;
    --rust:        #E5140F;
    --rust-dark:   #A30D09;
    --ok:          #4F6A4A;

    /* Aliases (thème existant) */
    --dark:        var(--iron);
    --dark-soft:   var(--iron-2);
    --brand-red:   var(--rust);
    --brand-red-dark: var(--rust-dark);
    --page-bg:     var(--iron);
    --bg-white:    var(--paper);
    --bg-muted:    var(--paper-2);
    --peach:       var(--paper);
    --peach-dark:  var(--paper-2);
    --peach-text:  var(--ink);
    --text-dark:   var(--ink);
    --text-body:   #4A453D;
    --text-muted:  #6B655C;
    --border:      rgba(255, 255, 255, 0.12);
    --shadow-sm:   0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-md:   0 8px 24px rgba(0, 0, 0, 0.35);
    --section-y:   clamp(3.5rem, 8vw, 5.5rem);
    --section-x:   clamp(1rem, 4vw, 1.75rem);
    --max-width:   56rem;
    --nav-height:  4.25rem;
    --wrap:        1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Archivo', system-ui, sans-serif;
    color: var(--paper);
    line-height: 1.6;
    font-size: 16px;
    background: var(--iron);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, .section-title,
.service-principal-titre,
.service-ligne-titre {
    font-family: 'Archivo Black', 'Archivo', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.mono {
    font-family: 'IBM Plex Mono', monospace;
}

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--section-x);
}

.texture {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.015) 0px,
        rgba(255, 255, 255, 0.015) 1px,
        transparent 1px,
        transparent 3px
    );
    mix-blend-mode: overlay;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    min-height: var(--nav-height);
    background: var(--iron);
    border-bottom: 2px solid var(--rust);
    box-shadow: none;
}

.nav::before {
    display: none;
}

.nav-inner,
.headbar {
    max-width: var(--wrap);
    margin: 0 auto;
    min-height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem var(--section-x);
    gap: 1rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo {
    height: 2.15rem;
    width: auto;
    max-width: min(200px, 48vw);
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 1.75rem);
    list-style: none;
}

.nav-links a {
    color: var(--paper);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.85;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.15rem;
    transition: opacity 0.15s, border-color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--paper);
    opacity: 1;
    border-bottom-color: var(--rust);
}

.call-btn {
    display: inline-flex;
    align-items: center;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 600;
    font-size: 0.8125rem;
    background: var(--rust);
    color: var(--iron) !important;
    padding: 0.55rem 1rem;
    text-decoration: none !important;
    white-space: nowrap;
    border: none !important;
    opacity: 1 !important;
}

.call-btn:hover {
    background: var(--rust-dark);
    color: var(--paper) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 1.15rem;
    height: 2px;
    background: var(--paper);
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle:hover {
    background: var(--iron-2);
    border-color: var(--rust);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

body.nav-open {
    overflow: hidden;
}

/* Hero */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-height) + 2rem) var(--section-x) 4rem;
    background: #2C2C2A;
    color: var(--bg-white);
    text-align: center;
}

.hero-inner {
    max-width: 40rem;
}

.hero-logo {
    display: block;
    margin: 0 auto 1.75rem;
    max-width: min(100%, 22rem);
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.hero h1 {
    font-size: clamp(1.75rem, 5.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-primary {
    background: var(--brand-red);
    color: #fff;
    border-color: var(--brand-red);
}

.btn-primary:hover {
    background: var(--brand-red-dark);
    border-color: var(--brand-red-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--brand-red);
    border-color: var(--brand-red);
}

.btn-outline:hover {
    background: var(--brand-red);
    color: var(--bg-white);
}

/* Sections */
.section {
    padding: var(--section-y) var(--section-x);
}

.section-cream {
    background: var(--page-bg);
}

.section-white {
    background: var(--bg-white);
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    font-size: clamp(1.35rem, 3.5vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--brand-red);
}

.section-lead {
    text-align: center;
    color: var(--text-muted);
    max-width: 36rem;
    margin: -1rem auto 2rem;
    font-size: 0.95rem;
}

/* Services page */
.service-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 2rem;
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.service-list-grid li {
    position: relative;
    padding: 0.35rem 0 0.35rem 1.1rem;
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.5;
}

.service-list-grid li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-red);
}

.service-box {
    background: var(--peach);
    border: 1px solid var(--peach-dark);
    border-radius: 12px;
    padding: 1.5rem;
}

.service-box-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: grid;
    gap: 0.45rem;
}

.service-checklist li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.55;
}

.service-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-red);
    font-weight: 700;
}

.service-box-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--brand-red);
}

.service-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.55;
    margin: 0;
}

.service-highlight {
    text-align: center;
    padding: 1rem 1.25rem;
    background: var(--brand-red);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 12px;
    margin: 0;
}

.service-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.service-point {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.service-point strong {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.service-point p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.55;
    margin: 0;
}

/* Refus phrases */
#refus.section {
    padding-bottom: clamp(2rem, 5vw, 3rem);
}

#machines-sauvees.section {
    padding-top: clamp(2rem, 5vw, 3rem);
}

.refus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.refus-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.refus-card blockquote {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-body);
    margin-bottom: 0;
}

.refus-conclusion {
    text-align: center;
    padding: 1.25rem 1.5rem;
    background: var(--brand-red);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 12px;
    border: none;
}

/* Cases cards */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.section .cases-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
}

@media (max-width: 640px) {
    .section .cases-grid {
        grid-template-columns: 1fr;
    }
}

.case-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-lift);
    border-radius: 0;
    border: 1px solid rgba(32, 28, 23, 0.16);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: none;
    transition: border-color 0.2s, background 0.2s;
}

.case-card:hover {
    box-shadow: none;
    transform: none;
    border-color: rgba(32, 28, 23, 0.32);
    background: #f7f2e8;
}

.case-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-muted);
}

.case-card-image--placeholder {
    min-height: 120px;
}

.case-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-card-body {
    padding: 1.25rem;
    border-left: 4px solid var(--brand-red);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-card-meta {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.4rem;
}

.case-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.case-card-summary {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.55;
    flex: 1;
}

.case-card-summary,
.repair-item-summary {
    color: #4a453d !important;
}

.case-card-title,
.repair-item-title {
    color: var(--ink) !important;
}

.case-card-link {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-red);
}

.cases-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.review-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.review-stars {
    color: var(--brand-red);
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.review-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.review-author {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-author strong {
    color: var(--text-dark);
}

.review-verified {
    color: var(--brand-red);
    font-weight: 600;
}

/* Contact */
.contact-phone-big {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-phone-big a {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--brand-red);
    text-decoration: none;
}

.contact-phone-big a:hover {
    color: var(--brand-red-dark);
}

.contact-form-intro {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* ─── Icônes de contact ─── */
.contact-icones {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    margin: 0 0 2.5rem;
    flex-wrap: wrap;
}

.contact-icone-lien {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-icone-lien:hover {
    color: var(--brand-red);
}

.contact-icone-lien svg {
    flex-shrink: 0;
    color: var(--brand-red);
    transition: color 0.2s ease;
}

.contact-icone-lien:hover svg {
    color: var(--brand-red);
}

@media (max-width: 480px) {
    .contact-icones {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding-left: 1rem;
    }
}

#contact .section-inner,
#depot .section-inner {
    text-align: center;
}

.contact-form {
    max-width: 32rem;
    margin: 0 auto 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
    text-align: left;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-white);
    min-height: 48px;
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(230, 39, 39, 0.15);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

/* Contact Form 7 — match theme form */
.contact-form--cf7 .wpcf7 {
    margin: 0;
}

.contact-form--cf7 .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.contact-form--cf7 .wpcf7-form > p,
.contact-form--cf7 .wpcf7-form .form-group {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    text-align: left;
}

.contact-form--cf7 label,
.contact-form--cf7 .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    text-align: left;
}

.contact-form--cf7 label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.contact-form--cf7 input[type="text"],
.contact-form--cf7 input[type="email"],
.contact-form--cf7 input[type="tel"],
.contact-form--cf7 input[type="url"],
.contact-form--cf7 input[type="number"],
.contact-form--cf7 select,
.contact-form--cf7 textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.4;
    color: var(--text-dark);
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    min-height: 48px;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form--cf7 textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form--cf7 input:focus,
.contact-form--cf7 select:focus,
.contact-form--cf7 textarea:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(230, 39, 39, 0.15);
}

.contact-form--cf7 input::placeholder,
.contact-form--cf7 textarea::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

.contact-form--cf7 input.wpcf7-submit,
.contact-form--cf7 .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 0.25rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    color: #fff !important;
    background: var(--brand-red) !important;
    border: 2px solid var(--brand-red) !important;
    border-radius: 6px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.contact-form--cf7 input.wpcf7-submit:hover,
.contact-form--cf7 .wpcf7-submit:hover {
    background: var(--brand-red-dark) !important;
    border-color: var(--brand-red-dark) !important;
    transform: translateY(-1px);
}

.contact-form--cf7 .wpcf7-not-valid-tip {
    font-size: 0.8rem;
    color: var(--brand-red);
    margin-top: 0.25rem;
}

.contact-form--cf7 .wpcf7-response-output {
    margin: 0.5rem 0 0;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: left;
}

.contact-form--cf7 .wpcf7 form-sent .wpcf7-response-output {
    border-color: transparent;
    background: #e8f5e9;
    color: #1b5e20;
}

.contact-form--cf7 .wpcf7-spinner {
    margin-left: 0.5rem;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 32rem;
    margin: 0 auto;
}

.contact-detail {
    padding: 1rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    color: var(--text-body);
}

.contact-detail address {
    font-style: normal;
    color: var(--text-body);
}

.contact-hours dt {
    color: var(--text-body);
}

.contact-detail strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
    color: var(--text-muted);
}

.contact-detail a {
    color: var(--brand-red);
    text-decoration: none;
}

.contact-detail a:hover {
    text-decoration: underline;
}

/* Contact page extended */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

.contact-map-wrap {
    border-radius: 8px;
    overflow: hidden;
    min-height: 320px;
    border: 1px solid var(--border);
}

.contact-map {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
}

.contact-hours dl {
    margin: 0;
}

.contact-hours div {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}

.contact-hours dt {
    font-weight: 500;
}

.contact-hours dd {
    margin: 0;
    color: var(--text-muted);
    text-align: right;
}

/* Repairs listing */
.page-header {
    padding: calc(var(--nav-height) + 2rem) var(--section-x) clamp(1rem, 3vw, 1.5rem);
    background: #1A1A1A;
    color: var(--bg-white);
    text-align: center;
}

.page-header h1 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin-bottom: 0;
    color: var(--bg-white);
}

.page-header + .section {
    padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

.page-header p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 32rem;
    margin: 0 auto;
    font-size: 0.95rem;
}

.page-header-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-family: inherit;
    font-weight: 500;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 40px;
}

.filter-btn:hover {
    border-color: var(--text-dark);
}

.filter-btn.active {
    background: var(--brand-red);
    color: #fff;
    border-color: var(--brand-red);
}

.repairs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.repair-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0;
    align-items: stretch;
    background: var(--surface-lift);
    border: 1px solid rgba(32, 28, 23, 0.16);
    border-radius: 0;
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    box-shadow: none;
    transition: border-color 0.2s, background 0.2s;
}

.repair-item:not(:has(.repair-item-image)) {
    grid-template-columns: 1fr;
}

.repair-item:hover {
    border-color: rgba(32, 28, 23, 0.32);
    background: #f7f2e8;
    box-shadow: none;
}

.repair-item.is-hidden {
    display: none;
}

.repair-item-image {
    background: var(--paper-2);
    min-height: 100px;
}

.repair-item-image img {
    width: 100%;
    height: 100%;
    min-height: 100px;
    object-fit: cover;
    display: block;
}

.repair-item-image--placeholder {
    min-height: 100%;
}

.repair-item-body {
    padding: 1.25rem;
    color: var(--ink);
}

.repair-item-meta {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--rust-dark);
    font-family: 'IBM Plex Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}

.repair-item-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--ink) !important;
    text-transform: none;
    letter-spacing: 0;
    font-family: 'Archivo', sans-serif;
}

.repair-item-summary {
    font-size: 0.875rem;
    color: #4a453d !important;
    line-height: 1.5;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination button {
    min-width: 40px;
    min-height: 40px;
    padding: 0.5rem;
    font-family: inherit;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    background: var(--bg-white);
    border-radius: 4px;
    cursor: pointer;
}

.pagination button.active {
    background: var(--brand-red);
    color: #fff;
    border-color: var(--brand-red);
}

.pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Case detail page */
.case-detail {
    padding: calc(var(--nav-height) + 2rem) var(--section-x) var(--section-y);
    max-width: 42rem;
    margin: 0 auto;
    color: var(--ink);
}

.case-detail-back {
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--rust);
    text-decoration: none;
    font-weight: 500;
}

.case-detail-back:hover {
    text-decoration: underline;
}

.case-detail-meta {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--rust-dark);
    font-family: 'IBM Plex Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.case-detail h1 {
    font-size: clamp(1.35rem, 4vw, 2rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--ink);
}

.case-detail-image {
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid rgba(32, 28, 23, 0.15);
}

.case-detail-section {
    margin-bottom: 1.5rem;
    color: var(--ink);
}

.case-detail-section h2 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--rust);
    font-family: 'IBM Plex Mono', monospace;
    margin-bottom: 0.5rem;
}

.case-detail-section p,
.case-detail-section li,
.case-detail-section .prose {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink);
}

/* ─── Photos secondaires dans les cas ─── */
.case-detail-photos {
    margin: 2rem 0;
}

.case-detail-photos--solo .case-detail-photo {
    margin: 0;
}

.case-detail-photos--solo img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

.case-detail-photos--duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.case-detail-photos--duo .case-detail-photo {
    margin: 0;
}

.case-detail-photos--duo img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

@media (max-width: 600px) {
    .case-detail-photos--duo {
        grid-template-columns: 1fr;
    }

    .case-detail-photos--duo img {
        height: auto;
    }
}

.case-detail-result {
    margin: 2.5rem 0 0;
    padding: 1.25rem 0 0;
    border-top: 2px solid var(--rust);
    background: transparent;
    border-left: none;
    border-radius: 0;
    color: var(--ink);
}

.case-detail-result-label {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rust);
    margin-bottom: 0.65rem;
}

.case-detail-result p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
}

.case-detail-cta {
    text-align: left;
    margin-top: 2.75rem;
    padding: 1.75rem 0 0;
    background: transparent;
    border: none;
    border-top: 1px solid rgba(32, 28, 23, 0.18);
    border-radius: 0;
    box-shadow: none;
}

.case-detail-cta .section-num {
    margin-bottom: 0.4rem;
}

.case-detail-cta h2 {
    font-family: 'Archivo Black', 'Archivo', sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    text-transform: uppercase;
    color: var(--ink);
    margin: 0 0 0.65rem;
    letter-spacing: 0.02em;
}

.case-detail-cta p {
    margin: 0 0 1.35rem;
    color: #4a453d;
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 32rem;
}

.case-detail-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.case-detail-cta .btn-primary {
    color: var(--iron);
}

.case-detail-cta .btn-ghost,
.case-detail-cta a.case-detail-cta-ghost {
    background: transparent;
    border: 2px solid var(--ink);
    color: var(--ink) !important;
}

.case-detail-cta .btn-ghost:hover,
.case-detail-cta a.case-detail-cta-ghost:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper) !important;
}

/* Footer */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
    padding: 2rem var(--section-x);
    font-size: 0.875rem;
}

.footer-identity {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        z-index: 999;
        background: var(--bg-white);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        padding: 0.75rem var(--section-x) 1rem;
        max-height: calc(100dvh - var(--nav-height));
        overflow-y: auto;
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
    }

    .nav-menu.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        width: 100%;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.85rem 1rem;
        font-size: 1rem;
        border-radius: 8px;
        color: var(--text-body);
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: var(--page-bg);
        color: var(--brand-red);
    }

    .nav-links a.active {
        font-weight: 600;
    }

    .refus-grid {
        grid-template-columns: 1fr;
    }

    .cases-grid,
    .reviews-grid,
    .contact-details-grid,
    .contact-page-grid,
    .service-list-grid,
    .service-cards-grid {
        grid-template-columns: 1fr;
    }

    .repair-item {
        grid-template-columns: 1fr;
    }

    .repair-item-body {
        padding: 1rem;
    }

    .repair-item-image img {
        min-height: 160px;
    }

    .contact-hours div {
        flex-direction: column;
        gap: 0.15rem;
    }

    .contact-hours dd {
        text-align: left;
    }
}

@media (min-width: 769px) {
    .nav-toggle {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

/* —— v6 additions —— */
.hero-location {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1.75rem;
}

.custom-logo-link .custom-logo,
.nav-brand .custom-logo {
    height: 2.5rem;
    width: auto;
    max-width: min(180px, 42vw);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.brands-grid--full {
    grid-template-columns: repeat(4, 1fr);
}

.brand-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem 1.35rem 1.35rem;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
    min-height: 10.5rem;
}

a.brand-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: rgba(230, 39, 39, 0.25);
}

a.brand-card:hover .brand-card-name {
    color: var(--brand-red);
}

.brand-card--static {
    background: var(--bg-white);
}

.brand-card-name {
    font-size: clamp(1.35rem, 2.8vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text-dark);
    margin: 0 0 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--brand-red);
    transition: color 0.2s;
}

.brand-card-desc {
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 0.75rem;
}

.brand-card-latest {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.brand-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-red);
    margin-top: auto;
}

.brand-card-btn {
    margin-top: auto;
    align-self: flex-start;
}

.page-header--marque h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.brands-compact-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.brands-compact-list li {
    font-size: 0.95rem;
    color: var(--text-body);
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--border);
}

.case-card-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-red);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.filters-dual {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.filter-select {
    min-height: 48px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg-white);
    min-width: 12rem;
}

.tag-marque {
    display: inline-block;
    margin: 0.2rem;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: var(--brand-red);
    border-radius: 4px;
}

.service-marques-tags {
    text-align: center;
    margin-bottom: 0.5rem;
}

.prose {
    max-width: 40rem;
    margin: 0 auto;
    color: var(--text-body);
    line-height: 1.7;
}

.prose p {
    margin-bottom: 1rem;
}

.marque-doc-note {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
    text-align: center;
}

.marque-doc-note--alone {
    margin: 0;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

@media (max-width: 900px) {
    .brands-grid,
    .brands-grid--full {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .brands-compact-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .filters-dual {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-select {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .brands-grid,
    .brands-grid--full,
    .brands-compact-list {
        grid-template-columns: 1fr;
    }
}


/* Mentions légales */
.legal-page {
    max-width: 42rem;
}
.legal-block {
    margin-bottom: 2.25rem;
}
.legal-block h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-red);
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}
.legal-block h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 1.25rem 0 0.5rem;
}
.legal-block p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 0.75rem;
}
.legal-block a {
    color: var(--brand-red);
    text-decoration: none;
}
.legal-block a:hover {
    text-decoration: underline;
}

/* ─── Ligne marques compacte ─── */
.section-inner--compact {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.marques-ligne {
    text-align: center;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.marques-ligne-lien {
    display: inline-block;
    margin-left: 0.5rem;
    color: var(--brand-red);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.marques-ligne-lien:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .marques-ligne-lien {
        display: block;
        margin: 0.75rem 0 0;
    }
}

/* ─── Services grid ─── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
}

.service-principal {
    border-left: 3px solid var(--brand-red);
    padding-left: 1.25rem;
}

.service-principal-titre {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-principal-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0 0 1rem;
}

.service-sous-liste {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-sous-liste li {
    font-size: 0.9rem;
    color: var(--text-body);
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--border);
}

.service-sous-liste li:last-child {
    border-bottom: none;
}

/* ─── Cas featured — grille compacte photo + titre ─── */
.cases-grid--featured {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 36rem;
    margin: 0 auto 1.75rem;
}

.case-card-light {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}

.case-card-light:hover {
    box-shadow: var(--shadow-sm);
    border-color: rgba(230, 39, 39, 0.25);
    transform: translateY(-1px);
}

.case-card-light-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-muted);
}

.case-card-light-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.case-card-light-title {
    display: block;
    padding: 0.75rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-dark);
}

.case-card-light:hover .case-card-light-title {
    color: var(--brand-red);
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cases-grid--featured {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        max-width: none;
    }

    .case-card-light-title {
        font-size: 0.8rem;
        padding: 0.6rem 0.65rem;
    }
}

/* ─── Section rouge services deux colonnes ─── */
.section-red {
    background: var(--brand-red);
    color: #fff;
}

.services-deux-colonnes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.service-bloc {
    border-left: 3px solid rgba(255, 255, 255, 0.4);
    padding-left: 1.5rem;
}

.service-bloc-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 0.75rem;
}

.service-bloc-titre {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem;
    line-height: 1.3;
}

.service-bloc-texte {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 1rem;
}

.service-bloc-action {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 1.5rem;
    font-style: italic;
}

.section-red .btn-primary {
    background: #fff;
    color: var(--brand-red);
    border-color: #fff;
}

.section-red .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 640px) {
    .services-deux-colonnes {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-bloc {
        padding-left: 1rem;
    }
}

/* ─── Grille marques uniforme ─── */
.marques-grid-uniforme {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.marque-card-uniforme {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.marque-card-uniforme-nom {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.marque-card-uniforme-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
    flex: 1;
}

.marque-card-uniforme-lien {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-red);
    text-decoration: none;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.marque-card-uniforme-lien:hover {
    text-decoration: underline;
}

/* Note explicative */
.marques-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    font-style: italic;
}

/* Tablette */
@media (max-width: 900px) {
    .marques-grid-uniforme {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .marques-grid-uniforme {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ─── Page services — liste deux colonnes ─── */
.services-liste {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-ligne {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}

.service-ligne:last-child {
    border-bottom: none;
}

.service-ligne-titre {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-ligne-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

/* Card cas compact */
.service-cas-card {
    display: flex;
    align-items: stretch;
    gap: 0;
    text-decoration: none;
    border: 1px solid rgba(32, 28, 23, 0.16);
    border-radius: 0;
    overflow: hidden;
    background: var(--surface-lift);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.service-cas-card:hover {
    border-color: rgba(32, 28, 23, 0.32);
    background: #f7f2e8;
    box-shadow: none;
}

.service-cas-image {
    width: 120px;
    flex-shrink: 0;
    align-self: stretch;
    background: var(--bg-muted);
}

.service-cas-image img {
    width: 100%;
    height: 100%;
    min-height: 120px;
    object-fit: cover;
    display: block;
}

.service-cas-image--placeholder {
    min-height: 120px;
}

.service-cas-body {
    padding: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
    min-width: 0;
}

.service-cas-marque {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-red);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}

.service-cas-titre {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

.service-cas-resume {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-cas-lien {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-red);
    margin-top: auto;
}

.service-cas-vide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    border: 1px dashed var(--border);
    border-radius: 8px;
}

/* Mobile */
@media (max-width: 640px) {
    .service-ligne {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-cas-image {
        width: 90px;
    }

    .service-cas-image img,
    .service-cas-image--placeholder {
        min-height: 90px;
    }
}

/* ═══════════════════════════════════════════
   Phase 1 — Direction artistique atelier
   ═══════════════════════════════════════════ */

main,
.section,
.hero,
.footer {
    position: relative;
    z-index: 1;
}

/* Hero atelier */
.hero--atelier,
.hero.hero--atelier {
    min-height: 0;
    display: block;
    text-align: left;
    align-items: stretch;
    justify-content: flex-start;
    padding: 4.25rem 0 3.75rem;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.35)),
        var(--iron-2);
    color: var(--paper);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero--atelier .plate {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2.5rem;
    align-items: end;
}

.eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: var(--rust);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.eyebrow::before {
    content: "";
    width: 1.35rem;
    height: 2px;
    background: var(--rust);
    display: inline-block;
}

.hero--atelier h1 {
    font-family: 'Archivo Black', 'Archivo', sans-serif;
    font-size: clamp(2.35rem, 6vw, 4.5rem);
    line-height: 0.98;
    margin: 0 0 1.25rem;
    color: var(--paper);
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero--atelier h1 span {
    color: var(--rust);
}

.hero--atelier .lead {
    font-size: 1.15rem;
    max-width: 32rem;
    line-height: 1.5;
    color: var(--paper-2);
    margin: 0 0 1.75rem;
}

.cta-row {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--rust);
    color: var(--iron);
    font-weight: 800;
    text-decoration: none;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: none;
    border-radius: 0;
    min-height: 0;
}

.btn-primary:hover {
    background: var(--rust-dark);
    color: var(--paper);
}

.btn-ghost {
    border: 2px solid var(--paper-2);
    color: var(--paper);
    text-decoration: none;
    font-weight: 700;
    padding: 0.8rem 1.4rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
}

.btn-ghost:hover {
    border-color: var(--paper);
    color: var(--paper);
}

.btn-outline {
    background: transparent;
    color: var(--paper);
    border-color: var(--paper-2);
    border-radius: 0;
}

.btn-outline:hover {
    background: var(--paper);
    color: var(--iron);
    border-color: var(--paper);
}

.repair-tag {
    background: var(--paper);
    color: var(--ink);
    width: 14.5rem;
    padding: 1.1rem 1.1rem 1.35rem;
    transform: rotate(3deg);
    position: relative;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
    font-family: 'IBM Plex Mono', monospace;
}

.repair-tag::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 16px;
    background: #7a746a;
}

.repair-tag::after {
    content: "";
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #7a746a;
    background: var(--iron-2);
}

.repair-tag .rt-head {
    font-size: 0.625rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rust-dark);
    border-bottom: 1px dashed #a99;
    padding-bottom: 0.5rem;
    margin-bottom: 0.65rem;
}

.repair-tag .rt-line {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
}

.repair-tag .rt-line b {
    font-weight: 600;
    text-align: right;
}

.repair-tag .rt-status {
    margin-top: 0.65rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--ok);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Marquee marques */
.marquee-strip {
    background: var(--paper);
    color: var(--ink);
    padding: 0.85rem 0;
    border-bottom: 2px solid var(--iron);
    overflow: hidden;
    white-space: nowrap;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 600;
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

.marquee-strip .track {
    display: inline-block;
    padding-left: 100%;
    animation: criblez-marquee 36s linear infinite;
}

.marquee-strip span {
    margin: 0 1.5rem;
    letter-spacing: 0.04em;
}

.marquee-strip span::after {
    content: "·";
    margin-left: 1.5rem;
    color: var(--rust);
}

@keyframes criblez-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-strip .track {
        animation: none;
        padding-left: 0;
        white-space: normal;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem 0;
    }
}

/* Section heads + carnet */
.section-iron {
    background: var(--iron);
    color: var(--paper);
    padding: 4.25rem 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.section-num {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--rust);
    font-size: 0.8125rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
    display: block;
}

.section-iron h2,
.section-head h2 {
    font-family: 'Archivo Black', 'Archivo', sans-serif;
    font-size: clamp(1.6rem, 3.4vw, 2.35rem);
    margin: 0;
    text-transform: uppercase;
    color: var(--paper);
}

.see-all {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8125rem;
    text-decoration: none;
    color: var(--rust);
    border-bottom: 1px solid var(--rust);
    padding-bottom: 2px;
    white-space: nowrap;
}

.dossier {
    background: var(--paper);
    color: var(--ink);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.dossier .card {
    border-right: 1px solid var(--paper-2);
    border-bottom: 1px solid var(--paper-2);
    padding: 1.35rem 1.25rem;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: background 0.15s;
}

.dossier .card:hover {
    background: var(--paper-2);
}

.dossier .card:nth-child(4n) {
    border-right: none;
}

.dossier .ref {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    color: var(--rust-dark);
    letter-spacing: 0.08em;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
}

.dossier h3 {
    font-size: 1.05rem;
    margin: 0 0 0.65rem;
    line-height: 1.3;
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0;
    color: var(--ink);
}

.dossier p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #4a453d;
    margin: 0;
}

/* Reprise */
.reprise {
    background: var(--rust);
    color: var(--iron);
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

.reprise .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.reprise h2 {
    color: var(--iron);
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    max-width: 40rem;
    margin: 0;
}

.reprise p {
    font-size: 0.95rem;
    max-width: 38rem;
    margin: 0.65rem 0 0;
    font-weight: 600;
}

.reprise .btn-primary {
    background: var(--iron);
    color: var(--paper);
}

.reprise .btn-primary:hover {
    background: var(--ink);
    color: var(--paper);
}

/* Contact accueil */
.contact-block {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
}

.contact-block h2 {
    margin-bottom: 1.25rem;
}

.info-line {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.95rem;
    margin: 0.5rem 0;
}

.info-line b {
    color: var(--rust);
    font-weight: 600;
}

.info-line a {
    text-decoration: none;
    border-bottom: 1px solid var(--rust);
}

.hours {
    margin-top: 1.35rem;
    font-size: 0.85rem;
    color: var(--paper-2);
    line-height: 1.9;
}

.signature {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.25);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8125rem;
    color: var(--paper-2);
}

.contact-form-atelier .contact-form label,
.home .contact-form label {
    color: var(--paper-2);
    font-size: 0.8rem;
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-form-atelier .form-group,
.home .contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.contact-form-atelier .contact-form,
.contact-form-atelier form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-form-atelier input,
.contact-form-atelier textarea,
.contact-form-atelier select,
.home .contact-form input,
.home .contact-form textarea,
.home .contact-form select {
    background: var(--iron-2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--paper);
    padding: 0.8rem 0.85rem;
    font-family: 'Archivo', sans-serif;
    font-size: 0.875rem;
    border-radius: 0;
    width: 100%;
}

.contact-form-atelier button,
.contact-form-atelier .btn-primary,
.home .contact-form button,
.home .contact-form .btn-primary {
    background: var(--rust);
    color: var(--iron);
    border: none;
    padding: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    font-size: 0.875rem;
    border-radius: 0;
    width: 100%;
}

/* Footer */
.footer {
    background: var(--iron);
    color: #8a857a;
    text-align: left;
    padding: 0 0 2.5rem;
    border-top: none;
}

.footer .foot-bottom {
    margin-top: 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    color: #8a857a;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.footer-identity {
    color: #8a857a;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.06em;
}

.footer a {
    color: #a8a295;
    text-decoration: none;
}

.footer a:hover {
    color: var(--paper);
    text-decoration: underline;
}

/* Pages intérieures — fonds papier */
.section-cream,
.page-template-page-marques .section-cream,
.page-template-page-services .section-cream,
.page-template-page-reparations .section-cream,
.page-template-page-contact .section-cream {
    background: var(--paper);
    color: var(--ink);
}

.section-white {
    background: var(--paper-2);
    color: var(--ink);
}

.section-cream .section-title,
.section-white .section-title,
.section-cream .service-ligne-titre,
.section-white h2 {
    color: var(--ink);
}

.section-cream .section-lead,
.section-white .section-lead,
.section-cream .service-ligne-desc {
    color: var(--text-muted);
}

.page-header {
    padding: 3rem var(--section-x) 1.5rem;
    background: var(--iron-2);
    color: var(--paper);
    text-align: left;
    border-bottom: 2px solid var(--rust);
}

.page-header h1 {
    font-family: 'Archivo Black', 'Archivo', sans-serif;
    text-transform: uppercase;
    color: var(--paper);
    text-align: left;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0;
}

.page-header-subtitle,
.page-header p {
    text-align: left;
    max-width: var(--wrap);
    margin: 0.65rem auto 0;
    color: var(--paper-2);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

body.single-cas,
body.single-piece,
body.single-document {
    background: var(--paper);
    color: var(--ink);
}

body.single-cas .footer,
body.single-piece .footer,
body.single-document .footer {
    background: var(--iron);
    color: #8a857a;
}

.marque-card-uniforme,
.service-cas-card,
.repair-item,
.case-card {
    background: var(--surface-lift);
    border-color: rgba(32, 28, 23, 0.16);
    border-radius: 0;
    box-shadow: none;
    color: var(--ink);
}

.marque-card-uniforme-nom,
.service-cas-titre,
.case-card-title {
    color: var(--ink) !important;
}

.marque-card-uniforme-desc,
.service-cas-resume,
.case-card-summary {
    color: #4a453d !important;
}

.marque-card-uniforme-lien,
.service-cas-lien,
.case-card-link {
    color: var(--rust);
}

.filters,
.filters-dual {
    justify-content: flex-start;
}

.filter-select {
    background: #fff;
    border: 1px solid rgba(32, 28, 23, 0.2);
    border-radius: 0;
    color: var(--ink);
    font-family: 'IBM Plex Mono', monospace;
}

.marques-note {
    color: var(--text-muted);
}

/* Cartes / formulaires pages claires */
.section-cream .contact-form input,
.section-cream .contact-form textarea,
.section-white .contact-form input,
.section-white .contact-form textarea,
.page-template-default .contact-form input,
.page-template-default .contact-form textarea {
    background: #fff;
    border: 1px solid rgba(32, 28, 23, 0.18);
    color: var(--ink);
    border-radius: 0;
}

.section-cream .btn-primary,
.section-white .btn-primary {
    background: var(--rust);
    color: var(--iron);
    border-color: var(--rust);
}

.section-cream .btn-outline,
.section-white .btn-outline {
    color: var(--ink);
    border-color: rgba(32, 28, 23, 0.35);
}

.section-cream .btn-outline:hover,
.section-white .btn-outline:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.section-red {
    background: var(--rust);
    color: var(--iron);
}

.section-red .service-bloc-titre,
.section-red .service-bloc-texte,
.section-red .service-bloc-action,
.section-red .service-bloc-label {
    color: var(--iron);
}

/* Mobile nav atelier */
@media (max-width: 780px) {
    .hero--atelier .plate {
        grid-template-columns: 1fr;
    }

    .repair-tag {
        transform: rotate(1deg);
        justify-self: start;
    }

    .dossier {
        grid-template-columns: repeat(2, 1fr);
    }

    .dossier .card:nth-child(2n) {
        border-right: none;
    }

    .dossier .card:nth-child(4n) {
        border-right: 1px solid var(--paper-2);
    }

    .nav-menu {
        background: var(--iron);
        border-bottom: 2px solid var(--rust);
    }

    .nav-links a {
        color: var(--paper) !important;
        border-radius: 0;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: var(--iron-2) !important;
        color: var(--paper) !important;
    }

    .call-btn {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
}

@media (max-width: 820px) {
    .contact-block {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .dossier {
        grid-template-columns: 1fr;
    }

    .dossier .card {
        border-right: none !important;
    }
}

/* ─── Catalogue pièces / documents ─── */
.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.25rem;
}

.catalogue-grid--home {
    grid-template-columns: repeat(4, 1fr);
}

.catalogue-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(32, 28, 23, 0.12);
    text-decoration: none;
    color: var(--ink);
    transition: box-shadow 0.15s;
}

.catalogue-card:hover {
    box-shadow: var(--shadow-md);
}

.catalogue-card-image {
    aspect-ratio: 4 / 3;
    background: var(--paper-2);
    overflow: hidden;
    position: relative;
}

.catalogue-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.catalogue-card-image--placeholder {
    min-height: 8rem;
}

.catalogue-card-image--pdf {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(145deg, rgba(229, 20, 15, 0.08), transparent 55%),
        var(--paper-2, #efe8d8);
}

.catalogue-card-pdf-badge {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    font-weight: 600;
    color: var(--rust);
    border: 1px solid rgba(229, 20, 15, 0.35);
    padding: 0.45rem 0.7rem;
}

.catalogue-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.catalogue-card-ref {
    font-size: 0.75rem;
    color: var(--rust-dark);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
}

.catalogue-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: 0;
    font-family: 'Archivo', sans-serif;
    color: var(--ink);
}

.catalogue-card-meta,
.catalogue-card-desc {
    font-size: 0.85rem;
    color: #4a453d;
    margin: 0;
    line-height: 1.45;
}

.catalogue-card-prix {
    margin-top: auto;
    font-weight: 600;
    color: var(--ink);
}

.catalogue-card-lien {
    margin-top: auto;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--rust);
}

.catalogue-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 1.25rem;
    line-height: 1.55;
    max-width: 40rem;
}

.catalogue-empty {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 1rem 0;
}

.catalogue-detail-meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: var(--rust-dark);
    margin: 0 0 1.25rem;
}

.catalogue-detail-prix {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1.5rem;
    color: var(--ink);
}

/* Aperçu PDF document (PDF.js) */
.document-preview {
    margin: 1.75rem 0 1.5rem;
}

.document-preview-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rust);
    margin: 0 0 0.65rem;
}

.document-preview-status {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.document-preview-viewer {
    border: 1px solid rgba(32, 28, 23, 0.18);
    background: #fff;
    overflow: hidden;
}

.document-preview-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    background: var(--paper-2, #efe8d8);
    border-bottom: 1px solid rgba(32, 28, 23, 0.12);
}

.document-preview-page {
    font-size: 0.78rem;
    color: var(--ink);
    letter-spacing: 0.04em;
}

.document-preview-nav {
    appearance: none;
    border: 1px solid rgba(32, 28, 23, 0.25);
    background: var(--paper);
    color: var(--ink);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    cursor: pointer;
}

.document-preview-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.document-preview-canvas-wrap {
    width: 100%;
    overflow: auto;
    background: #f3f0ea;
    text-align: center;
}

.document-preview-canvas-wrap canvas {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.document-preview-cover img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(32, 28, 23, 0.18);
}

.document-preview-fallback {
    margin: 0.65rem 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.document-preview-fallback a {
    color: var(--rust);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--rust);
}

@media (max-width: 640px) {
    .document-preview-toolbar {
        padding: 0.5rem 0.6rem;
    }

    .document-preview-nav {
        font-size: 0.78rem;
        padding: 0.4rem 0.55rem;
    }
}

.section-cream .section-head h2,
.section-white .section-head h2 {
    color: var(--ink);
}

.section-cream .see-all,
.section-white .see-all {
    color: var(--rust);
    border-bottom-color: var(--rust);
}

.marque-card-uniforme--linkable {
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s, border-color 0.15s;
}

.marque-card-uniforme--linkable:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(229, 20, 15, 0.35);
}

@media (max-width: 900px) {
    .catalogue-grid,
    .catalogue-grid--home {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .catalogue-grid,
    .catalogue-grid--home {
        grid-template-columns: 1fr;
    }
}
