* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark:        #1A1A1A;
    --dark-soft:   #2A2A2A;
    --brand-red:   #E62727;
    --brand-red-dark: #C41F1F;
    --page-bg:     #F2F2F0;
    --bg-white:    #ffffff;
    --bg-muted:    #E8E8E6;
    --peach:       #FFEAD5;
    --peach-dark:  #F5D0A8;
    --peach-text:  #5C3D2E;
    --text-dark:   #1A1A1A;
    --text-body:   #334155;
    --text-muted:  #64748B;
    --border:      rgba(0, 0, 0, 0.09);
    --shadow-sm:   0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md:   0 4px 16px rgba(0, 0, 0, 0.10);
    --section-y:   clamp(4rem, 10vw, 6.5rem);
    --section-x:   clamp(1rem, 4vw, 2rem);
    --max-width:   56rem;
    --nav-height:  4.25rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-body);
    line-height: 1.6;
    font-size: 16px;
    background: var(--page-bg);
    overflow-x: hidden;
}

h1, h2, .section-title,
.service-principal-titre {
    font-family: 'Lora', Georgia, serif;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.nav::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--brand-red);
}

.nav-inner {
    max-width: 72rem;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--section-x);
    gap: 1rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo {
    height: 2.5rem;
    width: auto;
    max-width: min(180px, 42vw);
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brand-red);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-white);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
}

.nav-toggle:hover {
    background: var(--page-bg);
    border-color: var(--brand-red);
}

.nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--brand-red);
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.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(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
}

.case-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.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: var(--text-body) !important;
}

.case-card-title,
.repair-item-title {
    color: var(--text-dark) !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(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
}

.repair-item:not(:has(.repair-item-image)) {
    grid-template-columns: 1fr;
}

.repair-item:hover {
    box-shadow: var(--shadow-md);
}

.repair-item.is-hidden {
    display: none;
}

.repair-item-image {
    background: var(--bg-muted);
    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;
}

.repair-item-meta {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    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(--text-dark);
}

.repair-item-summary {
    font-size: 0.875rem;
    color: var(--text-body);
    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;
}

.case-detail-back {
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--brand-red);
    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(--text-muted);
    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(--text-dark);
}

.case-detail-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

.case-detail-section {
    margin-bottom: 1.5rem;
}

.case-detail-section h2 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.case-detail-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
}

/* ─── 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 {
    padding: 1.25rem;
    background: var(--peach);
    border-left: 4px solid var(--brand-red);
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
    color: var(--peach-text);
}

.case-detail-cta {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-top: 2rem;
}

.case-detail-cta p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* 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 var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s ease;
}

.service-cas-card:hover {
    box-shadow: var(--shadow-md);
}

.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;
    }
}
