/* === En-tête === */
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head-inner { display: flex; align-items: center; gap: 1.5rem; height: 70px; }
.brand { display: flex; align-items: center; gap: 0.7rem; font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.brand-mark { width: 14px; height: 14px; border: 2px solid var(--ink); position: relative; transform: rotate(45deg); }
.brand-mark::after { content:""; position:absolute; inset:2px; background: var(--brass); }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav-link { font-size: 0.95rem; color: var(--muted); font-weight: 500; padding-block: 0.3rem; position: relative; }
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after { content:""; position:absolute; left:0; bottom:-2px; width:100%; height:2px; background: var(--brass); }
.head-cta { padding: 0.6rem 1.2rem; font-size: 0.88rem; }
.burger { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--ink); transition: 0.25s; }
.mobile-nav { display: none; flex-direction: column; padding: 1rem var(--gutter) 1.5rem; gap: 0.4rem; border-bottom: 1px solid var(--line); }
.mobile-nav.open { display: flex; }
.m-link { padding: 0.6rem 0; color: var(--ink-soft); font-weight: 500; border-bottom: 1px solid var(--line); }
@media (max-width: 880px) { .nav, .head-cta { display: none; } .burger { display: flex; margin-left: auto; } .burger.x span:first-child { transform: translateY(3.5px) rotate(45deg); } .burger.x span:last-child { transform: translateY(-3.5px) rotate(-45deg); } }

/* === Pied === */
.site-foot { background: var(--ink); color: var(--paper); padding-block: 3.5rem 2rem; margin-top: 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.foot-brand { font-size: 1.3rem; color: var(--paper-pure); }
.foot-tag { color: #9fb0bc; margin-top: 0.8rem; font-size: 0.95rem; }
.foot-h { font-family: var(--body); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-bright); margin-bottom: 1rem; }
.foot-link { display: block; color: #c4d0d9; font-size: 0.93rem; padding: 0.3rem 0; }
.foot-link:hover { color: var(--paper-pure); }
.site-foot .rule { background: var(--line-dark); }
.foot-bottom { color: #7f909c; font-size: 0.82rem; text-align: center; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .foot-grid { grid-template-columns: 1fr; } }

/* === Accueil === */
.hero { padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.hero::before { content:""; position:absolute; top:0; right:0; width:42%; height:100%; background: repeating-linear-gradient(180deg, transparent 0 38px, var(--line) 38px 39px); opacity: 0.5; pointer-events:none; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.hero-inner { position: relative; }
.hero-title { font-size: clamp(2.6rem, 7vw, 5rem); margin-top: 1.4rem; letter-spacing: -0.02em; }
.hero-accent { color: var(--brass); }
.hero-lede { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 54ch; margin-top: 1.6rem; }
.hero-lede strong { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.proof { display: flex; flex-direction: column; }
.proof-k { font-family: var(--display); font-size: 1.7rem; color: var(--ink); font-weight: 600; }
.proof-l { font-size: 0.88rem; color: var(--muted); margin-top: 0.2rem; }
.piliers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 3.5rem; background: var(--line); border: 1px solid var(--line); }
.pilier { background: var(--paper-pure); padding: 2.2rem 2rem 2.4rem; display: flex; flex-direction: column; }
.pilier-n { font-family: var(--display); font-size: 0.95rem; color: var(--brass); font-weight: 600; letter-spacing: 0.05em; }
.pilier-t { font-size: 1.4rem; margin-top: 1rem; }
.pilier-d { color: var(--muted); margin-top: 0.8rem; font-size: 0.98rem; flex: 1; }
.pilier-link { color: var(--ink); font-weight: 600; font-size: 0.92rem; margin-top: 1.4rem; }
.pilier-link:hover { color: var(--brass); }
@media (max-width: 820px) { .piliers { grid-template-columns: 1fr; } }
.secteurs-band { background: var(--ink); }
.secteurs-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.eyebrow-light { color: var(--brass-bright); }
.secteurs-cards { display: grid; gap: 1.2rem; }
.sec-card { background: var(--ink-soft); border: 1px solid var(--line-dark); border-left: 3px solid var(--brass); padding: 1.8rem; border-radius: 2px; }
.sec-t { color: var(--paper-pure); font-size: 1.35rem; }
.sec-d { color: #9fb0bc; margin-top: 0.7rem; font-size: 0.97rem; }
@media (max-width: 820px) { .secteurs-grid { grid-template-columns: 1fr; } }
.cta-final { text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.cta-inner .section-title, .cta-inner .section-lede { margin-inline: auto; }
.cta-inner .btn { margin-top: 1.6rem; }

/* === Services === */
.page-hero { padding-block: clamp(3rem, 7vw, 5.5rem) 2.5rem; }
.page-title { font-size: clamp(2.3rem, 6vw, 4rem); margin-top: 1.2rem; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; }
.svc-cat { font-size: 1.35rem; padding-bottom: 0.8rem; border-bottom: 2px solid var(--brass); display: inline-block; }
.svc-list { list-style: none; margin-top: 1.2rem; display: grid; gap: 0.6rem; }
.svc-list li { position: relative; padding-left: 1.3rem; color: var(--muted); font-size: 0.96rem; }
.svc-list li::before { content: "—"; position: absolute; left: 0; color: var(--brass); }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }
.demarche-band { background: var(--ink); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.step { background: var(--ink); padding: 1.8rem 1.5rem; }
.step-n { font-family: var(--display); color: var(--brass-bright); font-weight: 600; font-size: 1.1rem; }
.step-t { color: var(--paper-pure); font-size: 1.25rem; margin-top: 0.8rem; }
.step-d { color: #9fb0bc; font-size: 0.92rem; margin-top: 0.6rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }

/* === Secteurs === */
.sector { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.sector-rev .sector-side { order: 2; }
.sector-h { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 1rem; }
.sector-intro { color: var(--muted); margin-top: 1.2rem; font-size: 1.05rem; }
.sector-list { list-style: none; display: grid; gap: 1rem; }
.sector-list li { position: relative; padding: 1rem 1rem 1rem 2.6rem; background: var(--paper-pure); border: 1px solid var(--line); border-radius: 2px; font-size: 0.98rem; }
.sector-list li::before { content: "✓"; position: absolute; left: 1rem; top: 1rem; color: var(--brass); font-weight: 700; }
@media (max-width: 820px) { .sector, .sector-rev { grid-template-columns: 1fr; gap: 1.8rem; } .sector-rev .sector-side { order: 0; } }

/* === À propos === */
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: start; }
.about-p { color: var(--muted); margin-top: 1.2rem; }
.about-card { background: var(--ink); color: var(--paper); padding: 2rem; border-radius: 2px; border-top: 3px solid var(--brass); }
.about-card-h { color: var(--paper-pure); font-size: 1.3rem; }
.about-card .rule { background: var(--line-dark); }
.facts { display: grid; gap: 1rem; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.facts dt { color: var(--brass-bright); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.facts dd { color: #c4d0d9; font-size: 0.95rem; text-align: right; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.values-band { background: var(--paper-pure); border-block: 1px solid var(--line); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.value-t { font-size: 1.3rem; position: relative; padding-top: 1rem; }
.value-t::before { content:""; position:absolute; top:0; left:0; width:28px; height:2px; background: var(--brass); }
.value-d { color: var(--muted); margin-top: 0.6rem; font-size: 0.95rem; }
@media (max-width: 820px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { border: 1px solid var(--line); background: var(--paper-pure); padding: 0.5rem 1rem; border-radius: 100px; font-size: 0.9rem; color: var(--ink-soft); }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; }
.coords { list-style: none; display: grid; gap: 1.2rem; }
.coords li { display: flex; flex-direction: column; }
.coord-l { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brass); font-weight: 600; }
.coord-v { font-size: 1.05rem; margin-top: 0.2rem; }
a.coord-v:hover { color: var(--brass); }
.form-card { background: var(--paper-pure); border: 1px solid var(--line); border-radius: 3px; padding: clamp(1.5rem, 3vw, 2.4rem); }
.form { display: grid; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
label { font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); }
input, select, textarea { font-family: var(--body); font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 2px; padding: 0.75rem 0.9rem; width: 100%; transition: border-color 0.2s; }
input:focus, select:focus, textarea:focus { border-color: var(--brass); outline: none; }
textarea { resize: vertical; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 400; font-size: 0.88rem; color: var(--muted); }
.consent input { width: auto; margin-top: 0.2rem; flex-shrink: 0; }
.consent a { color: var(--brass); text-decoration: underline; }
.form-submit { width: 100%; justify-content: center; margin-top: 0.4rem; }
.form-note { font-size: 0.8rem; color: var(--muted); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }

/* === Légal === */
.legal { padding-block: clamp(3rem, 6vw, 5rem); }
.legal-wrap { max-width: 760px; }
.legal-h { font-size: clamp(2rem, 5vw, 3rem); margin-top: 1rem; }
.legal-note { color: var(--brass); font-size: 0.9rem; margin-top: 0.6rem; font-style: italic; }
.legal h2 { font-size: 1.3rem; margin-top: 2.2rem; margin-bottom: 0.6rem; }
.legal p { color: var(--muted); }

/* === 404 / Merci === */
.nf, .thanks { padding-block: clamp(5rem, 12vw, 9rem); text-align: center; }
.nf-inner, .thanks-inner { display: flex; flex-direction: column; align-items: center; }
.nf-code { font-family: var(--display); font-size: clamp(4rem, 14vw, 8rem); color: var(--brass); line-height: 1; }
.nf-h, .thanks-h { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 0.5rem; }
.check { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--paper-pure); display: grid; place-items: center; font-size: 1.8rem; margin-bottom: 1rem; }
.thanks-cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }

/* Fallback : si JS désactivé, le contenu reste visible */
.no-js .reveal { opacity: 1; transform: none; }

/* Message de retour du formulaire d'audit */
.form-feedback { font-size: 0.92rem; margin-top: 0.2rem; padding: 0; }
.form-feedback.success { color: #1a6b3a; background: #e6f4ea; border: 1px solid #b7dcc4; padding: 0.8rem 1rem; border-radius: 2px; }
.form-feedback.error { color: #8a2b2b; background: #fbe9e9; border: 1px solid #e6bcbc; padding: 0.8rem 1rem; border-radius: 2px; }
