:root {
    --scv3-bg: #f6f1eb;
    --scv3-bg-soft: rgba(255, 252, 247, 0.8);
    --scv3-surface: rgba(255, 255, 255, 0.64);
    --scv3-surface-strong: rgba(255, 255, 255, 0.82);
    --scv3-surface-dark: rgba(18, 17, 18, 0.9);
    --scv3-text: #151316;
    --scv3-text-soft: #625a58;
    --scv3-border: rgba(21, 19, 22, 0.11);
    --scv3-border-strong: rgba(21, 19, 22, 0.18);
    --scv3-accent: #111113;
    --scv3-accent-soft: #2f2a29;
    --scv3-peach: #f0ddd0;
    --scv3-blue: #dbe8f0;
    --scv3-cream: #f1e9d8;
    --scv3-pink: #eadbe2;
    --scv3-shadow: 0 24px 80px rgba(32, 26, 21, 0.09);
    --scv3-shadow-soft: 0 16px 38px rgba(28, 22, 18, 0.08);
    --scv3-radius-sm: 20px;
    --scv3-radius-md: 32px;
    --scv3-radius-lg: 48px;
    --scv3-container: min(1320px, calc(100vw - 40px));
    --scv3-content: min(860px, calc(100vw - 40px));
    --scv3-header-offset: 112px;
}

/* ---- Dark mode — warm dim ---- */
[data-theme="dark"] {
    --scv3-bg: #1c1917;
    --scv3-bg-soft: rgba(28, 25, 23, 0.92);
    --scv3-surface: rgba(255, 255, 255, 0.04);
    --scv3-surface-strong: rgba(255, 255, 255, 0.07);
    --scv3-surface-dark: rgba(10, 8, 7, 0.7);
    --scv3-text: #e8e2db;
    --scv3-text-soft: #9e9590;
    --scv3-border: rgba(232, 226, 219, 0.1);
    --scv3-border-strong: rgba(232, 226, 219, 0.18);
    --scv3-accent: #e8e2db;
    --scv3-accent-soft: #c4bdb6;
    --scv3-peach: #2c1f18;
    --scv3-blue: #18202a;
    --scv3-cream: #221d14;
    --scv3-pink: #22182a;
    --scv3-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
    --scv3-shadow-soft: 0 16px 38px rgba(0, 0, 0, 0.28);
    color-scheme: dark;
}

[data-theme="dark"] body {
    background:
        radial-gradient(circle at top left, rgba(40, 32, 28, 0.8), transparent 32%),
        radial-gradient(circle at 72% 18%, rgba(22, 28, 36, 0.6), transparent 24%),
        radial-gradient(circle at 100% 0%, rgba(32, 22, 30, 0.6), transparent 30%),
        linear-gradient(180deg, #201d1b 0%, #1c1917 100%);
}

/* Header en dark mode */
[data-theme="dark"] .site-header__inner {
    background: rgba(32, 28, 26, 0.72);
    border-color: rgba(232, 226, 219, 0.1);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .site-header.is-scrolled .site-header__inner {
    background: rgba(28, 25, 23, 0.88);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
}

/* Bouton toggle — icône lune → soleil */
.theme-toggle__icon {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--scv3-accent) 0 50%, transparent 50% 100%);
    border: 1px solid var(--scv3-accent);
    transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="dark"] .theme-toggle__icon {
    background: transparent;
    border-color: var(--scv3-accent);
    box-shadow:
        inset -3px -1px 0 2px var(--scv3-accent);
    transform: rotate(-30deg);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--scv3-header-offset) + 20px);
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 32%),
        radial-gradient(circle at 72% 18%, rgba(219, 232, 240, 0.84), transparent 24%),
        radial-gradient(circle at 100% 0%, rgba(234, 219, 226, 0.92), transparent 30%),
        radial-gradient(circle at 94% 84%, rgba(241, 233, 216, 0.88), transparent 26%),
        linear-gradient(180deg, #fbf8f4 0%, var(--scv3-bg) 100%);
    color: var(--scv3-text);
    transition: background 320ms ease, color 320ms ease;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(17, 17, 19, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 17, 19, 0.045) 1px, transparent 1px);
    background-size: clamp(70px, 7vw, 118px) clamp(70px, 7vw, 118px);
    mask-image: radial-gradient(circle at center, black 64%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.55em;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    line-height: 0.96;
    letter-spacing: -0.05em;
}

p {
    margin: 0 0 1rem;
}

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

.site-shell {
    position: relative;
    overflow: clip;
}

.site-grid,
.site-glow {
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

.site-grid {
    inset: 0;
}

.site-glow {
    width: 38vw;
    height: 38vw;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.42;
}

.site-glow--left {
    top: 8%;
    left: -12%;
    background: rgba(219, 232, 240, 0.7);
}

.site-glow--right {
    right: -10%;
    top: 0;
    background: rgba(234, 219, 226, 0.7);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 18px 0 0;
    transition: padding 180ms ease;
}

body.admin-bar .site-header {
    top: 32px;
}

.site-header__inner,
.mobile-panel,
.hero__inner,
.metrics__inner,
.section,
.page-hero,
.page-grid,
.posts-grid,
.article-shell {
    width: var(--scv3-container);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 18px;
    background: rgba(255, 250, 246, 0.52);
    box-shadow: 0 10px 28px rgba(31, 24, 20, 0.05);
    backdrop-filter: blur(14px);
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.site-header.is-scrolled .site-header__inner {
    background: rgba(255, 250, 246, 0.72);
    box-shadow: 0 14px 34px rgba(31, 24, 20, 0.08);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 50px;
    max-width: 50px;
    flex: 0 0 auto;
}

.brand-mark__logo {
    display: inline-flex;
    justify-content: center;
    width: 50px;
    max-width: 50px;
}

.brand-mark__logo .custom-logo-link,
.brand-mark__home {
    display: inline-flex;
    justify-content: center;
    width: auto;
    line-height: 0;
}

.brand-mark__logo .custom-logo {
    display: block;
    width: auto;
    max-width: 50px;
    height: auto;
    max-height: 50px;
}

.brand-mark__glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    font-family: 'Syne', sans-serif;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.brand-mark__text {
    display: none;
}

.brand-mark__text strong {
    font-size: 0.9rem;
    font-weight: 800;
}

.brand-mark__text small {
    color: var(--scv3-text-soft);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-nav--desktop {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.menu {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.5vw, 24px);
}

.menu__link,
.menu a {
    position: relative;
    color: var(--scv3-text-soft);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 180ms ease;
}

.menu__link::after,
.menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.menu__link:hover,
.menu__link:focus-visible,
.menu a:hover,
.menu a:focus-visible {
    color: var(--scv3-text);
}

.menu__link:hover::after,
.menu__link:focus-visible::after,
.menu a:hover::after,
.menu a:focus-visible::after {
    transform: scaleX(1);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-note {
    color: var(--scv3-text-soft);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button--primary {
    color: #fffaf7;
    background: var(--scv3-accent);
    box-shadow: 0 10px 22px rgba(18, 18, 18, 0.1);
}

.button--primary:hover,
.button--primary:focus-visible {
    background: #242226;
}

.button--ghost {
    color: var(--scv3-text);
    background: rgba(255, 255, 255, 0.48);
    border-color: var(--scv3-border);
}

.button--ghost:hover,
.button--ghost:focus-visible {
    border-color: var(--scv3-border-strong);
    background: rgba(255, 255, 255, 0.76);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(21, 19, 22, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(21, 19, 22, 0.34);
    background: rgba(255, 255, 255, 0.48);
}

.header-cta__disc {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--scv3-accent) 0 50%, transparent 50% 100%);
    border: 1px solid var(--scv3-accent);
}

/* ---- Language switcher ---- */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lang-switcher__btn {
    font-family: 'Syne', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--scv3-text-soft);
    text-decoration: none;
    padding: 2px 4px;
    transition: color 150ms ease;
    cursor: pointer;
}

.lang-switcher__btn--active {
    color: var(--scv3-text);
    cursor: default;
    pointer-events: none;
}

.lang-switcher__btn:not(.lang-switcher__btn--active):hover {
    color: var(--scv3-text);
}

.lang-switcher__sep {
    font-size: 0.65rem;
    color: var(--scv3-border-strong);
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--scv3-border);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
}

.menu-toggle span {
    width: 13px;
    height: 1px;
    background: var(--scv3-text);
    transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-panel {
    display: none;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 18px;
    background: rgba(255, 250, 246, 0.9);
    box-shadow: var(--scv3-shadow);
    backdrop-filter: blur(22px);
}

.mobile-panel.is-open {
    display: block;
}

.menu--mobile {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.mobile-panel__cta {
    margin-top: 22px;
}

.main-content {
    position: relative;
    z-index: 1;
    padding-top: 0;
}

.main-content--page {
    padding-bottom: clamp(3rem, 6vw, 6rem);
}

/* ============================================================
   HERO — STYLE CODEWONDERS
   ============================================================ */

.hero {
    position: relative;
    overflow: hidden; /* contient le watermark et évite tout débordement */
    padding: clamp(1rem, 2vw, 1.8rem) 0 clamp(3rem, 7vw, 6rem);
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
}

.hero__content {
    position: relative;
    transition: transform 220ms ease-out;
}

/* Badge dispo — déjà défini plus bas, on garde */

/* Titre principal — uppercase large espacé comme codewonders */
.hero__title {
    margin: 0.6rem 0 1.6rem;
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--scv3-text);
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}

/* Paragraphes éditoriaux avec inline links */
.hero__editorial {
    max-width: min(62ch, 100%);
    margin-bottom: 2.2rem;
    display: grid;
    gap: 1.1rem;
}

.hero__editorial p {
    color: var(--scv3-text-soft);
    font-size: clamp(1rem, 1.6vw, 1.14rem);
    line-height: 1.72;
    margin: 0;
}

/* Mots-clés en gras uppercase inline — signature codewonders */
.hero__keyword {
    font-weight: 700;
    font-size: 0.9em;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--scv3-text);
    text-decoration: none;
    border-bottom: 1.5px solid var(--scv3-text);
    padding-bottom: 1px;
    transition: opacity 160ms ease;
}

.hero__keyword:hover {
    opacity: 0.55;
}

/* Lien "En savoir plus →" */
.hero__see-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--scv3-text);
    font-size: 0.96rem;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(21, 19, 22, 0.28);
    text-underline-offset: 0.22em;
    transition: gap 180ms ease, text-decoration-color 180ms ease;
}

.hero__see-more:hover {
    gap: 18px;
    text-decoration-color: rgba(21, 19, 22, 0.6);
}

.hero__see-more-arrow {
    transition: transform 180ms ease;
}

.hero__see-more:hover .hero__see-more-arrow {
    transform: translateX(4px);
}

/* Icônes sociales — style plat, pas de cercle */
.hero__social-flat {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.hero__social-flat a {
    color: var(--scv3-text);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    opacity: 0.5;
    transition: opacity 160ms ease;
}

.hero__social-flat a:hover {
    opacity: 1;
}

/* Aside — juste le cercle centré */
.hero__aside {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Cercle orbit — comme le floating circle de codewonders */
.hero-orbit {
    position: relative;
    width: clamp(130px, 16vw, 200px);
    height: clamp(130px, 16vw, 200px);
    border: 1px solid rgba(21, 19, 22, 0.14);
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-orbit span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(21, 19, 22, 0.22);
    transform: translate(-50%, -50%);
}

/* Watermark SC. */
.hero-watermark {
    position: absolute;
    left: max(16px, calc((100vw - var(--scv3-container)) / 2));
    bottom: -34px;
    color: rgba(255, 255, 255, 0.28);
    font-family: 'Syne', sans-serif;
    font-size: clamp(6rem, 18vw, 18rem);
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -0.08em;
    pointer-events: none;
    user-select: none;
}

/* Eyebrow (gardé pour d'autres sections) */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: var(--scv3-text-soft);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: '';
    width: 34px;
    height: 1px;
    background: currentColor;
}

.eyebrow--hero {
    margin-bottom: 1.4rem;
}

/* ============================================================
   HOMEPAGE — SECTIONS STYLE CODEWONDERS
   ============================================================ */

/* ---- Stats strip ---- */
.hp-stats {
    border-top: 1px solid var(--scv3-border);
    border-bottom: 1px solid var(--scv3-border);
}

.hp-stats__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: var(--scv3-container);
    margin: 0 auto;
}

.hp-stat {
    padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1rem, 2vw, 2rem);
    border-right: 1px solid var(--scv3-border);
}

.hp-stat:last-child {
    border-right: none;
}

.hp-stat strong {
    display: block;
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.hp-stat span {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--scv3-text-soft);
}

/* ---- Section layout ---- */
.hp-section {
    padding: clamp(3rem, 7vw, 6rem) 0;
    border-bottom: 1px solid var(--scv3-border);
    width: var(--scv3-container);
    margin: 0 auto;
}

.hp-section--about,
.hp-section--process,
.hp-section--contact {
    border-bottom: none;
}

.hp-section__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--scv3-border);
}

.hp-section__title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0;
}

.hp-section__footer {
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--scv3-border);
}

/* ---- Generic link ---- */
.hp-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--scv3-text);
    text-decoration: underline;
    text-decoration-color: rgba(21, 19, 22, 0.25);
    text-underline-offset: 0.22em;
    transition: gap 180ms ease, text-decoration-color 180ms ease;
}

.hp-link:hover {
    gap: 16px;
    text-decoration-color: rgba(21, 19, 22, 0.6);
}

/* ---- Services list ---- */
.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-row {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: start;
    gap: 24px;
    padding: clamp(1.4rem, 2.5vw, 2rem) 0;
    border-bottom: 1px solid var(--scv3-border);
    transition: background 180ms ease;
}

.service-row:first-child {
    border-top: 1px solid var(--scv3-border);
}

.service-row__num {
    font-family: 'Syne', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--scv3-text-soft);
    padding-top: 4px;
}

.service-row__body h3 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

.service-row__body p {
    color: var(--scv3-text-soft);
    font-size: 0.95rem;
    max-width: 52ch;
    margin: 0;
}

.service-row__meta {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--scv3-text-soft);
    white-space: nowrap;
    padding-top: 4px;
}

/* ---- À propos — split card ---- */
.about-split {
    display: grid;
    grid-template-columns: clamp(220px, 26%, 320px) 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.about-split__card {
    background: var(--scv3-accent);
    border-radius: var(--scv3-radius-md);
    padding: clamp(1.8rem, 3.5vw, 2.8rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    min-height: clamp(280px, 30vw, 360px);
    position: relative;
    overflow: hidden;
}

.about-split__monogram {
    font-family: 'Syne', sans-serif;
    font-size: clamp(5rem, 10vw, 8.5rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    color: rgba(246, 241, 235, 0.08);
    user-select: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.about-split__identity {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: auto;
}

.about-split__name {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #f6f1eb;
    letter-spacing: -0.01em;
}

.about-split__role {
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(246, 241, 235, 0.5);
}

.about-split__badge {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(246, 241, 235, 0.6);
    position: relative;
}

.about-split__body {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 3.5vw, 3rem);
    padding-top: 0.25rem;
}

.about-split__bio {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.5rem, 2.6vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.3;
    color: var(--scv3-text);
    margin: 0;
    max-width: 22em;
}

.about-split__stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.about-split__pill {
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--scv3-text-soft);
    background: var(--scv3-surface-strong);
    border: 1px solid var(--scv3-border);
    border-radius: 100px;
    padding: 0.3rem 0.85rem;
    white-space: nowrap;
    transition: background 180ms ease, border-color 180ms ease;
}

.about-split__pill:hover {
    background: var(--scv3-border);
    border-color: var(--scv3-border-strong);
}

.about-avail-dot {
    display: inline-block;
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #5cb85c;
    flex-shrink: 0;
}

/* Halo animé via ::after — uniquement transform + opacity = GPU composité */
.about-avail-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(92, 184, 92, 0.4);
    animation: pulse-dot 2.4s ease-in-out infinite;
    will-change: transform, opacity;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(0.5); opacity: 0.8; }
    50%       { transform: scale(1.8); opacity: 0; }
}

/* ---- Work list (projets) ---- */
.work-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.work-row {
    display: grid;
    grid-template-columns: 60px 1fr auto auto;
    align-items: center;
    gap: 24px;
    padding: clamp(1.2rem, 2vw, 1.8rem) 0;
    border-bottom: 1px solid var(--scv3-border);
    transition: padding-left 200ms ease;
    cursor: default;
}

.work-row:first-child {
    border-top: 1px solid var(--scv3-border);
}

.work-row:hover {
    padding-left: 8px;
}

.work-row__year {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--scv3-text-soft);
}

.work-row__body h3 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    font-weight: 700;
    margin-bottom: 0.3rem;
    letter-spacing: -0.01em;
}

.work-row__body p {
    font-size: 0.88rem;
    color: var(--scv3-text-soft);
    margin: 0;
    max-width: 44ch;
}

.work-row__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.work-row__tags span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--scv3-text-soft);
    padding: 4px 10px;
    border: 1px solid var(--scv3-border);
    border-radius: 999px;
}

.work-row__cat {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--scv3-text-soft);
    white-space: nowrap;
}

/* ---- Process (méthode) — editorial rows ---- */
.process-rows {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 8rem;
}

.process-row {
    display: grid;
    grid-template-columns: clamp(80px, 10vw, 130px) 1fr auto;
    align-items: center;
    column-gap: clamp(3rem, 6vw, 7rem);
    row-gap: 0;
    cursor: default;
}

.process-row__num {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--scv3-border);
    transition: color 240ms ease;
    user-select: none;
}

.process-row:hover .process-row__num {
    color: var(--scv3-text);
}

.process-row__title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.process-row__text {
    font-size: 0.9rem;
    color: var(--scv3-text-soft);
    max-width: 55ch;
    line-height: 1.65;
    margin: 0;
}

.process-row__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--scv3-text-soft);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 200ms ease;
}

.process-row:hover .process-row__label {
    opacity: 1;
}


/* ---- Hero CTA row ---- */
.hero__cta-row {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2rem);
    margin-top: clamp(1.4rem, 3vw, 2.2rem);
    flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--scv3-text);
    color: var(--scv3-bg);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 999px;
    text-decoration: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.btn-primary:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: var(--scv3-text);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 999px;
    border: 1.5px solid var(--scv3-border);
    text-decoration: none;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.btn-secondary:hover {
    border-color: var(--scv3-text);
    background: var(--scv3-bg-tint);
    transform: translateY(-1px);
}

.btn-icon {
    flex-shrink: 0;
    display: block;
}

/* ---- Credibility band ---- */
.cred-band {
    border-top: 1px solid var(--scv3-border);
    border-bottom: 1px solid var(--scv3-border);
    padding: clamp(1.8rem, 3.5vw, 2.8rem) 0;
    width: var(--scv3-container);
    margin: 0 auto;
}

.cred-band__stats {
    display: flex;
    gap: clamp(2rem, 5vw, 5rem);
    flex-wrap: wrap;
    margin-bottom: 1.6rem;
}

.cred-stat strong {
    display: block;
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.cred-stat span {
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--scv3-text-soft);
}

.cred-band__divider {
    height: 1px;
    background: var(--scv3-border);
    margin-bottom: 1.4rem;
}

.cred-band__techs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cred-tech {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border: 1px solid var(--scv3-border);
    border-radius: 999px;
    color: var(--scv3-text-soft);
    background: transparent;
    transition: border-color 180ms ease, color 180ms ease;
}

.cred-tech:hover {
    border-color: var(--scv3-text);
    color: var(--scv3-text);
}

/* ---- Service tags ---- */
.service-row__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.8rem;
}

.service-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    background: var(--scv3-bg-tint);
    border-radius: 999px;
    color: var(--scv3-text-soft);
}

/* ---- Work grid (portfolio cards) ---- */
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.work-card {
    background: var(--scv3-bg);
    border: 1px solid var(--scv3-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(21, 19, 22, 0.07);
}

.work-card__visual {
    height: clamp(130px, 14vw, 180px);
    padding: clamp(1.2rem, 2vw, 1.6rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.work-card:nth-child(1) .work-card__visual { background: #ede9f8; }
.work-card:nth-child(2) .work-card__visual { background: #dff0ea; }
.work-card:nth-child(3) .work-card__visual { background: #fceee3; }

.work-card__year {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(21, 19, 22, 0.4);
    align-self: flex-end;
}

.work-card__content {
    padding: clamp(1.2rem, 2vw, 1.6rem);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex: 1;
}

.work-card__title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin: 0;
}

.work-card__desc {
    font-size: 0.88rem;
    color: var(--scv3-text-soft);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.work-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 0.4rem;
}

.work-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border: 1px solid var(--scv3-border);
    border-radius: 999px;
    color: var(--scv3-text-soft);
}

/* ---- Testimonial ---- */
.hp-section--testimonial {
    border-bottom: none;
    background: var(--scv3-bg-tint);
    border-top: 1px solid var(--scv3-border);
    border-bottom: 1px solid var(--scv3-border);
}

.testimonial {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4rem);
}

.testimonial__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--scv3-text);
    color: var(--scv3-bg);
    font-family: 'Syne', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.6rem;
}

.testimonial__quote {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--scv3-text);
    margin: 0 0 1.8rem;
    font-style: normal;
}

.testimonial__author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-style: normal;
}

.testimonial__name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--scv3-text);
}

.testimonial__role {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--scv3-text-soft);
}

/* ---- Contact block ---- */
.hp-section--contact {
    padding-top: clamp(3rem, 8vw, 7rem);
    padding-bottom: clamp(3rem, 8vw, 7rem);
}

.contact-block {
    max-width: 680px;
}

.contact-block .eyebrow {
    margin-bottom: 1.2rem;
}

.contact-block__title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 1.4rem;
}

.contact-block__sub {
    font-size: 1rem;
    color: var(--scv3-text-soft);
    max-width: 50ch;
    line-height: 1.72;
    margin-bottom: 2.2rem;
}

.contact-block__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.6rem;
}

.contact-block__note {
    font-size: 0.82rem;
    color: var(--scv3-text-soft);
    letter-spacing: 0.04em;
}

/* ---- Page sections (kept for inner pages) ---- */
.section {
    padding: clamp(2.6rem, 6vw, 5.5rem) 0;
}

.section-heading {
    max-width: 860px;
    margin-bottom: clamp(1.8rem, 3vw, 2.8rem);
}

.section-heading h2,
.page-hero h1,
.article-shell h1 {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.section-heading p,
.page-hero p {
    max-width: 62ch;
    color: var(--scv3-text-soft);
    font-size: 1.04rem;
}

.posts-grid {
    display: grid;
    gap: 18px;
}

.post-card {
    border: 1px solid var(--scv3-border);
    border-radius: 30px;
    background: var(--scv3-surface);
    box-shadow: var(--scv3-shadow);
    backdrop-filter: blur(16px);
    padding: 24px;
}

.post-card p {
    color: var(--scv3-text-soft);
}

/* ---- Responsive homepage ---- */
@media (max-width: 980px) {
    /* Hero — tablet */
    .hero__inner {
        grid-template-columns: 1fr;
    }

    .hero__aside {
        display: none;
    }

    .hero__title {
        font-size: clamp(2.2rem, 7vw, 4rem);
    }

    .hp-stats__inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-stat:nth-child(2) {
        border-right: none;
    }

    .hp-stat:nth-child(3) {
        border-top: 1px solid var(--scv3-border);
    }

    .hp-stat:nth-child(4) {
        border-top: 1px solid var(--scv3-border);
        border-right: none;
    }

    .process-row {
        grid-template-columns: clamp(60px, 8vw, 90px) 1fr;
    }

    .process-row__label {
        display: none;
    }

    .work-row {
        grid-template-columns: 50px 1fr;
    }

    .work-row__tags,
    .work-row__cat {
        display: none;
    }

    .about-split {
        grid-template-columns: 1fr;
    }

    .about-split__card {
        min-height: 200px;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .about-split__monogram {
        font-size: 4rem;
        top: 0.5rem;
        right: 0.8rem;
    }

    .service-row {
        grid-template-columns: 40px 1fr;
    }

    .service-row__meta {
        display: none;
    }

    .work-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 640px) {
    /* Hero — mobile */
    .hero {
        padding-top: 0.5rem;
        padding-bottom: clamp(2.5rem, 8vw, 4rem);
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero__aside,
    .hero-watermark {
        display: none;
    }

    .hero__title {
        font-size: clamp(1.6rem, 7.5vw, 2.2rem);
        letter-spacing: 0;
        line-height: 1.15;
        margin-bottom: 1.2rem;
    }

    .hero__editorial {
        margin-bottom: 1.6rem;
    }

    .hero__editorial p {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .hero__cta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .hero__social-flat {
        margin-top: 1.2rem;
        gap: 1rem;
    }

    .availability-badge {
        font-size: 0.68rem;
        padding: 0.3rem 0.75rem;
        max-width: 100%;
        white-space: normal;
    }

    /* Sections */
    .hp-stats__inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-row {
        grid-template-columns: clamp(50px, 6vw, 70px) 1fr;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .about-split__bio {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }

    .cred-band__stats {
        gap: 1.4rem;
    }

    .contact-block__actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

.page-hero {
    padding: clamp(1rem, 3vw, 2.2rem) 0 clamp(1.6rem, 3vw, 2.6rem);
}

.page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    gap: 20px;
}

.page-card,
.page-side-card,
.article-shell {
    padding: clamp(24px, 4vw, 38px);
}

.entry-content > :last-child,
.article-content > :last-child {
    margin-bottom: 0;
}

.entry-content {
    color: var(--scv3-text);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 1.4em;
    margin-bottom: 0.6em;
    font-size: clamp(1.45rem, 2vw, 2rem);
}

.entry-content p,
.entry-content li,
.article-content p,
.article-content li {
    color: var(--scv3-text-soft);
}

.entry-content ul,
.entry-content ol,
.article-content ul,
.article-content ol {
    margin: 0 0 1.2rem 1.2rem;
    padding-left: 1rem;
}

.entry-content ul li,
.article-content ul li {
    list-style: disc;
}

.entry-content ol li,
.article-content ol li {
    list-style: decimal;
}

.entry-content a,
.article-content a {
    text-decoration: underline;
    text-decoration-color: rgba(21, 19, 22, 0.24);
    text-underline-offset: 0.18em;
}

.entry-content blockquote,
.article-content blockquote {
    margin: 1.6rem 0;
    padding: 1.2rem 1.4rem;
    border-left: 3px solid var(--scv3-accent);
    background: rgba(255, 255, 255, 0.36);
    border-radius: 0 20px 20px 0;
    color: var(--scv3-text);
}

.entry-content .wp-block-image img,
.article-content .wp-block-image img {
    border-radius: 24px;
}

.contact-list {
    display: grid;
    gap: 18px;
}

.contact-list li {
    display: grid;
    gap: 8px;
}

.contact-list a {
    color: var(--scv3-text);
}

.posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.post-card__meta {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--scv3-text-soft);
}

.entry-summary {
    margin-bottom: 1.4rem;
    color: var(--scv3-text-soft);
}

.article-shell {
    width: var(--scv3-content);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 1.4rem;
    color: var(--scv3-text-soft);
}

/* ============================================================
   FOOTER — STYLE CODEWONDERS / EDITORIAL 2026
   ============================================================ */

.site-footer {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.footer-rule {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--scv3-border);
    border: none;
    margin: 0;
}

/* ---- Grand CTA centré ---- */
.footer-cta-block {
    padding: clamp(5rem, 10vw, 9rem) var(--scv3-gutter) clamp(3rem, 6vw, 5rem);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-cta-block__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--scv3-text-soft);
    margin-bottom: 1.8rem;
}

.footer-cta-block__title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--scv3-text);
    margin-bottom: 1.2rem;
    max-width: 700px;
}

.footer-cta-block__sub {
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    color: var(--scv3-text-soft);
    max-width: 420px;
    margin-bottom: 2.4rem;
    line-height: 1.65;
}

.footer-cta-block__email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--scv3-text);
    letter-spacing: 0.01em;
    padding: 10px 20px;
    border: 1px solid rgba(21, 19, 22, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(8px);
    transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
    margin-bottom: 2.8rem;
}

.footer-cta-block__email:hover {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(21, 19, 22, 0.36);
    transform: translateY(-2px);
}

.footer-cta-block__email-arrow {
    font-size: 1.1rem;
    transition: transform 200ms ease;
}

.footer-cta-block__email:hover .footer-cta-block__email-arrow {
    transform: translateX(4px);
}

/* ---- Icônes sociales style codewonders ---- */
.footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4rem;
}

.footer-socials__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(21, 19, 22, 0.13);
    border-radius: 50%;
    background: transparent;
    color: var(--scv3-text);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.footer-socials__link:hover {
    background: var(--scv3-text);
    border-color: var(--scv3-text);
    color: #fff;
    transform: translateY(-3px);
}

/* ---- Barre du bas ---- */
.footer-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: var(--scv3-container);
    max-width: 100%;
    padding: 20px 0;
    margin: 0 auto;
    border-top: 1px solid var(--scv3-border);
}

.footer-bottom-bar__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Syne', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--scv3-text);
    text-decoration: none;
}

.footer-bottom-bar__glyph {
    display: inline-block;
    font-size: 1rem;
    transition: transform 340ms ease;
}

.footer-bottom-bar__brand:hover .footer-bottom-bar__glyph {
    transform: rotate(45deg);
}

.footer-bottom-bar__nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-bottom-bar__nav a {
    font-size: 0.8rem;
    color: var(--scv3-text-soft);
    letter-spacing: 0.03em;
    transition: color 160ms ease;
}

.footer-bottom-bar__nav a:hover {
    color: var(--scv3-text);
}

.footer-bottom-bar__copy {
    font-size: 0.78rem;
    color: rgba(21, 19, 22, 0.38);
    white-space: nowrap;
}

@media (max-width: 760px) {
    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-bottom-bar__nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .hp-section__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

.reveal {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition:
        opacity 700ms ease,
        transform 700ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (max-width: 1180px) {
    .offers-grid,
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero__inner,
    .story-grid {
        grid-template-columns: 1fr;
    }

    .hero__aside {
        justify-items: start;
    }
}

@media (max-width: 980px) {
    .site-nav--desktop,
    .header-note,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .page-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    :root {
        --scv3-container: min(100vw - 24px, 100vw - 24px);
    }

    .site-header {
        padding-top: 12px;
    }

    .site-header__inner,
    .mobile-panel {
        width: calc(100vw - 24px);
    }

    .site-header__inner {
        padding: 11px 12px;
    }

    .brand-mark__text small {
        display: none;
    }

    .hero {
        padding-top: 0.6rem;
    }

    .hero__title {
        max-width: none;
        font-size: clamp(1.6rem, 7.5vw, 2.2rem);
        letter-spacing: 0;
        line-height: 1.15;
    }

    .hero__inner {
        grid-template-columns: 1fr;
    }

    .hero__aside {
        display: none;
    }

    .metrics__inner,
    .offers-grid,
    .projects-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .hero-watermark {
        left: 12px;
        bottom: -18px;
        font-size: clamp(4.8rem, 28vw, 9rem);
    }

    .section,
    .site-footer {
        padding-top: 2rem;
    }

    .section-heading h2,
    .page-hero h1,
    .article-shell h1 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .offer-card,
    .project-card,
    .process-card,
    .story-card,
    .page-card,
    .page-side-card,
    .post-card,
    .article-shell,
    .quote-panel {
        border-radius: 26px;
    }
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */

.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
    transition: opacity 260ms ease;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--scv3-accent);
    transform: translate(-50%, -50%);
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(21, 19, 22, 0.32);
    background: transparent;
    transform: translate(-50%, -50%);
    transition:
        width 220ms cubic-bezier(0.2, 0.6, 0.2, 1),
        height 220ms cubic-bezier(0.2, 0.6, 0.2, 1),
        border-color 220ms ease,
        background-color 220ms ease,
        opacity 260ms ease;
}

.cursor-ring.is-hovered {
    width: 52px;
    height: 52px;
    border-color: rgba(21, 19, 22, 0.18);
    background: rgba(21, 19, 22, 0.04);
}

.cursor-ring.is-hidden,
.cursor-dot.is-hidden {
    opacity: 0;
}

@media (hover: none) {
    .cursor-dot,
    .cursor-ring {
        display: none;
    }
}

/* ============================================================
   AVAILABILITY BADGE
   ============================================================ */

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.6rem;
    padding: 6px 14px 6px 8px;
    border: 1px solid rgba(21, 19, 22, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(10px);
    color: var(--scv3-text-soft);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.availability-badge__dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3ecf8e;
    flex-shrink: 0;
}

.availability-badge__dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: rgba(62, 207, 142, 0.28);
    animation: pulse-badge 2s ease-in-out infinite;
    will-change: transform, opacity;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50%       { transform: scale(1.5); opacity: 0; }
}

/* ============================================================
   MARQUEE / TICKER STRIP
   ============================================================ */

.marquee-strip {
    position: relative;
    z-index: 1;
    padding: 18px 0;
    border-top: 1px solid var(--scv3-border);
    border-bottom: 1px solid var(--scv3-border);
    background: rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(6px);
    overflow: hidden;
    white-space: nowrap;
    user-select: none;
    width: var(--scv3-container);
    margin: 0 auto;
}

.marquee-inner {
    display: flex;           /* les deux tracks côte à côte */
    width: max-content;      /* prend la largeur totale des deux tracks */
    animation: marquee-scroll 28s linear infinite;
    will-change: transform;
}

.marquee-strip:hover .marquee-inner {
    animation-play-state: paused;
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;           /* ne se rétrécit jamais */
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 0 28px;
    color: var(--scv3-text-soft);
    font-family: 'Syne', sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.marquee-item::after {
    content: '✦';
    font-size: 0.62rem;
    color: rgba(21, 19, 22, 0.22);
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================================
   BRAND MARK — ASTERISK GLYPH
   ============================================================ */

.brand-mark__glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(21, 19, 22, 0.14);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.52);
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: transform 340ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

.brand-mark__home:hover .brand-mark__glyph {
    transform: rotate(45deg);
}

/* ============================================================
   HERO — SOCIAL ICONS ROW
   ============================================================ */

.hero__social {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 2.2rem;
}

.hero__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--scv3-border);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.32);
    color: var(--scv3-text-soft);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease,
        color 180ms ease;
}

.hero__social a:hover,
.hero__social a:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(21, 19, 22, 0.28);
    background: rgba(255, 255, 255, 0.62);
    color: var(--scv3-text);
}

/* ============================================================
   HERO — ORBIT ANIMATION
   ============================================================ */

.hero-orbit {
    animation: orbit-spin 14s linear infinite;
    will-change: transform;
}

@keyframes orbit-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ============================================================
   SECTION DIVIDER
   ============================================================ */

.section-rule {
    width: 100%;
    height: 1px;
    background: var(--scv3-border);
    border: none;
    margin: 0;
}

/* ============================================================
   OFFER CARD — HOVER LIFT
   ============================================================ */

.offer-card,
.project-card,
.process-card,
.post-card {
    transition:
        transform 220ms cubic-bezier(0.2, 0.6, 0.2, 1),
        box-shadow 220ms ease,
        border-color 220ms ease;
}

.offer-card:hover,
.project-card:hover,
.process-card:hover,
.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 80px rgba(32, 26, 21, 0.12);
    border-color: rgba(21, 19, 22, 0.14);
}

/* ============================================================
   TYPING CURSOR FOR HERO TITLE
   ============================================================ */

.hero__title-text {
    position: relative;
}

/* ============================================================
   STAGGER REVEAL FOR GRID ITEMS
   ============================================================ */

.offers-grid .offer-card:nth-child(1) { transition-delay: 0ms; }
.offers-grid .offer-card:nth-child(2) { transition-delay: 80ms; }
.offers-grid .offer-card:nth-child(3) { transition-delay: 160ms; }
.offers-grid .offer-card:nth-child(4) { transition-delay: 240ms; }

.projects-grid .project-card:nth-child(1) { transition-delay: 0ms; }
.projects-grid .project-card:nth-child(2) { transition-delay: 80ms; }
.projects-grid .project-card:nth-child(3) { transition-delay: 160ms; }

.process-grid .process-card:nth-child(1) { transition-delay: 0ms; }
.process-grid .process-card:nth-child(2) { transition-delay: 80ms; }
.process-grid .process-card:nth-child(3) { transition-delay: 160ms; }
.process-grid .process-card:nth-child(4) { transition-delay: 240ms; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button,
    .reveal,
    .site-header__inner,
    .menu-toggle span,
    .hero__content,
    .offer-card,
    .project-card,
    .process-card,
    .post-card {
        transition: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .marquee-track {
        animation: none;
    }

    .hero-orbit {
        animation: none;
    }

    .availability-badge__dot::after {
        animation: none;
    }
}
