:root {
    color-scheme: light;
    --paper: #f5f2eb;
    --paper-deep: #ebe7dd;
    --ink: #20251e;
    --muted: #696d63;
    --green: #234a3b;
    --green-deep: #17372b;
    --lime: #d0e365;
    --line: rgba(32, 37, 30, .16);
    --serif: Georgia, 'Times New Roman', serif;
    --sans: 'DM Sans', 'Segoe UI', sans-serif;
    --display: 'Manrope', 'Segoe UI', sans-serif;
    --shell: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.6; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(var(--shell), calc(100% - 64px)); margin-inline: auto; }
.section-pad { padding-block: 112px; }
.skip-link { position: fixed; z-index: 50; top: 12px; left: 12px; padding: 12px 16px; transform: translateY(-160%); background: var(--ink); color: white; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 20; top: 0; background: rgba(245, 242, 235, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font: 800 13px var(--display); letter-spacing: -.08em; }
.brand-mark span { color: var(--lime); }
.brand-name { font: 800 12px/1.15 var(--display); letter-spacing: -.035em; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.main-nav a, .header-cta { text-decoration: none; font-size: 12px; font-weight: 700; }
.main-nav a { color: var(--muted); transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--green); }
.header-cta { padding: 12px 16px; border: 1px solid var(--line); border-radius: 3px; transition: background .2s, color .2s, border-color .2s; }
.header-cta:hover { background: var(--green); border-color: var(--green); color: white; }
.header-cta span { margin-left: 8px; color: #779b37; }
.menu-toggle { display: none; }

.hero { padding-top: 76px; padding-bottom: 36px; overflow: hidden; }
.hero-grid { min-height: 548px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 48px; }
.eyebrow, .section-index { margin: 0 0 20px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; display: inline-block; margin-right: 8px; border-radius: 50%; background: #80a94a; box-shadow: 0 0 0 4px rgba(128, 169, 74, .14); vertical-align: 1px; }
.hero h1, .section-heading h2, .about-copy h2, .contact h2 { margin: 0; font: 800 clamp(48px, 6.6vw, 82px)/1.03 var(--display); letter-spacing: -.075em; }
.accent-word { color: var(--green); font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.07em; }
.hero-intro { max-width: 500px; margin: 25px 0 28px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 0 19px; border: 1px solid transparent; border-radius: 3px; font-size: 12px; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--green); color: white; }
.button-dark:hover { background: var(--green-deep); }
.button span { color: var(--lime); font-size: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; text-decoration: none; }
.text-link span { color: #739346; font-size: 17px; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.hero-proof { display: flex; align-items: center; gap: 13px; margin-top: 48px; }
.avatar-stack { display: flex; }
.avatar-stack span { width: 31px; height: 31px; display: grid; place-items: center; margin-right: -7px; border: 2px solid var(--paper); border-radius: 50%; background: var(--green); color: white; font-size: 9px; font-weight: 800; }
.avatar-stack span:nth-child(2) { background: #bd805e; }
.avatar-stack span:nth-child(3) { background: var(--lime); color: var(--ink); }
.hero-proof p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.hero-proof strong { color: var(--ink); font-size: 11px; }
.hero-art { position: relative; justify-self: end; width: min(100%, 460px); height: 490px; }
.portrait-frame { position: absolute; inset: 18px 40px 32px 40px; overflow: hidden; border-radius: 48% 48% 4px 4px; background: #d9b59c; }
.portrait-frame::after { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg, transparent 55%, rgba(26, 38, 29, .2)); pointer-events: none; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.art-sticker { position: absolute; top: 48px; right: -8px; width: 92px; height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 50%; background: var(--lime); color: var(--green-deep); font-size: 8px; font-weight: 800; letter-spacing: .08em; transform: rotate(12deg); }
.art-sticker span:nth-child(2) { font-size: 18px; }
.orbit-note { position: absolute; right: 0; bottom: 73px; display: flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; border: 1px solid rgba(32,37,30,.1); background: var(--paper); box-shadow: 0 12px 30px rgba(32,37,30,.12); font-size: 10px; font-weight: 700; line-height: 1.3; }
.orbit-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: var(--lime); font-size: 17px; }
.hero-spark { position: absolute; color: #b58461; }
.spark-one { top: 15px; left: 9px; font-size: 31px; }
.spark-two { bottom: 15px; left: 29px; color: var(--green); font-size: 21px; }
.hero-bottom { display: flex; align-items: center; gap: 15px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero-bottom i { width: 3px; height: 3px; border-radius: 50%; background: #8ca25c; }
.scroll-cue { margin-left: auto; color: var(--green); }

.intro-band { background: var(--green); color: white; }
.intro-band-inner { position: relative; min-height: 205px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.section-index { margin: 0; color: var(--lime); white-space: nowrap; }
.intro-band p { margin: 0 auto; font: 500 clamp(22px, 3.2vw, 37px)/1.35 var(--display); letter-spacing: -.05em; }
.intro-band em { color: var(--lime); font-family: var(--serif); font-weight: 400; }
.hand-drawn { color: var(--lime); font-size: 43px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
.section-heading .eyebrow, .about-copy .eyebrow { margin-bottom: 17px; }
.section-heading h2, .about-copy h2, .contact h2 { font-size: clamp(42px, 5vw, 62px); }
.serif-accent { color: var(--green); font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.065em; }
.heading-note { max-width: 300px; margin: 0 0 6px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.expertise-card { min-width: 0; padding: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.26); transition: transform .25s, background .25s, box-shadow .25s; }
.expertise-card:hover { transform: translateY(-5px); background: #fffdf8; box-shadow: 0 16px 36px rgba(32,37,30,.07); }
.card-topline { display: flex; align-items: center; justify-content: space-between; color: #85897e; font-size: 10px; font-weight: 700; }
.card-icon { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--green); font-size: 18px; }
.expertise-image { height: 148px; margin-top: 13px; overflow: hidden; background: var(--paper-deep); }
.expertise-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.expertise-card:hover .expertise-image img { transform: scale(1.04); }
.expertise-card h3 { margin: 22px 0 8px; font: 700 19px var(--display); letter-spacing: -.04em; }
.expertise-card p { min-height: 60px; margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.tag-list { display: block; padding-top: 13px; border-top: 1px solid var(--line); color: var(--green); font-size: 9px; font-weight: 700; }

.projects { background: #eeebe3; }
.project-heading { margin-bottom: 32px; }
.project-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 27px; }
.filter-chip { padding: 8px 14px; border: 1px solid var(--line); border-radius: 30px; background: transparent; color: var(--muted); cursor: pointer; font-size: 10px; font-weight: 700; transition: background .2s, color .2s, border-color .2s; }
.filter-chip:hover, .filter-chip.is-active { border-color: var(--green); background: var(--green); color: white; }
.filter-chip:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid #91a74c; outline-offset: 3px; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px 24px; }
.project-card { min-width: 0; }
.project-card[hidden] { display: none; }
.project-image { position: relative; height: 260px; display: block; overflow: hidden; background: #ddd8ca; }
.project-large .project-image { height: 325px; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project-image:hover img { transform: scale(1.04); }
.project-arrow { position: absolute; right: 15px; bottom: 15px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--green); font-size: 19px; transition: transform .2s; }
.project-image:hover .project-arrow { transform: rotate(45deg); }
.project-meta { display: flex; justify-content: space-between; margin-top: 17px; color: var(--green); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.project-meta span:last-child { color: var(--muted); }
.project-card h3 { margin: 8px 0 5px; font: 700 21px var(--display); letter-spacing: -.04em; }
.project-card p { margin: 0; color: var(--muted); font-size: 12px; }
.project-footnote { margin: 39px 0 0; color: var(--muted); font-size: 10px; }
.project-footnote a { color: var(--green); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.about-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(50px, 9vw, 120px); }
.about-visual { position: relative; height: 485px; background: #d9b59c; }
.about-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.about-caption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; padding: 14px 16px; background: var(--green); color: white; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.about-copy h2 { margin-bottom: 22px; }
.about-copy > p:not(.eyebrow) { max-width: 490px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.about-copy .text-link { margin-top: 10px; }
.stats-row { display: flex; gap: clamp(20px, 4vw, 46px); margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.stats-row div { display: flex; flex-direction: column; }
.stats-row strong { font: 800 25px var(--display); letter-spacing: -.05em; }
.stats-row strong span { color: #779346; }
.stats-row small { margin-top: 4px; color: var(--muted); font-size: 9px; }

.method { background: #e7eadf; }
.method-heading { margin-bottom: 42px; }
.method-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(32,37,30,.18); }
.method-steps article { padding: 24px 30px 4px 0; }
.method-steps article + article { padding-left: 30px; border-left: 1px solid rgba(32,37,30,.18); }
.step-number { color: #79944b; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.method-steps h3 { margin: 17px 0 7px; font: 700 18px var(--display); letter-spacing: -.04em; }
.method-steps p { max-width: 270px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

.testimonial { overflow: hidden; background: var(--paper); }
.testimonial-inner { position: relative; max-width: 780px; text-align: center; }
.testimonial-inner .eyebrow { margin-bottom: 22px; }
.quote-mark { position: absolute; top: -34px; left: 0; color: #d9dfc1; font: 130px/.8 var(--serif); }
.testimonial blockquote { position: relative; margin: 0 auto 27px; font: 500 clamp(23px, 3.5vw, 38px)/1.42 var(--display); letter-spacing: -.045em; }
.quote-credit { display: inline-flex; align-items: center; gap: 11px; text-align: left; }
.quote-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #b78160; color: white; font-size: 10px; font-weight: 800; }
.quote-credit strong, .quote-credit small { display: block; }
.quote-credit strong { font-size: 11px; }
.quote-credit small { color: var(--muted); font-size: 9px; }
.quote-decoration { position: absolute; right: 3%; bottom: 10%; color: #a7ba74; font-size: 38px; }

.contact { overflow: hidden; background: var(--green); color: white; }
.contact-inner { position: relative; display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.contact .eyebrow { color: var(--lime); }
.contact h2 { font-size: clamp(43px, 5vw, 64px); }
.contact .serif-accent { color: var(--lime); }
.contact-inner > div:first-child > p:last-child { max-width: 440px; margin: 19px 0 0; color: rgba(255,255,255,.7); font-size: 13px; }
.contact-action { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-bottom: 6px; }
.button-light { background: var(--lime); color: var(--green-deep); }
.button-light:hover { background: white; }
.button-light span { color: var(--green); }
.contact-email { color: white; font-size: 12px; text-decoration-color: rgba(255,255,255,.5); text-underline-offset: 4px; }
.availability { margin-top: 9px; color: rgba(255,255,255,.72); font-size: 10px; }
.contact-spark { position: absolute; top: -15px; right: 3%; color: rgba(208,227,101,.28); font-size: 90px; }

.site-footer { background: var(--green-deep); color: white; }
.footer-inner { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-brand .brand-mark { background: var(--lime); color: var(--green); }
.footer-brand .brand-mark span { color: var(--green); }
.footer-inner > p { margin: 0; color: rgba(255,255,255,.8); font-size: 10px; line-height: 1.7; text-align: center; }
.footer-inner > p span { color: rgba(255,255,255,.45); font-size: 9px; }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: white; font-size: 10px; font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.footer-socials a:hover { background: var(--lime); color: var(--green); }

@media (max-width: 900px) {
    .shell { width: min(var(--shell), calc(100% - 42px)); }
    .section-pad { padding-block: 86px; }
    .main-nav { gap: 18px; }
    .header-inner { gap: 18px; }
    .main-nav a, .header-cta { font-size: 10px; }
    .hero-grid { gap: 15px; }
    .hero-art { height: 430px; }
    .portrait-frame { inset-inline: 25px; }
    .about-grid { gap: 50px; }
    .about-visual { height: 420px; }
}

@media (max-width: 680px) {
    html { scroll-padding-top: 74px; }
    .shell { width: calc(100% - 38px); }
    .section-pad { padding-block: 72px; }
    .header-inner { min-height: 70px; }
    .brand-mark { width: 36px; height: 36px; }
    .brand-name { font-size: 11px; }
    .menu-toggle { width: 40px; height: 40px; display: flex; flex-direction: column; justify-content: center; gap: 6px; margin-left: auto; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
    .menu-toggle span { width: 15px; height: 1px; align-self: center; background: var(--ink); transition: transform .2s; }
    .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
    .main-nav { position: fixed; top: 70px; right: 0; left: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0 20px; background: var(--paper); max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; }
    .main-nav.is-open { max-height: 320px; padding-block: 10px 22px; border-bottom: 1px solid var(--line); }
    .main-nav a { padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 13px; }
    .header-cta { display: none; }
    .hero { padding-top: 48px; padding-bottom: 25px; }
    .hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .hero-copy { position: relative; z-index: 1; }
    .eyebrow { font-size: 9px; }
    .hero h1 { font-size: clamp(47px, 12vw, 68px); }
    .hero-intro { max-width: 430px; margin-block: 18px 22px; font-size: 14px; }
    .hero-actions { gap: 17px; }
    .button { min-height: 46px; gap: 15px; padding-inline: 14px; font-size: 10px; }
    .text-link { font-size: 10px; }
    .hero-proof { margin-top: 26px; }
    .hero-art { justify-self: center; width: min(100%, 380px); height: 350px; }
    .portrait-frame { inset: 4px 45px 17px; }
    .art-sticker { top: 25px; right: 8px; width: 75px; height: 75px; font-size: 7px; }
    .orbit-note { right: 0; bottom: 48px; }
    .spark-one { top: 3px; left: 8px; }
    .hero-bottom { gap: 9px; font-size: 7px; letter-spacing: .08em; }
    .scroll-cue { display: none; }
    .intro-band-inner { min-height: 170px; gap: 18px; }
    .section-index { align-self: flex-start; margin-top: 38px; font-size: 8px; }
    .intro-band p { margin: 0; font-size: clamp(20px, 5.6vw, 29px); }
    .hand-drawn { display: none; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 32px; }
    .section-heading h2, .about-copy h2 { font-size: 47px; }
    .heading-note { max-width: 420px; font-size: 12px; }
    .expertise-grid { grid-template-columns: 1fr; gap: 12px; }
    .expertise-card { padding: 17px; }
    .expertise-image { height: 170px; }
    .expertise-card p { min-height: 0; }
    .project-grid { grid-template-columns: 1fr; gap: 30px; }
    .project-image, .project-large .project-image { height: 250px; }
    .about-grid { grid-template-columns: 1fr; gap: 35px; }
    .about-visual { width: min(100%, 390px); height: 400px; }
    .about-copy > p:not(.eyebrow) { font-size: 12px; }
    .stats-row { gap: 22px; margin-top: 30px; }
    .stats-row strong { font-size: 22px; }
    .stats-row small { font-size: 8px; }
    .method-steps { grid-template-columns: 1fr; }
    .method-steps article, .method-steps article + article { padding: 20px 0; border-left: 0; border-bottom: 1px solid rgba(32,37,30,.18); }
    .method-steps article:last-child { border-bottom: 0; }
    .method-steps h3 { margin-top: 9px; }
    .testimonial blockquote { font-size: 25px; }
    .quote-mark { top: -28px; left: -8px; font-size: 90px; }
    .quote-decoration { right: 0; bottom: 0; font-size: 28px; }
    .contact-inner { align-items: flex-start; flex-direction: column; gap: 30px; }
    .contact h2 { font-size: 48px; }
    .contact-action { gap: 12px; }
    .contact-spark { top: -5px; right: 0; font-size: 65px; }
    .footer-inner { min-height: 150px; flex-wrap: wrap; justify-content: space-between; padding-block: 23px; }
    .footer-inner > p { order: 3; width: 100%; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Navigation, thèmes et éléments communs aux pages détaillées */
:root {
    --page-bg: var(--paper);
    --panel-bg: #eeebe3;
    --panel-soft: #e7eadf;
    --card-bg: rgba(255,255,255,.26);
    --card-hover: #fffdf8;
    --header-bg: rgba(245,242,235,.94);
    --footer-bg: var(--green-deep);
}
body { transition: background-color .25s, color .25s; }
body[data-theme="light"] {
    color-scheme: light;
    --paper: #f6f7f8;
    --paper-deep: #e8edf0;
    --ink: #222d35;
    --muted: #66747d;
    --green: #315b75;
    --green-deep: #203d52;
    --lime: #dfb866;
    --line: rgba(34,45,53,.17);
    --panel-bg: #e9eef1;
    --panel-soft: #e5edf0;
    --card-bg: rgba(255,255,255,.65);
    --card-hover: #ffffff;
    --header-bg: rgba(246,247,248,.95);
    --footer-bg: #203d52;
}
body[data-theme="dark"] {
    color-scheme: dark;
    --paper: #17251f;
    --paper-deep: #25372e;
    --ink: #f2f0e9;
    --muted: #b6c0b8;
    --green: #9bbd83;
    --green-deep: #101b16;
    --lime: #d3e781;
    --line: rgba(236,241,230,.17);
    --panel-bg: #202f28;
    --panel-soft: #26382f;
    --card-bg: rgba(255,255,255,.035);
    --card-hover: #26382f;
    --header-bg: rgba(23,37,31,.95);
    --footer-bg: #101b16;
}
body[data-theme="light"], body[data-theme="dark"] { background: var(--paper); color: var(--ink); }
body[data-theme="light"] .site-header, body[data-theme="dark"] .site-header { background: var(--header-bg); }
body[data-theme="light"] .projects, body[data-theme="dark"] .projects { background: var(--panel-bg); }
body[data-theme="light"] .method, body[data-theme="dark"] .method { background: var(--panel-soft); }
body[data-theme="dark"] .expertise-card:hover { background: var(--card-hover); }
body[data-theme="light"] .expertise-card, body[data-theme="dark"] .expertise-card { background: var(--card-bg); }
body[data-theme="light"] .orbit-note, body[data-theme="dark"] .orbit-note { background: var(--paper); color: var(--ink); }
body[data-theme="light"] .filter-chip:hover, body[data-theme="dark"] .filter-chip:hover,
body[data-theme="light"] .filter-chip.is-active, body[data-theme="dark"] .filter-chip.is-active { color: var(--green-deep); }
body[data-theme="light"] .site-footer, body[data-theme="dark"] .site-footer { background: var(--footer-bg); }
body[data-theme="dark"] .project-image { background: #2a3b33; }
body[data-theme="dark"] .page-hero { background: var(--panel-bg); }
body[data-theme="dark"] .contact { background: #263b30; }
body[data-theme="dark"] .intro-band { background: var(--green-deep); }
body[data-theme="dark"] .button-dark { background: var(--green-deep); color: var(--ink); }
body[data-theme="dark"] .button-dark:hover { background: #0b140f; }
body[data-theme="dark"] .brand-mark { background: var(--green-deep); color: var(--lime); }
body[data-theme="dark"] .brand-mark span { color: var(--lime); }
body[data-theme="dark"] .avatar-stack span:first-child, body[data-theme="dark"] .review-author > span,
body[data-theme="dark"] .quote-avatar { background: var(--green-deep); color: var(--lime); }
body[data-theme="dark"] .footer-brand .brand-mark { background: var(--lime); color: var(--green-deep); }
body[data-theme="dark"] .footer-brand .brand-mark span { color: var(--green-deep); }
body[data-theme="dark"] .contact .eyebrow, body[data-theme="dark"] .contact h2,
body[data-theme="dark"] .contact .contact-inner > div:first-child > p:last-child,
body[data-theme="dark"] .contact-email, body[data-theme="dark"] .availability { color: var(--ink); }
body[data-theme="dark"] .contact .serif-accent { color: var(--lime); }

.header-tools { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.theme-switcher { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 30px; background: var(--card-bg); }
.theme-switcher button { width: 27px; height: 27px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; font-size: 15px; line-height: 1; transition: background .2s, color .2s, transform .2s; }
.theme-switcher button:hover { transform: scale(1.08); }
.theme-switcher button[aria-pressed="true"] { background: var(--green); color: white; }
body[data-theme="dark"] .theme-switcher button[aria-pressed="true"] { color: var(--green-deep); }
.main-nav a[aria-current="page"] { color: var(--green); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.page-hero { position: relative; overflow: hidden; background: var(--panel-bg); }
.page-hero::after { position: absolute; top: -160px; right: -80px; width: 430px; height: 430px; border: 1px solid var(--line); border-radius: 50%; content: ''; box-shadow: 0 0 0 45px color-mix(in srgb, var(--line) 30%, transparent), 0 0 0 90px color-mix(in srgb, var(--line) 18%, transparent); }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { max-width: 850px; margin: 0; font: 800 clamp(48px, 7vw, 82px)/1.02 var(--display); letter-spacing: -.075em; }
.page-hero-inner > p:not(.eyebrow) { max-width: 600px; margin: 23px 0 22px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 10px; }
.breadcrumbs a { color: var(--green); font-weight: 700; text-decoration: none; }
.timeline { max-width: 820px; margin-left: 8%; border-left: 1px solid var(--line); }
.timeline article { position: relative; display: grid; grid-template-columns: 130px 1fr; gap: 25px; padding: 0 0 34px 32px; }
.timeline article:last-child { padding-bottom: 0; }
.timeline article::before { position: absolute; top: 5px; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px var(--panel-soft); content: ''; }
.timeline .step-number { padding-top: 2px; color: var(--green); }
.timeline h3, .value-grid h3, .package-grid h3, .contact-aside h2, .contact-form h2 { margin: 0 0 7px; font: 700 20px var(--display); letter-spacing: -.04em; }
.timeline p, .value-grid p, .package-grid p { max-width: 550px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.value-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.value-grid article { min-height: 190px; padding: 22px; border: 1px solid var(--line); background: var(--card-bg); }
.value-grid article > span { display: block; margin-bottom: 25px; color: var(--green); font-size: 23px; }
.value-grid h3 { font-size: 17px; }
.skill-list { max-width: 780px; display: grid; gap: 20px; }
.skill-list > div { display: grid; grid-template-columns: 1fr minmax(140px, 34%); align-items: center; gap: 25px; font-size: 12px; font-weight: 600; }
.skill-track { height: 5px; overflow: hidden; border-radius: 6px; background: var(--line); }
.skill-track i { width: var(--skill); height: 100%; display: block; background: var(--green); }
.fine-print { margin: 20px 0 0; color: var(--muted); font-size: 10px; }
.service-detail-grid .expertise-card { padding: 22px; }
.service-detail-grid .expertise-image { height: 175px; }
.service-detail-grid .expertise-card p { min-height: 72px; }
.service-detail-grid ul, .package-grid ul { display: grid; gap: 9px; margin: 0 0 22px; padding: 15px 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font-size: 11px; }
.service-detail-grid li::before, .package-grid li::before { margin-right: 9px; color: var(--green); content: '↗'; }
.method-steps { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.method-steps article { padding-right: 22px; }
.package-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.package-grid article { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 27px 24px; border: 1px solid var(--line); background: var(--card-bg); }
.package-grid h3 { margin-top: 16px; font-size: 24px; }
.package-grid p { min-height: 66px; margin-bottom: 17px; }
.package-grid ul { width: 100%; flex: 1; }
.package-featured { outline: 2px solid var(--green); outline-offset: -2px; }
.package-label { position: absolute; top: 15px; right: 15px; color: var(--green); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.button-outline { border-color: var(--line); color: var(--ink); }
.button-outline:hover { background: var(--green); color: white; }
.faq-list { max-width: 850px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 19px 35px 19px 0; cursor: pointer; font-size: 13px; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: 4px; content: '+'; color: var(--green); font-size: 20px; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { max-width: 720px; margin: -4px 0 20px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.project-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.project-toolbar .project-filters { margin-bottom: 0; }
.sort-control { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; }
.sort-control select { padding: 9px 11px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); color: var(--ink); font: inherit; }
.results-count { margin: 0 0 24px; color: var(--muted); font-size: 10px; }
.detailed-project-grid { row-gap: 45px; }
.project-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 13px; }
.project-tags span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 30px; color: var(--muted); font-size: 9px; }
.review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.review-card { padding: 25px; border: 1px solid var(--line); background: var(--card-bg); }
.review-highlight { background: var(--panel-soft); }
.review-stars { color: #b78d42; font-size: 12px; letter-spacing: .13em; }
.review-card blockquote { min-height: 125px; margin: 18px 0 23px; font: 500 15px/1.75 var(--display); letter-spacing: -.02em; }
.review-author { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.review-author > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-size: 9px; font-weight: 800; }
.review-author p { margin: 0; }
.review-author strong, .review-author small { display: block; }
.review-author strong { font-size: 10px; }
.review-author small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(35px, 7vw, 90px); }
.contact-aside h2, .contact-form h2 { margin-bottom: 15px; font-size: clamp(36px, 4vw, 50px); line-height: 1.08; }
.contact-aside > p:not(.eyebrow) { color: var(--muted); font-size: 12px; line-height: 1.85; }
.contact-info { display: grid; gap: 16px; margin: 31px 0; }
.contact-info article { display: flex; align-items: center; gap: 12px; }
.info-symbol { width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--green); }
.contact-info small, .contact-info strong, .contact-info a, .contact-info article div > span { display: block; }
.contact-info small { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.contact-info strong, .contact-info a { margin-top: 2px; font-size: 11px; font-weight: 700; text-decoration: none; }
.contact-info article div > span { color: var(--muted); font-size: 10px; }
.contact-form { padding: clamp(23px, 4vw, 42px); border: 1px solid var(--line); background: var(--card-bg); }
.contact-form h2 { margin-bottom: 25px; }
.contact-form label { display: block; margin: 15px 0 6px; font-size: 10px; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); color: var(--ink); font: 12px var(--sans); }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.form-note, .form-status { color: var(--muted); font-size: 9px; line-height: 1.7; }
.form-status { min-height: 15px; }
.whatsapp-float { position: fixed; z-index: 30; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 10px; padding: 13px 17px; border: 2px solid rgba(255,255,255,.85); border-radius: 40px; background: #1fae63; box-shadow: 0 8px 26px rgba(18,83,48,.27); color: white; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(18,83,48,.35); }
.whatsapp-float > span:first-child { width: 23px; height: 23px; display: grid; place-items: center; border: 1.5px solid white; border-radius: 50%; font-size: 13px; }
.whatsapp-float > span:first-child { font-size: 0; }
.whatsapp-float > span:first-child::before { content: '☎'; font: 15px/1 var(--sans); }
.whatsapp-label { font-size: 10px; font-weight: 700; }

@media (max-width: 900px) {
    .header-tools { gap: 8px; }
    .header-cta { display: none; }
    .header-inner { gap: 16px; }
    .main-nav { margin-left: auto; }
    .value-grid { grid-template-columns: repeat(2,1fr); }
    .review-grid { grid-template-columns: repeat(2,1fr); }
    .package-grid { grid-template-columns: 1fr 1fr; }
    .package-grid article:last-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
    .header-tools { margin-left: 0; }
    .theme-switcher { gap: 1px; }
    .theme-switcher button { width: 24px; height: 24px; font-size: 13px; }
    .header-inner { flex-wrap: nowrap; }
    .main-nav { margin: 0; }
    .main-nav.is-open { z-index: 25; }
    .page-hero { padding-block: 65px; }
    .page-hero h1 { font-size: clamp(44px, 12vw, 65px); }
    .page-hero-inner > p:not(.eyebrow) { font-size: 13px; }
    .timeline { margin-left: 0; }
    .timeline article { grid-template-columns: 90px 1fr; gap: 13px; padding-left: 23px; }
    .timeline h3 { font-size: 16px; }
    .timeline p { font-size: 11px; }
    .value-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
    .value-grid article { min-height: 170px; padding: 16px; }
    .value-grid article > span { margin-bottom: 16px; }
    .skill-list > div { grid-template-columns: 1fr; gap: 7px; font-size: 11px; }
    .service-detail-grid .expertise-image { height: 150px; }
    .package-grid { grid-template-columns: 1fr; }
    .package-grid article:last-child { grid-column: auto; }
    .project-toolbar { align-items: flex-start; flex-direction: column; }
    .project-toolbar .project-filters { margin-bottom: 3px; }
    .review-grid { grid-template-columns: 1fr; }
    .review-card blockquote { min-height: 0; }
    .contact-layout { grid-template-columns: 1fr; gap: 36px; }
    .contact-aside h2, .contact-form h2 { font-size: 42px; }
    .whatsapp-float { right: 14px; bottom: 14px; width: 52px; height: 52px; justify-content: center; padding: 0; }
    .whatsapp-float > span:first-child { width: 24px; height: 24px; }
    .whatsapp-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
}

/* Légère hausse de la taille des textes pour améliorer le confort de lecture */
.main-nav a, .header-cta { font-size: 13px; }
.eyebrow, .section-index { font-size: 11px; }
.hero-intro { font-size: 17px; }
.hero-proof p, .hero-proof strong { font-size: 12px; }
.hero-bottom { font-size: 10px; }
.button, .text-link { font-size: 13px; }
.heading-note, .contact-inner > div:first-child > p:last-child { font-size: 14px; }
.expertise-card p, .project-card p, .method-steps p, .timeline p,
.value-grid p, .package-grid p, .faq-list details p,
.contact-aside > p:not(.eyebrow) { font-size: 13px; }
.tag-list, .project-meta, .sort-control, .results-count,
.project-tags span, .fine-print { font-size: 11px; }
.filter-chip { font-size: 12px; }
.stats-row small, .contact-info article div > span { font-size: 10px; }
.review-author small, .footer-inner > p span { font-size: 10px; }
.footer-inner > p, .availability { font-size: 11px; }
.contact-info small, .package-label { font-size: 9px; }
.contact-info strong, .contact-info a { font-size: 12px; }
.contact-form label { font-size: 11px; }
.contact-form input, .contact-form select, .contact-form textarea { font-size: 13px; }
.form-note, .form-status { font-size: 10px; }

@media (max-width: 680px) {
    .main-nav a { font-size: 14px; }
    .eyebrow { font-size: 10px; }
    .hero-intro { font-size: 15px; }
    .hero-proof p, .hero-proof strong { font-size: 11px; }
    .hero-bottom { font-size: 8px; }
    .button, .text-link { font-size: 11px; }
    .heading-note, .contact-inner > div:first-child > p:last-child { font-size: 13px; }
    .expertise-card p, .project-card p, .method-steps p, .timeline p,
    .value-grid p, .package-grid p, .faq-list details p,
    .contact-aside > p:not(.eyebrow) { font-size: 12px; }
    .filter-chip { font-size: 11px; }
    .project-meta, .sort-control, .results-count, .project-tags span,
    .fine-print { font-size: 10px; }
    .whatsapp-float > span:first-child::before { font-size: 17px; }
}
