/* ============================================================
   Boiséa Menuiserie — CSS vitrine
   ============================================================ */

:root {
    --bg:       #141820;
    --surface:  #1C2030;
    --surface2: #242840;
    --text:     #E0DDD8;
    --muted:    #9294A2;
    --accent:   #C49A2E;
    --accent2:  #E8B84B;
    --border:   #2E3248;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.75;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent2); text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* ── Navbar ── */
.navbar-default {
    background: #0F1218;
    border: none;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 16px rgba(0,0,0,.5);
}

.navbar-default .navbar-brand {
    padding: 6px 15px;
    line-height: 1;
}

.navbar-default .navbar-brand img {
    height: 64px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(196,154,46,.30));
}

.navbar-default .navbar-nav > li > a {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 30px 16px;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: var(--accent);
    background: transparent;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: var(--accent);
    background: transparent;
    border-bottom: 2px solid var(--accent);
}

.navbar-default .navbar-toggle {
    border-color: var(--border);
    margin-top: 20px;
}

.navbar-default .navbar-toggle .icon-bar { background: var(--muted); }

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus { background: var(--surface); }

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: linear-gradient(rgba(20,24,32,.65), rgba(20,24,32,.65)),
                url('img/fond.png')
                center / cover no-repeat;
    padding: 80px 20px;
}

.hero-inner { max-width: 740px; }

.hero h1 {
    font-size: 40px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,.5);
}

.hero p {
    font-size: 17px;
    font-weight: 300;
    letter-spacing: .5px;
    opacity: .85;
    margin-bottom: 32px;
}

.btn-hero,
.btn-hero-outline {
    display: inline-block;
    padding: 13px 36px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 6px;
    text-decoration: none;
    transition: background .25s, border-color .25s, color .25s;
}

.btn-hero {
    background: var(--accent);
    color: #fff;
    border: 2px solid var(--accent);
}

.btn-hero:hover {
    background: var(--accent2);
    border-color: var(--accent2);
    color: #fff;
    text-decoration: none;
}

.btn-hero-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,.55);
    color: #fff;
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.9);
    color: #fff;
    text-decoration: none;
}

/* ── Sections ── */
.section { padding: 70px 0; }
.section-gray { background: var(--surface); }

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 26px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text);
    margin: 0 0 14px;
}

.section-title p {
    color: var(--muted);
    font-size: 15px;
    font-weight: 300;
    max-width: 560px;
    margin: 0 auto;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--accent);
    margin: 18px auto 0;
}

/* ── Project cards ── */
.project-card { margin-bottom: 30px; overflow: hidden; }

.project-card-img-wrap {
    overflow: hidden;
    height: 240px;
}

.project-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
    display: block;
}

.project-card:hover .project-card-img-wrap img { transform: scale(1.06); }

.project-card-title {
    padding: 12px 0 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--muted);
    text-transform: uppercase;
}

/* ── Service blocs ── */
.service-bloc {
    text-align: center;
    padding: 36px 28px;
    background: var(--surface2);
    border: 1px solid var(--border);
    margin-bottom: 30px;
}

.service-bloc .service-icon {
    font-size: 30px;
    color: var(--accent);
    margin-bottom: 16px;
}

.service-bloc h3 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 12px;
}

.service-bloc p {
    color: var(--muted);
    font-size: 14px;
    font-weight: 300;
}

/* ── Gallery grid ── */
.gallery-item {
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(20,24,32,.88);
    color: var(--text);
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    transform: translateY(100%);
    transition: transform .3s ease;
}

.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* ── À propos ── */
.about-block { margin-bottom: 44px; }

.about-block h3 {
    color: var(--accent);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

/* ── Articles ── */
.article-card {
    border: 1px solid var(--border);
    background: var(--surface);
    margin-bottom: 32px;
    overflow: hidden;
}

.article-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.article-card-body { padding: 22px; }

.article-card h3 {
    margin-top: 0;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--text);
}

.article-meta {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.btn-accent {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .2s;
}

.btn-accent:hover {
    background: var(--accent2);
    color: #fff;
    text-decoration: none;
}

/* Article detail */
.article-detail img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    margin-bottom: 16px;
}

.article-images { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.article-images img {
    width: calc(33.33% - 7px);
    height: 180px;
    object-fit: cover;
    flex: none;
}

/* ── Contact ── */
.contact-section { padding: 50px 0; }

.form-control {
    background: var(--surface2);
    color: var(--text);
    border-radius: 2px;
    border: 1px solid var(--border);
    font-size: 15px;
    box-shadow: none;
    font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
}

.form-control:focus {
    background: var(--surface2);
    color: var(--text);
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(196,154,46,.2);
    outline: none;
}

.contact-section textarea.form-control { resize: vertical; }

label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ── Footer ── */
footer.site-footer {
    background: #0F1218;
    color: var(--muted);
    padding: 50px 0 24px;
    font-size: 14px;
    font-weight: 300;
    border-top: 1px solid var(--border);
}

footer.site-footer h4 {
    color: var(--text);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

footer.site-footer a { color: var(--muted); }
footer.site-footer a:hover { color: var(--accent2); text-decoration: none; }

footer.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer.site-footer ul li { margin-bottom: 8px; }
footer.site-footer ul li::before { display: none; }

.footer-bottom {
    border-top: 1px solid var(--border);
    margin-top: 36px;
    padding-top: 18px;
    text-align: center;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
}

/* ── Bootstrap overrides ── */
.text-muted { color: var(--muted) !important; }

/* ── CTA section ── */
.section-cta-title {
    font-size: 26px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 16px;
}

.section-cta-text {
    color: var(--muted);
    font-weight: 300;
    max-width: 540px;
    margin: 0 auto 28px;
}

.btn-accent-lg {
    padding: 14px 48px;
    font-size: 13px;
}

/* ── Utilitaires ── */
.mt-0  { margin-top: 0; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-0  { margin-bottom: 0; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.text-muted-boisea { color: var(--muted); }
