/* ============================================================
   QSheets — reproduction landing page
   ============================================================ */

/* ---------- Polices locales ---------- */
@font-face {
  font-family: "Liberation Serif";
  src: url("fonts/LiberationSerif-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Liberation Serif";
  src: url("fonts/LiberationSerif-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Liberation Serif";
  src: url("fonts/LiberationSerif-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Liberation Serif";
  src: url("fonts/LiberationSerif-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("fonts/NotoSans-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("fonts/NotoSans-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("fonts/NotoSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("fonts/NotoSans-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("fonts/NotoSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("fonts/NotoSans-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DejaVu Sans Mono";
  src: url("fonts/DejaVuSansMono.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DejaVu Sans Mono";
  src: url("fonts/DejaVuSansMono-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --dark: #0f2b1f; /* vert forêt — fonds sombres */
  --dark-2: #0a1f17; /* variante plus profonde */
  --cream: #eae6d7; /* fond crème */
  --green: #22bd6c; /* vert accent (boutons, chiffres) */
  --green-soft: #1fb466; /* vert un peu plus sombre */
  --ink: #14241b; /* texte sombre sur crème */
  --ink-soft: #5c6b60; /* texte gris/atténué sur crème */
  --light: #f4f1e8; /* texte clair sur fond sombre */
  --light-soft: #9bb0a3; /* texte atténué sur fond sombre */
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-cream: rgba(20, 36, 27, 0.15);

  --serif: "Liberation Serif", Georgia, "Times New Roman", serif;
  --sans: "Noto Sans", system-ui, -apple-system, sans-serif;
  --mono: "DejaVu Sans Mono", "Courier New", monospace;

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 80px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* même fond que le footer : évite la bande blanche visible
     en bas de page (overscroll / zone sous la dernière section) */
  background: var(--dark-2);
}

body {
  font-family: var(--sans);
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}
em {
  font-style: italic;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

/* ---------- sections / themes ---------- */
.section {
  padding-block: clamp(64px, 9vw, 130px);
}
.section--dark {
  background: var(--dark);
  color: var(--light);
}
.section--cream {
  background: var(--light);
  color: var(--ink);
}

/* ============================================================
   Typographie partagée
   ============================================================ */
.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.5px;
}
.display em {
  color: var(--green);
  font-weight: 500;
}
.section--cream .display em {
  color: var(--green-soft);
}

.eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--light);
  margin-bottom: 0.4rem;
}
.eyebrow--center {
  text-align: center;
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--green);
}

.tag {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green-soft);
  padding-top: 14px;
  border-top: 1px solid currentColor;
  display: inline-block;
  min-width: 150px;
}
.section--dark .tag {
  color: var(--green);
}

/* En-tête de section : titre à gauche + lead + tag aligné à droite */
.section__head {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "title tag" "lead tag";
  gap: 8px 40px;
  align-items: start;
  margin-bottom: clamp(48px, 7vw, 90px);
}
.section__head .display {
  grid-area: title;
}
.section__lead {
  grid-area: lead;
  max-width: 46ch;
  color: var(--light-soft);
  font-size: 1.02rem;
  margin-top: 14px;
}
.section--cream .section__lead {
  color: var(--ink-soft);
}
.section__head .tag {
  grid-area: tag;
  justify-self: end;
  text-align: left;
}
.section__lead strong {
  color: inherit;
  font-weight: 700;
}
.section--cream .section__lead strong {
  color: var(--ink);
}
.section--dark .section__lead strong {
  color: var(--light);
}

/* ============================================================
   Boutons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 26px;
  border-radius: 40px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--primary {
  background: var(--green);
  color: #06241a;
}
.btn--primary:hover {
  background: #34e389;
}
.btn--ghost {
  background: transparent;
  color: var(--light);
  border-color: var(--line-dark);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}
.btn--tonal {
  background: var(--dark-2);
  color: var(--light);
  border: 1px solid var(--line-dark);
}
.btn--tonal:hover {
  background: #13291d;
  border-color: rgba(255, 255, 255, 0.2);
}
.btn--outline {
  background: transparent;
  color: var(--light);
  border: 1px solid var(--line-dark);
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn--play {
  background: transparent;
  color: var(--light);
  padding-left: 8px;
}
.btn--play .play {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
}
.btn--play .play svg {
  width: 11px;
  height: 11px;
  margin-left: 1px;
}
.btn--block {
  width: 100%;
}

/* ---------- Icônes SVG ---------- */
.ico {
  width: 1.05em;
  height: 1.05em;
  flex: none;
  vertical-align: middle;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: var(--dark);
  /* background: rgba(15, 43, 31, 0); */
  transition:
    background 0.3s ease,
    backdrop-filter 0.3s ease;
}
.nav.scrolled {
  background: rgba(11, 33, 23, 0.85);
  backdrop-filter: blur(10px);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--light);
  display: inline-flex;
  align-items: center;
}
.brand span {
  color: var(--green);
}
.brand__logo {
  height: 32px;
  width: auto;
  display: block;
}
.brand__logo--footer {
  height: 40px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links > a {
  font-size: 0.88rem;
  color: var(--light-soft);
  transition: color 0.2s;
}
.nav__links > a:hover {
  color: var(--light);
}
.nav__auth {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}
.nav__auth .btn {
  padding: 9px 18px;
  font-size: 0.82rem;
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--light);
  transition: 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: 60px;
  /* position du halo (mise à jour par le JS au survol) */
  --gx: 92%;
  --gy: 2%;
  background:
    radial-gradient(
      40% 35% at var(--gx) var(--gy),
      rgba(120, 240, 175, 0.55),
      transparent 60%
    ),
    radial-gradient(
      70% 60% at calc(var(--gx) - 4%) calc(var(--gy) + 6%),
      rgba(43, 211, 122, 0.35),
      transparent 60%
    ),
    radial-gradient(
      120% 95% at calc(var(--gx) - 12%) calc(var(--gy) + 18%),
      rgba(43, 211, 122, 0.18),
      transparent 58%
    ),
    var(--dark);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 40px;
  min-height: 60vh;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -1px;
}
.hero__title em {
  color: var(--green);
}
.hero__lead {
  color: var(--green);
  font-size: 1.5rem;
  max-width: 48ch;
  margin-top: 26px;
}
.hero__sub {
  margin: 14px 0 34px;
  max-width: 48ch;
  color: var(--light-soft);
  font-size: 1.05rem;
}
.hero__sub span {
  color: var(--light);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.hero__visual {
  display: grid;
  place-items: center;
}
.hero__img {
  position: absolute;
  /* centrage vertical adaptatif : l'image est carrée, demi-hauteur = 34vw */
  top: 50%;
  margin-top: -34vw;
  right: 0px;
  width: 68vw;
  max-width: 1400px;
  height: auto;
  display: block;
  z-index: 0;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 1;
}

/* --- Badges flottants du hero --- */
.hero__badges {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 40px;
  background: rgba(10, 31, 23, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-dark);
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.6);
  color: var(--light);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  animation:
    badge-in 0.6s ease-out 1.4s forwards,
    badge-float 5s ease-in-out infinite;
}
.hero-badge svg {
  width: 15px;
  height: 15px;
  color: var(--green);
  flex: none;
}
.hero-badge--1 {
  top: 15%;
  left: 45%;
  animation-delay: 1.4s, -0.4s;
  animation-duration: 0.6s, 4.6s;
}
.hero-badge--2 {
  top: 25%;
  right: 6%;
  animation-delay: 1.6s, -2.1s;
  animation-duration: 0.6s, 5.4s;
}
.hero-badge--3 {
  top: 58%;
  right: 12%;
  animation-delay: 1.8s, -3.3s;
  animation-duration: 0.6s, 6s;
}
@keyframes badge-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes badge-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-11px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-badge {
    animation: badge-in 0.4s ease-out forwards;
  }
}
@media (max-width: 980px) {
  .hero__badges {
    display: none;
  }
}
/* Bande logos : section à part, fond sombre uni */
.logos-bar .eyebrow--center {
  margin-bottom: 28px;
  color: var(--light);
}
.logos-bar {
  background: var(--dark-2);
  padding-block: 60px;
  position: relative;
}
/* Fondu sombre sur les deux bords */
.logos-bar::before,
.logos-bar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(70px, 14vw, 220px);
  z-index: 2;
  pointer-events: none;
}
.logos-bar::before {
  left: 0;
  background: linear-gradient(to right, var(--dark-2), transparent);
}
.logos-bar::after {
  right: 0;
  background: linear-gradient(to left, var(--dark-2), transparent);
}
.hero__logos {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 6vw, 70px);
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}
.hero__logos span {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: var(--light);
}
.hero__logos img {
  height: 67px;
  width: auto;
  object-fit: contain;
}

/* ---------- waveform ---------- */
.waveform {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 200px;
  width: 100%;
  justify-content: center;
}
.waveform .bar {
  width: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.25);
  transition: height 0.3s ease;
}
.waveform .bar.is-green {
  background: var(--green);
}
.waveform--wide {
  height: 110px;
  margin-top: 60px;
  gap: 5px;
}
.cta__wave {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin-top: 60px;
}
/* chaque barre se met à l'échelle depuis sa base (bas) */
.cta__wave path {
  transform-box: fill-box;
  transform-origin: bottom;
  will-change: transform;
}
@media (min-width: 981px) {
  .cta__wave {
    transform: scale(1.2);
  }
}

/* ============================================================
   01 — COMPARE
   ============================================================ */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line-cream);
}
.compare__card {
  padding: clamp(28px, 4vw, 48px);
}
.compare__card--bad {
  background: var(--cream);
  color: var(--ink);
}
.compare__card--good {
  background: var(--dark);
  color: var(--light);
}
.compare__top {
  text-align: center;
  margin-bottom: 30px;
}
.compare__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.3rem;
}
.compare__title em {
  color: var(--green-soft);
}
.compare__card--good .compare__title em {
  color: var(--green);
}
.compare__metric {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1.1;
}
.compare__metric em {
  font-style: italic;
}
.compare__metric .icn {
  display: inline-flex;
  align-items: center;
}
.compare__metric .icn svg,
.compare__metric .icn img {
  width: 5rem;
  height: 5rem;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
/* survol carte « Sans » : le sablier se retourne */
.compare__card--bad:hover .icn img {
  transform: rotate(180deg);
}
/* survol carte « Avec » : le chrono glisse */
.compare__card--good:hover .icn img {
  transform: translateX(12px);
}
.compare__card--good .compare__metric .icn,
.compare__card--good .compare__metric {
  color: var(--green);
}
.compare__unit {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  opacity: 0.6;
  margin-top: 6px;
}
.compare__sub {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.bullets {
  list-style: none;
  display: grid;
  gap: 14px;
}
.bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  opacity: 0.9;
}
.bullets li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--ink-soft);
}
.bullets--green li::before {
  color: var(--green);
}
.compare__card--good .bullets li {
  color: var(--light-soft);
}

/* ============================================================
   02 — WORKFLOW STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.step {
  padding: clamp(30px, 4vw, 56px) 26px;
  min-height: 300px;
  border-left: 1px solid var(--line-dark);
}
.step:last-child {
  border-right: 1px solid var(--line-dark);
}
.step__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 4rem;
  color: var(--green);
  display: block;
  margin-bottom: 30px;
}
.step__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.15;
  margin-bottom: 16px;
}
.step__desc {
  color: var(--light-soft);
  font-size: 0.9rem;
  max-width: 22ch;
}

/* ============================================================
   03 — PRODUCTIONS GRID
   ============================================================ */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-cream);
}
.prod {
  padding: clamp(22px, 3vw, 40px);
  min-height: 145px;
  border-right: 1px solid var(--line-cream);
  border-bottom: 1px solid var(--line-cream);
}
.prod:nth-child(4n) {
  border-right: 0;
}
.prod:nth-child(n + 5) {
  border-bottom: 0;
}
.prod__num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--green-soft);
  display: block;
  margin-bottom: 28px;
}
.prod h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.1;
}
.prod h3.accent em {
  color: var(--green-soft);
}
.prod-foot {
  margin-top: 60px;
  text-align: center;
}
.prod-foot p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 70ch;
  margin-inline: auto;
}
.prod-foot em {
  color: var(--green-soft);
  font-style: italic;
}
.prod-foot strong {
  color: var(--ink);
}

/* ============================================================
   04 — ÉQUIPE
   ============================================================ */
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team__card {
  padding: 34px 30px 40px;
  border: 1px solid var(--line-dark);
  border-top: 2px solid var(--green);
  background: var(--dark-2);
}
.avatar {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: #06241a;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 34px;
}
.team__name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--green);
  font-weight: 500;
}
.team__role {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-soft);
  margin: 6px 0 22px;
}
.team__bio {
  color: var(--light-soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

.philo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 50px;
  background: var(--dark-2);
  padding: clamp(34px, 5vw, 64px);
}
.philo__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.9rem;
  line-height: 1.2;
}
.philo__title em {
  color: var(--green);
}
.philo__body p {
  color: var(--light-soft);
  margin-bottom: 18px;
}
.dashed {
  list-style: none;
  display: grid;
  gap: 12px;
}
.dashed li {
  position: relative;
  padding-left: 28px;
  font-size: 0.92rem;
  color: var(--light);
}
.dashed li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--green);
}

/* ============================================================
   05 — TARIFS
   ============================================================ */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price {
  position: relative;
  background: var(--dark);
  color: var(--light);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  padding: 34px 30px 34px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.price--featured {
  border: 1.5px solid var(--green);
  background: var(--dark-2);
  box-shadow: 0 0 60px rgba(43, 211, 122, 0.25);
  transform: translateY(-14px);
}
.price__badge {
  position: absolute;
  top: -13px;
  right: 30%;
  transform: translateX(50%);
  background: var(--green);
  color: #06241a;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 5px 14px;
  border-radius: 20px;
  animation: badge-pulse 2.2s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%,
  100% {
    transform: translateX(50%) scale(1);
    box-shadow: 0 0 0 0 rgba(43, 211, 122, 0.55);
  }
  50% {
    transform: translateX(50%) scale(1.07);
    box-shadow: 0 0 0 10px rgba(43, 211, 122, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .price__badge {
    animation: none;
  }
}
.price__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
}
.price__amount {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 500;
  margin: 10px 0 4px;
}
.price__amount--accent em {
  color: var(--green);
}
.price__per {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--light-soft);
}
.price__desc {
  color: var(--light-soft);
  font-size: 0.9rem;
  margin-bottom: 24px;
  min-height: 48px;
}
.checks {
  list-style: none;
  display: grid;
  align-content: start;
  gap: 14px;
  margin-bottom: 30px;
  flex: 1;
}
.checks li {
  position: relative;
  padding-left: 26px;
  font-size: 0.92rem;
  color: var(--light-soft);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322bd6c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

/* ============================================================
   06 — CLIENTS
   ============================================================ */
.clients {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}
.client {
  display: grid;
  place-items: center;
  min-height: 150px;
  text-align: center;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  color: var(--light-soft);
  opacity: 0.55;
  padding: 20px;
  transition: opacity 0.25s;
}
.client:hover {
  opacity: 1;
}
.client img {
  max-width: 170px;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ============================================================
   07 — FAQ
   ============================================================ */
.faq {
  padding: 0 clamp(20px, 5vw, 80px);
}
.faq__item {
  border-bottom: 1px solid var(--line-cream);
  padding: 24px 0;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__icon {
  display: inline-flex;
  flex: none;
  color: var(--green-soft);
  transition: transform 0.25s ease;
}
.faq__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}
.faq__item[open] .faq__icon {
  transform: rotate(45deg);
}
.faq__item p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 70ch;
  margin-top: 16px;
  overflow: hidden;
}
.faq__icon {
  transition: color 0.25s ease;
}
.faq__item strong {
  color: var(--ink);
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(
      80% 60% at 50% 0%,
      rgba(43, 211, 122, 0.12),
      transparent 60%
    ),
    var(--dark);
  padding-bottom: 50px;
}
.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05;
  margin: 14px 0 22px;
}
.cta__title em {
  color: var(--green);
}
.cta__sub {
  max-width: 52ch;
  color: var(--light-soft);
  margin-bottom: 38px;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding-block: 70px 40px;
  border-top: 1px solid var(--line-dark);
  background: var(--dark-2);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.brand--footer {
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.brand__mark {
  width: 1.1em;
  height: 1.1em;
  color: var(--green);
  flex: none;
}
.footer__brand p {
  color: var(--light-soft);
  font-size: 0.88rem;
  max-width: 36ch;
}
.footer__col h4 {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--light-soft);
  margin-bottom: 18px;
}
.footer__col a {
  display: block;
  color: var(--light-soft);
  font-size: 0.9rem;
  margin-bottom: 12px;
  transition: color 0.2s;
}
.footer__col a:hover {
  color: var(--green);
}
.footer__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}
.footer__bottom p {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--light-soft);
  opacity: 0.7;
}

/* ============================================================
   GABARIT PAGE (liens externes : titre + fil d'Ariane)
   ============================================================ */
.page-head {
  padding-top: calc(72px + clamp(40px, 7vw, 80px));
  padding-bottom: clamp(40px, 6vw, 70px);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--light-soft);
  margin-bottom: 22px;
}
.breadcrumb a {
  color: var(--green);
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb__sep {
  opacity: 0.5;
}
.page-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.5px;
}
.page-title em {
  color: var(--green);
}
.page-content {
  max-width: 760px;
}
.page-content p {
  margin-bottom: 1.1em;
  color: var(--ink-soft);
}
.page-content h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.6rem;
  margin: 1.6em 0 0.6em;
  color: var(--ink);
}
.page-content h3 {
  font-weight: 600;
  font-size: 1.05rem;
  margin: 1.4em 0 0.5em;
  color: var(--ink);
}
.page-content ul {
  list-style: disc;
  margin: 0 0 1.1em 1.3em;
  padding: 0;
  color: var(--ink-soft);
}
.page-content li {
  margin-bottom: 0.45em;
}
.page-content strong {
  color: var(--ink);
}
.page-content a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-content a:hover {
  color: var(--green);
}
.page-meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 2em;
}

/* ============================================================
   PAGE CONTACT — formulaire
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

/* --- Panneau info sombre avec illustration en fond --- */
.contact-info {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--light);
  border-radius: 16px;
  padding: clamp(30px, 4vw, 48px);
  display: flex;
  isolation: isolate;
}
.contact-info__bg {
  position: absolute;
  left: -38%;
  bottom: -12%;
  width: 135%;
  max-width: none;
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}
.contact-info::after {
  /* fondu pour fondre l'illustration dans le panneau */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(15, 43, 31, 0.2) 0%,
    rgba(15, 43, 31, 0.75) 55%,
    var(--dark) 100%
  );
  z-index: -1;
}
.contact-info__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-info__eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}
.contact-info__lead {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  line-height: 1.35;
  color: var(--light);
  margin-bottom: 36px;
}
.contact-info__list {
  list-style: none;
  display: grid;
  gap: 18px;
}
.contact-info__list li {
  display: grid;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-dark);
}
.contact-info__list li:last-child {
  border-bottom: 0;
}
.contact-info__label {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
}
.contact-info__list a,
.contact-info__list span:not(.contact-info__label) {
  color: var(--light);
  font-size: 1.02rem;
}
.contact-info__list a:hover {
  color: var(--green);
}

/* --- Carte formulaire --- */
.contact-form {
  display: grid;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line-cream);
  border-radius: 16px;
  padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 24px 60px -30px rgba(15, 43, 31, 0.35);
}
.contact-form__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.7rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  display: grid;
  gap: 8px;
}
.field label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line-cream);
  border-radius: 8px;
  padding: 12px 14px;
  width: 100%;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(43, 211, 122, 0.18);
}
.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) {
  border-color: #d9534f;
}
.field-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.field-check input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--green);
  flex: none;
}
.form-status {
  margin: 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
}
.form-status.is-ok {
  background: rgba(43, 211, 122, 0.14);
  color: #157a47;
  border: 1px solid rgba(43, 211, 122, 0.4);
}
.form-status.is-err {
  background: rgba(217, 83, 79, 0.12);
  color: #b23b37;
  border: 1px solid rgba(217, 83, 79, 0.35);
}

@media (max-width: 760px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   LIGHTBOX DÉMO
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
}
.lightbox.open {
  display: flex;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 15, 10, 0.82);
  backdrop-filter: blur(5px);
}
.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  animation: lightbox-in 0.25s ease;
}
@keyframes lightbox-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
}
.lightbox__video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}
.lightbox__video video,
.lightbox__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.lightbox__close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--light);
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.lightbox__close svg {
  width: 18px;
  height: 18px;
}
.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}
@media (max-width: 560px) {
  .lightbox__close {
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.5);
    border-color: transparent;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    order: 2;
  }
  .hero__img {
    position: static;
    width: 100%;
    max-width: 520px;
    margin: 20px auto 0;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .step {
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }
  .prod-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .prod:nth-child(4n) {
    border-right: 1px solid var(--line-cream);
  }
  .prod:nth-child(2n) {
    border-right: 0;
  }
  .prod:nth-child(n + 5) {
    border-bottom: 1px solid var(--line-cream);
  }
  .prod:nth-child(n + 7) {
    border-bottom: 0;
  }
  .team,
  .pricing {
    grid-template-columns: 1fr;
  }
  .price--featured {
    transform: none;
  }
  .clients {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  /* image du hero masquée sur mobile */
  .hero__visual {
    display: none;
  }
  /* burger menu */
  .nav__toggle {
    display: flex;
  }
  .nav__links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 33, 23, 0.98);
    backdrop-filter: blur(12px);
    padding: 10px var(--pad) 24px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav__links.open {
    transform: translateY(0);
  }
  .nav__links > a {
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav__auth {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
    margin: 16px 0 0;
  }
  .nav__auth .btn {
    width: 100%;
    padding: 13px 18px;
  }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .section__head {
    grid-template-columns: 1fr;
    grid-template-areas: "tag" "title" "lead";
  }
  .section__head .tag {
    justify-self: start;
    margin-bottom: 10px;
  }
  .compare,
  .prod-grid {
    grid-template-columns: 1fr;
  }
  .prod {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line-cream) !important;
  }
  .prod:last-child {
    border-bottom: 0 !important;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step {
    min-height: auto;
  }
  .step:last-child {
    border-right: 0;
  }
  .prod-foot,
  .philo {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .clients {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .hero__logos {
    gap: 24px;
  }
}
