/* No Excuses Entreprise — feuille de style */
:root {
  --ink: #0A0A0A;
  --paper: #FFFFFF;
  --mist: #F5F5F3;
  --line: #D4D4D4;
  --mute: #6B6B6B;
  --soft: #A3A3A3;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --wrap: 1720px;
  --gut: clamp(20px, 5vw, 96px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.mute { color: var(--mute); }
.caps { font-size: 13px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 12px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand span { font-size: 12px; font-weight: 600; letter-spacing: 0.3em; line-height: 1; }
@media (max-width: 480px) { .brand img { height: 26px; } .brand span { font-size: 11px; } }
.nav { display: flex; align-items: center; gap: 36px; font-size: 15px; }
.nav a { text-decoration: none; position: relative; padding: 10px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 4px; height: 1px; width: 0; background: currentColor; transition: width .35s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav .cta { font-weight: 500; }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; padding: 0; color: var(--ink); }
.menu-btn span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 6px auto; transition: transform .3s ease, opacity .3s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { position: fixed; top: 84px; left: 0; right: 0; height: calc(100vh - 84px); height: calc(100dvh - 84px); overflow-y: auto; background: var(--paper); flex-direction: column; align-items: flex-start; gap: 0; padding: 24px var(--gut); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s ease, transform .3s ease, visibility .3s; }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a { font-size: clamp(30px, 8vw, 44px); letter-spacing: -0.03em; padding: 10px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
}

/* Titres */
.display { margin: 0; font-size: clamp(48px, 8.6vw, 132px); line-height: 0.92; letter-spacing: -0.05em; font-weight: 500; }
.h2 { margin: 0; font-size: clamp(38px, 5.2vw, 80px); line-height: 0.95; letter-spacing: -0.045em; font-weight: 500; }
.h3 { margin: 0; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 500; }
.lead { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.5; }

/* Héros */
.hero { padding-top: clamp(72px, 10vw, 140px); padding-bottom: clamp(48px, 6vw, 88px); }
.hero-meta { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 40px; border-top: 1px solid var(--ink); padding-top: 20px; font-size: 15px; }
.hero-meta a { text-decoration: none; justify-self: end; }
@media (max-width: 860px) { .hero-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero-meta a { justify-self: start; } }
.hero-split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.hero-split p { margin: 0; justify-self: end; max-width: 460px; color: var(--mute); }
@media (max-width: 860px) { .hero-split { grid-template-columns: 1fr; } .hero-split p { justify-self: start; } }

/* Image pleine largeur */
.bleed { position: relative; height: clamp(360px, 62vw, 860px); overflow: hidden; }
.bleed img { width: 100%; height: 100%; object-fit: cover; }
.bleed figcaption { position: absolute; left: var(--gut); bottom: var(--gut); color: #fff; font-size: 14px; letter-spacing: 0.04em; text-shadow: 0 1px 12px rgba(0,0,0,.4); }

/* Bloc signature : image à gauche, texte à droite */
.signature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); align-items: center; padding-top: clamp(96px, 11vw, 180px); padding-bottom: clamp(96px, 11vw, 180px); }
.signature.reverse .sig-media { order: 2; }
.sig-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--mist); }
.sig-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.signature:hover .sig-media img { transform: scale(1.03); }
.sig-text { display: flex; flex-direction: column; gap: 28px; max-width: 620px; }
.sig-text .label { color: var(--mute); }
.sig-text blockquote { margin: 0; font-size: clamp(28px, 3vw, 46px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 400; }
.sig-text p { margin: 0; color: #3A3A3A; }
.sig-sign { display: flex; align-items: center; gap: 16px; padding-top: 8px; }
.sig-sign .who { font-family: var(--serif); font-style: italic; font-size: 26px; }
.sig-sign .role { font-size: 14px; color: var(--mute); }
@media (max-width: 860px) { .signature { grid-template-columns: 1fr; } .signature.reverse .sig-media { order: 0; } .sig-media { aspect-ratio: 4 / 3; } }

/* Liens soulignés animés */
.more { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none; position: relative; padding-bottom: 6px; align-self: flex-start; }
.more::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: currentColor; transform-origin: right; transition: transform .45s ease; }
.more:hover::after { transform: scaleX(0.35); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 40px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .3s ease, color .3s ease; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid:hover { background: transparent; color: var(--ink); }

/* Cartes photo animées */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 40px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 40px); }
@media (max-width: 1100px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { position: relative; display: block; aspect-ratio: 517 / 362; overflow: hidden; background: #1A1A1A; color: #fff; text-decoration: none; }
.card.tall { aspect-ratio: 16 / 10; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,10,10,.6) 0%, rgba(10,10,10,.2) 45%, rgba(10,10,10,.55) 100%); transition: background .5s ease; }
.card:hover img, .card:focus-visible img { transform: scale(1.045); }
.card .in { position: absolute; z-index: 2; left: clamp(24px, 2.6vw, 44px); right: clamp(24px, 2.6vw, 44px); top: clamp(28px, 3vw, 52px); display: flex; flex-direction: column; gap: 18px; }
.card .lab { font-size: 15px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; }
.card .rule { display: block; height: 2px; width: 0; background: #fff; transition: width .5s ease; }
.card .name { font-size: clamp(30px, 3vw, 46px); line-height: 1; letter-spacing: -0.03em; opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.card .foot { position: absolute; z-index: 2; left: clamp(24px, 2.6vw, 44px); right: clamp(24px, 2.6vw, 44px); bottom: clamp(24px, 2.6vw, 40px); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; font-size: 15px; opacity: 0; transform: translateY(12px); transition: opacity .5s ease .05s, transform .5s ease .05s; }
.card:hover .rule, .card:focus-visible .rule { width: 100%; }
.card:hover .name, .card:focus-visible .name, .card:hover .foot, .card:focus-visible .foot { opacity: 1; transform: none; }
@media (hover: none) { .card .rule { width: 100%; } .card .name, .card .foot { opacity: 1; transform: none; } }

/* Bandeau */
.band { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.band p { margin: 0; padding: clamp(48px, 6vw, 80px) 0; font-size: clamp(32px, 5.4vw, 84px); line-height: 1.08; letter-spacing: -0.04em; font-weight: 500; }
.band .sep { color: #BDBDBD; }

/* Étapes i. ii. iii. */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; padding-top: clamp(96px, 10vw, 160px); padding-bottom: clamp(96px, 10vw, 160px); }
.steps > div { border-top: 1px solid var(--ink); padding-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.steps .num { font-family: var(--serif); font-style: italic; font-size: 56px; line-height: 1; }
.steps .t { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.steps .d { color: var(--mute); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 40px; } }

/* Sections */
.section { padding-top: clamp(96px, 10vw, 160px); padding-bottom: clamp(96px, 10vw, 160px); }
.section-head { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px 40px; align-items: end; margin-bottom: clamp(40px, 4vw, 64px); }
.section-head .more { justify-self: end; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } .section-head .more { justify-self: start; } }
.center { display: flex; justify-content: center; margin-top: clamp(48px, 5vw, 72px); }
.mist { background: var(--mist); }

/* Bloc noir final */
.dark { background: var(--ink); color: #fff; }
.dark .mute { color: var(--soft); }
.closing { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; align-items: end; padding-top: clamp(110px, 12vw, 180px); padding-bottom: clamp(110px, 12vw, 180px); }
.closing .more { justify-self: end; align-self: end; font-size: clamp(14px, 1.2vw, 16px); }
@media (max-width: 860px) { .closing { grid-template-columns: 1fr; } .closing .more { justify-self: start; } }

/* Filtres */
.filters { display: flex; flex-wrap: wrap; gap: 4px 40px; border-top: 1px solid var(--ink); padding-top: 18px; margin-bottom: clamp(40px, 4vw, 64px); }
.filters button { position: relative; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: #8A8A8A; cursor: pointer; }
.filters button::after { content: ""; position: absolute; left: 0; bottom: 6px; height: 1px; width: 0; background: var(--ink); transition: width .4s ease; }
.filters button:hover::after, .filters button[aria-pressed="true"]::after { width: 100%; }
.filters button[aria-pressed="true"] { color: var(--ink); }

/* Solutions (page) */
.sol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); align-items: center; padding: clamp(56px, 6vw, 96px) 0; border-top: 1px solid var(--line); }
.sol:nth-of-type(even) .sol-media { order: 2; }
.sol[hidden] { display: none; }
.sol-media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: #1A1A1A; }
.sol-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.sol:hover .sol-media img { transform: scale(1.03); }
.sol-media .tag { position: absolute; left: 28px; top: 28px; color: #fff; z-index: 1; }
.sol-text { display: flex; flex-direction: column; gap: 24px; max-width: 580px; }
.sol-text ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.sol-text li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; }
.sol-text li::before { content: "—"; color: var(--soft); }
.status { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--mute); }
@media (max-width: 860px) { .sol { grid-template-columns: 1fr; } .sol:nth-of-type(even) .sol-media { order: 0; } }

/* Journal */
.post { display: flex; flex-direction: column; gap: 18px; text-decoration: none; }
.post .ph { position: relative; aspect-ratio: 517 / 362; overflow: hidden; background: #1F1F1F; }
.post .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.post:hover .ph img { transform: scale(1.04); }
.post .ph .caps { position: absolute; left: 28px; top: 30px; color: #fff; z-index: 1; }
.post .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.5) 0%, rgba(10,10,10,0) 55%); }
.post .rule { height: 1px; width: 0; background: var(--ink); transition: width .5s ease; }
.post:hover .rule { width: 100%; }
.post .t { font-size: clamp(22px, 1.8vw, 28px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; }
.post .m { font-size: 14px; color: var(--mute); }
.post.soon { pointer-events: none; }
.post.soon .m::after { content: " · À paraître"; }
.feature { position: relative; display: block; height: clamp(480px, 42vw, 720px); overflow: hidden; color: #fff; text-decoration: none; background: #1A1A1A; }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.feature::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.4) 60%, rgba(10,10,10,.1) 100%); }
.feature:hover img { transform: scale(1.03); }
.feature .in { position: absolute; z-index: 2; inset: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; max-width: 780px; }
.feature .rule { height: 2px; width: 0; background: #fff; transition: width .5s ease; margin-top: 18px; }
.feature:hover .rule { width: 100%; }

/* Article */
.article { max-width: 760px; margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--gut) clamp(96px, 10vw, 160px); }
.article p { font-size: 19px; line-height: 1.7; margin: 0 0 24px; }
.article h2 { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.03em; font-weight: 500; margin: 56px 0 18px; }
.article .retain { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 28px 0; margin: 48px 0; }
.article .retain p { margin: 0; font-size: 22px; line-height: 1.45; }

/* Formulaire */
.form { display: flex; flex-direction: column; gap: 36px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: #525252; }
.field input, .field textarea, .field select { min-height: 48px; padding: 6px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; font: inherit; font-size: 20px; color: var(--ink); -webkit-appearance: none; appearance: none; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-width: 2px; }
.form-note { font-size: 15px; color: var(--mute); min-height: 1.5em; }

/* Pied de page */
.site-footer { background: var(--ink); color: #fff; }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-top: 80px; padding-bottom: 72px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 14px 40px; font-size: 15px; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { opacity: .6; }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; padding-top: 24px; padding-bottom: 48px; border-top: 1px solid #262626; font-size: 13px; color: var(--soft); }
.site-footer .bottom a { text-underline-offset: 4px; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}

/* Héros avec image de fond */
.hero-bg { position: relative; min-height: clamp(560px, 78vh, 900px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #111; }
.hero-bg.short { min-height: clamp(460px, 62vh, 720px); }
.hero-bg > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 14s ease-out forwards; }
.hero-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,10,10,.35) 0%, rgba(10,10,10,.25) 35%, rgba(10,10,10,.78) 100%), linear-gradient(90deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,0) 70%); }
.hero-bg .wrap { position: relative; z-index: 2; width: 100%; padding-top: clamp(96px, 12vw, 160px); padding-bottom: clamp(40px, 5vw, 72px); }
.hero-bg .display, .hero-bg .h2 { text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-bg .hero-meta { border-top-color: rgba(255,255,255,.7); }
.hero-bg .hero-meta .mute, .hero-bg .mute { color: rgba(255,255,255,.78); }
.hero-bg .hero-split p { color: rgba(255,255,255,.88); }
.hero-bg .more { color: #fff; }
@keyframes heroZoom { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-bg > img { animation: none; transform: none; } }
