:root {
    --bg: #f0f2f5;
    --panel: #fff;
    --muted: #555;
    --text: #222;
    --brand: #ff610a;
    --brand2: #9e9a91;
    --container: 1200px;
    --radius: 14px;
    --chrome-gradient: linear-gradient(135deg, #cfd3d6 0%, #f6f8f9 16%, #a7acb1 28%, #eef1f3 42%, #7f858b 55%, #f2f4f6 70%, #b7bcc2 85%, #e9edf0 100%)
}

* {
    box-sizing: border-box
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5
}

main {
    flex: 1
}

a {
    color: var(--brand);
    text-decoration: none
}

a:hover {
    text-decoration: underline
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius)
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 24px
}

.row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap
}

.between {
    justify-content: space-between
}

.align-center {
    align-items: center
}

.grid-2 {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 24px
}

.grid-3 {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 24px
}

@media (max-width: 900px) {
    .grid-3, .grid-2 {
        grid-template-columns:1fr
    }
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .05)
}

.logo {
    display: flex;
    gap: 12px;
    align-items: center;
    font-weight: 700
}

.logo__img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .1)
}

.logo span {
    position: relative;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    letter-spacing: .3px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 2px 8px rgba(0, 0, 0, .06)
}

.logo span::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    background: var(--chrome-gradient);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 6px rgba(0, 0, 0, .18), 0 3px 10px rgba(0, 0, 0, .08);
    z-index: -1
}

.logo span::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: -4px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0));
    pointer-events: none;
    z-index: -1
}

.logo small {
    color: var(--muted);
    font-weight: 500
}

.nav {
    display: flex;
    gap: 18px;
    align-items: center
}

.nav a {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text)
}

.nav a:hover {
    background: #f3f2f0;
    text-decoration: none
}

.nav a.active {
    background: var(--brand);
    color: #fff !important;
    font-weight: 700
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text)
}

@media (max-width: 900px) {
    .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 12px 0;
        background: var(--panel)
    }

    .nav.show {
        display: flex
    }

    .nav-toggle {
        display: block
    }
}

.cta {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 12px;
    background: #ffe8dc;
    color: var(--text);
    font-weight: 700;
    border: 1px solid #f5b89a
}

.btn:hover {
    filter: brightness(1.04);
    text-decoration: none
}

.btn.ghost {
    background: #fff;
    border: 1px solid #d0d7e2
}

.btn.large {
    padding: 14px 22px;
    font-size: 18px
}

/* Cards / sections */
.card {
    background: var(--panel);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid #ddd;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .08)
}

.page-header {
    padding: 24px 0 8px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 24px
}

.page-header h1 {
    margin: 0
}

.highlight {
    background: var(--panel);
    border: 1px solid #ddd;
    border-radius: var(--radius);
    padding: 20px;
    margin: 30px auto;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    max-width: 600px
}

.highlight h2, .highlight p {
    margin: 0 0 10px
}

.highlight a.btn {
    margin-top: 10px
}

/* Utils */
.list {
    padding-left: 18px;
    line-height: 1.6
}

.mt-xl {
    margin-top: 40px
}

.center {
    text-align: center
}

/* Bloc tarif main d'œuvre */
.labor-rate {
    position: relative;
    min-height: 260px;
    border-radius: 16px;
    overflow: hidden;
    background: #111 url("../img/fond_piece.jpg") center/cover no-repeat;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    border: 1px solid rgba(0, 0, 0, .08)
}

.labor-rate::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .15));
}

.labor-rate__content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 28px
}

.labor-rate__title {
    margin: 0 0 6px;
    font-size: 28px
}

.labor-rate__price {
    margin: 0 0 6px;
    font-size: 20px
}

.labor-rate__fine {
    margin: 0 0 14px;
    color: #e5e7eb
}

/* Footer */
.site-footer {
    margin-top: auto;
    border-top: 1px solid #ddd;
    background: #f8f9fa;
    color: #333
}

.site-footer .container {
    max-width: 1400px;
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 16px
}

.site-footer h3, .site-footer h4 {
    margin: 0 0 6px;
    font-size: 19px
}

.site-footer p, .site-footer li {
    margin: 4px 0;
    line-height: 1.45
}

.site-footer .grid-2 {
    align-items: start;
    gap: 24px
}

.footer-map iframe {
    width: 100%;
    height: 160px;
    border: 0;
    border-radius: 10px
}

@media (max-width: 900px) {
    .footer-map iframe {
        height: 140px
    }
}

.site-footer .copyright {
    text-align: center;
    margin-top: 10px;
    font-size: 14px
}

/* Forms (utilisé sur contact) */
label {
    display: block;
    margin-bottom: 12px
}

input, textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #ccc;
    background: #fff;
    color: #222
}

input:focus, textarea:focus {
    outline: 2px solid var(--brand)
}

.checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start
}

.fine {
    color: var(--muted);
    font-size: 14px
}

.legal h1 {
    margin-top: 0
}

/* Consent */
.consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #fff4ee;
    border: 1px solid #ffd5c2;
    padding: 10px 12px;
    border-radius: 10px;
    margin: 4px 0 12px;
    color: #2b3a4a;
    font-size: 14px
}

.consent a {
    font-weight: 600
}

/* Hours (contact) */
.hours {
    display: grid;
    grid-template-columns:max-content 1fr;
    gap: 6px 12px;
    margin: 4px 0 0;
    padding: 0
}

.hours dt {
    font-weight: 600;
    color: #333
}

.hours dd {
    margin: 0;
    color: #333
}

.hours .closed {
    color: #888
}

/* Contact layout */
.contact-layout {
    grid-template-columns:2fr 1fr;
    gap: 32px
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns:1fr
    }
}

/* Galerie / sliders (atelier) */
.gallery {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 18px
}

@media (max-width: 900px) {
    .gallery {
        grid-template-columns:1fr
    }
}

.slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    background: #000
}

.slides {
    display: flex;
    transition: transform .5s ease-in-out
}

.slides img {
    width: 100%;
    flex-shrink: 0;
    border-radius: 0
}

.slider figcaption {
    text-align: center;
    padding: 8px;
    font-weight: 700;
    background: #f8f9fa;
    color: #222
}

.slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, .5);
    color: #fff;
    border: none;
    padding: 8px 10px;
    cursor: pointer;
    border-radius: 50%;
    line-height: 1;
    font-size: 18px;
    opacity: .9;
    transition: opacity .2s
}

.slider button:hover {
    opacity: 1
}

.slider .prev {
    left: 10px
}

.slider .next {
    right: 10px
}