/* tilleul.be — charte : bleu nuit #12203A · blanc cassé #F5F3EE · vert #10B981 · gris #6B7280 */

@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/BricolageGrotesque-800-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/BricolageGrotesque-800-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/Inter-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/Inter-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #12203A;
  --off: #F5F3EE;
  --green: #10B981;
  --grey: #6B7280;
  --line: rgba(18, 32, 58, .12);
  --line-light: rgba(245, 243, 238, .14);
  --radius: 4px;
  --font-title: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font-text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
  --narrow: 860px;
  --article: 680px;
  --gap: clamp(20px, 3vw, 40px);
  --section: clamp(56px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 18px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--off);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .15em; }
a:hover { text-decoration-color: var(--green); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-title); font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
strong { font-weight: 500; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 8px 14px; background: var(--green); color: var(--navy); border-radius: var(--radius); font-weight: 500; }
.skip:focus { top: 12px; }
.muted { color: var(--grey); }

/* Trame de fond légère */
.grid-bg, .section--dark, .hero, .card-text {
  background-image:
    linear-gradient(to right, var(--grid-line, var(--line)) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line, var(--line)) 1px, transparent 1px);
  background-size: 64px 64px;
}
body { --grid-line: rgba(18, 32, 58, .045); }
.section--dark { --grid-line: rgba(245, 243, 238, .05); }

/* Trait vert */
.bar { display: block; width: 72px; height: 8px; border-radius: 4px; background: var(--green); margin-bottom: 22px; }
.bar--sm { width: 36px; height: 5px; margin-bottom: 4px; }

/* Layout */
.wrap { width: min(var(--wrap), 100% - 2 * clamp(18px, 4vw, 40px)); margin-inline: auto; }
.wrap--narrow { max-width: var(--narrow); }
.wrap--article { max-width: var(--article); }
.section { padding-block: var(--section); }
.section--tight { padding-top: 0; }
.section--alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark {
  position: relative;
  background-color: var(--navy);
  color: var(--off);
  overflow: hidden;
}
.section--dark::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 92% 8%, rgba(16, 185, 129, .20), rgba(16, 185, 129, 0) 42%);
}
.section--dark > * { position: relative; }
.grid-3 { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head .title-block { margin-bottom: 0; }
.title-block { margin-bottom: 32px; }
.title-block .bar { margin-bottom: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.text-link { background: none; border: 0; padding: 0; cursor: pointer; font-weight: 500; text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.note { margin-top: 18px; color: rgba(245, 243, 238, .72); font-size: 16px; }

/* Typo forte */
.display { font-size: clamp(2.5rem, 7.2vw, 5.4rem); }
.display--article { font-size: clamp(2.1rem, 5.4vw, 3.8rem); }
.accent { font-style: normal; color: var(--green); }
.kicker { margin: 26px 0 18px; font-size: 14px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: rgba(245, 243, 238, .78); }
.lead { font-size: clamp(18px, 2vw, 21px); max-width: 60ch; }
.section--dark .lead { color: rgba(245, 243, 238, .9); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 22px;
  border: 2px solid transparent; border-radius: var(--radius);
  font-weight: 500; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--green { background: var(--green); border-color: var(--green); color: var(--navy); }
.btn--green:hover { background: #0ea973; border-color: #0ea973; }
.btn--dark { background: var(--navy); border-color: var(--navy); color: var(--off); }
.btn--dark:hover { background: #1b2d4f; }
.btn--outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--off); }
.btn--outline-light { background: transparent; border-color: var(--off); color: var(--off); }
.btn--outline-light:hover { background: var(--off); color: var(--navy); }
.btn--sm { min-height: 40px; padding: 6px 16px; font-size: 16px; }
.btn--lg { min-height: 56px; padding: 12px 28px; font-size: 19px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 243, 238, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; padding-block: 12px; }
.brand-name { font-family: var(--font-title); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; line-height: 1; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: clamp(16px, 2vw, 26px); }
.nav-list a { text-decoration: none; font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav-list a:hover, .nav-list a[aria-current="page"] { border-bottom-color: var(--green); }
.menu-toggle { display: none; align-items: center; gap: 10px; background: none; border: 0; padding: 10px 0; cursor: pointer; font-weight: 500; }
.menu-toggle-lines { display: inline-flex; flex-direction: column; gap: 6px; width: 24px; }
.menu-toggle-lines i { display: block; height: 2px; background: var(--navy); transition: transform .2s; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding: 12px clamp(18px, 4vw, 40px) 24px; background: var(--off); border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-list a[aria-current="page"] { border-bottom-color: var(--green); }
  .nav-cta { margin-top: 12px; }
}

/* Héros */
.hero { padding-block: clamp(56px, 8vw, 110px); }
.hero-grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1.25fr) minmax(280px, .85fr); align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-photo { max-width: 420px; } }
.hero .lead { margin-top: 0; }

/* Photos */
.photo { margin: 0; overflow: hidden; border-radius: var(--radius); background: rgba(107, 114, 128, .12); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--empty { display: grid; place-items: center; border: 1px dashed rgba(107, 114, 128, .55); color: var(--grey); font-size: 15px; font-weight: 500; text-align: center; padding: 16px; }
.section--dark .photo--empty { border-color: rgba(245, 243, 238, .4); color: rgba(245, 243, 238, .7); background: rgba(245, 243, 238, .04); }

/* Portes */
.door { display: flex; flex-direction: column; padding: 32px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .15s; }
.door:hover { border-color: var(--navy); }
.door h3 { margin-bottom: 14px; }
.door p { color: var(--grey); flex: 1; }
.door-link { font-weight: 500; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--green); text-underline-offset: .2em; }

/* Carte texte 4:5 */
.card-text {
  position: relative; container-type: inline-size;
  aspect-ratio: 4 / 5; padding: 9.3%;
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden; text-decoration: none;
}
.card-text--dark { background-color: var(--navy); color: var(--off); --grid-line: rgba(245, 243, 238, .05); }
.card-text--dark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 92% 6%, rgba(16, 185, 129, .20), rgba(16, 185, 129, 0) 45%); pointer-events: none; }
.card-text--light { background-color: var(--off); color: var(--navy); --grid-line: rgba(18, 32, 58, .05); border: 1px solid var(--line); }
.card-text > * { position: relative; }
.card-text .bar { width: 16.7cqw; height: 1.85cqw; border-radius: 1cqw; margin-bottom: 7cqw; }
.card-text-body { margin: 0; font-family: var(--font-title); font-weight: 800; font-size: 8.4cqw; letter-spacing: -0.02em; line-height: 1.05; flex: 1; }
.card-text-sig { position: absolute; left: 9.3%; bottom: 9.3%; font-size: 2.8cqw; font-weight: 500; }
.card-text--light .card-text-sig { color: var(--grey); }
.card-text-photo { position: absolute; right: 9.3%; bottom: 9.3%; width: 25.5cqw; height: 25.5cqw; border-radius: 50%; object-fit: cover; }
.card-text-photo--empty { display: grid; place-items: center; border: 2px solid rgba(245, 243, 238, .35); font-family: var(--font-title); font-weight: 800; font-size: 6.6cqw; color: rgba(245, 243, 238, .35); }
.card-text--light .card-text-photo--empty { border-color: rgba(18, 32, 58, .3); color: rgba(18, 32, 58, .3); }
@supports not (font-size: 1cqw) {
  .card-text .bar { width: 72px; height: 8px; }
  .card-text-body { font-size: clamp(22px, 4vw, 34px); }
  .card-text-sig { font-size: 12px; }
  .card-text-photo { width: 110px; height: 110px; }
}

/* Cartes d'articles */
.post-card { display: flex; flex-direction: column; gap: 18px; }
.post-card-visual { display: block; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 8px; font-size: 15px; color: var(--grey); }
.post-meta--light { color: rgba(245, 243, 238, .75); }
.post-meta a { text-decoration: none; }
.post-meta a:hover { text-decoration: underline; }
.post-cat { font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.post-title { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.post-title a { text-decoration: none; }
.post-title a:hover { text-decoration: underline; text-decoration-color: var(--green); }
.post-excerpt { margin: 10px 0 0; color: var(--grey); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.badge { display: inline-block; padding: 1px 8px; border: 1px solid currentColor; border-radius: var(--radius); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter { padding: 8px 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 500; font-size: 16px; background: #fff; }
.filter:hover { border-color: var(--navy); }
.filter.is-active { background: var(--navy); color: var(--off); border-color: var(--navy); }
.empty { max-width: 60ch; }
.empty p { color: var(--grey); }

/* Citation */
.quote { padding-block: clamp(64px, 10vw, 140px); }
.quote-text { margin: 0; font-family: var(--font-title); font-weight: 800; font-size: clamp(2rem, 5.6vw, 4.2rem); letter-spacing: -0.02em; line-height: 1.05; max-width: 20ch; }
.quote-text--sm { font-size: clamp(1.6rem, 3.6vw, 2.6rem); max-width: 28ch; }

/* Chiffres */
.stats-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin: 0; }
.stat { display: flex; flex-direction: column-reverse; padding-top: 18px; border-top: 2px solid var(--navy); }
.stat-value { margin: 0; font-family: var(--font-title); font-weight: 800; font-size: clamp(3rem, 6vw, 4.6rem); letter-spacing: -0.02em; line-height: 1; }
.stat-label { color: var(--grey); font-size: 16px; }

/* Pages : en-tête */
.page-head { padding-block: clamp(56px, 8vw, 100px); }
.page-head-grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1.4fr) minmax(240px, .7fr); align-items: center; }
@media (max-width: 860px) { .page-head-grid { grid-template-columns: 1fr; } .page-head-photo { max-width: 360px; } }
.page-head .lead { margin-top: 24px; }

/* Timeline */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 4px; border-radius: 2px; background: var(--green); }
.tl-item { position: relative; padding-bottom: clamp(36px, 5vw, 60px); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ''; position: absolute; left: -44px; top: 12px; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); border: 3px solid var(--off); box-shadow: 0 0 0 2px var(--green); }
.tl-year { margin: 0 0 12px; font-family: var(--font-title); font-weight: 800; font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -0.02em; line-height: 1; }
.tl-arrow { color: var(--green); font-weight: 800; }
.tl-item > p:not(.tl-year) { max-width: 62ch; }
.tl-photos { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); margin-top: 20px; max-width: 640px; }

/* Projets */
.project { position: relative; display: flex; flex-direction: column; padding: 32px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.project h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 12px; }
.project p { color: var(--grey); flex: 1; }
.project-status { font-size: 15px; font-weight: 500; color: var(--grey); }
.project-logo { display: block; width: auto; max-width: 160px; height: 28px; object-fit: contain; object-position: left; margin-bottom: 22px; }
.project-logo--chip { display: inline-flex; align-items: center; width: auto; height: 28px; padding: 0 10px; background: var(--navy); border-radius: var(--radius); }
.project-logo--chip img { width: auto; height: 16px; }

/* Autres chantiers du studio */
.studio-list { display: grid; gap: 0 var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.studio-item { display: grid; grid-template-columns: 88px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.studio-logo { display: flex; align-items: center; justify-content: flex-start; height: 40px; }
.studio-logo img { width: auto; max-width: 88px; height: 22px; object-fit: contain; object-position: left; }
.studio-logo--chip { justify-content: center; background: var(--navy); border-radius: var(--radius); padding: 0 8px; }
.studio-logo--chip img { height: 14px; }
.studio-initial { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--font-title); font-weight: 800; font-size: 18px; color: var(--grey); }
.studio-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font-size: 1.15rem; margin-bottom: 4px; }
.studio-stage { font-family: var(--font-text); font-weight: 500; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); }
.studio-body p { margin: 0; color: var(--grey); font-size: 16px; }
.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 4vw, 48px); background: var(--green); color: var(--navy); border-radius: var(--radius); }
.callout-text { margin: 0; font-family: var(--font-title); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.1; max-width: 26ch; }

/* Contact */
.contact-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-label { color: var(--grey); font-size: 15px; }
.address { font-style: normal; line-height: 1.7; }

/* Article */
.article-head { padding-block: clamp(48px, 7vw, 90px); }
.article-head .bar { margin-top: 22px; }
.article-share-visual { margin-top: clamp(-100px, -8vw, -40px); max-width: 380px; }
.article-share-visual .card-text { border: 1px solid var(--line); }
.article-body { margin-top: clamp(40px, 6vw, 72px); }
.article-body > :first-child { margin-top: 0; }
.article-body h2, .prose h2 { margin: 1.8em 0 .6em; font-size: clamp(1.5rem, 3vw, 2rem); }
.article-body h3, .prose h3 { margin: 1.5em 0 .5em; }
.article-body p, .prose p { margin-bottom: 1.25em; }
.article-body ul, .article-body ol, .prose ul, .prose ol { margin: 0 0 1.25em 1.2em; list-style: disc; }
.article-body ol, .prose ol { list-style: decimal; }
.article-body li + li { margin-top: .4em; }
.article-body blockquote {
  position: relative; margin: 2em 0; padding: 10px 0 0;
  font-family: var(--font-title); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.02em; line-height: 1.1;
}
.article-body blockquote::before { content: ''; display: block; width: 72px; height: 8px; border-radius: 4px; background: var(--green); margin-bottom: 18px; }
.article-body blockquote p { margin: 0; }
.article-body img { border-radius: var(--radius); margin: 1.5em 0; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.article-body a { text-decoration-color: var(--green); text-decoration-thickness: 2px; }
.article-body code { font-size: .9em; background: rgba(18, 32, 58, .06); padding: .1em .3em; border-radius: 3px; }
.article-foot { margin-top: clamp(48px, 7vw, 80px); padding-bottom: var(--section); }
.article-outro { padding-top: 32px; border-top: 1px solid var(--line); }
.article-outro-text { margin: 0 0 14px; font-family: var(--font-title); font-weight: 800; font-size: clamp(1.4rem, 2.8vw, 1.9rem); letter-spacing: -0.02em; line-height: 1.1; }
.inline-links { display: flex; flex-wrap: wrap; gap: 18px; }
.inline-links a { font-weight: 500; text-decoration-color: var(--green); text-decoration-thickness: 2px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 36px; }
.share-label { margin-right: 6px; color: var(--grey); font-size: 15px; }
.article-foot .newsletter { margin-top: 48px; }

/* Newsletter */
.newsletter { margin-top: 8px; }
.newsletter-label { display: block; font-weight: 500; margin-bottom: 8px; }
.newsletter-row { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter-row input { flex: 1 1 260px; min-height: 48px; padding: 8px 14px; border: 2px solid var(--navy); border-radius: var(--radius); font: inherit; background: #fff; color: var(--navy); }
.newsletter-row input:focus { outline: 3px solid var(--green); outline-offset: 2px; }
.newsletter-hint { margin: 10px 0 0; color: var(--grey); font-size: 15px; }
.newsletter-msg { padding: 14px 18px; border-left: 4px solid var(--green); background: #fff; font-weight: 500; }
.field-error { margin: 8px 0 0; color: #b42318; font-size: 15px; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { padding: 48px 0 40px; background: var(--navy); color: var(--off); font-size: 16px; }
.footer-line { max-width: 70ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-links a { text-decoration: none; color: rgba(245, 243, 238, .82); }
.footer-links a:hover { color: var(--off); text-decoration: underline; text-decoration-color: var(--green); }

/* Consentement */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  max-width: 560px; margin-inline: auto; padding: 18px 20px;
  background: var(--navy); color: var(--off); border-radius: var(--radius); border: 1px solid rgba(245, 243, 238, .16);
  font-size: 16px;
}
.consent[hidden] { display: none; }
.consent p { margin: 0 0 14px; }
.consent a { color: var(--off); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
@media (min-width: 720px) { .consent { left: auto; right: 24px; bottom: 24px; margin: 0; } }

/* Impression */
@media print { .site-header, .site-footer, .consent, .share, .newsletter { display: none; } }

/* Wap'Innov 2026 : bandeau de vote */
.vote-bar { background: var(--green); color: var(--navy); font-size: 15px; }
.vote-bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; min-height: 40px; padding-block: 6px; }
.vote-bar-text { margin: 0; }
.vote-bar-link { font-weight: 500; white-space: nowrap; text-decoration-thickness: 2px; }
.vote-bar-link:hover { text-decoration-color: var(--navy); }

/* Wap'Innov 2026 : section */
.wapinnov { background: #fff; border-bottom: 1px solid var(--line); }
.wapinnov-grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr) minmax(300px, 1.1fr); align-items: center; }
@media (max-width: 860px) { .wapinnov-grid { grid-template-columns: 1fr; } }
.wapinnov-kicker { margin: 0 0 18px; font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--grey); }
.wapinnov-text .title-block { margin-bottom: 20px; }
.wapinnov-quote { margin: 20px 0; padding-left: 18px; border-left: 4px solid var(--green); font-family: var(--font-title); font-weight: 800; font-size: clamp(1.2rem, 2.2vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.15; }
.wapinnov-steps { margin: 0 0 8px 1.2em; list-style: decimal; color: var(--grey); }
.wapinnov-steps li + li { margin-top: 6px; }
.wapinnov-steps li::marker { font-weight: 500; color: var(--navy); }
.wapinnov .actions { align-items: center; margin-top: 24px; }
.wapinnov-countdown { font-family: var(--font-title); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; color: var(--grey); }

/* Vidéo (façade : rien ne se charge avant le clic) */
.video { margin: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--navy); }
.video-frame img, .video-frame video, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-frame video { object-fit: contain; background: #000; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; border: 0; border-radius: var(--radius); background: var(--navy); color: var(--off); font-weight: 500; font-size: 16px; cursor: pointer; white-space: nowrap; }
.video-play:hover { background: var(--green); color: var(--navy); }
.video-play-icon { display: inline-block; width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent currentColor; }
.video-caption { margin-top: 10px; font-size: 15px; color: var(--grey); }
.tl-item .video { margin-top: 20px; max-width: 640px; }

/* Vidéos de carrière (YouTube en façade) */
.tl-video { margin-top: 20px; max-width: 640px; }
.video-caption { display: flex; flex-direction: column; gap: 4px; }
.video-title { font-weight: 500; color: var(--navy); }
.video-source { font-size: 14px; }
.section-head-note { margin: 0; font-size: 16px; }
.videos-grid .video-caption { font-size: 15px; }

/* Presse */
.press-list { display: flex; flex-direction: column; gap: clamp(32px, 5vw, 56px); }
.press { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 24px; padding-bottom: clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.press:last-child { border-bottom: 0; padding-bottom: 0; }
@media (max-width: 640px) { .press { grid-template-columns: 1fr; } }
.press-visual { display: block; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.press-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.press-title { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 12px; }
.press-title a { text-decoration: none; }
.press-title a:hover { text-decoration: underline; text-decoration-color: var(--green); }
.press-quote { margin: 12px 0 14px; padding-left: 16px; border-left: 4px solid var(--green); font-family: var(--font-title); font-weight: 800; font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: -0.02em; line-height: 1.15; }
.press-summary { color: var(--grey); }
.press-links { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; }
.press--compact { display: flex; flex-direction: column; gap: 14px; padding-bottom: 0; border-bottom: 0; }
.press--compact .press-visual img { aspect-ratio: 3 / 2; }
.press--compact .press-title { font-size: 1.2rem; }
.press--compact .press-quote { font-size: 1.05rem; margin-bottom: 0; }
.tl-press { margin: 10px 0 0; font-size: 16px; }
.tl-press-label { display: inline-block; margin-right: 6px; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.tl-press a { text-decoration-color: var(--green); text-decoration-thickness: 2px; }

/* Partage */
.share--tight { margin-top: 20px; }
.share-native[hidden] { display: none; }

/* =========================================================
   Mobile : lisible d'un pouce, une chose à la fois
   ========================================================= */
@media (max-width: 700px) {
  :root { --section: 44px; --gap: 16px; }
  body { font-size: 17px; }
  .wrap { width: calc(100% - 40px); }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  .display { font-size: clamp(2.1rem, 9.4vw, 2.75rem); line-height: 1.04; }
  .display--article { font-size: clamp(1.75rem, 7.6vw, 2.2rem); }
  .lead { font-size: 17px; }
  .kicker { margin: 18px 0 14px; font-size: 12px; letter-spacing: .18em; }
  .bar { width: 56px; height: 6px; margin-bottom: 16px; }
  .title-block { margin-bottom: 22px; }
  .title-block .bar { margin-bottom: 12px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 24px; }

  /* Boutons pleine largeur, faciles à toucher */
  .actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 24px; }
  .actions .btn { width: 100%; }
  .btn { min-height: 50px; }
  .btn--lg { min-height: 54px; font-size: 17px; padding: 10px 20px; }

  /* En-tête compact + menu plein écran */
  .header-inner { min-height: 60px; gap: 12px; }
  .brand-name { font-size: 19px; }
  .menu-toggle { padding: 10px 0 10px 12px; min-height: 48px; }
  .menu-toggle-label { font-size: 15px; }
  .nav { top: 100%; padding: 8px 20px 20px; max-height: calc(100dvh - 60px); overflow-y: auto; }
  .nav-list a { min-height: 52px; display: flex; align-items: center; font-size: 19px; font-family: var(--font-title); font-weight: 800; letter-spacing: -0.02em; }
  .nav-cta { margin-top: 16px; width: 100%; min-height: 50px; }
  body.menu-open { overflow: hidden; }

  /* Bandeau de vote : une ligne */
  .vote-bar { font-size: 14px; }
  .vote-bar-inner { flex-wrap: nowrap; gap: 12px; min-height: 44px; }
  .vote-bar-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .vote-bar-text strong { font-weight: 500; }
  .vote-bar-text .vote-bar-long { display: none; }

  /* Héros : le texte d'abord, la photo en petit à côté du titre */
  .hero { padding-block: 36px 44px; }
  .hero-grid { gap: 22px; }
  .hero-photo { max-width: 200px; order: -1; }
  .hero .bar { display: none; }

  /* Pages : en-tête */
  .page-head { padding-block: 36px 40px; }
  .page-head-grid { gap: 20px; }
  .page-head-photo { max-width: 180px; order: -1; }
  .page-head .lead { margin-top: 16px; }
  .note { font-size: 15px; }

  /* Portes */
  .door { padding: 22px 20px; }
  .door h3 { font-size: 1.2rem; margin-bottom: 8px; }
  .door p { font-size: 16px; margin-bottom: .8em; }

  /* Cartes d'articles : liste compacte, image à gauche */
  .post-card { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: start; }
  .post-card-visual .card-text { border-radius: 3px; }
  .post-meta { font-size: 13px; gap: 4px 10px; margin-bottom: 4px; }
  .post-cat { font-size: 11px; }
  .post-title { font-size: 1.1rem; line-height: 1.15; }
  .post-excerpt { font-size: 15px; margin-top: 6px; }
  .filters { gap: 8px; margin-bottom: 24px; }
  .filter { padding: 8px 14px; font-size: 15px; }

  /* Citation, chiffres */
  .quote { padding-block: 48px; }
  .quote-text { font-size: clamp(1.7rem, 7.6vw, 2.2rem); }
  .quote-text--sm { font-size: clamp(1.35rem, 5.6vw, 1.7rem); }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .stat { padding-top: 12px; }
  .stat-value { font-size: 2.6rem; }
  .stat-label { font-size: 14px; }

  /* Timeline */
  .timeline { padding-left: 26px; }
  .timeline::before { left: 3px; }
  .tl-item { padding-bottom: 34px; }
  .tl-item::before { left: -29px; top: 8px; width: 10px; height: 10px; }
  .tl-year { font-size: 1.7rem; margin-bottom: 8px; }
  .tl-item > p:not(.tl-year) { font-size: 16px; }
  .tl-photos { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
  .tl-press { font-size: 15px; }
  .tl-videos { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 14px; }
  .tl-videos .tl-video { margin-top: 0; max-width: none; }
  .tl-videos .video-caption { font-size: 14px; }
  .tl-item .video:not(.tl-video) { margin-top: 14px; }
  .videos-grid { gap: 22px; }

  /* Vidéo : bouton lecture compact */
  .video-play { padding: 8px 14px 8px 10px; font-size: 14px; gap: 8px; }
  .video-play-icon { border-width: 7px 0 7px 12px; }
  .video-caption { font-size: 14px; }
  .video-source { font-size: 13px; }

  /* Projets */
  .project { padding: 22px 20px; }
  .project h2 { font-size: 1.35rem; margin-bottom: 8px; }
  .project p { font-size: 16px; }
  .project-logo { height: 24px; margin-bottom: 16px; }
  .callout { padding: 24px 20px; gap: 16px; }
  .callout .btn { width: 100%; }
  .callout-text { font-size: 1.3rem; }
  .studio-list { grid-template-columns: 1fr; }
  .studio-item { grid-template-columns: 64px 1fr; gap: 14px; padding: 16px 0; }
  .studio-logo img { max-width: 64px; height: 18px; }
  .studio-name { font-size: 1.05rem; }
  .studio-body p { font-size: 15px; }

  /* Contact */
  .contact-list li { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
  .contact-list a { word-break: break-word; }

  /* Wap'Innov */
  .wapinnov-grid { gap: 20px; }
  .wapinnov-video { order: -1; }
  .wapinnov-kicker { font-size: 11px; margin-bottom: 12px; }
  .wapinnov-quote { font-size: 1.05rem; margin: 14px 0; }
  .wapinnov-steps { font-size: 16px; }
  .wapinnov .actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .wapinnov .actions .btn { flex: 1 1 auto; width: auto; }
  .wapinnov-countdown { font-size: 1.3rem; }

  /* Partage : rangée qui défile */
  .share { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
  .share > * { width: auto; }
  .share .btn { min-height: 34px; padding: 4px 11px; font-size: 13px; border-width: 1px; border-radius: 999px; }
  .share-label { width: 100%; margin: 0 0 2px; font-size: 13px; }
  .share--tight { margin-top: 14px; }

  /* Article */
  .article-head { padding-block: 32px 36px; }
  .article-share-visual { max-width: 220px; margin-top: -36px; }
  .article-body { margin-top: 28px; }
  .article-body blockquote { font-size: 1.3rem; }
  .article-foot { margin-top: 36px; }
  .article-outro-text { font-size: 1.25rem; }
  .inline-links { gap: 14px; }

  /* Presse */
  .press { grid-template-columns: 1fr; gap: 14px; padding-bottom: 28px; }
  .press-visual img { aspect-ratio: 16 / 9; }
  .press-title { font-size: 1.2rem; }
  .press-quote { font-size: 1.05rem; }
  .press-summary { font-size: 15px; }
  .press--compact { gap: 10px; }

  /* Newsletter */
  .newsletter-row { flex-direction: column; }
  .newsletter-row input, .newsletter-row .btn { width: 100%; }
  .newsletter-hint { font-size: 14px; }

  /* Pied de page */
  .site-footer { padding: 36px 0 32px; font-size: 15px; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
  .footer-links a { display: block; padding: 8px 0; }

  /* Consentement : feuille en bas, boutons pleine largeur */
  .consent { left: 0; right: 0; bottom: 0; max-width: none; border-radius: 8px 8px 0 0; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); font-size: 15px; }
  .consent-actions { flex-direction: column-reverse; }
  .consent-actions .btn { width: 100%; }
}

/* Très petits écrans */
@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  .display { font-size: 2rem; }
  .post-card { grid-template-columns: 96px 1fr; }
  .stats-grid { gap: 16px 12px; }
}

/* Écrans tactiles : pas d'effets de survol persistants */
@media (hover: none) {
  .door:hover { border-color: var(--line); }
  .btn--green:hover { background: var(--green); border-color: var(--green); }
}

/* Vidéos d'une étape de la timeline : grille sur grand écran, défilement sur mobile */
@media (min-width: 701px) {
  .tl-videos { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin-top: 20px; max-width: 760px; }
  .tl-videos--1 { grid-template-columns: 1fr; max-width: 560px; }
  .tl-videos .tl-video { margin-top: 0; max-width: none; }
  .tl-videos .video-caption { font-size: 14px; }
}

/* =========================================================
   Aucun débordement horizontal : la page ne bouge pas de côté
   ========================================================= */
html, body { overflow-x: clip; max-width: 100%; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
main, .site-header, .site-footer, .vote-bar { max-width: 100%; }
.wrap, .grid-3, .hero-grid, .page-head-grid, .wapinnov-grid, .contact-grid, .studio-list, .press, .post-card, .stats-grid, .tl-photos, .tl-videos { min-width: 0; }
.grid-3 > *, .hero-grid > *, .page-head-grid > *, .wapinnov-grid > *, .press > *, .post-card > *, .studio-item > * { min-width: 0; }
img, video, iframe, figure { max-width: 100%; }
p, li, a, h1, h2, h3, address, .press-title, .video-caption, .contact-list a { overflow-wrap: anywhere; }
pre, code { white-space: pre-wrap; word-break: break-word; }
@media (max-width: 700px) {
  .hero-grid, .page-head-grid, .wapinnov-grid { grid-template-columns: minmax(0, 1fr); }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .vote-bar-inner { flex-wrap: wrap; }
  .vote-bar-text { white-space: normal; overflow: visible; text-overflow: clip; }
  .nav { left: 0; right: 0; width: 100%; }
  .card-text { max-width: 100%; }
  .consent { left: 0; right: 0; width: 100%; }
  .wapinnov-countdown { white-space: nowrap; }
  .callout, .door, .project, .newsletter-msg, .empty { max-width: 100%; }
}
