/* GÉNÉRÉ — feuille de style sur-mesure. */
:root {
  --ink: #171512;
  --ink-soft: #2b2722;
  --cream: #f4eddf;
  --paper: #fffaf0;
  --orange: #e4572e;
  --orange-dark: #b93818;
  --blue: #2447d8;
  --acid: #d5ed45;
  --line: rgba(23, 21, 18, 0.2);
  --white: #ffffff;
  --shadow: 0.6rem 0.6rem 0 var(--ink);
  --radius-sm: 0.5rem;
  --radius-lg: 1.5rem;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6rem;
  --content: 80rem;
  --reading: 43rem;
  --font-display: Syne, system-ui, sans-serif;
  --font-body: Manrope, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

p,
ul,
ol,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.05rem, 5rem, 5rem);
}

h2 {
  font-size: clamp(1.8rem, 3.35rem, 3.35rem);
}

h3 {
  font-size: clamp(1.25rem, 1.65rem, 1.65rem);
  line-height: 1.15;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

::selection {
  color: var(--white);
  background: var(--blue);
}

:focus-visible {
  outline: 0.22rem solid var(--acid);
  outline-offset: 0.22rem;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 1rem max(1rem, calc((100% - var(--content)) / 2));
  color: var(--white);
  background: var(--ink);
  border-bottom: 0.3rem solid var(--orange);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
}

.site-nav a:hover {
  color: var(--ink);
  background: var(--acid);
}

.section-shell,
.split-section,
.card-section,
.text-section,
.form-section,
.process-section,
.cta-band,
.statement-section {
  padding: var(--space-7) max(1rem, calc((100% - var(--content)) / 2));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: var(--space-3);
  font-family: var(--font-mono);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.75rem;
  height: 0.28rem;
  content: "";
  background: currentColor;
}

.lede {
  max-width: var(--reading);
  margin: var(--space-4) 0 0;
  font-size: clamp(1.08rem, 1.3rem, 1.3rem);
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: var(--space-5);
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  font-weight: 800;
  text-decoration: none;
}

.button {
  padding: 0.75rem 1.15rem;
  border: 0.15rem solid var(--ink);
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0.25rem 0.25rem 0 var(--orange);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translate(-0.15rem, -0.15rem);
  box-shadow: 0.42rem 0.42rem 0 var(--orange);
}

.button-light {
  color: var(--ink);
  background: var(--acid);
  box-shadow: 0.25rem 0.25rem 0 var(--white);
}

.button-outline {
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.button-outline:hover {
  color: var(--white);
  background: var(--blue);
  box-shadow: none;
}

.text-link {
  gap: 0.45rem;
  border-bottom: 0.15rem solid currentColor;
}

.text-link::after {
  content: "↗";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translate(0.18rem, -0.18rem);
}

.media-21-9,
.media-16-9,
.media-4-3,
.media-1-1,
.media-3-4 {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--ink-soft);
}

.media-21-9 { aspect-ratio: 21 / 9; }
.media-16-9 { aspect-ratio: 16 / 9; }
.media-4-3 { aspect-ratio: 4 / 3; }
.media-1-1 { aspect-ratio: 1 / 1; }
.media-3-4 { aspect-ratio: 3 / 4; }

.media-21-9 img,
.media-16-9 img,
.media-4-3 img,
.media-1-1 img,
.media-3-4 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.home-hero {
  position: relative;
  min-height: 32rem;
  color: var(--white);
  background: var(--ink);
}

.home-hero .media-21-9 {
  min-height: 32rem;
}

.home-hero .media-21-9::after,
.page-hero-wide .media-16-9::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(12, 10, 8, 0.88), rgba(12, 10, 8, 0.2));
}

.hero-copy {
  position: absolute;
  inset: auto max(1rem, calc((100% - var(--content)) / 2)) 2rem;
  z-index: 2;
  padding: var(--space-4);
  background: rgba(23, 21, 18, 0.88);
  border-left: 0.5rem solid var(--orange);
}

.hero-copy h1 {
  font-size: clamp(2.05rem, 4.8rem, 4.8rem);
}

.hero-copy .lede {
  color: #f7f0e5;
}

.ticker {
  overflow: hidden;
  padding: 0.85rem 1rem;
  color: var(--ink);
  background: var(--acid);
  border-block: 0.15rem solid var(--ink);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.intro-grid,
.split-grid,
.form-grid,
.editorial-grid {
  display: grid;
  gap: var(--space-5);
  align-items: start;
}

.intro-mark {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  line-height: 0.8;
}

.card-section {
  background: var(--paper);
}

.section-heading {
  margin-bottom: var(--space-5);
}

.section-heading p {
  max-width: var(--reading);
  margin: var(--space-3) 0 0;
}

.card-grid-3,
.card-grid-4,
.profile-grid,
.faq-grid,
.process-grid {
  display: grid;
  gap: var(--space-4);
  align-items: start;
}

.info-card,
.profile-card,
.value-card,
.faq-card,
.process-step {
  position: relative;
  padding: var(--space-4);
  border: 0.14rem solid var(--ink);
  background: var(--cream);
}

.info-card:nth-child(2),
.profile-card:nth-child(2),
.value-card:nth-child(2) {
  background: var(--acid);
}

.info-card:nth-child(3),
.profile-card:nth-child(3),
.value-card:nth-child(3) {
  color: var(--white);
  background: var(--blue);
}

.info-card h3,
.profile-card h3,
.value-card h3,
.faq-card h3,
.process-step h3 {
  margin-bottom: var(--space-2);
}

.card-index,
.step-index {
  display: block;
  margin-bottom: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
}

.split-section {
  background: var(--orange);
}

.split-copy {
  align-self: center;
}

.split-copy p:not(.eyebrow) {
  max-width: var(--reading);
}

.split-section figure,
.editorial-grid figure,
.form-grid figure {
  border: 0.2rem solid var(--ink);
  box-shadow: var(--shadow);
}

.profile-card {
  min-height: 100%;
}

.profile-note {
  display: block;
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.cta-band {
  color: var(--white);
  background: var(--blue);
  border-block: 0.35rem solid var(--ink);
}

.cta-inner {
  display: grid;
  gap: var(--space-4);
  align-items: end;
}

.cta-inner p {
  max-width: var(--reading);
  margin: var(--space-3) 0 0;
  color: #f5f2ff;
}

.page-hero-wide {
  position: relative;
  color: var(--white);
  background: var(--ink);
}

.page-hero-wide .media-16-9 {
  min-height: 28rem;
}

.page-hero-wide .hero-copy {
  right: auto;
}

.page-hero-split {
  display: grid;
  gap: 0;
  color: var(--white);
  background: var(--ink);
}

.page-hero-split .hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-6) max(1rem, calc((100% - var(--content)) / 2));
}

.page-hero-split h1 {
  font-size: clamp(2.05rem, 3.55rem, 3.55rem);
}

.page-hero-split .lede {
  color: #ece5d8;
}

.product-card {
  overflow: hidden;
  border: 0.16rem solid var(--ink);
  background: var(--cream);
  box-shadow: 0.4rem 0.4rem 0 var(--ink);
}

.product-card:hover img {
  transform: scale(1.035);
}

.product-copy {
  padding: var(--space-4);
}

.product-copy h3 {
  margin-bottom: var(--space-2);
}

.taste-list,
.clean-list {
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
}

.taste-list li,
.clean-list li {
  padding: 0.65rem 0;
  border-top: 0.1rem solid var(--line);
}

.taste-list li::before,
.clean-list li::before {
  margin-right: 0.55rem;
  color: var(--orange);
  content: "●";
}

.process-section {
  color: var(--white);
  background: var(--ink);
}

.process-step {
  color: var(--ink);
  background: var(--paper);
}

.process-step:nth-child(even) {
  background: var(--acid);
}

.editorial-grid + .editorial-grid {
  margin-top: var(--space-7);
}

.editorial-copy {
  align-self: center;
}

.editorial-copy p {
  max-width: var(--reading);
}

.quality-panel {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-6);
  color: var(--ink);
  background: var(--acid);
  border: 0.2rem solid var(--ink);
  box-shadow: var(--shadow);
}

.statement-section {
  color: var(--white);
  background: var(--orange-dark);
}

.statement-section blockquote {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2rem, 3.2rem);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.statement-section cite {
  display: block;
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-style: normal;
  text-transform: uppercase;
}

.contact-hero {
  padding: var(--space-7) max(1rem, calc((100% - var(--content)) / 2));
  color: var(--white);
  background: var(--blue);
  border-bottom: 0.4rem solid var(--acid);
}

.contact-hero h1 {
  font-size: clamp(2.05rem, 4.6rem, 4.6rem);
}

.form-section {
  background: var(--paper);
}

.form-panel {
  min-width: 0;
  padding: var(--space-4);
  border: 0.16rem solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-panel input,
.form-panel textarea,
.form-panel select {
  width: 100%;
  padding: 0.8rem;
  border: 0.12rem solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.form-panel button,
.form-panel input[type="submit"] {
  width: auto;
  padding: 0.8rem 1.2rem;
  border: 0.15rem solid var(--ink);
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font: 800 1rem var(--font-body);
  cursor: pointer;
}

.form-panel button:hover,
.form-panel input[type="submit"]:hover {
  background: var(--blue);
}

.site-footer {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-6) max(1rem, calc((100% - var(--content)) / 2));
  color: var(--white);
  background: var(--ink);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.footer-note {
  max-width: 34rem;
  color: #d9d0c3;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--acid);
}

.footer-bottom {
  padding-top: var(--space-4);
  border-top: 0.1rem solid rgba(255, 255, 255, 0.25);
  color: #d9d0c3;
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

@media (min-width: 44rem) {
  .site-header {
    flex-wrap: nowrap;
  }

  .hero-copy {
    bottom: 3rem;
    padding: var(--space-5);
  }

  .intro-grid {
    grid-template-columns: 0.35fr 1.65fr;
  }

  .card-grid-3,
  .profile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-grid-4,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-grid,
  .editorial-grid,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-6);
  }

  .editorial-grid.is-reversed figure {
    order: 2;
  }

  .cta-inner,
  .quality-panel {
    grid-template-columns: minmax(0, 1.5fr) minmax(14rem, 0.5fr);
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    grid-column: 1 / -1;
  }
}

@media (min-width: 64rem) {
  .section-shell,
  .split-section,
  .card-section,
  .text-section,
  .form-section,
  .process-section,
  .cta-band,
  .statement-section {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
  }

  .home-hero,
  .home-hero .media-21-9 {
    min-height: 42rem;
  }

  .card-grid-4,
  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-hero-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero-split .hero-panel {
    padding-left: max(2rem, calc((100% - (var(--content) / 2))));
    padding-right: var(--space-6);
  }

  .page-hero-split figure {
    min-height: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
