/* ============================================
   DK CORPORATION — Feuille de style principale
   ============================================ */

:root {
    --ink: #241C15;
    --ink-soft: #35281C;
    --paper: #FBF7EF;
    --white: #FFFFFF;
    --brown: #7F5230;
    --gold: #EC8827;
    --gold-soft: #F3AD6A;
    --terracotta: #BC392A;
    --olive: #436221;
    --grey: #6B6D76;
    --grey-light: #E9E3D8;
    --radius: 4px;
    --max-width: 1180px;
    --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    max-width: 100%;
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h2.section-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin-bottom: 12px;
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
}

.section-intro {
    max-width: 620px;
    color: var(--grey);
    margin-bottom: 44px;
}

.section-intro.center { margin-left: auto; margin-right: auto; text-align: center; }

section { padding: 84px 0; }
section.tight { padding: 56px 0; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 247, 239, 0.96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--grey-light);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
}

.logo { display: flex; align-items: center; }
.logo-img { height: 42px; width: auto; display: block; }
.logo-img-footer { height: 40px; filter: brightness(0) invert(1); opacity: 0.92; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 6px 0;
    margin-right: 34px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.main-nav a:last-child { margin-right: 0; }
.main-nav a:hover, .main-nav a.active { color: var(--gold); border-color: var(--gold); }
.main-nav a.btn-nav-contact {
    background: var(--gold);
    color: var(--white);
    padding: 9px 20px;
    border-radius: var(--radius);
    border-bottom: none;
    font-weight: 700;
}
.main-nav a.btn-nav-contact:hover { background: var(--terracotta); color: var(--white); border-color: transparent; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); }

/* ---------- Nav dropdown (Services) ---------- */
.nav-dropdown { position: relative; margin-right: 34px; }
.nav-dropdown-trigger {
    display: flex; align-items: center; gap: 5px;
    background: none; border: none; cursor: pointer;
    font-family: var(--font);
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.nav-dropdown-trigger svg { transition: transform 0.2s; }
.nav-dropdown-trigger:hover, .nav-dropdown-trigger.active { color: var(--gold); border-color: var(--gold); }
.nav-dropdown.open .nav-dropdown-trigger svg { transform: rotate(180deg); }

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--white);
    border: 1px solid var(--grey-light);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(36,28,21,0.14);
    min-width: 290px;
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 50;
}
.nav-dropdown.open .nav-dropdown-panel { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }

.nav-dropdown-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    color: var(--ink);
    font-weight: 500;
}
.nav-dropdown-item:hover { background: var(--paper); color: var(--gold); }
.nav-dropdown-icon { color: var(--gold); display: flex; flex-shrink: 0; }
.nav-dropdown-icon svg { width: 19px; height: 19px; }
.nav-dropdown-all {
    display: block;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--grey-light);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold);
}
.nav-dropdown-all:hover { color: var(--terracotta); }

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
    background-size: cover;
    background-position: center 30%;
    color: var(--white);
    padding: 150px 0 120px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute;
    right: -120px; top: -120px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236,136,39,0.16) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner { max-width: 720px; position: relative; z-index: 1; }
.hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    margin-bottom: 20px;
}
.hero h1 span { color: var(--gold); }
.hero p.lead {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    margin-bottom: 34px;
}
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 38px;
}
.hero-tags span {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    padding: 7px 14px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    color: rgba(255,255,255,0.85);
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    transition: transform 0.15s, background 0.2s, color 0.2s;
    border: 1px solid transparent;
}
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn-outline { border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-soft); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--white); }

/* ---------- Grids: services ---------- */
.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-auto-rows: minmax(180px, auto);
    gap: 26px;
}
.service-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--grey-light);
    border-top: 3px solid transparent;
    border-radius: var(--radius);
    padding: 30px 26px;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.service-card:hover { box-shadow: 0 14px 34px rgba(36,28,21,0.1); transform: translateY(-3px); border-top-color: var(--gold); }
.service-icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    transition: background 0.2s, color 0.2s;
}
.service-card:hover .service-icon { background: var(--gold); color: var(--white); }
.service-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.service-card p { color: var(--grey); font-size: 0.94rem; }
.service-link {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    transition: background 0.2s, color 0.2s;
}
.service-card:hover .service-link { background: var(--gold); color: var(--white); }

/* Carte de service avec image phare */
.service-card.has-image { padding: 0; overflow: hidden; }
.service-card-image {
    position: relative;
    aspect-ratio: 16/10;
    min-height: 170px;
    background-color: var(--ink-soft);
    background-size: cover;
    background-position: center;
}
.service-card.has-image .service-icon {
    position: absolute;
    bottom: -22px; left: 22px;
    margin-bottom: 0;
    box-shadow: 0 8px 18px rgba(36,28,21,0.28);
}
.service-card.has-image .service-card-body { padding: 36px 24px 26px; }

/* ---------- Section dark (formules / process) ---------- */
.section-dark {
    background: var(--ink);
    background-size: cover;
    background-position: center;
    color: var(--white);
    position: relative;
}
.section-dark .container { position: relative; z-index: 1; }
.section-dark .section-intro { color: rgba(255,255,255,0.65); }
.section-dark .eyebrow { color: var(--gold); }

.grid-formules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}
.formule-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 26px;
}
.formule-card h3 { color: var(--gold); font-size: 1rem; margin-bottom: 10px; }
.formule-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* ---------- Process steps ---------- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    counter-reset: step;
}
.process-step {
    position: relative;
    padding: 24px 18px 18px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--grey-light);
}
.process-step .step-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold-soft);
    margin-bottom: 10px;
    display: block;
}
.process-step h4 { font-size: 0.96rem; margin-bottom: 6px; }
.process-step p { font-size: 0.85rem; color: var(--grey); }

/* ---------- Portfolio / réalisations ---------- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}
.filter-bar a {
    display: inline-block;
    background: var(--white);
    border: 1px solid var(--grey-light);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--grey);
}
.filter-bar a.active, .filter-bar a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.results-count { font-size: 0.85rem; color: var(--grey); margin-bottom: 20px; }

/* ---------- Pagination ---------- */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 46px;
}
.pagination-link, .pagination-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: var(--radius);
    border: 1px solid var(--grey-light);
    background: var(--white);
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 600;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pagination-page { padding: 0; }
.pagination-link:hover, .pagination-page:hover { border-color: var(--gold); color: var(--gold); }
.pagination-page.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pagination-dots { color: var(--grey); padding: 0 4px; }
.pagination-pages { display: flex; align-items: center; gap: 8px; }

.grid-portfolio {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.portfolio-card {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--grey-light);
    transition: box-shadow 0.2s, transform 0.2s;
}
.portfolio-card:hover { box-shadow: 0 14px 34px rgba(36,28,21,0.1); transform: translateY(-3px); }
.portfolio-card:hover .portfolio-thumb { transform: scale(1.04); }
.portfolio-thumb {
    aspect-ratio: 4/3;
    min-height: 210px;
    background: var(--ink-soft) center/cover no-repeat;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.8rem;
    transition: transform 0.35s ease;
}
.portfolio-body { padding: 18px 20px; }
.portfolio-body .cat { color: var(--gold); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.portfolio-body h3 { font-size: 1rem; margin: 6px 0 8px; transition: color 0.2s; }
.portfolio-card:hover .portfolio-body h3 { color: var(--gold); }
.portfolio-body p { font-size: 0.86rem; color: var(--grey); }

/* ---------- Identité table (à propos) ---------- */
.identity-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border: 1px solid var(--grey-light);
    border-radius: var(--radius);
    overflow: hidden;
}
.identity-table tr:not(:last-child) td { border-bottom: 1px solid var(--grey-light); }
.identity-table td { padding: 14px 20px; font-size: 0.92rem; }
.identity-table td:first-child { font-weight: 700; width: 220px; background: #F3F1EC; }

/* ---------- Partenaires ---------- */
.grid-partners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    grid-auto-rows: minmax(160px, auto);
    gap: 22px;
}
.partner-card {
    display: block;
    text-align: center;
    padding: 28px 22px;
    background: var(--white);
    border: 1px solid var(--grey-light);
    border-radius: var(--radius);
    transition: box-shadow 0.2s, transform 0.2s;
}
.partner-card:hover { box-shadow: 0 14px 34px rgba(36,28,21,0.1); transform: translateY(-3px); }
.partner-logo {
    width: 64px; height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--paper);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.partner-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.partner-logo span { font-weight: 800; font-size: 1.3rem; color: var(--gold); }
.partner-card h4 { font-size: 0.98rem; margin-bottom: 8px; }
.partner-card p { font-size: 0.85rem; color: var(--grey); }

/* ---------- Références clients ---------- */
.grid-references {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}
.reference-card {
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--grey-light);
    border-radius: var(--radius);
    text-align: center;
}
.reference-card h4 { font-size: 0.95rem; margin-bottom: 6px; }
.reference-card p { font-size: 0.8rem; color: var(--grey); }

/* ---------- Contact ---------- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}
.contact-info h3 { margin-bottom: 16px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.contact-info-icon {
    flex-shrink: 0;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(236,136,39,0.12);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
}
.contact-info-icon svg { width: 19px; height: 19px; }
.contact-info-item .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); font-weight: 700; margin-bottom: 4px; }
.contact-info-item .value { font-size: 1rem; }

form.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { font-size: 0.82rem; font-weight: 600; margin-bottom: 6px; display: block; }
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--grey-light);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.94rem;
    background: var(--white);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.g-recaptcha { transform: scale(1); transform-origin: 0 0; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    outline: none; border-color: var(--gold);
}

.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 22px;
    font-size: 0.92rem;
}
.alert-success { background: #E7F6EC; color: #1E7A3C; border: 1px solid #B9E6C6; }
.alert-error { background: #FBEAEA; color: #A62B2B; border: 1px solid #F3C2C2; }

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--gold) 0%, var(--gold-soft) 100%);
    background-size: cover;
    background-position: center;
    color: var(--ink);
    text-align: center;
    padding: 64px 0;
    position: relative;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { max-width: 520px; margin: 0 auto 28px; color: rgba(20,21,26,0.75); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.75); padding-top: 60px; }
.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { margin-top: 14px; font-size: 0.86rem; color: rgba(255,255,255,0.55); max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 0.04em; }
.footer-col a, .footer-col p { display: block; font-size: 0.88rem; margin-bottom: 10px; color: rgba(255,255,255,0.6); }
.footer-col a:hover { color: var(--gold); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact-icon { flex-shrink: 0; color: var(--gold); display: flex; margin-top: 1px; }
.footer-contact-icon svg { width: 16px; height: 16px; }
.footer-bottom { padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.credit a { color: rgba(255,255,255,0.7); text-decoration: underline; text-underline-offset: 2px; }
.credit a:hover { color: var(--gold); }

/* ---------- Service detail page ---------- */
.service-detail-hero {
    width: 100%;
    aspect-ratio: 21/7;
    min-height: 220px;
    max-height: 420px;
    background-color: var(--ink-soft);
    background-size: cover;
    background-position: center;
}
.service-detail-head { display: flex; align-items: center; gap: 16px; margin: 14px 0 12px; }
.service-detail-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(236,136,39,0.14); color: var(--gold);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.service-detail-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; align-items: start; }
.service-detail-body p { font-size: 1rem; line-height: 1.8; color: var(--grey); }
.service-detail-cta { margin-top: 30px; }

/* Contenu riche (issu de l'éditeur WYSIWYG) */
.rich-text { font-size: 1rem; line-height: 1.8; color: var(--grey); }
.rich-text p { margin-bottom: 16px; }
.rich-text h2 { font-size: 1.3rem; color: var(--ink); margin: 26px 0 12px; }
.rich-text h3 { font-size: 1.1rem; color: var(--ink); margin: 22px 0 10px; }
.rich-text ul, .rich-text ol { margin: 0 0 16px 22px; }
.rich-text li { margin-bottom: 6px; }
.rich-text a { color: var(--gold); text-decoration: underline; }
.rich-text blockquote { border-left: 3px solid var(--gold); padding-left: 16px; color: var(--ink); font-style: italic; margin: 16px 0; }
.rich-text strong { color: var(--ink); }

/* Galerie complémentaire sur les pages de détail */
.detail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-auto-rows: minmax(130px, auto);
    gap: 12px;
    margin: 24px 0;
}
.detail-gallery-item {
    aspect-ratio: 1/1;
    min-height: 130px;
    border-radius: var(--radius);
    background-color: var(--ink-soft);
    background-size: cover;
    background-position: center;
}
.service-detail-aside {
    background: var(--paper);
    border: 1px solid var(--grey-light);
    border-radius: var(--radius);
    padding: 26px;
}
.service-detail-aside h4 { font-size: 0.95rem; margin-bottom: 16px; }
.aside-service-list li { list-style: none; margin-bottom: 4px; }
.aside-service-list a {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 10px; border-radius: var(--radius);
    font-size: 0.88rem; font-weight: 500;
}
.aside-service-list a:hover { background: var(--white); color: var(--gold); }
.aside-service-icon { color: var(--gold); display: flex; flex-shrink: 0; }
.aside-service-icon svg { width: 19px; height: 19px; }
.aside-all-link { display: block; margin-top: 14px; font-size: 0.84rem; font-weight: 700; color: var(--gold); }
.aside-all-link:hover { color: var(--terracotta); }
.btn-chip-block {
    text-align: center;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1.5px solid var(--gold);
    color: var(--gold) !important;
    transition: background 0.2s, color 0.2s;
}
.btn-chip-block:hover { background: var(--gold); color: var(--white) !important; }

/* ---------- Realisation detail page ---------- */
.realisation-detail-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 46px; align-items: start; }
.realisation-detail-image img { width: 100%; border-radius: var(--radius); display: block; }
.realisation-detail-meta h4 { font-size: 0.95rem; margin-bottom: 14px; }
.meta-list { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin-bottom: 20px; }
.meta-list dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold); font-weight: 700; }
.meta-list dd { font-size: 0.92rem; color: var(--ink); }
.realisation-detail-desc { color: var(--grey); line-height: 1.7; margin-bottom: 10px; }
.realisation-detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }

/* ---------- Page header (sous-pages) ---------- */
.page-header {
    background: linear-gradient(120deg, rgba(24,18,13,0.93) 0%, rgba(24,18,13,0.8) 55%, rgba(24,18,13,0.55) 100%), var(--ink);
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 64px 0 50px;
    min-height: 200px;
    display: flex;
    align-items: center;
}
.page-header .container { width: 100%; }
.page-header h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-header p { color: rgba(255,255,255,0.65); margin-top: 12px; max-width: 560px; }
.breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.45); margin-bottom: 14px; }
.breadcrumb a { color: var(--gold); }

/* ---------- Équipements ---------- */
.equip-list { display: flex; flex-wrap: wrap; gap: 12px; }
.equip-list span {
    background: var(--white);
    border: 1px solid var(--grey-light);
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--ink);
}

/* ---------- Entrée en fondu (animation CSS pure, jamais dépendante du JS) ---------- */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
    animation: fadeUpIn 0.6s ease both;
}

/* ---------- Entrée en fondu des grilles (animation CSS pure, sans dépendance JS) ---------- */
@keyframes fadeUpIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.grid-services > *, .grid-portfolio > *, .grid-formules > *, .grid-references > *,
.process-steps > *, .team-role-list > * {
    animation: fadeUpIn 0.55s ease both;
}
.grid-services > *:nth-child(1), .grid-portfolio > *:nth-child(1), .grid-formules > *:nth-child(1),
.grid-references > *:nth-child(1), .process-steps > *:nth-child(1), .team-role-list > *:nth-child(1) { animation-delay: 0.03s; }
.grid-services > *:nth-child(2), .grid-portfolio > *:nth-child(2), .grid-formules > *:nth-child(2),
.grid-references > *:nth-child(2), .process-steps > *:nth-child(2), .team-role-list > *:nth-child(2) { animation-delay: 0.1s; }
.grid-services > *:nth-child(3), .grid-portfolio > *:nth-child(3), .grid-formules > *:nth-child(3),
.grid-references > *:nth-child(3), .process-steps > *:nth-child(3), .team-role-list > *:nth-child(3) { animation-delay: 0.17s; }
.grid-services > *:nth-child(4), .grid-portfolio > *:nth-child(4), .grid-formules > *:nth-child(4),
.grid-references > *:nth-child(4), .process-steps > *:nth-child(4) { animation-delay: 0.24s; }
.grid-services > *:nth-child(5), .process-steps > *:nth-child(5) { animation-delay: 0.31s; }
.grid-services > *:nth-child(6), .process-steps > *:nth-child(6) { animation-delay: 0.38s; }

/* ---------- About page ---------- */
.about-intro-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; align-items: center; }
.about-collage {
    display: flex;
    gap: 14px;
    height: 320px;
}
.about-collage-main {
    flex: 1.3;
    background: var(--ink-soft) center/cover no-repeat;
    border-radius: var(--radius);
    min-width: 0;
}
.about-collage-thumbs {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}
.about-collage-thumb {
    flex: 1;
    background: var(--ink-soft) center/cover no-repeat;
    border-radius: var(--radius);
}

.about-team-layout { background: var(--paper); }
.about-team-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; }
.about-team-image {
    background: var(--ink-soft) center/cover no-repeat;
    border-radius: var(--radius);
    aspect-ratio: 4/3.4;
    min-height: 280px;
    box-shadow: 0 20px 44px rgba(36,28,21,0.14);
}
.team-role-list { display: grid; gap: 18px; margin-top: 22px; }
.team-role { padding: 18px 20px; background: var(--white); border: 1px solid var(--grey-light); border-radius: var(--radius); }
.team-role h4 { font-size: 0.96rem; margin-bottom: 6px; }
.team-role p { font-size: 0.88rem; color: var(--grey); }

/* ---------- Section texturée (fond clair + photo en filigrane) ---------- */
.section-tinted {
    background-color: var(--paper);
    background-size: cover;
    background-position: center;
}

/* ---------- Fenêtre modale (succès formulaire de contact) ---------- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(24,18,13,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.modal-overlay.is-open { display: flex; opacity: 1; }
.modal-box {
    position: relative;
    background: var(--white);
    border-radius: 10px;
    padding: 42px 36px 34px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 60px rgba(20,15,10,0.3);
    transform: translateY(14px) scale(0.97);
    transition: transform 0.25s ease;
}
.modal-overlay.is-open .modal-box { transform: translateY(0) scale(1); }
.modal-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 32px; height: 32px;
    border: none;
    background: var(--paper);
    color: var(--grey);
    border-radius: 50%;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--grey-light); color: var(--ink); }
.modal-icon {
    width: 62px; height: 62px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #E7F6EC;
    color: var(--success, #1E7A3C);
    display: flex; align-items: center; justify-content: center;
}
.modal-box h3 { font-size: 1.2rem; margin-bottom: 10px; }
.modal-box p { color: var(--grey); font-size: 0.94rem; margin-bottom: 24px; }
.modal-box .btn { width: 100%; }

/* ---------- Boutons flottants (WhatsApp / retour en haut) ---------- */
.float-btn {
    position: fixed;
    right: 22px;
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 26px rgba(20,15,10,0.28);
    z-index: 90;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.25s, visibility 0.25s;
}
.whatsapp-float {
    bottom: 22px;
    background: #25D366;
    color: #fff;
}
.whatsapp-float svg { width: 27px; height: 27px; }
.whatsapp-float:hover { transform: translateY(-3px); }

.back-to-top {
    bottom: 86px;
    background: var(--ink);
    color: var(--white);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); }
.back-to-top svg { width: 22px; height: 22px; }

@media (max-width: 600px) {
    .float-btn { width: 46px; height: 46px; right: 16px; }
    .whatsapp-float { bottom: 16px; }
    .back-to-top { bottom: 72px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .main-nav {
        position: fixed;
        top: 84px; left: 0; right: 0;
        background: var(--ink);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px 30px;
        gap: 18px;
        transform: translateY(-140%);
        transition: transform 0.25s ease;
    }
    .main-nav a { color: rgba(255,255,255,0.85); margin-right: 0; }
    .main-nav a:hover, .main-nav a.active { color: var(--gold-soft); }
    .main-nav.open { transform: translateY(0); }
    .nav-toggle { display: flex; }
    .nav-dropdown { width: 100%; margin-right: 0; }
    .nav-dropdown-trigger { color: rgba(255,255,255,0.85); width: 100%; justify-content: space-between; }
    .nav-dropdown-trigger:hover, .nav-dropdown-trigger.active { color: var(--gold-soft); }
    .nav-dropdown-panel {
        position: static; transform: none; opacity: 1; visibility: visible;
        max-height: 0; overflow: hidden; padding: 0; border: none; box-shadow: none;
        background: transparent; min-width: 0; transition: max-height 0.25s ease, padding 0.25s ease;
    }
    .nav-dropdown.open .nav-dropdown-panel { max-height: 500px; padding: 8px 0 0; transform: none; }
    .nav-dropdown-item { color: rgba(255,255,255,0.8); }
    .nav-dropdown-item:hover { background: rgba(255,255,255,0.06); color: var(--gold-soft); }
    .nav-dropdown-all { border-top-color: rgba(255,255,255,0.12); }
    .contact-layout { grid-template-columns: 1fr; }
    .service-detail-layout { grid-template-columns: 1fr; }
    .realisation-detail-layout { grid-template-columns: 1fr; }
    .about-intro-layout { grid-template-columns: 1fr; }
    .about-collage { height: 260px; margin-top: 10px; }
    .about-team-grid { grid-template-columns: 1fr; }
    .about-team-image { aspect-ratio: 16/10; }
    .footer-inner { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .identity-table td:first-child { width: 140px; }
}
