/* Direction V2: grand format, mouvement commun, prune et cuivre. */
:root {
  --dark: #190f19;
  --cream: #fff9f1;
  --warm: #ff955e;
}
.home .site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  background: transparent;
  border-color: #ffffff24;
  color: var(--cream);
}
.home .header-inner {
  min-height: 100px;
}
.home .wordmark {
  font-size: 2rem;
  letter-spacing: -0.07em;
}
.home .brand-symbol {
  display: none;
}
.home .header-cta {
  background: transparent;
  border: 1px solid #ffffff65;
  border-radius: 100px;
  color: var(--cream);
  font-size: 0.875rem;
}
.home .desktop-nav {
  font-size: 0.875rem;
}
.home .desktop-nav a:hover {
  color: var(--warm);
}
.hero-immersive {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 850px;
  background: var(--dark);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-media {
  position: absolute;
  inset: -5%;
  z-index: -3;
  background: radial-gradient(ellipse at 85% 50%, #742b26, transparent 55%);
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    #190f19f2 0%,
    #190f1970 48%,
    transparent 78%
  );
}
.hero-content {
  width: 100%;
  padding-top: 170px;
  padding-bottom: 105px;
}
.launch-label {
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}
.launch-label span {
  font-size: 1.4rem;
  color: var(--warm);
}
.hero-immersive h1 {
  font-size: clamp(4rem, 7.2vw, 7rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
  font-weight: 500;
  margin: 0;
  max-width: 760px;
}
.hero-immersive h1 em {
  font-style: normal;
  color: var(--warm);
}
.hero-immersive .hero-description {
  color: #e2d3da;
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 480px;
  margin-top: 28px;
}
.hero-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 32px;
}
.button.warm {
  background: var(--warm);
  color: var(--dark);
  border-radius: 100px;
  font-size: 0.9375rem;
  padding: 17px 24px;
  box-shadow: none;
}
.button.warm:hover {
  background: #ffb88b;
  transform: translateY(-3px);
}
.text-link.light {
  color: var(--cream);
  font-size: 0.9375rem;
}
.hero-bottom {
  width: 100%;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  font-size: 0.875rem;
  color: #d7c7d0;
}
.hero-bottom p {
  margin-right: auto;
}
.scroll-cue {
  font-size: 1.5rem;
  border: 1px solid #ffffff50;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
}
.motion-toggle {
  color: inherit;
  background: transparent;
  border: 1px solid #ffffff50;
  border-radius: 100px;
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.75rem;
  cursor: pointer;
}
.motion-toggle[hidden] {
  display: none;
}
@media (min-width: 1800px) {
  .hero-immersive {
    min-height: 920px;
  }
  .hero-immersive h1 {
    font-size: 7.5rem;
  }
  .hero-content {
    padding-top: 185px;
  }
}
@media (max-width: 760px) {
  .home .header-inner {
    min-height: 78px;
  }
  .home .mobile-menu {
    color: var(--cream);
  }
  .home .mobile-menu nav {
    background: #281a28;
    color: var(--cream);
  }
  .home .wordmark {
    font-size: 1.75rem;
  }
  .hero-immersive {
    min-height: 880px;
    justify-content: flex-start;
  }
  .hero-content {
    padding-top: 133px;
    padding-bottom: 210px;
  }
  .hero-immersive h1 {
    font-size: clamp(3.3rem, 12.5vw, 5.4rem);
    line-height: 1.04;
    letter-spacing: -0.065em;
  }
  .launch-label {
    font-size: 0.6875rem;
    gap: 9px;
    letter-spacing: 0.09em;
    margin-bottom: 25px;
  }
  .hero-immersive .hero-description {
    font-size: 1rem;
    max-width: 360px;
    margin-top: 24px;
  }
  .hero-actions {
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 27px;
  }
  .hero-bottom {
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.75rem;
    padding-bottom: 22px;
  }
  .hero-bottom p {
    flex-basis: 100%;
  }
  .scroll-cue {
    margin-left: auto;
  }
  .hero-media {
    background-position: 68% 100%;
    background-size: auto 90%;
    background-repeat: no-repeat;
  }
  .hero-shade {
    background: linear-gradient(
      180deg,
      #190f19f2 0%,
      #190f19df 38%,
      #190f1930 75%,
      #190f19 100%
    );
  }
}

/* Le rythme de lecture suit le mouvement du premier écran. */
.home .wrap {
  width: min(1320px, calc(100% - 112px));
  max-width: none;
}
.hero-media {
  background: none;
  transform-origin: 74% 55%;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  max-width: none;
}
.motion-enabled .hero-media {
  animation: flow-drift 18s ease-in-out infinite alternate;
  will-change: transform;
}
.motion-paused .hero-media,
.hero-away .hero-media {
  animation-play-state: paused;
}
@keyframes flow-drift {
  0% {
    transform: scale(1.01) translate3d(0, 0, 0) rotate(-1deg);
  }
  100% {
    transform: scale(1.14) translate3d(-2%, 1%, 0) rotate(2deg);
  }
}
.home h2 {
  font-size: clamp(2.25rem, 4vw, 3.8rem);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -0.055em;
}
.home h2 span {
  color: #776b74;
}
.home .section {
  padding-top: 110px;
  padding-bottom: 110px;
}
.home .section-number {
  color: #715569;
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  font-weight: 650;
  margin-bottom: 30px;
}
.manifesto-heading,
.work-heading,
.control-heading {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  align-items: end;
  gap: 70px;
}
.manifesto-heading > p,
.work-heading > p,
.control-heading > p {
  max-width: 365px;
  font-size: 1rem;
  line-height: 1.75;
  color: #655c63;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-top: 65px;
}
.pillars article {
  border-top: 1px solid #cfc5cd;
  padding: 24px 0 0;
}
.pillar-index {
  font-size: 0.8125rem;
  color: #78596f;
}
.pillars h3 {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.04em;
  margin: 28px 0 18px;
}
.pillars p {
  color: #665d64;
  font-size: 1rem;
  max-width: 305px;
}
.work-section {
  background: #f2edf1;
}
.work-heading {
  margin-bottom: 50px;
}
.case-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid #cfc5cd;
  margin-bottom: 30px;
}
.case-tabs[hidden] {
  display: none;
}
.case-tabs button {
  appearance: none;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  text-align: left;
  padding: 20px 22px 20px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #73626e;
  cursor: pointer;
  display: flex;
  gap: 16px;
  align-items: center;
}
.case-tabs button > span:first-child {
  font-size: 0.75rem;
  font-weight: 500;
}
.case-tabs button .tab-arrow {
  margin-left: auto;
}
.case-tabs button[aria-selected="true"] {
  border-color: #5a224e;
  color: #5a224e;
}
.case-tabs button:hover {
  color: #1e1520;
  background: #e8e0e6;
}
.case-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 510px;
  overflow: hidden;
  border: 1px solid #e0d6dd;
  background: #fff;
  border-radius: 6px;
}
.case-panel + .case-panel {
  margin-top: 25px;
}
.cases-enhanced .case-panel {
  margin: 0;
}
.case-panel[hidden] {
  display: none;
}
.case-input {
  padding: 42px;
  background: #e7dde5;
  display: flex;
  flex-direction: column;
}
.scene-kicker {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.6875rem;
  letter-spacing: 0.13em;
  font-weight: 700;
  color: #71536b;
  margin-bottom: 22px;
}
.case-panel h3 {
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 1.23;
  letter-spacing: -0.045em;
  margin: 0;
}
.document-pair {
  display: flex;
  gap: 18px;
  margin-top: 32px;
  align-items: flex-start;
}
.document {
  background: #fff;
  padding: 25px 22px 22px;
  flex: 1;
  min-width: 0;
  border: 1px solid #d4c4d0;
  box-shadow: 0 10px 20px #3f163207;
}
.document:nth-child(2) {
  margin-top: 20px;
}
.file-label {
  font-size: 0.6875rem;
  letter-spacing: 0.07em;
  font-weight: 700;
  color: #776573;
  display: block;
}
.doc-line {
  height: 4px;
  width: 70%;
  background: #e8e3e6;
  display: block;
  margin-top: 10px;
}
.doc-line.long {
  width: 100%;
  margin-top: 20px;
}
.document p {
  font-size: 0.75rem;
  margin-top: 21px;
  color: #75666f;
  line-height: 1.6;
}
.document strong {
  font-size: 1.1rem;
  font-weight: 600;
  color: #211722;
  line-height: 1.8;
}
.highlight {
  background: #ffd6b6;
  padding: 1px 4px;
}
.case-output {
  padding: 42px;
  align-self: center;
}
.case-output .scene-kicker {
  color: #806e7b;
}
.result-row {
  padding: 20px 0;
  border-bottom: 1px solid #e5dce2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
}
.result-row:first-of-type {
  margin-top: 30px;
}
.result-row p {
  font-size: 1.1rem;
  color: #5a224e;
}
.result-row s {
  color: #8b7a86;
  font-size: 0.9rem;
  margin-right: 7px;
}
.result-row strong {
  margin-left: 7px;
}
.result-note {
  color: #756571;
  font-size: 0.8125rem;
  line-height: 1.6;
  margin-top: 25px;
  max-width: 330px;
}
.illustration-note {
  text-align: center;
  color: #73636f;
  font-size: 0.75rem;
  margin-top: 22px;
}
.brief-sheet {
  margin-top: 32px;
  background: white;
  border: 1px solid #d4c4d0;
  padding: 28px;
}
.brief-sheet p {
  font-size: 0.875rem;
  margin-top: 20px;
  border-bottom: 1px solid #eee8ec;
  padding-bottom: 10px;
}
.draft-output {
  margin-top: 30px;
}
.draft-output > span,
.search-result > span {
  color: #8c697f;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}
.draft-output h4 {
  font-size: 1.15rem;
  font-weight: 550;
  line-height: 1.45;
  margin: 15px 0;
}
.draft-output p {
  font-size: 0.875rem;
  color: #756571;
}
.draft-outline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  font-size: 0.75rem;
  color: #5a224e;
}
.draft-outline span {
  background: #f2edf1;
  padding: 8px 12px;
}
.folder-row {
  display: flex;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid #eee8ec;
  padding: 18px 0;
  font-size: 0.9375rem;
}
.folder-row > span {
  font-size: 0.75rem;
  color: #9a8091;
}
.case-output blockquote {
  font-size: 1.4rem;
  line-height: 1.45;
  letter-spacing: -0.03em;
  margin: 30px 0 25px;
  padding-left: 18px;
  border-left: 2px solid #d98655;
}
.search-result p {
  margin-top: 12px;
  font-size: 0.9375rem;
  color: #756571;
  line-height: 1.65;
}
.case-panel.panel-enter .case-output {
  animation: panel-in 0.4s ease-out both;
}
@keyframes panel-in {
  from {
    opacity: 0.25;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.control-lines {
  margin-top: 55px;
}
.control-lines article {
  display: grid;
  grid-template-columns: 0.65fr 1.1fr 1fr;
  align-items: baseline;
  gap: 40px;
  padding: 32px 0;
  border-top: 1px solid #d8ced5;
}
.control-lines article > span {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: #896e80;
}
.control-lines h3 {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  font-weight: 550;
}
.control-lines p {
  font-size: 0.9375rem;
  color: #756571;
}
.home .pilot-section {
  background: #281528;
  color: #fff9f1;
  position: relative;
  overflow: hidden;
}
.home .pilot-section .button {
  border-radius: 100px;
  background: #ff955e;
  color: #21131c;
}
.home .pilot-section .eyebrow {
  color: #ffb48c;
}
.home .pilot-section h2 {
  font-size: clamp(2.75rem, 4.6vw, 4.6rem);
  line-height: 1.07;
}
.home .pilot-grid {
  gap: 90px;
}
.home .pilot-section .pilot-steps li {
  border-color: #ffffff30;
}
.home .pilot-section p {
  color: #dfcfdb;
}
.home .pilot-section .pilot-steps h3 {
  color: #fff9f1;
}
.home .pilot-steps > li > span {
  color: #ffad80;
}
.home .faq {
  grid-template-columns: 0.9fr 1.2fr;
  gap: 100px;
}
.home .faq-list details {
  border-color: #d8ced5;
}
.home .faq-list summary {
  font-size: 1rem;
  font-weight: 550;
  padding-top: 24px;
  padding-bottom: 24px;
}
.home .site-footer {
  padding-top: 55px;
  padding-bottom: 40px;
}
.home .footer-wordmark {
  font-size: 2.5rem;
  letter-spacing: -0.075em;
}
.home .site-footer p {
  font-size: 0.8125rem;
}
.home .footer-links {
  font-size: 0.8125rem;
}
.home :focus-visible {
  outline: 3px solid #e55b1f;
  outline-offset: 6px;
}
.home .hero-immersive :focus-visible,
.home .site-header :focus-visible {
  outline-color: #ffc094;
}
@media (max-width: 1050px) {
  .home .wrap {
    width: calc(100% - 64px);
  }
  .hero-immersive h1 {
    font-size: 5.2rem;
  }
  .hero-content {
    padding-top: 165px;
  }
  .manifesto-heading,
  .work-heading,
  .control-heading {
    gap: 40px;
    grid-template-columns: 1.3fr 1fr;
  }
  .pillars {
    gap: 30px;
  }
  .case-input,
  .case-output {
    padding: 28px;
  }
  .document {
    padding: 18px 14px;
  }
  .document-pair {
    gap: 12px;
  }
  .control-lines article {
    gap: 25px;
    grid-template-columns: 0.6fr 1fr 1fr;
  }
  .home .faq {
    gap: 45px;
  }
  .home .pilot-grid {
    gap: 45px;
  }
}
@media (max-width: 760px) {
  .home .wrap {
    width: calc(100% - 40px);
  }
  .home .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .hero-immersive h1 {
    font-size: clamp(3.25rem, 12.5vw, 5.5rem);
  }
  .hero-content {
    padding-top: 126px;
    padding-bottom: 210px;
  }
  .hero-media {
    inset: 30% -40% 0 -85%;
    opacity: 0.9;
  }
  .hero-media img {
    object-position: 75% 75%;
    object-fit: cover;
  }
  .hero-shade {
    background: linear-gradient(
      180deg,
      #190f19 0%,
      #190f19e8 28%,
      #190f1970 61%,
      #190f1920 80%,
      #190f19 100%
    );
  }
  .hero-immersive {
    min-height: 850px;
  }
  .hero-bottom {
    margin-top: auto;
  }
  .hero-actions {
    column-gap: 25px;
    row-gap: 22px;
  }
  .hero-immersive .hero-description {
    max-width: 325px;
  }
  .manifesto-heading,
  .work-heading,
  .control-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .home h2 {
    font-size: clamp(2rem, 8.7vw, 3.2rem);
  }
  .home .section-number {
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    margin-bottom: 23px;
  }
  .manifesto-heading > p {
    max-width: none;
  }
  .pillars {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px;
  }
  .pillars article {
    display: grid;
    grid-template-columns: 35px 1fr;
    column-gap: 16px;
    padding-top: 22px;
  }
  .pillars h3 {
    font-size: 1.6rem;
    margin: 0 0 12px;
  }
  .pillars h3 br {
    display: none;
  }
  .pillars p {
    grid-column: 2;
    max-width: none;
    font-size: 0.9375rem;
  }
  .pillar-index {
    padding-top: 3px;
  }
  .work-heading {
    margin-bottom: 30px;
  }
  .case-tabs button {
    font-size: 0.875rem;
    gap: 8px;
    padding: 18px 8px 18px 0;
  }
  .case-tabs button .tab-arrow {
    display: none;
  }
  .case-tabs button > span:first-child {
    font-size: 0.625rem;
  }
  .case-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .case-input,
  .case-output {
    padding: 27px 22px;
  }
  .case-panel h3 {
    font-size: 1.65rem;
  }
  .document-pair {
    margin-top: 25px;
    gap: 10px;
  }
  .document {
    padding: 20px 14px;
  }
  .document strong {
    font-size: 1rem;
  }
  .file-label {
    font-size: 0.5625rem;
  }
  .scene-kicker {
    font-size: 0.625rem;
  }
  .case-output {
    min-height: 330px;
  }
  .illustration-note {
    font-size: 0.6875rem;
    line-height: 1.65;
  }
  .control-lines {
    margin-top: 35px;
  }
  .control-lines article {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 25px 0;
  }
  .control-lines h3 {
    font-size: 1.2rem;
  }
  .home .pilot-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }
  .home .pilot-section h2 {
    font-size: 2.85rem;
  }
  .home .faq {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .home .site-footer {
    gap: 30px;
  }
  .home .footer-links {
    align-items: flex-start;
  }
  .home .hero-bottom p {
    font-size: 0.6875rem;
  }
  .motion-toggle {
    font-size: 0.6875rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .motion-enabled .hero-media,
  .case-panel.panel-enter .case-output {
    animation: none !important;
    transform: none !important;
  }
  .home .button {
    transition: none;
  }
}

.page-hidden .hero-media {
  animation-play-state: paused;
}

/* Corrections de revue : contrastes et seuil de lecture des métadonnées. */
.home .result-row s,
.home .folder-row > span {
  color: #756571;
}
.home .launch-label,
.home .section-number,
.home .scene-kicker,
.home .file-label,
.home .control-lines article > span,
.home .case-tabs button > span:first-child,
.home .illustration-note,
.home .hero-bottom p,
.home .motion-toggle,
.home .draft-output > span,
.home .search-result > span {
  font-size: 0.75rem;
}

.case-input,
.case-output {
  min-width: 0;
}
.case-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.case-panel h3,
.brief-sheet p,
.document p {
  overflow-wrap: break-word;
}
@media (max-width: 760px) {
  .case-panel {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 380px) {
  .document-pair {
    flex-direction: column;
  }
  .document {
    width: 100%;
  }
  .document:nth-child(2) {
    margin-top: 0;
  }
  .hero-immersive h1 {
    font-size: 3rem;
  }
  .hero-actions .button {
    padding: 16px 20px;
    font-size: 0.875rem;
  }
}
