
@font-face {
    font-family: 'Cloudyaurora';
    src: url('Cloudyaurora.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.signature-font {
    font-family: 'Cloudyaurora', cursive !important;
    font-weight: normal;
    text-transform: none;
    line-height: 1.2;
}

/* Glass Navbar Styles */
.header {
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.4s ease;
}
.header.glass-nav {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    border-radius: 50px;
    margin: 10px 20px;
    padding: 0 20px;
}
.header.nav-white .nav-link, .header.nav-white .logo-text {
    color: #fff;
}
.header.glass-nav .nav-link, .header.glass-nav .logo-text {
    color: #000;
}
.header.glass-nav .btn-primary {
    background: #000;
    color: #fff;
}
.header.glass-nav .menu-icon span {
    background: #000;
}


/* Custom Text Logos for Cards */
.custom-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--ink);
    margin-top: 0;
    margin-bottom: -10px;
}
.custom-card-logo .db-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
}
.custom-card-logo .dot {
    color: #e30613;
    font-size: 20px;
    line-height: 1;
}
.custom-card-logo .service-text {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 24px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ==========================================================================
   DB Vision — Feuille de style unique (refonte 2026)
   DA éditoriale claire : papier / encre / pierre, accent bleu nuit.
   Typo : Instrument Serif (titres) + Montserrat (interface & texte).
   Stack artisanale : CSS3 custom, aucun framework.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variables & tokens
   -------------------------------------------------------------------------- */
:root {
    /* Palette DA */
    --paper: #f4f3f1;
    /* fond principal */
    --paper-2: #eceae5;
    /* survol / zones douces */
    --ink: #111111;
    /* texte principal */
    --stone: #6e6c68;
    /* texte secondaire */
    --line: rgba(17, 17, 17, .14);
    /* filets */
    --blue: #0f2b45;
    /* accent nuit (mise en avant) */
    --sky: #dbe6ef;
    /* clair sur bleu */
    --placeholder-a: #e6e4df;
    --placeholder-b: #dedbd5;

    /* Compat rétro (utilisées par le JS injecté : reviews.js / newsletter.js
       et d'anciens styles inline). NE PAS supprimer. */
    --accent-color: #0f2b45;
    --card-bg: #ffffff;
    --bg-color: var(--paper);
    --secondary-color: var(--paper-2);
    --text-color: var(--ink);

    /* Typographie */
    --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --font-main: 'Montserrat', system-ui, -apple-system, sans-serif;

    /* Rythme */
    --pad-x: clamp(16px, 3vw, 44px);
    --max: 1320px;
    --header-h: 62px;
    --ease: cubic-bezier(.16, 1, .3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
* {
    box-sizing: border-box;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open,
body.intro-active {
    overflow: hidden;
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .3s var(--ease), opacity .3s var(--ease);
}

a:hover {
    color: var(--stone);
}

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

button {
    font: inherit;
    color: inherit;
    cursor: pointer;
}

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

::selection {
    background: var(--ink);
    color: var(--paper);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -.02em;
    margin: 0;
    text-wrap: balance;
}

p {
    margin: 0 0 1em;
    text-wrap: pretty;
}

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad-x);
}

/* Petites majuscules éditoriales (labels de section, kickers) */
.eyebrow {
    display: inline-flex;
    gap: .5em;
    align-items: baseline;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 9.5px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--stone);
}

.eyebrow .num {
    color: var(--stone);
}

/* --------------------------------------------------------------------------
   3. Animations de révélation
   -------------------------------------------------------------------------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    will-change: opacity, transform;
}

[data-reveal][data-shown] {
    opacity: 1;
    transform: none;
}

/* Compat : ancien système .fade-in-up / .visible (toujours utilisé par le JS) */
.fade-in-up {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.fade-in-up.visible {
    opacity: 1;
    transform: none;
}

.fade-in-up.delay-1 {
    transition-delay: .12s;
}

.fade-in-up.delay-2 {
    transition-delay: .24s;
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    [data-reveal],
    .fade-in-up {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* --------------------------------------------------------------------------
   4. Boutons & liens
   -------------------------------------------------------------------------- */
.btn-primary,
.btn-secondary {
    display: inline-block;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: 13px 22px;
    white-space: nowrap;
    border: 1px solid var(--ink);
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}

.btn-primary {
    background: var(--ink);
    color: var(--paper);
}

.btn-primary:hover {
    background: var(--paper);
    color: var(--ink);
}

.btn-secondary {
    background: transparent !important;
    color: var(--ink);
    border-color: var(--line);
}

.btn-secondary:hover {
    color: var(--ink);
    border-color: var(--ink);
}

.btn-primary.large,
.btn-secondary.large {
    padding: 16px 30px;
    font-size: 10.5px;
}

.btn-primary.full-width {
    display: block;
    width: 100%;
    text-align: center;
    border: none;
    padding: 16px;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* Lien souligné éditorial */
.btn-link {
    display: inline-block;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: 4px 0;
    border-bottom: 1px solid var(--ink);
    color: var(--ink);
}

.btn-link:hover {
    color: var(--ink);
    opacity: .55;
}

/* --------------------------------------------------------------------------
   5. Navbar
   -------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    padding-top: 0;
    transition: padding-top 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding-top: 20px;
}

body.intro-active .navbar {
    visibility: hidden;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    width: 100%;
    
    background: transparent;
    border-radius: 0;
    max-width: 100%;
    height: 100px;
    box-shadow: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .nav-container {
    max-width: 1200px;
    height: 76px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
    padding: 0 24px;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}











.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
    transition: gap 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .logo {
    gap: 0;
}

.brand-tag {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 10.5px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--stone);
    white-space: nowrap;
    opacity: 1;
    max-width: 300px;
    overflow: hidden;
    flex-shrink: 0;
    transition: max-width 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.navbar.scrolled .brand-tag {
    opacity: 0;
    max-width: 0;
}

@media (max-width: 640px) {
    .brand-tag {
        display: none;
    }
}

.logo-img {
    display: block;
    height: 30px;
    width: auto;
}

.footer .logo-img {
    height: 40px;
}


/* Unscrolled navbar button (white on dark background) */
.navbar:not(.scrolled) .navbar-right .btn-primary {
    background: #ffffff;
    color: var(--ink);
    border-color: #ffffff;
}
.navbar:not(.scrolled) .navbar-right .btn-primary:hover {
    background: transparent !important;
    color: #ffffff;
}

/* Make sure it returns to black when scrolled */
.navbar.scrolled .navbar-right .btn-primary {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}
.navbar.scrolled .navbar-right .btn-primary:hover {
    background: transparent !important;
    color: var(--ink);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 30px);
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 12.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
}



.nav-links>li>a:not(.lang-link) {
    font-family: var(--font-display);
    font-weight: 400;
}

.nav-links .btn-primary {
    font-family: var(--font-main);
    font-size: 11px;
    padding: 14px 22px;
    margin-top: 10px;
}


.nav-links>li>a:not(.btn-primary):not(.lang-link) {
    color: var(--ink);
    opacity: .78;
}

.nav-links>li>a:not(.btn-primary):not(.lang-link):hover {
    opacity: 1;
}

.nav-links .btn-primary {
    padding: 9px 16px;
    font-size: 9.5px;
}

/* Sélecteur de langue */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 6px 14px;
}

.lang-link {
    font-weight: 600;
    font-size: 11.5px;
    letter-spacing: .08em;
    color: var(--stone);
    opacity: .7;
    transition: opacity .25s var(--ease), color .25s var(--ease);
}

.lang-link.lang-active {
    color: var(--ink);
    opacity: 1;
}

.lang-sep {
    color: var(--line);
    font-size: 10px;
}

.lang-switcher.lang-switching-to-en .lang-en,
.lang-switcher.lang-switching-to-fr .lang-fr {
    opacity: 1;
    color: var(--ink);
}

/* Bouton menu mobile */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent !important;
    cursor: pointer;
    z-index: 100;
}


.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.mobile-menu-btn span.open:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.mobile-menu-btn span.open:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn span.open:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Éléments visibles uniquement sur mobile (dans le menu hamburger) */
.mobile-only { display: none; }

/* --------------------------------------------------------------------------
   6. Sections & en-têtes
   -------------------------------------------------------------------------- */
.section {
    padding: clamp(70px, 12vh, 150px) 0;
    border-bottom: 1px solid var(--line);
}

.section.no-border {
    border-bottom: none;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: clamp(34px, 6vh, 64px);
    max-width: 760px;
}

.section-header h2 {
    font-size: clamp(30px, 4.4vw, 60px);
    line-height: 1.04;
}

.section-header p {
    margin: 0;
    font-size: clamp(15px, 1.4vw, 18px);
    font-weight: 300;
    line-height: 1.65;
    color: var(--stone);
    max-width: 52ch;
}

/* En-tête de section avec label + lien à droite */
.head-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: clamp(34px, 6vh, 60px);
}

.head-row .section-header {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   7. Hero (film plein écran, ambiance sombre)
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 560px;
    margin-top: 0;
    overflow: hidden;
    background: #0d0d0c;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero .video-wrapper,
.hero .video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 80% at 50% 30%, rgba(255, 255, 255, .06), transparent 60%),
        linear-gradient(to top, rgba(10, 10, 9, .78), rgba(10, 10, 9, .18) 55%, rgba(10, 10, 9, .32));
}

.hero-chip {
    position: absolute;
    top: 20px;
    left: var(--pad-x);
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 9px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: clamp(28px, 6vh, 76px);
    padding-bottom: clamp(28px, 6vh, 76px);
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.hero-content .kicker {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 11.5px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .88);
}

.hero-content h1 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(40px, 7.4vw, 112px);
    line-height: .95;
    letter-spacing: -.02em;
    color: var(--paper);
    max-width: 15ch;
}

.hero-content h1 em {
    font-style: italic;
    color: rgba(244, 243, 241, .72);
}

.hero-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    padding-top: 22px;
}

.hero-foot p {
    margin: 0;
    font-size: 13px;
    font-weight: 300;
    color: rgba(255, 255, 255, .74);
    max-width: 44ch;
}

.hero-foot .btn-secondary {
    color: var(--paper);
    border-color: rgba(255, 255, 255, .35);
}

.hero-foot .btn-secondary:hover {
    color: var(--paper);
    border-color: var(--paper);
}

.hero-foot .btn-primary {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--paper);
}

.hero-foot .btn-primary:hover {
    background: transparent !important;
    color: var(--paper);
}

/* --------------------------------------------------------------------------
   8. Manifeste (La Maison)
   -------------------------------------------------------------------------- */
.manifesto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(30px, 6vw, 90px);
}

.manifesto .aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.manifesto .aside .rule {
    height: 1px;
    width: 100%;
    background: var(--line);
}

.manifesto .body {
    grid-column: span 2;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.manifesto .lines {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.6vw, 56px);
    line-height: 1.14;
    letter-spacing: -.015em;
    display: flex;
    flex-direction: column;
}

.manifesto .lines .muted {
    color: var(--stone);
}

.manifesto .lines .it {
    font-style: italic;
}

@media (max-width: 720px) {
    .manifesto .body {
        grid-column: auto;
    }
}

/* --------------------------------------------------------------------------
   9. Savoir-faire (liste de disciplines)
   -------------------------------------------------------------------------- */
/* Savoir-faire — liste des disciplines (éditoriale, sobre & luxe) */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: clamp(28px, 4vw, 72px);
    border-top: 1px solid var(--line);
}

.expertise-item {
    display: flex;
    align-items: baseline;
    gap: 22px;
    padding: clamp(20px, 2.4vw, 30px) 6px;
    border-bottom: 1px solid var(--line);
    transition: padding .45s var(--ease), background .45s var(--ease), border-color .45s var(--ease);
}

/* Chiffres en serif éditorial = signature haut de gamme */
.expertise-item .num {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(19px, 1.9vw, 25px);
    line-height: 1;
    color: var(--stone);
    min-width: 1.5em;
    transition: color .45s var(--ease);
}

.expertise-item .name {
    font-family: var(--font-main);
    font-size: clamp(16px, 1.45vw, 19px);
    font-weight: 400;
    letter-spacing: .005em;
    color: var(--ink);
    transition: transform .45s var(--ease);
}

/* Survol raffiné (souris uniquement) : léger renfoncement + accent bleu nuit */
@media (hover: hover) {
    .expertise-item:hover {
        padding-left: 18px;
        background: linear-gradient(90deg, var(--paper-2), transparent 88%);
        border-bottom-color: var(--accent-color);
    }
    .expertise-item:hover .num {
        color: var(--accent-color);
    }
    .expertise-item:hover .name {
        transform: translateX(3px);
    }
}

/* --------------------------------------------------------------------------
   10. Services / Univers (cartes)
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 400px;
    padding: clamp(24px, 3vw, 40px);
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
    color: var(--ink);
    background: transparent !important;
    transition: background .35s var(--ease);
}

.service-card:hover {
    background: var(--paper-2);
    color: var(--ink);
}

.service-card:last-child {
    border-right: none;
}

.service-card .thumb {
    height: 175px;
    display: flex;
    align-items: flex-end;
    padding: 12px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--placeholder-a);
    overflow: hidden;
}

.service-card .thumb video,
.service-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card .card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.service-card .service-icon {
    color: var(--ink);
    margin-bottom: 4px;
}

.service-card h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 30px;
    line-height: 1.05;
}

.service-card p {
    margin: 0;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--stone);
}

.service-card .go {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 9.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-top: 6px;
    color: inherit;
}


/* Variante bleu nuit (mise en avant) */
.service-card.is-blue {
    background: var(--blue) !important;
    color: var(--paper) !important;
    padding: clamp(24px, 3vw, 40px) !important;
    border-right-color: rgba(255, 255, 255, .12);
}
.service-card.is-blue .card-body {
    padding: 0;
}
.service-card.is-blue:hover {
    background: #0b2137 !important;
    color: var(--paper) !important;
}
.service-card.is-blue:hover .go {
    color: var(--sky) !important;
    transition: color 0.3s ease;
}
.service-card.is-blue p {
    color: var(--sky);
}
.service-card.is-blue .service-icon {
    color: var(--sky);
}

/* --------------------------------------------------------------------------
   11. Approche / process (liste numérotée)
   -------------------------------------------------------------------------- */
.approach {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(30px, 5vw, 80px);
    align-items: start;
}

.approach-aside {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: sticky;
    top: calc(var(--header-h) + 30px);
}

.approach-aside h2 {
    font-size: clamp(30px, 3.4vw, 52px);
    line-height: 1.06;
    max-width: 16ch;
}

.approach-aside p {
    margin: 0;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--stone);
    max-width: 34ch;
}

.approach-steps {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
}

.approach-step {
    border-bottom: 1px solid var(--line);
    padding: clamp(24px, 3vw, 38px) 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(20px, 3vw, 44px);
    align-items: baseline;
}

.approach-step:last-child {
    border-bottom: none;
}

.approach-step .step-num {
    font-family: var(--font-display);
    font-size: clamp(44px, 5vw, 76px);
    line-height: .8;
    color: #cdc9c1;
    transition: color 0.4s ease;
}

.approach-step .step-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
}

.approach-step h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(24px, 2.6vw, 36px);
    line-height: 1;
    color: #cdc9c1;
    transition: color 0.4s ease;
}

.approach-step.active .step-num,
.approach-step.active h3 {
    color: var(--ink);
}

.approach-step .tag {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 9px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--stone);
}

.approach-step p {
    margin: 0;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--stone);
    max-width: 46ch;
}

@media (max-width: 720px) {
    .approach-aside {
        position: static;
    }
}

/* --------------------------------------------------------------------------
   12. Portfolio / réalisations
   -------------------------------------------------------------------------- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(16px, 2.4vw, 30px);
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    cursor: pointer;
}

.portfolio-item .media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--placeholder-a);
}

/* Conteneur média en ratio 16:9 via le hack padding : la hauteur est calculée
   depuis la largeur (jamais depuis le contenu) → robuste au cycle plein écran,
   contrairement à aspect-ratio + enfant en position absolue. */
.portfolio-item.wide .media {
    aspect-ratio: auto;
    height: 0;
    padding-bottom: 56.25%;
}

/* Lecteur Cloudinary intégré (iframe d'embed personnalisé) */
.portfolio-item .media iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border: 0;
    background: #000;
}

.portfolio-item .portfolio-content {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 10px;
}

.portfolio-item .portfolio-content h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 19px;
    line-height: 1.1;
}

.portfolio-item .category {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--stone);
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   13. Présentation (Dan Berg)
   -------------------------------------------------------------------------- */
.presentation-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(30px, 5vw, 80px);
    align-items: center;
}

.presentation-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.presentation-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.presentation-content h2 {
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1;
}

.presentation-content .team-role {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--stone);
}

.presentation-text {
    margin: 0;
    font-size: 14.5px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--stone);
}

.presentation-cta {
    margin-top: 12px;
}

/* --------------------------------------------------------------------------
   14. Équipe / collaborateurs
   -------------------------------------------------------------------------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.team-card {
    background: var(--paper);
    padding: 28px 24px 34px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-photo {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 6px;
    background: var(--placeholder-a);
}

.team-photo .photo-placeholder,
.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 24px;
    line-height: 1.05;
}

.team-card .team-role {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--stone);
}

.team-card p {
    margin: 0;
    font-size: 13.5px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--stone);
}

/* --------------------------------------------------------------------------
   15. Marquee logos clients
   -------------------------------------------------------------------------- */
.marquee {
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: dbmarquee 40s linear infinite;
}

.marquee-track .cell {
    flex: none;
    width: clamp(150px, 18vw, 220px);
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #a8a49c;
}

.marquee-track .cell img {
    max-height: 40px;
    width: auto;
    opacity: .7;
}

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

@keyframes dbmarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Grille "Créations" (cartes galerie qui renvoient au portfolio) */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(14px, 2vw, 26px);
}

.work-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--ink);
}

.work-card .media {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--placeholder-a);
}

.work-card .media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.work-card:hover .media img {
    transform: scale(1.04);
}

.work-card .meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    
    padding-top: 10px;
}

.work-card .meta .tag {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--stone);
    white-space: nowrap;
}

/* Lien "Découvrir notre vision" du manifeste */
.manifesto .body .btn-link {
    align-self: flex-start;
}

/* --------------------------------------------------------------------------
   16. Avis / témoignages
   -------------------------------------------------------------------------- */
.avis-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.stars-aggregate {
    display: flex;
    gap: 2px;
    color: var(--blue);
    font-size: 18px;
    letter-spacing: 2px;
}

.rating-text {
    margin: 0;
    font-size: 14px;
    color: var(--stone);
}

.rating-text strong {
    color: var(--ink);
    font-weight: 600;
}

.avis-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.testimonial-card {
    background: var(--paper);
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonial-card .stars {
    color: var(--blue);
    font-size: 15px;
    letter-spacing: 2px;
}

.testimonial-text {
    margin: 0;
    font-family: var(--font-display);
    font-size: 21px;
    line-height: 1.35;
    color: var(--ink);
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .04em;
    flex: none;
}

.testimonial-author strong {
    display: block;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
}

.testimonial-author span {
    font-size: 12px;
    color: var(--stone);
}

/* --------------------------------------------------------------------------
   17. Contact & formulaires
   -------------------------------------------------------------------------- */
.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(26px, 3vw, 40px);
    margin-bottom: 12px;
}

.contact-info>p {
    font-size: 14px;
    font-weight: 300;
    color: var(--stone);
    max-width: 42ch;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 16px 0;
    
}

.info-item .label {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--stone);
}

.info-item a {
    font-size: 17px;
    font-weight: 300;
}

.newsletter-inline {
    margin-top: 26px;
    
    padding-top: 22px;
}

.newsletter-inline h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 24px;
    margin-bottom: 6px;
}

.newsletter-inline .desc {
    font-size: 13.5px;
    font-weight: 300;
    color: var(--stone);
    margin-bottom: 14px;
}

/* Champs */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--stone);
}

input[type=text],
input[type=email],
input[type=tel],
textarea,
select,
.newsletter-form input {
    width: 100%;
    background: transparent !important;
    border: none;
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 300;
    color: var(--ink);
    outline: none;
    transition: border-color .3s var(--ease);
}

textarea {
    border: 1px solid var(--line);
    padding: 14px;
    resize: vertical;
    min-height: 130px;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--ink);
}

input::placeholder,
textarea::placeholder {
    color: #a8a49c;
}

select {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236e6c68' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
    padding-right: 22px;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type=checkbox] {
    margin-top: 4px;
    width: auto;
    accent-color: var(--ink);
    cursor: pointer;
}

.checkbox-group label {
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 300;
    color: var(--stone);
    line-height: 1.5;
    cursor: pointer;
}

.micro-trust {
    font-size: 11.5px;
    font-weight: 300;
    color: var(--stone);
    text-align: center;
    margin-bottom: 14px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
}

.form-status {
    margin-top: 12px;
    font-size: 13px;
    min-height: 1em;
}

.form-status.success {
    color: #2e7d32;
}

.form-status.error {
    color: #b23b3b;
}

/* Mention « (optionnel) » dans un label */
.form-group label .optional {
    font-weight: 400;
    letter-spacing: .06em;
    text-transform: none;
    color: #a8a49c;
}

/* Champ contextuel dynamique : petite transition à l'apparition */
#dynamic-field[hidden] {
    display: none;
}

#dynamic-field:not([hidden]) {
    animation: dynFieldIn .35s var(--ease);
}

@keyframes dynFieldIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Écran de confirmation post-envoi */
.contact-confirm[hidden] {
    display: none;
}

.contact-confirm {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: clamp(24px, 3vw, 36px);
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: 16px;
    animation: dynFieldIn .4s var(--ease);
}

.contact-confirm .cc-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--sky);
    color: var(--blue);
}

.contact-confirm h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 400;
    color: var(--ink);
}

.contact-confirm > p {
    margin: 0;
    font-weight: 300;
    line-height: 1.6;
    color: var(--stone);
}

.contact-confirm .cc-newsletter {
    width: 100%;
    margin-top: 6px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.cc-nl-title {
    margin: 0 0 10px;
    font-weight: 500;
    color: var(--ink);
}

.cc-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.cc-check input[type=checkbox] {
    margin-top: 3px;
    width: auto;
    accent-color: var(--ink);
    cursor: pointer;
}

.cc-check span {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--stone);
}

/* --------------------------------------------------------------------------
   18. Bloc "entrer en relation" (CTA final)
   -------------------------------------------------------------------------- */
.cta-band {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(30px, 6vw, 80px);
    align-items: end;
}

.cta-band h2 {
    font-size: clamp(30px, 4.6vw, 68px);
    line-height: 1.05;
}

.cta-band .cta-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
}

.cta-band .cta-actions p {
    margin: 0;
    font-size: 13px;
    font-weight: 300;
    color: var(--stone);
}

/* --------------------------------------------------------------------------
   20. Pages Services (détails)
   -------------------------------------------------------------------------- */
.service-page-header {
    /* margin-top: var(--header-h); removed */
    padding: clamp(70px, 14vh, 150px) 0 clamp(40px, 7vh, 80px);
    border-bottom: 1px solid var(--line);
}

.service-page-header .container {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.service-page-header h1 {
    font-size: clamp(38px, 6.5vw, 100px);
    line-height: .96;
    letter-spacing: -.025em;
    max-width: 18ch;
}

.service-page-header .lead {
    margin: 0;
    font-size: clamp(16px, 1.5vw, 21px);
    font-weight: 300;
    line-height: 1.6;
    color: var(--stone);
    max-width: 52ch;
}

.service-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    padding: clamp(40px, 7vh, 80px) 0;
    border-bottom: 1px solid var(--line);
}

.service-details-reverse .service-media {
    order: -1;
}

@media (max-width: 720px) {
    .service-details-reverse .service-media {
        order: 0;
    }
}

.service-text h2 {
    font-size: clamp(26px, 3.2vw, 44px);
    line-height: 1.08;
    margin-bottom: 16px;
}

.service-text p {
    font-size: 14.5px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--stone);
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 8px;
    
}

.service-list li {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    font-weight: 300;
    display: flex;
    gap: 12px;
    align-items: baseline;
}

.service-list li::before {
    content: "—";
    color: var(--stone);
}

.service-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   21. Pages sobres (réalisations, avis, formulaire avis, légal)
   -------------------------------------------------------------------------- */
.page-head {
    /* margin-top: var(--header-h); removed */
    padding: clamp(60px, 11vh, 130px) 0 clamp(30px, 5vh, 54px);
    border-bottom: 1px solid var(--line);
}

.page-head .container {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.page-head h1 {
    font-size: clamp(34px, 5.4vw, 84px);
    line-height: .98;
    letter-spacing: -.025em;
    max-width: 20ch;
}

.page-head p {
    margin: 0;
    font-size: clamp(15px, 1.4vw, 18px);
    font-weight: 300;
    color: var(--stone);
    max-width: 54ch;
}

/* Alias legacy : ancien en-tête de page (pages légales) */
.page-header {
    /* margin-top: var(--header-h); removed */
    padding: clamp(60px, 11vh, 130px) 0 clamp(30px, 5vh, 54px);
    border-bottom: 1px solid var(--line);
}

.page-header .container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    text-align: left;
}

.page-header h1 {
    font-size: clamp(34px, 5.4vw, 78px);
    line-height: .98;
    letter-spacing: -.025em;
}

.page-header p {
    margin: 0;
    font-size: clamp(15px, 1.4vw, 18px);
    font-weight: 300;
    color: var(--stone);
    max-width: 54ch;
}

/* Contenu éditorial des pages légales (mentions, confidentialité, cookies) */
.content-section .container {
    max-width: 820px;
    font-weight: 300;
}

.content-section h2 {
    font-size: clamp(24px, 2.6vw, 36px);
    line-height: 1.1;
    margin: 40px 0 14px;
}

.content-section h3 {
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: .01em;
    margin: 26px 0 10px;
}

.content-section p,
.content-section li {
    font-size: 15px;
    line-height: 1.8;
    color: #3a3a37;
}

.content-section ul {
    list-style: disc;
    padding-left: 22px;
    margin: 0 0 1em;
}

.content-section a {
    border-bottom: 1px solid var(--line);
}

.content-section a:hover {
    color: var(--ink);
    border-color: var(--ink);
}

/* Filtres portfolio */
.filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 9.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: clamp(24px, 4vh, 44px);
}

.filters .filter {
    border: 1px solid var(--line);
    background: none;
    padding: 9px 16px;
    color: var(--ink);
    transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}

.filters .filter:hover {
    border-color: var(--ink);
}

.filters .filter.active {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

/* Formulaire d'avis : notation par étoiles */
.rating-input {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 4px;
}

.rating-input input {
    display: none;
}

.rating-input label {
    font-size: 30px;
    color: var(--line);
    cursor: pointer;
    transition: color .2s var(--ease);
}

.rating-input input:checked~label,
.rating-input label:hover,
.rating-input label:hover~label {
    color: var(--blue);
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Contenu éditorial / pages légales */
.prose {
    max-width: 760px;
    margin: 0 auto;
    font-weight: 300;
}

.prose h2 {
    font-size: clamp(24px, 2.6vw, 36px);
    margin: 40px 0 14px;
    line-height: 1.1;
}

.prose h3 {
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: .02em;
    margin: 26px 0 10px;
}

.prose p,
.prose li {
    font-size: 15px;
    line-height: 1.8;
    color: #3a3a37;
}

.prose ul {
    list-style: disc;
    padding-left: 22px;
    margin: 0 0 1em;
}

.prose a {
    border-bottom: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   22. Intro splash (préserve le comportement plein écran d'origine)
   -------------------------------------------------------------------------- */
#intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0d0d0c;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    clip-path: circle(150vmax at 50% 50%);
    will-change: clip-path, opacity;
}

#intro-overlay.iris-close {
    animation: iris-close 2.6s cubic-bezier(.45, 0, .85, .6) forwards;
    pointer-events: none;
}

@keyframes iris-close {
    0% {
        clip-path: circle(150vmax at 50% 50%);
        opacity: 1;
    }

    88% {
        clip-path: circle(6vmax at 50% 50%);
        opacity: 1;
    }

    100% {
        clip-path: circle(0px at 50% 50%);
        opacity: 0;
    }
}

#intro-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   23. Bannière & modale cookies
   -------------------------------------------------------------------------- */
.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translate(-50%, 140%);
    z-index: 150;
    width: min(680px, calc(100% - 32px));
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 18px 50px rgba(17, 17, 17, .14);
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    transition: transform .5s var(--ease);
}

.cookie-banner.show {
    transform: translate(-50%, 0);
}

.cookie-icon {
    font-size: 24px;
}

.cookie-text {
    flex: 1;
    min-width: 200px;
}

.cookie-text h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 19px;
    margin-bottom: 2px;
}

.cookie-text p {
    margin: 0;
    font-size: 12.5px;
    font-weight: 300;
    color: var(--stone);
}

.cookie-text a {
    border-bottom: 1px solid var(--line);
}

.cookie-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-cookie {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 10px 14px;
    border: 1px solid var(--line);
    background: none;
    color: var(--ink);
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}

.btn-cookie-accept {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.btn-cookie-accept:hover {
    opacity: .85;
}

.btn-cookie-decline:hover,
.btn-cookie-customize:hover {
    border-color: var(--ink);
}

.cookie-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 160;
    background: rgba(17, 17, 17, .4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ease);
}

.cookie-modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.cookie-modal {
    background: var(--paper);
    width: min(560px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--line);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
}

.cookie-modal-header h2 {
    font-size: 24px;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--stone);
}

.cookie-modal-body {
    padding: 20px 24px;
}

.cookie-modal-intro {
    font-size: 13px;
    font-weight: 300;
    color: var(--stone);
    margin-bottom: 18px;
}

.cookie-modal-intro a {
    border-bottom: 1px solid var(--line);
}

.cookie-category {
    padding: 16px 0;
    
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.cookie-category-name {
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 14px;
}

.cookie-badge-required {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--stone);
}

.cookie-category-desc {
    margin: 0;
    font-size: 12.5px;
    font-weight: 300;
    color: var(--stone);
}

.cookie-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 18px 24px;
    
    flex-wrap: wrap;
}

.btn-modal-decline,
.btn-modal-save {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 12px 18px;
    border: 1px solid var(--line);
    background: none;
    color: var(--ink);
}

.btn-modal-save {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

/* Interrupteur */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: #cdc9c1;
    border-radius: 22px;
    transition: background .3s var(--ease);
}

.toggle-slider::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background: var(--paper);
    border-radius: 50%;
    transition: transform .3s var(--ease);
}

.toggle-switch input:checked+.toggle-slider {
    background: var(--blue);
}

.toggle-switch input:checked+.toggle-slider::before {
    transform: translateX(20px);
}

/* --------------------------------------------------------------------------
   24. Popup newsletter
   -------------------------------------------------------------------------- */
.newsletter-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 170;
    background: rgba(17, 17, 17, .4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s var(--ease);
}

.newsletter-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.newsletter-popup {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--line);
    width: min(440px, 100%);
    padding: 40px 34px 34px;
    transform: translateY(20px);
    transition: transform .4s var(--ease);
}

.newsletter-popup-overlay.active .newsletter-popup {
    transform: none;
}

.np-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 22px;
    color: var(--stone);
    cursor: pointer;
    line-height: 1;
}

.np-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 30px;
    line-height: 1.05;
    margin-bottom: 10px;
}

.np-desc {
    font-size: 13.5px;
    font-weight: 300;
    color: var(--stone);
    margin-bottom: 20px;
}

.np-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.np-form input {
    border: 1px solid var(--line);
    padding: 12px 14px;
}

.np-status {
    margin-top: 12px;
    font-size: 13px;
    min-height: 1em;
}

/* --------------------------------------------------------------------------
   25. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1060px) {
    .mobile-menu-btn {
        display: flex;
    }

        .service-card {
        border-right: none;
    }

    .hero-content h1 {
        max-width: none;
    }
}

@media (max-width: 600px) {
    .hero-chip {
        display: none;
    }

    .section {
        padding: clamp(56px, 9vh, 90px) 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 26px;
    }
}

/* --- Page Transition Overlay --- */
.page-transition-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    pointer-events: none;
    display: flex;
    flex-direction: row;
}

.page-transition-strip {
    flex: 1;
    background: #0a0a0a;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.page-transition-strip:last-child {
    border-right: none;
}

.page-transition-overlay.no-transition .page-transition-strip { transition: none !important; }

/* --- Lenis Smooth Scroll Base --- */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}


/* --- Rolling Text Hover Effect (Studio Fief style) --- */
.roll-link {
    display: inline-block;
    vertical-align: middle;
}
.roll {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    overflow: hidden;
}
.roll-front, .roll-back {
    display: flex;
}
.roll-front span, .roll-back span {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}
.roll-back {
    position: absolute;
    top: 100%;
    left: 0;
}
.roll-link:hover .roll-front span,
.roll-link:hover .roll-back span {
    transform: translateY(-100%);
}


@media (max-width: 1060px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    
/* Unscrolled navbar button (white on dark background) */
.navbar:not(.scrolled) .navbar-right .btn-primary {
    background: #ffffff;
    color: var(--ink);
    border-color: #ffffff;
}
.navbar:not(.scrolled) .navbar-right .btn-primary:hover {
    background: transparent !important;
    color: #ffffff;
}

/* Make sure it returns to black when scrolled */
.navbar.scrolled .navbar-right .btn-primary {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}
.navbar.scrolled .navbar-right .btn-primary:hover {
    background: transparent !important;
    color: var(--ink);
}

.nav-links {
        position: fixed;
        inset: 0;
        top: 0;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 6px;
        padding: 0 var(--pad-x);
        background: var(--paper);
        font-size: clamp(30px, 8vw, 48px);
        letter-spacing: normal;
        text-transform: none;
        transform: translateX(100%);
        transition: transform .4s var(--ease);
        display: flex;
        z-index: 80;
    }
    
    .nav-links.active {
        transform: none;
    }
    
    .nav-links>li>a:not(.lang-link) {
        font-family: var(--font-display);
        font-weight: 400;
    }
    
    .nav-links .btn-primary {
        font-family: var(--font-main);
        font-size: 11px;
        padding: 14px 22px;
        margin-top: 10px;
    }
}

body.menu-open .navbar.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
}


/* Navbar Colors Transition (Transparent to White Pill) */
.logo-img {
    filter: brightness(0) invert(1);
    transition: filter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar.scrolled .logo-img {
    filter: brightness(0);
}

.brand-tag {
    color: #ffffff !important;
}
.navbar.scrolled .brand-tag {
    color: var(--ink) !important;
}

.nav-links > li > a:not(.btn-primary):not(.lang-link) {
    color: #ffffff !important;
    opacity: 0.9 !important;
    transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}
.navbar.scrolled .nav-links > li > a:not(.btn-primary):not(.lang-link) {
    color: var(--ink) !important;
    opacity: 0.78 !important;
}
.navbar.scrolled .nav-links > li > a:not(.btn-primary):not(.lang-link):hover {
    opacity: 1 !important;
}

.lang-switcher {
    border-color: rgba(255,255,255,0.3) !important;
    transition: border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar.scrolled .lang-switcher {
    border-color: var(--line) !important;
}

.lang-link {
    color: rgba(255,255,255,0.6) !important;
}
.lang-link.lang-active {
    color: #ffffff !important;
}
.lang-sep {
    color: rgba(255,255,255,0.3) !important;
}

.navbar.scrolled .lang-link {
    color: var(--stone) !important;
}
.navbar.scrolled .lang-link.lang-active {
    color: var(--ink) !important;
}
.navbar.scrolled .lang-sep {
    color: var(--line) !important;
}

.mobile-menu-btn {
    border-color: rgba(255,255,255,0.3) !important;
    transition: border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu-btn span {
    background: #ffffff !important;
    transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s ease, opacity 0.4s ease;
}
.navbar.scrolled .mobile-menu-btn {
    border-color: var(--line) !important;
}
.navbar.scrolled .mobile-menu-btn span {
    background: var(--ink) !important;
}

/* --- 1600.agency WhatsApp Button Replica --- */
.btn-whatsapp {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgb(37, 211, 102);
    box-shadow: 5px 15px 30px 0px rgba(37, 211, 102, 0.2), 0px 1px 6px -2px rgb(37, 211, 102);
    border: 1px solid rgb(1, 130, 49);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
}

.btn-whatsapp:hover {
    transform: scale(1.1);
}

.btn-whatsapp::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.btn-whatsapp:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.btn-whatsapp svg {
    position: absolute;
    width: 25px;
    height: 25px;
    z-index: 2;
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wa-icon-white {
    fill: rgb(255, 255, 255);
    opacity: 1;
    transform: translateY(0);
}

.wa-icon-green {
    fill: rgb(37, 211, 102);
    opacity: 0;
    transform: translateY(15px);
}

.btn-whatsapp:hover .wa-icon-white {
    opacity: 0;
    transform: translateY(-15px);
}

.btn-whatsapp:hover .wa-icon-green {
    opacity: 1;
    transform: translateY(0);
}


/* --- Old Footer Styles Restored --- */
.footer-link {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer;
}

.footer-link:hover {
    color: #fff;
}

.footer-link.mr-15 {
    margin-right: 15px;
}

.footer {
    padding: 80px 0 30px;
    background: #050505;
    margin-top: 60px;
    font-family: var(--font-main);
}

.footer-top {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
}

.footer-top h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    color: #fff;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 600;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: #fff;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    color: #000;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #666;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal-links a {
    color: #666;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #aaa;
}

.footer-creator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-creator span {
    color: #666;
}

.footer-creator a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    transition: opacity 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.footer-creator a:hover {
    opacity: 0.8;
    color: #fff;
}

.footer-creator img {
    height: 24px;
    width: auto;
    border-radius: 4px;
}

.footer-top h2 {
        font-size: 2.2rem;
    }

.footer-bottom {
        flex-direction: column;
        text-align: center;
    }

.footer-legal-links {
        margin: 15px 0;
    }

.footer-legal-links a {
        margin: 0 10px;
    }

.footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

.footer-socials a {
        margin: 0 10px;
    }

.footer-main-logo { height: 60px; max-width: 100%; object-fit: contain; opacity: 0.8; transition: opacity 0.3s ease; }

.footer-logo-link:hover .footer-main-logo { opacity: 1; }

/* Logo signature dans la colonne Navigation du footer.
   Le PNG est un carré 1080x1080 avec de larges bords transparents :
   on contraint sa taille (comme sur l'ancien site) et on le passe en blanc
   pour qu'il reste lisible sur le footer sombre. */
.signature-nav-logo {
    width: 135px;
    height: 38px;
    object-fit: cover;
    object-position: center;
    filter: brightness(0) invert(1);
    /* L'image est en display:block (reset) : on la centre via marges auto. */
    margin: 0 auto;
}

@media (max-width: 768px) {
    .footer-top h2 {
        font-size: 2.2rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-legal-links {
        margin: 15px 0;
    }
    .footer-legal-links a {
        margin: 0 10px;
    }
}



/* Center the Social Networks column */
.footer-col:last-child {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-col:last-child .footer-socials {
    justify-content: center;
}


/* ==========================================================================
   Founder Profile (Dan Berg)
   ========================================================================== */
.founder-profile {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(40px, 6vw, 80px);
    margin-top: clamp(80px, 12vw, 150px);
    padding-top: clamp(60px, 8vw, 100px);
    
}

@media (min-width: 900px) {
    .founder-profile {
        grid-template-columns: 4fr 5fr;
        align-items: center;
    }
}

.founder-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 4px;
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.founder-photo:hover img {
    transform: scale(1.03);
}

.founder-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.founder-name {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1;
    margin: 0;
    font-weight: 400;
}

.founder-role {
    font-family: var(--font-sans);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--stone);
    margin-top: -16px;
    display: block;
}

.founder-bio {
    max-width: 600px;
    line-height: 1.6;
}

.founder-actions {
    margin-top: 20px;
}

/* ==========================================================================
   Image Filters (Black & White to Color on scroll/hover)
   ========================================================================== */
.founder-photo img, .service-media img {
    filter: grayscale(100%) contrast(1.1);
    transition: filter 0.8s ease, transform 0.8s ease;
}

.founder-photo img.active-color, .service-media img.active-color {
    filter: grayscale(0%) contrast(1);
}

/* Survol uniquement sur les appareils à pointeur (desktop) : évite que la
   couleur reste « collée » après un simple appui sur écran tactile. */
@media (hover: hover) {
    .founder-photo:hover img, .service-media:hover img {
        filter: grayscale(0%) contrast(1);
        transform: scale(1.02);
    }
}

/* ==========================================================================
   Raffinements mobile (téléphone) — 2026-08
   ========================================================================== */

/* ---- Tablette / petit écran ---- */
@media (max-width: 768px) {

    /* --- Navbar --- */
    .nav-container {
        height: 72px;
        padding: 0 clamp(14px, 3vw, 24px);
    }
    .navbar.scrolled .nav-container {
        height: 60px;
        border-radius: 30px;
        padding: 0 18px;
    }
    .navbar.scrolled {
        padding-top: 10px;
    }
    .logo-img {
        height: 26px;
    }
    .navbar-right {
        gap: 10px;
    }
    .navbar-right .btn-primary {
        padding: 10px 16px;
        font-size: 8.5px;
    }
    .btn-whatsapp {
        width: 40px;
        height: 40px;
    }
    .btn-whatsapp svg {
        width: 21px;
        height: 21px;
    }
    .mobile-menu-btn {
        width: 40px;
        height: 40px;
    }
    .mobile-menu-btn span {
        width: 18px;
    }
    .lang-switcher {
        padding: 5px 10px;
    }
    .lang-link {
        font-size: 10px;
    }

    /* --- Hero --- */
    .hero {
        min-height: 100svh;
    }
    .hero-content {
        padding-top: clamp(20px, 5vh, 50px);
        padding-bottom: clamp(20px, 5vh, 50px);
        gap: 20px;
    }
    .hero-content .kicker {
        font-size: 9px;
        letter-spacing: .2em;
    }
    .hero-content h1 {
        font-size: clamp(34px, 9vw, 52px);
        max-width: none;
        line-height: .96;
    }
    .hero-foot {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding-top: 18px;
    }
    .hero-foot p {
        font-size: 12px;
        max-width: none;
    }
    .btn-group {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .btn-group .btn-primary,
    .btn-group .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }

    /* --- Sections (général) --- */
    .section {
        padding: clamp(50px, 8vh, 80px) 0;
    }
    .section-header {
        margin-bottom: clamp(28px, 5vh, 44px);
    }
    .section-header h2 {
        font-size: clamp(26px, 7vw, 38px);
        line-height: 1.06;
    }
    .section-header p {
        font-size: 14px;
    }
    .head-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: clamp(28px, 5vh, 44px);
    }

    /* --- Manifeste (La Maison) --- */
    .manifesto {
        gap: 24px;
    }
    .manifesto .aside {
        display: none;
    }
    .manifesto .body {
        grid-column: auto;
        gap: 24px;
    }
    .manifesto .lines {
        font-size: clamp(26px, 7vw, 38px);
        line-height: 1.16;
    }

    /* --- Fondateur (Dan Berg) --- */
    .founder-profile {
        margin-top: clamp(50px, 8vw, 80px);
        padding-top: clamp(40px, 6vw, 60px);
        gap: clamp(28px, 5vw, 44px);
    }
    .founder-photo {
        max-width: 280px;
        margin: 0 auto;
    }
    .founder-name {
        font-size: clamp(32px, 8vw, 44px);
        text-align: center;
    }
    .founder-role {
        text-align: center;
        margin-top: -12px;
    }
    .founder-content {
        text-align: center;
        gap: 18px;
    }
    .founder-content .large-text {
        font-size: 15px;
    }
    .founder-bio {
        font-size: 13.5px;
        max-width: none;
    }
    .founder-actions {
        display: flex;
        justify-content: center;
        margin-top: 12px;
    }

    /* --- Savoir-faire --- */
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    .expertise-item .name {
        font-size: 15px;
    }

    /* --- Univers (cartes services) --- */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .service-card {
        border: 1px solid var(--line) !important;
        border-right: 1px solid var(--line) !important;
        border-radius: 10px;
        min-height: auto;
        padding: 0 !important;
        overflow: hidden;
        background: #ffffff !important;
    }
    .service-card:hover {
        background: #fafaf8 !important;
    }
    .service-card:last-child {
        border: 1px solid var(--line) !important;
    }
    .service-card .thumb {
        height: 200px;
        border-radius: 0;
    }
    .service-card .card-body {
        padding: 18px 22px 24px;
    }
    .service-card h3 {
        font-size: 24px;
    }
    .custom-card-logo {
        justify-content: flex-start;
        margin-bottom: 0;
        padding: 18px 22px 0;
    }
    .custom-card-logo .db-logo {
        height: 34px;
    }
    .custom-card-logo .service-text {
        font-size: 18px;
    }
    /* Variante blue nuit */
    .service-card.is-blue {
        border: none !important;
        border-radius: 10px;
        overflow: hidden;
    }
    .service-card.is-blue:hover {
        background: #0b2137 !important;
    }
    .service-card.is-blue .thumb {
        height: 200px;
    }
    .service-card.is-blue .card-body {
        padding: 18px 22px 24px;
    }

    /* --- Approche --- */
    .approach {
        gap: clamp(24px, 4vw, 36px);
    }
    .approach-aside {
        position: static;
    }
    .approach-aside h2 {
        font-size: clamp(26px, 7vw, 36px);
    }
    .approach-aside p {
        font-size: 13.5px;
        max-width: none;
    }
    .approach-step {
        grid-template-columns: 48px 1fr;
        gap: 16px;
        padding: clamp(18px, 3vw, 28px) 0;
    }
    .approach-step .step-num {
        font-size: clamp(36px, 9vw, 52px);
    }
    .approach-step h3 {
        font-size: clamp(20px, 5vw, 28px);
    }
    .approach-step p {
        font-size: 13px;
        max-width: none;
    }

    /* --- Créations (work grid) --- */
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .work-card .meta {
        flex-direction: column;
        gap: 4px;
        padding-top: 6px;
    }
    .work-card .meta span:first-child {
        font-size: 12px;
    }
    .work-card .meta .tag {
        font-size: 8px;
    }

    /* --- Marquee --- */
    .marquee-track .cell {
        width: clamp(150px, 34vw, 185px); /* cellules plus larges = logos un peu plus espacés sur mobile */
        height: 72px;
        font-size: 9.5px;
    }
    /* Bande logos clients collée au trait de séparation (supprime le vide au-dessus sur mobile) */
    .section.no-border:has(> .marquee) {
        padding-top: 0 !important;
    }

    /* --- Contact --- */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-info {
        padding-bottom: 36px;
        border-bottom: 1px solid var(--line);
    }
    .contact-info h2 {
        font-size: clamp(24px, 6vw, 32px);
    }
    .contact-info > p {
        font-size: 13.5px;
    }
    .contact-form {
        background: #ffffff;
        border: 1px solid var(--line);
        border-radius: 10px;
        padding: 28px 22px 32px;
        margin-top: 28px;
    }
    .info-item a {
        font-size: 15px;
    }

    /* Labels de formulaire plus lisibles au doigt */
    .form-group label {
        font-size: 12px;
        letter-spacing: .12em;
    }
    /* Champs plus grands pour le toucher */
    input[type=text],
    input[type=email],
    input[type=tel],
    textarea,
    select,
    .newsletter-form input {
        font-size: 16px; /* Empêche le zoom auto sur iOS */
        padding: 12px 0;
    }
    textarea {
        padding: 14px;
        min-height: 110px;
    }
    .btn-primary.full-width {
        padding: 16px;
        font-size: 11px;
    }
    .micro-trust {
        font-size: 10.5px;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-form input {
        width: 100%;
        min-width: auto;
    }
    .newsletter-form .btn-primary {
        width: 100%;
        text-align: center;
    }
    .newsletter-inline h3 {
        font-size: 20px;
    }
    .newsletter-inline .desc {
        font-size: 12.5px;
    }

    /* --- Footer --- */
    .footer {
        padding: 50px 0 24px;
        margin-top: 40px;
    }
    .footer-top {
        margin-bottom: 36px;
    }
    .footer-main-logo {
        height: 46px;
    }
    .footer-main {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 36px;
        text-align: center;
    }
    .footer-col h3 {
        font-size: 1rem;
        margin-bottom: 14px;
    }
    .footer-col ul li {
        margin-bottom: 8px;
    }
    .footer-col a {
        font-size: 0.9rem;
    }
    .footer-col:last-child {
        text-align: center;
    }
    .footer-socials {
        justify-content: center;
        gap: 12px;
    }
    .footer-socials a {
        width: 38px;
        height: 38px;
        margin: 0;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 14px;
        padding-top: 20px;
    }
    .footer-legal-links {
        margin: 0;
    }
    .footer-legal-links a {
        margin: 0 8px;
        font-size: 0.8rem;
    }
    .footer-creator {
        justify-content: center;
    }
    .footer-copyright {
        font-size: 0.8rem;
    }

    /* --- Bannière cookies mobile --- */
    .cookie-banner {
        flex-direction: column;
        padding: 18px;
        gap: 12px;
        bottom: 10px;
        width: calc(100% - 20px);
    }
    .cookie-actions {
        width: 100%;
    }
    .cookie-actions .btn-cookie {
        flex: 1;
        text-align: center;
    }
    .cookie-text h3 {
        font-size: 17px;
    }

    /* --- Modale cookies mobile --- */
    .cookie-modal {
        width: 100%;
        max-height: 85vh;
    }
    .cookie-modal-header {
        padding: 18px 20px;
    }
    .cookie-modal-header h2 {
        font-size: 20px;
    }
    .cookie-modal-body {
        padding: 16px 20px;
    }
    .cookie-modal-footer {
        padding: 14px 20px;
        flex-direction: column;
    }
    .cookie-modal-footer .btn-modal-decline,
    .cookie-modal-footer .btn-modal-save {
        width: 100%;
        text-align: center;
    }

    /* --- Newsletter popup mobile --- */
    .newsletter-popup {
        padding: 30px 22px 26px;
    }
    .np-title {
        font-size: 24px;
    }

    /* --- Portfolio grid (page toutes-réalisations) --- */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .portfolio-item .portfolio-content h3 {
        font-size: 15px;
    }
    .portfolio-item .category {
        font-size: 8px;
    }

    /* --- Boutons globaux (touch-friendly) --- */
    .btn-primary,
    .btn-secondary {
        padding: 14px 20px;
        font-size: 9.5px;
    }
    .btn-link {
        font-size: 9.5px;
        padding: 6px 0;
    }

    /* --- Pages services / légales --- */
    .service-page-header {
        padding: clamp(50px, 10vh, 80px) 0 clamp(30px, 5vh, 50px);
    }
    .service-page-header h1 {
        font-size: clamp(30px, 8vw, 48px);
    }
    .service-details {
        gap: clamp(20px, 4vw, 36px);
        padding: clamp(30px, 5vh, 50px) 0;
    }
    .page-head {
        padding: clamp(50px, 9vh, 80px) 0 clamp(24px, 4vh, 40px);
    }
    .page-head h1 {
        font-size: clamp(28px, 7vw, 44px);
    }
    .page-header {
        padding: clamp(50px, 9vh, 80px) 0 clamp(24px, 4vh, 40px);
    }
    .page-header h1 {
        font-size: clamp(28px, 7vw, 44px);
    }

    /* --- Avis / témoignages --- */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-card {
        padding: 24px 20px;
    }
    .testimonial-text {
        font-size: 18px;
    }

    /* --- Intro overlay mobile --- */
    #intro-overlay {
        clip-path: circle(120vmax at 50% 50%);
    }

    /* --- Menu mobile ouvert (couleurs des spans hamburger) --- */
    body.menu-open .mobile-menu-btn {
        border-color: var(--line) !important;
    }
    body.menu-open .mobile-menu-btn span {
        background: var(--ink) !important;
    }
}

/* ---- Très petit écran (iPhone SE, petits téléphones) ---- */
@media (max-width: 380px) {
    .hero-content h1 {
        font-size: 30px;
    }
    .hero-content .kicker {
        font-size: 8px;
    }
    .navbar-right .btn-primary {
        padding: 9px 12px;
        font-size: 7.5px;
    }
    .manifesto .lines {
        font-size: 24px;
    }
    .section-header h2 {
        font-size: 24px;
    }
    .approach-aside h2 {
        font-size: 24px;
    }
    .work-grid {
        grid-template-columns: 1fr;
    }
    .founder-name {
        font-size: 30px;
    }
    .contact-info h2 {
        font-size: 22px;
    }
}

/* ==========================================================================
   Navbar mobile — style 1600.agency avec transition
   Placé en dernier pour overrider les règles !important précédentes.
   ========================================================================== */
@media (max-width: 1060px) {

    /* ---- Navbar de base (état initial transparent) ---- */
    .nav-container {
        height: 72px !important;
        padding: 0 20px !important;
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        max-width: 100% !important;
    }
    .logo-img {
        height: 26px;
    }
    .brand-tag {
        display: none !important;
    }
    .mobile-menu-btn {
        width: 40px;
        height: 40px;
    }
    .mobile-menu-btn span {
        width: 18px;
    }

    /* ---- Navbar au scroll (état pillule blanche) ---- */
    .navbar.scrolled {
        padding-top: 10px !important;
    }
    .navbar.scrolled .nav-container {
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
        border-radius: 32px !important;
        box-shadow: 0 2px 20px rgba(0,0,0,0.06) !important;
        max-width: calc(100% - 24px) !important;
        height: 56px !important;
        padding: 0 16px !important;
    }
    .navbar.scrolled .logo-img {
        filter: brightness(0) !important;
    }
    .navbar.scrolled .mobile-menu-btn {
        border-color: var(--line) !important;
    }
    .navbar.scrolled .mobile-menu-btn span {
        background: var(--ink) !important;
    }
    
    /* ---- Masquer CTA + lang-switcher du header ---- */
    .navbar-right > .btn-primary {
        display: none !important;
    }
    .navbar-right > .lang-switcher {
        display: none !important;
    }

    /* ---- Afficher éléments mobile-only dans le menu ---- */
    .mobile-only {
        display: block !important;
    }

    /* ---- WhatsApp bouton compact ---- */
    .btn-whatsapp {
        width: 40px;
        height: 40px;
    }
    .btn-whatsapp svg {
        width: 21px;
        height: 21px;
    }
    
    /* ---- Navbar-right : juste WhatsApp + hamburger ---- */
    .navbar-right {
        gap: 10px;
    }

    /* ---- Style du menu mobile ouvert ---- */
    .mobile-menu-lang {
        margin-top: 16px;
    }
    .mobile-menu-lang .lang-switcher {
        border-color: var(--line) !important;
        display: inline-flex;
        padding: 8px 16px;
    }
    .mobile-menu-lang .lang-link {
        color: var(--stone) !important;
        opacity: 0.7 !important;
        font-size: 13px !important;
    }
    .mobile-menu-lang .lang-link.lang-active {
        color: var(--ink) !important;
        opacity: 1 !important;
    }
    .mobile-menu-lang .lang-sep {
        color: var(--line) !important;
    }
    .mobile-menu-cta {
        margin-top: 8px;
    }
    .mobile-menu-cta .btn-primary {
        display: inline-block !important;
        font-size: 11px;
        padding: 16px 28px;
        border-radius: 30px;
        margin-top: 4px;
    }

    /* ---- Menu ouvert : hamburger reste noir et background pillule sans backdrop-filter pour éviter les bugs de barre blanche ---- */
    body.menu-open .mobile-menu-btn {
        border-color: var(--line) !important;
    }
    body.menu-open .mobile-menu-btn span {
        background: var(--ink) !important;
    }
    body.menu-open .navbar .nav-container {
        background: rgba(255, 255, 255, 0.95) !important;
        border-radius: 32px !important;
        max-width: calc(100% - 24px) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    body.menu-open .logo-img {
        filter: brightness(0) !important;
    }
}


/* ==========================================================================
   Styles spécifiques à la page Signature (extrait de signature.html)
   ========================================================================== */
/* ---- Hero signature : image plein cadre + logo signature centré ---- */
        .hero-small {
            position: relative;
            height: 66vh;
            min-height: 440px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        .hero-small .hero-bg {
            position: absolute;
            inset: 0;
            background: url('Picture/db_pp_signature.png') no-repeat center center/cover;
            transform: scale(1.03);
        }
        .hero-small .overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top,
                rgba(10, 10, 9, .82),
                rgba(10, 10, 9, .35) 55%,
                rgba(10, 10, 9, .55));
        }
        .hero-small .hero-content {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 22px;
            text-align: center;
            padding: 0 var(--pad-x);
        }
        .hero-small .sig-logo {
            max-width: 450px;
            width: 90%;
            height: auto;
            filter: brightness(0) invert(1);
        }

        /* ---- Bloc « La Direction Artistique » : typo sobre, tout en Montserrat ----
           On garde la même famille que le texte courant (comme l'ancienne page),
           seuls le poids et la taille marquent la hiérarchie. */
        /* Accroche */
        .signature-lead {
            font-size: 1.25rem !important;
            font-weight: 500 !important;
            line-height: 1.5 !important;
            color: var(--ink) !important;
            margin-bottom: 22px !important;
        }
        /* Phrase de chute */
        .signature-close {
            font-size: 1.15rem !important;
            font-weight: 600 !important;
            line-height: 1.5 !important;
            color: var(--ink) !important;
            margin-top: 32px !important;
        }
        /* On retire le filet gris bas de .service-details : la signature flottante
           remonte par-dessus et la ligne la traverserait. */
        .service-details {
            border-bottom: none;
        }
        /* Portrait Dan Berg : cadrage vertical, hover subtil (façon « founder ») */
        .signature-portrait {
            position: relative;
            width: 100%;
            aspect-ratio: 4 / 5;
            overflow: hidden;
            border-radius: 4px;
        }
        .signature-portrait img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            aspect-ratio: auto; /* neutralise le 4/3 par défaut de .service-media img */
            transition: transform .6s var(--ease);
        }
        .signature-portrait:hover img {
            transform: scale(1.03);
        }

        /* ---- Signature manuscrite flottante : position identique à l'ancienne page,
           en chevauchement sur le bas du portrait ---- */
        .floating-signature {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            margin-top: -210px;
            margin-bottom: 80px;
            padding-right: 10%;
            position: relative;
            z-index: 10;
        }
        .floating-signature img {
            max-width: 220px;
            filter: brightness(0); /* encre noire */
        }
        /* Aucune media query : position identique sur ordi et téléphone
           (même chevauchement -210px qu'à l'origine, pour le même effet). */


/* --- Styles cookies.html --- */
.page-header p { color: var(--stone); }
        .content-section { color: var(--stone); }
        .content-section h2 { color: var(--ink); font-family: var(--font-display); font-weight: 400; font-size: clamp(22px,2.4vw,32px); margin: 44px 0 12px; }
        .content-section h2:first-child { margin-top: 0; }
        .cookie-table-wrap { overflow-x: auto; margin: 20px 0 28px; border: 1px solid var(--line); }
        .cookie-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
        .cookie-table th { text-align: left; padding: 13px 16px; color: var(--ink); background: var(--paper-2); font-weight: 600; white-space: nowrap; }
        .cookie-table td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--line); color: #3a3a37; vertical-align: top; }
        .cookie-table tr:hover td { background: rgba(17,17,17,.03); }
        .cookie-type-badge { display: inline-block; font-size: .7rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; margin-bottom: 4px; }
        .badge-required { background: rgba(15,43,69,.08); color: var(--blue); border: 1px solid rgba(15,43,69,.22); }
        .badge-analytics { background: rgba(15,43,69,.05); color: var(--blue); border: 1px solid rgba(15,43,69,.18); }
        .prefs-block { background: var(--paper-2); border: 1px solid var(--line); padding: 28px; margin: 28px 0; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
        .prefs-block-text { flex: 1; min-width: 220px; }
        .prefs-block-text strong { display: block; color: var(--ink); font-size: .95rem; margin-bottom: 6px; }
        .prefs-block-text p { font-size: .85rem; color: var(--stone); margin: 0; }
        .consent-status { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; margin-top: 10px; }
        .consent-status.accepted { background: rgba(46,125,50,.1); color: #2e7d32; border: 1px solid rgba(46,125,50,.25); }
        .consent-status.declined { background: rgba(178,59,59,.1); color: #b23b3b; border: 1px solid rgba(178,59,59,.25); }
        .consent-status.pending { background: rgba(180,140,20,.12); color: #8a6d1a; border: 1px solid rgba(180,140,20,.25); }
        .btn-manage-cookies { background: var(--ink); color: var(--paper); border: none; padding: 12px 24px; font-family: var(--font-main); font-weight: 500; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
        .btn-manage-cookies:hover { opacity: .85; }
        .info-note { background: var(--paper-2); border-left: 3px solid var(--line); padding: 12px 16px; font-size: .85rem; color: var(--stone); margin: 16px 0; }

/* ==========================================================================
   Menu mobile — style « carte flottante » façon 1600.agency
   Transforme le panneau plein écran en carte arrondie ancrée en haut,
   avec fond de page assombri/flouté, liens gris alignés à gauche,
   pilule de langue et bouton d'action noir pleine largeur.
   Placé en toute fin de fichier pour overrider les règles précédentes.
   ========================================================================== */
@media (max-width: 1060px) {

    /* ---- Fond assombri + flouté derrière la carte ---- */
    body.menu-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(18, 18, 16, 0.28);
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
        z-index: 60;
        animation: mobileMenuScrim 0.32s var(--ease);
    }
    @keyframes mobileMenuScrim {
        from { opacity: 0; }
        to   { opacity: 1; }
    }

    /* ---- Navbar transparente quand le menu est ouvert (logo + croix flottent
           au-dessus de l'en-tête de la carte) ---- */
    body.menu-open .navbar .nav-container,
    body.menu-open .navbar.scrolled .nav-container {
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        max-width: calc(100% - 24px) !important;
    }

    /* ---- La carte du menu ---- */
    .nav-links {
        position: fixed;
        top: 8px;
        left: 12px;
        right: 12px;
        bottom: auto;
        width: auto;
        max-width: 420px;
        margin-left: auto;
        max-height: calc(100vh - 20px);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 66px 22px 22px;
        background: #ffffff;
        border-radius: 26px;
        box-shadow: 0 24px 64px rgba(0, 0, 0, 0.20);
        font-size: 18px;
        letter-spacing: normal;
        text-transform: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-14px) scale(0.97);
        transform-origin: top right;
        transition: opacity 0.30s var(--ease),
                    transform 0.30s var(--ease),
                    visibility 0s linear 0.30s;
        z-index: 90;
    }
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: opacity 0.30s var(--ease),
                    transform 0.30s var(--ease);
    }

    /* ---- Liens du menu : gris, alignés à gauche, sans-serif ---- */
    .nav-links > li {
        width: 100%;
    }
    .nav-links > li > a:not(.lang-link):not(.btn-primary) {
        font-family: var(--font-main) !important;
        font-weight: 500;
        font-size: 18px;
        line-height: 1.2;
        display: block;
        padding: 12px 2px;
        letter-spacing: 0;
        text-align: left;
        transition: color 0.25s var(--ease);
    }
    /* Force la couleur grise (les liens héritent du blanc de la navbar sombre) */
    .nav-links > li > a:not(.lang-link):not(.btn-primary),
    .nav-links > li > a:not(.lang-link):not(.btn-primary) span {
        color: var(--stone) !important;
    }
    .nav-links > li > a:not(.lang-link):not(.btn-primary):hover,
    .nav-links > li > a:not(.lang-link):not(.btn-primary):hover span {
        color: var(--ink) !important;
    }

    /* ---- Logo + croix restent au-dessus de la carte (en-tête) ---- */
    body.menu-open .logo {
        position: relative;
        z-index: 100;
    }

    /* ---- Pilule de langue ---- */
    .nav-links .mobile-menu-lang {
        margin-top: 14px;
        padding-top: 16px;
        border-top: 1px solid var(--line);
    }
    .nav-links .mobile-menu-lang .lang-switcher {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border: 1px solid var(--line) !important;
        border-radius: 40px;
        padding: 9px 18px;
    }
    .nav-links .mobile-menu-lang .lang-link {
        font-family: var(--font-main) !important;
        font-size: 13px !important;
        font-weight: 500;
        color: var(--stone) !important;
        opacity: 0.7 !important;
    }
    .nav-links .mobile-menu-lang .lang-link.lang-active {
        color: var(--ink) !important;
        opacity: 1 !important;
    }

    /* ---- Bouton d'action noir pleine largeur ---- */
    .nav-links .mobile-menu-cta {
        margin-top: 14px;
    }
    .nav-links .mobile-menu-cta .btn-primary {
        display: block !important;
        width: 100%;
        text-align: center;
        background: var(--ink) !important;
        color: #ffffff !important;
        border: 1px solid var(--ink) !important;
        border-radius: 40px;
        font-family: var(--font-main) !important;
        font-size: 11px;
        letter-spacing: 0.14em;
        padding: 18px 24px;
        margin-top: 0;
    }
    .nav-links .mobile-menu-cta .btn-primary:hover {
        background: transparent !important;
        color: var(--ink) !important;
    }
}


/* ==========================================================================
   Savoir-faire — index typographique editorial (refonte)
   ========================================================================== */
/* Regroupement en 3 blocs (cœur de métier / renforts / accélérateurs) */
.savoir-index .disc-groups {
    margin-top: clamp(34px, 6vh, 68px);
}
.savoir-index .disc-group + .disc-group {
    margin-top: clamp(34px, 5vh, 60px);
}
/* En-tête de sous-groupe : sur-titre + sous-titre */
.savoir-index .disc-group-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: clamp(6px, 1.4vw, 16px);
}
.savoir-index .disc-group-kicker {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: clamp(10px, 1vw, 12px);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--stone);
}
.savoir-index .disc-group-title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    line-height: 1.1;
    letter-spacing: -.01em;
    color: var(--ink);
}

.savoir-index .disc-index {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
}
.savoir-index .disc-row {
    border-bottom: 1px solid var(--line);
    transition: opacity .45s var(--ease);
}

.savoir-index .disc-link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "num name go" "num desc go";
    align-items: baseline;
    column-gap: clamp(16px, 3vw, 44px);
    padding: clamp(22px, 3.2vw, 40px) 4px;
    min-height: 72px;
    color: var(--ink);
    text-decoration: none;
    transition: padding-left .45s var(--ease);
}
.savoir-index .disc-num {
    grid-area: num;
    align-self: start;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: clamp(11px, 1vw, 13px);
    letter-spacing: .12em;
    color: var(--stone);
    padding-top: .6em;
    transition: color .45s var(--ease);
}
.savoir-index .disc-name {
    grid-area: name;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.4rem, 4.2vw, 3.15rem);
    line-height: 1.02;
    letter-spacing: -.02em;
    overflow-wrap: break-word;
}
.savoir-index .disc-desc {
    grid-area: desc;
    margin-top: 10px;
    font-family: var(--font-main);
    font-weight: 300;
    font-size: clamp(13px, 1.15vw, 15.5px);
    line-height: 1.55;
    color: var(--stone);
    max-width: 46ch;
}
.savoir-index .disc-go {
    grid-area: go;
    align-self: center;
    font-size: clamp(20px, 2.2vw, 30px);
    line-height: 1;
    color: var(--accent-color);
    transition: transform .45s var(--ease);
}
/* Ligne de sortie + CTA de conversion */
.savoir-index .savoir-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: clamp(34px, 5vh, 60px);
}
.savoir-index .savoir-outro {
    margin: 0;
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(20px, 2.6vw, 32px);
    line-height: 1.2;
    color: var(--ink);
    max-width: 22ch;
}
/* Effet projecteur — souris/clavier uniquement */
@media (hover: hover) {
    .savoir-index .disc-index:hover .disc-row:not(:hover) { opacity: .38; }
    .savoir-index .disc-index:focus-within .disc-row:not(:focus-within) { opacity: .38; }
    .savoir-index .disc-link:hover { padding-left: clamp(8px, 1.6vw, 22px); }
    .savoir-index .disc-link:hover .disc-num { color: var(--accent-color); }
    .savoir-index .disc-link:hover .disc-go { transform: translate(4px, -4px); }
}
.savoir-index .disc-link:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: -2px;
}
@media (prefers-reduced-motion: reduce) {
    .savoir-index .disc-row,
    .savoir-index .disc-link,
    .savoir-index .disc-go { transition: none; }
}
@media (max-width: 640px) {
    .savoir-index .disc-name { font-size: clamp(1.9rem, 9vw, 2.6rem); }
    .savoir-index .disc-desc { display: none; } /* mobile : on garde num + nom + fleche, clairs et tap-friendly */
    .savoir-index .disc-link { grid-template-areas: "num name go"; align-items: center; min-height: 64px; }
    .savoir-index .savoir-cta { flex-direction: column; align-items: flex-start; }
}

/* Tactile (pas de survol) : effet projecteur pilote par le scroll (JS -> .is-active) */
@media (hover: none) {
    .savoir-index .disc-index.js-spotlight:has(.disc-row.is-active) .disc-row:not(.is-active) {
        opacity: .32;
    }
    .savoir-index .disc-row.is-active .disc-num { color: var(--accent-color); }
    .savoir-index .disc-row.is-active .disc-go { transform: translate(4px, -4px); }
}

/* ==========================================================================
   BOUTIQUE (refonte 2026)
   Ressources numériques & formations — DA éditoriale claire, accent bleu nuit.
   Pensée mobile d'abord : la majorité des acheteurs sont sur téléphone.
   ========================================================================== */

/* --- Héro boutique (fond sombre pour cohérence avec la navbar claire au scroll) --- */
.shop-hero .container { color: #ffffff; }
.shop-hero h1 { color: #ffffff; }
.shop-hero .lead { color: rgba(255, 255, 255, .86); }
.shop-hero .eyebrow { color: rgba(255, 255, 255, .7); }
.shop-hero .eyebrow .num { color: rgba(255, 255, 255, .5); }

/* Rangée d'intro sous le titre : mini-argumentaire + garanties */
.shop-assurances {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-top: 8px;
}
.shop-assurances li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 300;
    color: rgba(255, 255, 255, .82);
}
.shop-assurances li svg { width: 15px; height: 15px; flex: none; opacity: .9; }

/* --- Grille produits : galerie éditoriale en filets fins --- */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.product-card {
    display: flex;
    flex-direction: column;
    padding: clamp(20px, 2.2vw, 32px);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: transparent;
    transition: background .4s var(--ease);
}

@media (hover: hover) {
    .product-card:hover { background: var(--paper-2); }
}

.product-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 22px;
    background: var(--placeholder-a);
}
.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}
@media (hover: hover) {
    .product-card:hover .product-media img { transform: scale(1.045); }
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
    padding: 6px 11px;
    color: #ffffff;
    background: var(--blue);
}
.product-badge.is-alt { background: rgba(17, 17, 17, .9); }

.product-card h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(20px, 1.7vw, 25px);
    line-height: 1.12;
    letter-spacing: -.01em;
    margin-bottom: 10px;
}

.product-desc {
    margin: 0;
    font-size: 13.5px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--stone);
}

/* Corps de la fiche (titre + desc + pied) : occupe la hauteur restante
   pour aligner les prix/boutons entre cartes de la même rangée. */
.product-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-foot {
    margin-top: auto;
    padding-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.product-price {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(26px, 2.2vw, 34px);
    line-height: 1;
    color: var(--ink);
    white-space: nowrap;
}
.product-price .cur { font-size: .6em; color: var(--stone); margin-left: 2px; }

.product-foot .btn-primary { padding: 12px 18px; }

/* --- Icône panier dans la navbar (affichée par cart.js dès 1 article) --- */
.cart-nav-item { display: none; }
.cart-nav-item > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    color: #ffffff !important;
    transition: border-color .5s var(--ease), color .5s var(--ease), background .3s var(--ease);
}
.cart-nav-item > a:hover { background: rgba(255, 255, 255, .1); }
.navbar.scrolled .cart-nav-item > a {
    border-color: var(--line);
    color: var(--ink) !important;
}
.navbar.scrolled .cart-nav-item > a:hover { background: var(--paper-2); }
.cart-nav-item svg { width: 18px; height: 18px; }
.cart-nav-item .snipcart-items-count {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 100px;
    background: var(--blue);
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}

/* --- Tiroir panier (généré par cart.js) --- */
.custom-cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    justify-content: flex-end;
    background: rgba(12, 12, 11, .42);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.custom-cart-overlay.active { opacity: 1; visibility: visible; }

.cart-drawer {
    width: min(430px, 92vw);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    box-shadow: -24px 0 60px rgba(0, 0, 0, .16);
    transform: translateX(100%);
    transition: transform .5s var(--ease);
}
.custom-cart-overlay.active .cart-drawer { transform: none; }

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px clamp(20px, 4vw, 30px);
    border-bottom: 1px solid var(--line);
}
.cart-drawer-header h2 { font-family: var(--font-display); font-weight: 400; font-size: 26px; }
.cart-drawer-close {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: none;
    color: var(--stone);
    font-size: 24px;
    line-height: 1;
    transition: color .3s var(--ease), background .3s var(--ease);
}
.cart-drawer-close:hover { color: var(--ink); background: var(--paper-2); }

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 4px clamp(20px, 4vw, 30px);
}
.empty-cart {
    padding: 64px 0;
    text-align: center;
    font-weight: 300;
    color: var(--stone);
}

.cart-drawer-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 16px;
    align-items: start;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}
.cart-drawer-item img { width: 64px; height: 64px; object-fit: cover; }
.cart-drawer-item-info h4 {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 13px;
    line-height: 1.3;
    letter-spacing: .01em;
    margin: 0 0 6px;
}
.cart-drawer-item-price { font-family: var(--font-display); font-size: 18px; color: var(--ink); }
.cart-drawer-item-controls {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    border: 1px solid var(--line);
    border-radius: 100px;
}
.cart-drawer-item-controls button {
    width: 28px;
    height: 26px;
    border: none;
    background: none;
    color: var(--ink);
    font-size: 15px;
    line-height: 1;
}
.cart-drawer-item-controls span { min-width: 26px; text-align: center; font-size: 13px; }
.cart-drawer-item-remove {
    align-self: start;
    width: 26px;
    height: 26px;
    border: none;
    background: none;
    color: var(--stone);
    font-size: 18px;
    line-height: 1;
    transition: color .3s var(--ease);
}
.cart-drawer-item-remove:hover { color: #b23b3b; }

.cart-drawer-footer {
    padding: 20px clamp(20px, 4vw, 30px) clamp(22px, 4vw, 30px);
    border-top: 1px solid var(--line);
}
.cart-drawer-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
}
.cart-drawer-total span:first-child {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--stone);
}
.cart-drawer-total span:last-child { font-family: var(--font-display); font-size: 28px; color: var(--ink); }
.cart-drawer-checkout { display: block; width: 100%; text-align: center; }

/* --- Modale « produit ajouté » (statique dans la page) --- */
.cart-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(12, 12, 11, .5);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.cart-modal-overlay.active { opacity: 1; visibility: visible; }
.cart-modal {
    width: min(400px, 100%);
    padding: clamp(28px, 5vw, 40px);
    text-align: center;
    background: var(--paper);
    border: 1px solid var(--line);
    transform: translateY(14px) scale(.98);
    transition: transform .4s var(--ease);
}
.cart-modal-overlay.active .cart-modal { transform: none; }
.cart-modal-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--blue);
}
.cart-modal-icon svg { width: 24px; height: 24px; }
.cart-modal h3 { font-family: var(--font-display); font-weight: 400; font-size: 28px; margin-bottom: 8px; }
.cart-modal p { font-size: 14px; font-weight: 300; color: var(--stone); margin-bottom: 24px; }
.cart-modal-buttons { display: flex; flex-direction: column; gap: 10px; }
.cart-modal-btn {
    display: block;
    width: 100%;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: 14px 22px;
    border: 1px solid var(--ink);
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.cart-modal-btn.primary { background: var(--ink); color: var(--paper); }
.cart-modal-btn.primary:hover { background: var(--paper); color: var(--ink); }
.cart-modal-btn.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.cart-modal-btn.secondary:hover { border-color: var(--ink); }

/* --- Pages de résultat de paiement (validé / annulé) --- */
.checkout-result {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(40px, 8vh, 100px) 0;
    text-align: center;
}
.checkout-result .container {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
/* Le fichier « LOGO NOIR.png » est en réalité clair : on le passe en noir
   pour l'afficher sur le fond papier (même principe que la navbar au scroll). */
.checkout-logo { height: 40px; width: auto; margin-bottom: 8px; filter: brightness(0); }
.checkout-status-icon {
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--line);
}
.checkout-status-icon svg { width: 30px; height: 30px; }
.checkout-status-icon.ok { color: #2e7d32; }
.checkout-status-icon.ko { color: #b23b3b; }
.checkout-result h1 {
    font-size: clamp(34px, 5.2vw, 62px);
    line-height: 1.02;
    letter-spacing: -.02em;
}
.checkout-result .lead {
    margin: 0;
    max-width: 54ch;
    font-size: clamp(15px, 1.4vw, 18px);
    font-weight: 300;
    line-height: 1.65;
    color: var(--stone);
}
.checkout-result .fine { font-size: 12.5px; color: var(--stone); }
.downloads-container {
    display: none;
    width: 100%;
    max-width: 560px;
    margin: 8px auto 0;
    text-align: left;
    border: 1px solid var(--line);
}
.downloads-container h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 22px;
    padding: 20px clamp(18px, 4vw, 26px);
    border-bottom: 1px solid var(--line);
}
.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px clamp(18px, 4vw, 26px);
    border-bottom: 1px solid var(--line);
}
.download-item:last-child { border-bottom: none; }
.download-name { font-size: 14px; font-weight: 400; }
.download-loading { font-weight: 300; font-style: italic; color: var(--stone); }
.download-btn {
    flex: none;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 9.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: 10px 16px;
    background: var(--ink);
    color: var(--paper);
    border: 1px solid var(--ink);
    transition: background .3s var(--ease), color .3s var(--ease);
}
.download-btn:hover { background: var(--paper); color: var(--ink); }

/* --------------------------------------------------------------------------
   Boutique — Responsive (téléphone : priorité absolue)
   -------------------------------------------------------------------------- */
@media (max-width: 720px) {
    /* Grille : une colonne, cartes en « fiches » nettes avec coins doux */
    .shop-grid {
        grid-template-columns: 1fr;
        border-left: none;
        border-top: none;
        gap: 16px;
    }
    .product-card {
        border: 1px solid var(--line);
        border-radius: 12px;
        overflow: hidden;
        padding: 0;
        background: #ffffff;
    }
    @media (hover: hover) {
        .product-card:hover { background: #ffffff; }
    }
    .product-media { margin-bottom: 0; aspect-ratio: 16 / 10; }
    .product-body {
        display: flex;
        flex-direction: column;
        padding: 20px 20px 22px;
    }
    .product-foot {
        padding-top: 18px;
        margin-top: 16px;
        border-top: 1px solid var(--line);
    }
    .product-foot .btn-primary { padding: 13px 18px; }
    .shop-assurances { gap: 8px 20px; }

    /* Tiroir panier plein écran sur petit mobile */
    .cart-drawer { width: 100%; }

    /* Cibles tactiles ≥44px pour la gestion des quantités (étape d'achat critique) */
    .cart-drawer-item { grid-template-columns: 72px 1fr auto; gap: 18px; }
    .cart-drawer-item img { width: 72px; height: 72px; }
    .cart-drawer-item-controls { margin-top: 12px; }
    .cart-drawer-item-controls button { width: 46px; height: 44px; font-size: 18px; }
    .cart-drawer-item-controls span { min-width: 40px; font-size: 15px; }
    .cart-drawer-item-remove { width: 44px; height: 44px; font-size: 22px; margin: -8px -10px 0 0; }
}

@media (max-width: 400px) {
    .product-foot { flex-direction: column; align-items: stretch; gap: 14px; }
    .product-foot .btn-primary { width: 100%; text-align: center; }
    .product-price { font-size: 30px; }
}

/* Nav à 6 entrées (ajout « Boutique ») : le tag de marque ne s'affiche que sur
   les larges écrans, sinon il pousse les liens et chevauche le bloc de droite. */
@media (max-width: 1340px) {
    .brand-tag { display: none !important; }
}

/* --------------------------------------------------------------------------
   Témoignages clients (index) — défilé auto sur 2 rangées (style 1600.agency)
   -------------------------------------------------------------------------- */
/* Conteneur pleine largeur, dégradés d'estompe sur les bords gauche/droit */
.tml-marquee {
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 1.4vw, 20px);
    margin-top: clamp(24px, 3vw, 40px);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.tml-row {
    overflow: hidden;
}

.tml-track {
    display: flex;
    gap: clamp(14px, 1.4vw, 20px);
    width: max-content;
    animation: tmlscroll 60s linear infinite;
}

/* Rangée du bas : sens inverse */
.tml-track--reverse {
    animation-direction: reverse;
}

/* Boucle sans couture : le jeu de cartes est dupliqué dans le HTML,
   -50 % ramène pile au début du second jeu. */
@keyframes tmlscroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Pause au survol de tout le défilé */
.tml-marquee:hover .tml-track {
    animation-play-state: paused;
}

/* Carte : fond blanc, coins arrondis, alignée verticalement (avis en haut,
   auteur collé en bas comme sur 1600.agency) */
.tml-card {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: clamp(260px, 24vw, 320px);
    margin: 0;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.tml-stars {
    font-size: 15px;
    letter-spacing: 2px;
    line-height: 1;
    color: #ff8e61;
}

.tml-quote {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
    color: #515151;
}

/* Bloc auteur en bas : avatar rond + nom + poste */
.tml-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: auto 0 0;
}

/* Avatar : pastille à initiales tant qu'aucune photo n'est fournie.
   À remplacer par <img class="tml-avatar" ...> à la livraison du contenu. */
.tml-avatar {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    display: grid;
    place-items: center;
    background: var(--sky);
    color: var(--blue);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .02em;
}

.tml-id {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.tml-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.tml-role {
    font-size: 13px;
    font-weight: 500;
    color: #a9a9a9;
}

/* Placeholder de validation (à retirer avec le vrai contenu) */
.tml-card.is-placeholder {
    border-style: dashed;
}

/* Respect de la préférence « réduire les animations » */
@media (prefers-reduced-motion: reduce) {
    .tml-track {
        animation: none;
    }

    .tml-row {
        overflow-x: auto;
    }
}

/* Mobile : cartes un peu plus étroites, défilé un peu plus rapide */
@media (max-width: 640px) {
    .tml-card {
        width: 78vw;
        max-width: 320px;
    }

    .tml-track {
        animation-duration: 45s;
    }
}

/* --------------------------------------------------------------------------
   Ancrage de prix (pages univers) — montants injectés par pricing.js
   -------------------------------------------------------------------------- */
.pricing-anchor {
    margin: clamp(28px, 5vh, 56px) 0 0;
    padding: 18px 22px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.pricing-anchor p {
    margin: 0;
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.5;
    color: var(--ink);
}

.pricing-anchor strong {
    color: var(--blue);
    font-weight: 600;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   26. Journal (index & articles)
   Reprend strictement les jetons de la DA : --paper / --ink / --stone /
   --line / --blue. Aucune couleur nouvelle.
   -------------------------------------------------------------------------- */

/* --- Bandeau d'en-tête sombre (la navbar est claire tant que la page n'est
       pas défilée : même parti pris que les pages Expertises) --- */
.journal-head {
    background: linear-gradient(160deg, #0f2b45 0%, #0a0a09 100%);
    border-bottom: none;
    color: #ffffff;
}

.journal-head h1 {
    color: #ffffff;
}

.journal-head > .container > p {
    color: rgba(255, 255, 255, .82);
}

.journal-head .eyebrow,
.journal-head .eyebrow .num {
    color: rgba(255, 255, 255, .6);
}

.journal-head .journal-breadcrumb a,
.journal-head .journal-byline a {
    color: rgba(255, 255, 255, .82);
    border-color: rgba(255, 255, 255, .28);
}

.journal-head .journal-breadcrumb a:hover,
.journal-head .journal-byline a:hover {
    color: #ffffff;
    border-color: #ffffff;
}

.journal-head .journal-byline {
    color: rgba(255, 255, 255, .6);
}

/* --- Fil d'Ariane + signature d'article --- */
.journal-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .6em;
    align-items: baseline;
}

.journal-breadcrumb a:hover {
    color: var(--ink);
}

.journal-byline {
    margin: 4px 0 0;
    font-size: 13px;
    font-weight: 300;
    color: var(--stone);
}

.journal-byline a {
    border-bottom: 1px solid var(--line);
}

.journal-byline a:hover {
    color: var(--ink);
    border-color: var(--ink);
}

/* --- Mise en page d'un article : colonne latérale + corps --- */
.journal-layout {
    display: grid;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: clamp(30px, 5vw, 74px);
    align-items: start;
}

.journal-aside {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vh, 34px);
    position: sticky;
    top: calc(var(--header-h) + 26px);
}

/* --- « En bref » --- */
.journal-brief {
    padding: clamp(20px, 2.4vw, 28px);
    background: var(--blue);
    color: var(--sky);
}

.journal-brief .eyebrow {
    color: rgba(219, 230, 239, .7);
}

.journal-brief ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 16px 0 0;
}

.journal-brief li {
    position: relative;
    padding-left: 18px;
    font-size: 13.5px;
    font-weight: 300;
    line-height: 1.65;
}

.journal-brief li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 8px;
    height: 1px;
    background: currentColor;
    opacity: .6;
}

/* --- Sommaire --- */
.journal-toc {
    border-top: 1px solid var(--line);
    padding-top: 18px;
}

.journal-toc ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 14px 0 0;
    counter-reset: toc;
}

.journal-toc li {
    counter-increment: toc;
    font-size: 13.5px;
    font-weight: 300;
    line-height: 1.5;
}

.journal-toc li::before {
    content: counter(toc, decimal-leading-zero);
    margin-right: 10px;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 9.5px;
    letter-spacing: .12em;
    color: var(--stone);
}

.journal-toc a:hover {
    color: var(--stone);
}

/* --- Corps de l'article (hérite de .prose) --- */
.journal-article {
    max-width: 68ch;
    margin: 0;
}

.journal-article > h2:first-child {
    margin-top: 0;
}

.journal-article h2 {
    padding-top: 8px;
    scroll-margin-top: calc(var(--header-h) + 24px);
}

.journal-article a:hover {
    color: var(--stone);
}

/* --- Questions fréquentes --- */
.journal-faq {
    max-width: 860px;
    border-top: 1px solid var(--line);
}

.journal-faq .faq-item {
    border-bottom: 1px solid var(--line);
}

.journal-faq .faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    padding: 20px 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: clamp(18px, 1.8vw, 23px);
    line-height: 1.25;
    transition: color .3s var(--ease);
}

.journal-faq .faq-item summary::-webkit-details-marker {
    display: none;
}

.journal-faq .faq-item summary:hover {
    color: var(--stone);
}

.journal-faq .faq-item summary::after {
    content: "+";
    flex: none;
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 20px;
    line-height: 1;
    color: var(--stone);
    transition: transform .4s var(--ease);
}

.journal-faq .faq-item[open] summary::after {
    transform: rotate(45deg);
}

.journal-faq .faq-item p {
    margin: 0 0 22px;
    max-width: 62ch;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: #3a3a37;
}

/* --- Encadré auteur --- */
.author-box {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: clamp(20px, 3vw, 40px);
    align-items: start;
    padding-top: clamp(20px, 3vh, 30px);
    border-top: 1px solid var(--line);
    max-width: 860px;
}

.author-box .author-portrait {
    width: 132px;
    height: 132px;
    object-fit: cover;
    border-radius: 50%;
}

.author-box h2 {
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.05;
    margin: 10px 0 12px;
}

.author-box p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--stone);
    max-width: 56ch;
}

.author-box .journal-links {
    display: flex;
    gap: 18px;
    margin: 0;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 9.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink);
}

.author-box .journal-links a {
    border-bottom: 1px solid var(--line);
    padding-bottom: 3px;
}

.author-box .journal-links a:hover {
    border-color: var(--ink);
}

/* --- Grille d'articles --- */
.journal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: clamp(20px, 2.6vw, 38px);
}

.journal-card {
    display: flex;
    flex-direction: column;
    color: var(--ink);
}

.journal-card[hidden] {
    display: none;
}

.journal-card .media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--placeholder-a);
}

.journal-card .media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.journal-card:hover .media img {
    transform: scale(1.045);
}

.journal-card .journal-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.journal-card h3 {
    margin: 0;
    font-size: clamp(19px, 1.7vw, 25px);
    line-height: 1.16;
    transition: color .3s var(--ease);
}

.journal-card:hover h3 {
    color: var(--stone);
}

.journal-card p {
    margin: 0;
    font-size: 13.5px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--stone);
}

.journal-card .journal-card-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
    margin-top: 2px;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--stone);
}

.journal-empty {
    margin: clamp(30px, 5vh, 60px) 0 0;
    font-size: 15px;
    font-weight: 300;
    color: var(--stone);
}

/* --- Responsive --- */
@media (max-width: 960px) {
    .journal-layout {
        grid-template-columns: 1fr;
        gap: clamp(26px, 4vh, 40px);
    }

    .journal-aside {
        position: static;
        top: auto;
    }

    .journal-article {
        max-width: none;
    }
}

@media (max-width: 560px) {
    .author-box {
        grid-template-columns: 1fr;
    }

    .author-box .author-portrait {
        width: 108px;
        height: 108px;
    }
}

/* Le titre de la page Signature est le logo lui-même : le h1 l'enveloppe sans
   rien changer visuellement (marges et interlignage neutralisés). */
.hero-small h1.sig-title {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: none;
    margin: 0;
    line-height: 0;
}

/* --------------------------------------------------------------------------
   Compagnon des attributs width/height posés sur les <img>.
   Ces attributs servent au navigateur à réserver la place avant chargement
   (suppression du décalage de mise en page). Ils ne doivent pas devenir des
   dimensions imposées : dès qu'une seule dimension est fixée par le CSS,
   l'autre reste déduite du ratio. Toute règle de classe qui fixe une hauteur
   l'emporte sur celle-ci, sa spécificité étant plus forte.
   -------------------------------------------------------------------------- */
img {
    height: auto;
}

/* Ce logo ne fixe que sa hauteur : sans width auto, l'attribut width le
   étirerait sur toute la largeur du pied de page. */
.footer-main-logo {
    width: auto;
}
