/* BE CARTHAI Consulting — site stylesheet
   Values taken from the design mockups in /design. */

:root {
  --night: #0A0B12;
  --slate: #11131D;
  --slate-hover: #181A2A;
  --violet: #7C5CFF;
  --violet-deep: #5B4BC4;
  --lavender: #A996FF;
  --lavender-light: #C9BDFF;
  --sand: #D9C3A8;
  --stone: #F4F1EA;
  --ink: #15131C;

  --text: #ECEAF4;
  --text-soft: #B9B6C9;
  --text-muted: #A6A3B8;
  --text-faint: #8D8A9E;
  --ink-soft: #4E4A5A;
  --ink-muted: #6A6577;
  --line-dark: rgba(255, 255, 255, 0.08);
  --line-light: #E4DFD4;

  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --wrap: 1280px;
  --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--lavender); text-decoration: none; }
a:hover { color: var(--lavender-light); }
:focus-visible { outline: 2px solid var(--lavender); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 12px 18px; border-radius: 999px; background: #fff; color: var(--night); font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sec { padding-top: 112px; padding-bottom: 112px; }
.light { background: var(--stone); color: var(--ink); }
.dark { background: var(--night); }
.dark-2 { background: var(--slate); border-top: 1px solid rgba(255, 255, 255, 0.06); }

.stack { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; }
.center { align-items: center; text-align: center; }

/* ---------- Typography ---------- */
.kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; color: var(--lavender); text-transform: uppercase; }
.light .kicker { color: var(--violet-deep); }
.hl { color: var(--lavender); }
.light .hl { color: var(--violet-deep); }

.h1 {
  font-family: var(--font-display); font-weight: 700; color: #fff;
  font-size: clamp(40px, 5vw, 70px); line-height: 1.05; letter-spacing: -0.035em;
}
.h1--home { font-size: clamp(42px, 5.2vw, 74px); line-height: 1.04; }
.h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; letter-spacing: -0.03em;
}
.h2--lg { font-size: clamp(32px, 3.8vw, 50px); }
.dark .h2, .dark-2 .h2 { color: #fff; }
.lead { font-size: 19px; line-height: 1.65; color: var(--text-soft); max-width: 680px; }
.body { font-size: 17px; line-height: 1.75; color: var(--text-muted); }
.light .body { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 54px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--violet); color: #fff; }
.btn--primary:hover { color: #fff; background: #6d4cf5; }
.btn--ghost { border: 1px solid rgba(255, 255, 255, 0.22); color: #fff; }
.btn--ghost:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn--white { background: #fff; color: var(--ink); height: 56px; padding: 0 28px; }
.btn--white:hover { color: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; height: 50px; padding: 0 22px; gap: 10px; }
.btn--ink:hover { color: #fff; }
.btn svg { width: 16px; height: 16px; flex: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; min-height: 44px; }
.light .link-arrow { color: var(--violet-deep); }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 11, 18, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; }
.brand:hover { color: #fff; }
.brand__mark { width: 32px; height: 38px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: 0.02em; }
.brand__name span { color: var(--violet); }
.brand__sub { font-size: 10px; font-weight: 600; letter-spacing: 0.34em; color: var(--text-muted); margin-top: 6px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: #C9C6D6; font-size: 15px; font-weight: 500; padding: 10px 2px; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--violet); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta { height: 44px; padding: 0 20px; background: #fff; color: var(--night); font-size: 14px; }
.header-cta:hover { color: var(--night); }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14); background: transparent; color: var(--text);
  align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--night);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .menu-open .nav { display: flex; }
  .nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--lavender); }
  .hide-sm { display: none !important; }
}
@media (max-width: 520px) {
  :root { --gutter: 20px; }
  .header-cta { display: none; }
  .sec { padding-top: 80px; padding-bottom: 80px; }
}

/* ---------- Decorative arches ---------- */
.arches { position: absolute; pointer-events: none; }
.has-arches { position: relative; overflow: hidden; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero__inner { position: relative; padding-top: 80px; padding-bottom: 96px; gap: 28px; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--text-muted); }
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }

/* ---------- Home hero ---------- */
.hero__inner { position: relative; padding-top: 88px; padding-bottom: 72px; align-items: center; gap: 64px; }
.hero__copy { flex: 1 1 540px; min-width: 0; gap: 30px; }
.hero__eyebrow { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; color: var(--text-muted); }
.hero__eyebrow::before { content: ""; width: 40px; height: 2px; background: var(--violet); }
.hero__lead { font-size: 18px; line-height: 1.65; color: var(--text-soft); max-width: 560px; }
.hero__media { flex: 1 1 400px; min-width: 0; }
.arch-frame { position: relative; height: 580px; border-radius: 999px 999px 20px 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); background: #1A1714; }
.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 11, 18, 0) 45%, rgba(10, 11, 18, 0.85) 100%); }
.caption { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 1; display: flex; flex-direction: column; gap: 6px; color: #fff; }
.caption__k { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; color: var(--sand); }
.caption__t { font-family: var(--font-display); font-weight: 700; font-size: 26px; }
@media (max-width: 520px) { .arch-frame { height: 440px; } }

.pillars { border-top: 1px solid rgba(255, 255, 255, 0.07); border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.pillar { flex: 1 1 240px; padding: 28px 24px 28px 0; display: flex; gap: 16px; }
.pillar__n { font-size: 13px; font-weight: 600; color: var(--lavender); }
.pillar__t { font-weight: 600; font-size: 16px; color: #fff; }
.pillar__d { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

/* ---------- Split layouts ---------- */
.split { gap: 56px; align-items: center; }
.split--wide { gap: 64px; }
.split__media { flex: 1 1 380px; min-width: 0; position: relative; min-height: 420px; border-radius: 24px; overflow: hidden; background: #1A1714; }
.split__media--arch { flex: 1 1 420px; min-height: 520px; border-radius: 999px 999px 24px 24px; }
.split__media--bordered { min-height: 400px; border: 1px solid rgba(255, 255, 255, 0.1); }
.split__copy { flex: 1.2 1 480px; min-width: 0; gap: 24px; }
.media-caption { position: absolute; left: 28px; bottom: 26px; z-index: 1; color: #fff; }
.media-caption .caption__t { font-size: 24px; margin-top: 8px; }

.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line-light); font-size: 14px; font-weight: 500; }
.chip--dark { background: transparent; border-color: rgba(255, 255, 255, 0.16); color: var(--text); padding: 12px 18px; }
.chip--dark:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); }

/* ---------- Section headings ---------- */
.sec-head { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-end; }
.sec-head__title { gap: 18px; max-width: 720px; }

/* ---------- Home solution poles ---------- */
.poles { display: flex; flex-wrap: wrap; gap: 24px; }
.pole { flex: 1 1 520px; min-width: 0; background: var(--slate); border: 1px solid var(--line-dark); border-radius: 24px; padding: 40px; gap: 28px; }
.pole__label { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.pole__title { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: #fff; margin-top: 8px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { border: 1px solid var(--line-dark); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 8px; transition: border-color .2s ease, background .2s ease; }
.tile:hover { border-color: rgba(169, 150, 255, 0.45); background: var(--slate-hover); }
.tile__t { font-size: 16px; font-weight: 600; color: #fff; }
.tile__d { font-size: 14px; line-height: 1.55; color: var(--text-muted); }
@media (max-width: 600px) {
  .pole { padding: 28px; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Approach / numbered columns ---------- */
.motto { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 5.4vw, 76px); line-height: 1; letter-spacing: -0.04em; color: #fff; }
.numcols { display: flex; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.numcol { flex: 1 1 300px; padding: 36px 32px 0 0; gap: 14px; }
.big-n { font-family: var(--font-display); font-size: 44px; font-weight: 800; color: var(--lavender); }
.h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: #fff; }
.small { font-size: 15px; line-height: 1.7; color: var(--text-muted); }

/* ---------- Sector list (home) ---------- */
.sector-list { flex: 1.4 1 560px; min-width: 0; display: flex; flex-direction: column; }
.sector-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; border-top: 1px solid #D9D3C6; color: var(--ink); }
.sector-link:last-child { border-bottom: 1px solid #D9D3C6; }
.sector-link:hover { color: var(--violet-deep); }
.sector-link__l { display: flex; align-items: baseline; gap: 20px; }
.sector-link__n { font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.sector-link__t { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.sector-link svg { width: 20px; height: 20px; flex: none; stroke: var(--violet-deep); transition: transform .15s ease; }
.sector-link:hover svg { transform: translate(2px, -2px); }

/* ---------- CTA band ---------- */
.cta-wrap { padding: 112px var(--gutter); }
.cta { position: relative; overflow: hidden; max-width: var(--wrap); margin: 0 auto; border-radius: 28px; background: var(--violet); color: #fff; padding: 64px 56px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta__copy { position: relative; gap: 12px; max-width: 680px; }
.cta__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.12; letter-spacing: -0.03em; }
.cta__text { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.92); }
.cta .kicker { color: rgba(255, 255, 255, 0.9); }
.cta .btn { position: relative; }
@media (max-width: 600px) {
  .cta-wrap { padding: 80px var(--gutter); }
  .cta { padding: 40px 28px; }
}

/* ---------- Entreprise ---------- */
.card-light { background: #fff; border: 1px solid var(--line-light); border-radius: 18px; padding: 24px; gap: 8px; }
.card-light__k { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--violet-deep); }
.card-light__t { font-size: 16px; line-height: 1.55; font-weight: 500; }
.grid-2--lg { gap: 16px; margin-top: 8px; }
@media (max-width: 600px) { .grid-2--lg { grid-template-columns: 1fr; } }

.symbols { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 8px; }
.symbol { display: flex; gap: 14px; align-items: center; font-size: 15px; color: var(--text); }
.symbol__icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(124, 92, 255, 0.16); display: flex; align-items: center; justify-content: center; }
.symbol__icon svg { width: 22px; height: 22px; }

.values { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 24px; overflow: hidden; }
.value { flex: 1 1 360px; background: var(--slate); padding: 36px; gap: 12px; }
.value__n { font-size: 13px; font-weight: 600; color: var(--sand); }
.value__d { font-size: 15px; line-height: 1.65; color: var(--text-muted); }

.stats { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 96px; padding-bottom: 96px; }
.stat { flex: 1 1 260px; border-top: 2px solid var(--ink); padding-top: 24px; gap: 8px; }
.stat__n { font-family: var(--font-display); font-size: 52px; font-weight: 800; letter-spacing: -0.04em; }
.stat__l { font-size: 15px; color: var(--ink-soft); }

/* ---------- Solutions ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; background: #fff; border: 1px solid var(--line-light); border-radius: 999px; align-self: flex-start; }
.tab { height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-soft); font-family: var(--font-body); font-size: 15px; font-weight: 600; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
@media (max-width: 520px) { .tabs { border-radius: 20px; align-self: stretch; } .tab { flex: 1 1 100%; } }
.panel[hidden] { display: none; }
.panel { gap: 48px; }
.panel__intro { font-size: 16px; line-height: 1.7; color: var(--ink-soft); max-width: 420px; }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 800px) { .services { grid-template-columns: 1fr; } }
.service { background: #fff; border: 1px solid var(--line-light); border-radius: 22px; padding: 36px; gap: 18px; }
.service__top { display: flex; justify-content: space-between; align-items: center; }
.service__code { width: 52px; height: 52px; border-radius: 14px; background: #EEEAFE; color: var(--violet-deep); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 16px; }
.service__tag { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--ink-muted); }
.service__t { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.service__d { font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.checks { margin: 0; padding: 18px 0 0; list-style: none; border-top: 1px solid #ECE7DC; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #2D2A36; }
.checks svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }

.steps { display: flex; flex-wrap: wrap; gap: 20px; }
.step { flex: 1 1 260px; background: var(--slate); border: 1px solid var(--line-dark); border-radius: 22px; padding: 32px; gap: 14px; transition: border-color .2s ease, background .2s ease; }
.step:hover { border-color: rgba(169, 150, 255, 0.45); background: var(--slate-hover); }
.step .big-n { font-size: 40px; }
.step .h3 { font-size: 20px; }

/* ---------- Secteurs ---------- */
.sector { scroll-margin-top: 100px; background: #fff; border: 1px solid var(--line-light); border-radius: 26px; padding: 44px; display: flex; flex-wrap: wrap; gap: 40px; }
.sector__main { flex: 1 1 340px; min-width: 0; gap: 16px; }
.sector__n { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--violet-deep); }
.sector__t { font-family: var(--font-display); font-size: 32px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.sector__d { font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.box { flex: 1 1 260px; min-width: 0; border-radius: 18px; padding: 28px; gap: 14px; }
.box--issues { background: #F7F5F0; }
.box--answers { background: var(--ink); color: var(--text); }
.box__k { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--ink-muted); }
.box--answers .box__k { color: var(--lavender); }
.box ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.box li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; }
.box--issues li { color: #2D2A36; }
.box--issues li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 3px; background: #B49A7C; margin-top: 8px; }
.box svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
@media (max-width: 600px) { .sector { padding: 28px; gap: 24px; } .sector__t { font-size: 26px; } }

/* ---------- Contact ---------- */
.contact-grid { display: flex; flex-wrap: wrap; gap: 48px; }
.contact-info { flex: 1 1 320px; gap: 20px; }
.contact-form { flex: 1.4 1 480px; min-width: 0; background: #fff; border: 1px solid var(--line-light); border-radius: 24px; padding: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: #FBFAF7; border: 1px solid #D9D3C6; border-radius: 12px; padding: 13px 14px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--violet); outline-offset: 0; border-color: transparent; }
.contact-form .btn { justify-self: start; border: 0; cursor: pointer; font-family: inherit; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--ink-muted); }
.form-status { grid-column: 1 / -1; font-size: 15px; font-weight: 500; }
.hp { position: absolute; left: -9999px; }
.info-card { background: #fff; border: 1px solid var(--line-light); border-radius: 18px; padding: 24px; gap: 6px; }
.info-card a { color: var(--violet-deep); font-weight: 600; font-size: 17px; }
@media (max-width: 600px) { .contact-form { grid-template-columns: 1fr; padding: 28px; } }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 760px; gap: 18px; font-size: 16px; line-height: 1.75; color: var(--ink-soft); }
.prose h2 { font-family: var(--font-display); font-size: 22px; color: var(--ink); margin-top: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); border-top: 1px solid rgba(255, 255, 255, 0.07); }
.site-footer__inner { padding-top: 72px; padding-bottom: 36px; gap: 56px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.footer-about { flex: 1 1 300px; gap: 18px; max-width: 360px; }
.footer-about p { font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 64px; }
.footer-col { gap: 12px; font-size: 15px; }
.footer-col h2 { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; color: var(--text-faint); }
.footer-col a { color: var(--text-muted); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.07); font-size: 13px; color: var(--text-faint); }
.footer-bottom a { color: var(--text-faint); }
.footer-bottom a:hover { color: #fff; }
.footer-motto { font-weight: 600; letter-spacing: 0.12em; }
@media (max-width: 520px) { .footer-cols { gap: 40px; } }

/* ---------- Réalisations ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.works { padding-top: 96px; padding-bottom: 112px; gap: 28px; }
.work { scroll-margin-top: 100px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; background: #fff; border: 1px solid var(--line-light); border-radius: 28px; padding: 40px; }
.work--rev { flex-direction: row-reverse; }
.browser { flex: 1.35 1 520px; min-width: 0; display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-light); background: #fff; box-shadow: 0 28px 56px -32px rgba(21, 19, 28, 0.45); transition: transform .2s ease, box-shadow .2s ease; }
.browser:hover { transform: translateY(-3px); box-shadow: 0 36px 64px -32px rgba(21, 19, 28, 0.55); }
.browser__bar { display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 14px; background: #F1EEE7; border-bottom: 1px solid var(--line-light); }
.browser__dots { display: flex; gap: 6px; flex: none; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: #D9D3C6; }
.browser__url { flex: 1; min-width: 0; height: 24px; border-radius: 999px; background: #fff; padding: 0 12px; display: flex; align-items: center; font-size: 12px; color: var(--ink-muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.work__copy { flex: 1 1 360px; min-width: 0; gap: 18px; }
.work__n { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--violet-deep); }
.work__t { font-family: var(--font-display); font-size: clamp(30px, 3vw, 40px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.work__d { font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.work .checks { border-top: 0; padding-top: 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 6px 12px; border-radius: 999px; background: #EEEAFE; color: var(--violet-deep); font-size: 13px; font-weight: 600; }
.work__cta { align-self: flex-start; margin-top: 6px; }
@media (max-width: 600px) { .work { padding: 20px; gap: 28px; border-radius: 22px; } .work__copy { padding: 0 6px 10px; } }
@media (prefers-reduced-motion: reduce) { .browser:hover { transform: none; } }

/* Six entrées de menu : resserrer entre 901 et 1180 px pour que tout tienne sur une ligne */
@media (min-width: 901px) and (max-width: 1180px) {
  .nav { gap: 18px; }
  .nav a { font-size: 14px; }
  .site-header__inner { gap: 16px; }
  .header-cta { padding: 0 16px; }
}
