:root {
  --bg: #f1f0eb;
  --surface: #faf9f5;
  --text: #171717;
  --muted: #66645f;
  --line: #cfcdc5;
  --dark: #131313;
  --dark-soft: #20201e;
  --dark-text: #efeee9;
  --max: 1240px;
  --pad: clamp(22px, 5vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.58;
}

a {
  color: inherit;
}

.site-header {
  min-height: 76px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  background: rgba(241, 240, 235, .95);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
}

.brand-name {
  font-weight: 720;
  letter-spacing: -.025em;
}

.brand-product {
  color: var(--muted);
  font-size: .85rem;
}

.top-nav {
  display: flex;
  gap: 28px;
  font-size: .85rem;
}

.top-nav a {
  color: var(--muted);
  text-decoration: none;
}

.top-nav a:hover {
  color: var(--text);
}

section {
  padding: clamp(72px, 10vw, 150px) var(--pad);
}

.section-dark {
  background: var(--dark);
  color: var(--dark-text);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.2fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  max-width: none;
}

.hero-copy,
.feature-copy,
.section-copy,
.section-heading {
  max-width: 700px;
}

.eyebrow,
.card-label {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: .72rem;
  font-weight: 700;
  color: #88867f;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 32px;
  font-size: clamp(3rem, 7vw, 7.6rem);
  line-height: .92;
  letter-spacing: -.065em;
  font-weight: 680;
}

h1 span {
  display: block;
  color: #9d9b94;
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(2.25rem, 4.5vw, 5rem);
  line-height: 1.01;
  letter-spacing: -.052em;
  font-weight: 660;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.25;
}

p {
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.lead {
  max-width: 680px;
  color: #c9c7c1;
  font-size: clamp(1.12rem, 1.8vw, 1.4rem);
}

.definition {
  margin: 32px 0;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.3;
}

.working-note,
.future-pages {
  color: var(--muted);
  font-size: .86rem;
  font-style: italic;
}

.hero .working-note {
  color: #828078;
}

.content-section,
.feature-section {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 70px minmax(0, .8fr) minmax(400px, 1.2fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.feature-section {
  max-width: none;
  grid-template-columns: minmax(320px, .8fr) minmax(460px, 1.2fr);
}

.feature-section > *:first-child {
  justify-self: end;
}

.feature-copy {
  max-width: 600px;
}

.section-number {
  align-self: start;
  font-size: .8rem;
  color: #9a9892;
  padding-top: 8px;
}

.alternate {
  background: var(--surface);
}

.media {
  margin: 0;
}

.media-placeholder {
  min-height: 410px;
  border: 1px solid #575650;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    #1b1b1a;
  background-size: 28px 28px;
  color: #d4d2cc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 30px;
  border-radius: 4px;
}

.content-section .media-placeholder,
.statement-section .media-placeholder,
.workflow-section .media-placeholder {
  border-color: #bbb9b1;
  background:
    linear-gradient(rgba(0,0,0,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.03) 1px, transparent 1px),
    #e4e2dc;
  color: #55534e;
}

.media-placeholder span {
  font-size: .78rem;
  letter-spacing: .12em;
}

.media-placeholder small {
  max-width: 480px;
  color: #898781;
}

figcaption {
  margin-top: 12px;
  color: #797770;
  font-size: .78rem;
}

.media-hero .media-placeholder {
  min-height: min(68vh, 700px);
}

.media-large .media-placeholder {
  min-height: 570px;
}

.media-row {
  min-height: 310px;
  flex-direction: row;
  flex-wrap: wrap;
}

.media-row > span {
  border: 1px solid #b6b4ad;
  padding: 38px 20px;
  min-width: 130px;
  background: rgba(255,255,255,.4);
}

.cells-demo {
  display: flex;
  gap: 6px;
  padding: 70px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cells-demo div {
  flex: 1;
  min-height: 110px;
  border: 1px solid #7d7b75;
  display: grid;
  place-items: center;
  font-size: .78rem;
  letter-spacing: .08em;
}

.statement-section {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.statement-section h2 {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.statement-section h2 span {
  display: block;
  color: #85837c;
}

.statement-grid {
  margin: 70px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.statement-grid > div {
  background: var(--bg);
  padding: 36px;
  text-align: left;
}

.statement-grid p {
  color: var(--muted);
  font-size: .95rem;
}

.wide {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.pad-section {
  background: #e3e1db;
}

.workflow-section {
  max-width: var(--max);
  margin: 0 auto;
}

.workflow-intro {
  max-width: 820px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 60px;
}

.workflow-grid article {
  min-height: 200px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-grid p {
  color: var(--muted);
  font-size: .92rem;
}

.future-pages {
  margin-top: 24px;
}

.environments-section {
  max-width: none;
}

.environments-section .section-heading {
  max-width: var(--max);
  margin: 0 auto 60px;
}

.environment-grid {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #484743;
  border: 1px solid #484743;
}

.environment-card {
  background: var(--dark-soft);
  padding: clamp(34px, 5vw, 70px);
}

.environment-card p {
  color: #b8b6af;
}

.environment-card h3 {
  color: #f0eee8;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  letter-spacing: -.035em;
}

.formats {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #484743;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  font-size: .88rem;
}

.formats span {
  color: #77756f;
}

.closing-section {
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
}

.closing-section p:last-child {
  max-width: 620px;
  margin: auto;
  color: var(--muted);
}

.site-footer {
  min-height: 120px;
  padding: 30px var(--pad);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
}

.site-footer > div:first-child {
  display: flex;
  gap: 14px;
}

.site-footer span {
  color: var(--muted);
}


@media (max-width: 900px) {

  .top-nav {
    display: none;
  }

  .hero,
  .content-section,
  .feature-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .content-section,
  .feature-section {
    padding-left: var(--pad);
    padding-right: var(--pad);
  }

  .section-number {
    display: none;
  }

  .feature-section > *:first-child {
    justify-self: start;
  }

  .media-hero .media-placeholder,
  .media-large .media-placeholder {
    min-height: 420px;
  }

  .statement-grid,
  .workflow-grid,
  .environment-grid {
    grid-template-columns: 1fr;
  }

  .statement-grid {
    gap: 1px;
  }
}


@media (max-width: 560px) {

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.7rem);
  }

  h2 {
    font-size: clamp(2.15rem, 11vw, 3.5rem);
  }

  section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .media-placeholder {
    min-height: 300px;
  }

  .media-hero .media-placeholder,
  .media-large .media-placeholder {
    min-height: 340px;
  }

  .cells-demo {
    flex-direction: column;
  }

  .cells-demo div {
    min-height: 70px;
  }

  .media-row {
    flex-direction: column;
  }

  .media-row > span {
    width: 100%;
    padding: 25px 16px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}


/* PATCH03_LINKS_START */
.site-footer-links{
  display:flex;
  align-items:center;
  gap:18px;
}
.site-footer-links a{
  color:inherit;
  text-decoration:none;
}
.site-footer-links a:hover{
  text-decoration:underline;
}

@media (max-width:900px){
  /* Conserver un accès direct au manuel lorsque les liens de sections
     de la homepage sont masqués. */
  .top-nav{
    display:flex;
    gap:0;
  }
  .top-nav a:not(.top-nav-doc){
    display:none;
  }
  .top-nav-doc{
    display:inline-flex;
    align-items:center;
    min-height:36px;
  }
}

@media (max-width:560px){
  .site-footer-links{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }
}
/* PATCH03_LINKS_END */
