:root {
  --red: #d71920;
  --red-dark: #a70f15;
  --ink: #121212;
  --muted: #686b73;
  --line: #e7e7ea;
  --paper: #ffffff;
  --soft: #f6f2f2;
  --cream: #fbf7f4;
  --shadow: 0 24px 80px rgba(18, 18, 18, .12);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(18, 18, 18, .08);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 176px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  color: #34343a;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--red);
}

.nav-links .nav-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 28px rgba(215, 25, 32, .22);
}

.nav-links .nav-cta:hover {
  color: #fff;
  background: var(--red-dark);
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(215, 25, 32, .26);
}

.button:hover {
  background: var(--red-dark);
}

.button.secondary {
  background: var(--ink);
  box-shadow: 0 14px 34px rgba(18, 18, 18, .18);
}

.button.ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(13, 13, 13, .96) 0%, rgba(13, 13, 13, .82) 42%, rgba(13, 13, 13, .36) 100%),
    url("../assets/images/hero-card.jpg") center / cover no-repeat;
  color: #fff;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, .78fr);
  gap: 64px;
  align-items: center;
}

.hero-copy {
  width: min(720px, 100%);
}

.hero-product {
  position: relative;
  align-self: stretch;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.hero-product::before {
  content: "";
  position: absolute;
  inset: 9% 1% 4% 16%;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(215, 25, 32, .38), rgba(255, 255, 255, .06));
  transform: skewY(-4deg);
}

.hero-product img {
  position: relative;
  width: min(520px, 100%);
  filter: drop-shadow(0 34px 50px rgba(0, 0, 0, .42));
}

.hero-badge {
  position: absolute;
  z-index: 2;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .11);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(14px);
}

.hero-badge.top {
  top: 18%;
  right: 0;
}

.hero-badge.bottom {
  left: 6%;
  bottom: 18%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  margin-top: 18px;
  font-size: clamp(46px, 7vw, 88px);
  max-width: 920px;
}

h2 {
  font-size: clamp(34px, 4vw, 56px);
}

h3 {
  font-size: 24px;
}

p {
  margin: 0;
}

.lead {
  margin-top: 24px;
  max-width: 760px;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(18px, 2vw, 22px);
}

.page-hero .lead,
.section-head .lead,
.text-block .lead,
.plan-card .lead,
.article-page .lead {
  color: var(--muted);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 1px;
  width: min(720px, 100%);
  margin-top: 64px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .18);
}

.metric {
  min-height: 116px;
  padding: 22px;
  background: rgba(255, 255, 255, .08);
}

.metric strong {
  display: block;
  font-size: 34px;
}

.metric span {
  color: rgba(255, 255, 255, .72);
  font-weight: 700;
}

.proof-strip {
  background: var(--ink);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .12);
}

.proof-grid div {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 24px;
  background: var(--ink);
}

.proof-grid strong {
  font-size: 20px;
}

.proof-grid span {
  color: rgba(255, 255, 255, .66);
  font-weight: 700;
}

.section {
  padding: 96px 0;
}

.section.alt {
  background: var(--soft);
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.section-head > div {
  max-width: 760px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.feature-icon,
.step-number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font-weight: 900;
}

.feature p,
.kard-card p,
.post-card p,
.step p,
.contact-card p,
.footer p,
.price-list li {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 64px;
}

.product-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #18cad5;
}

.product-image img {
  width: 100%;
  aspect-ratio: 1.28 / 1;
  object-fit: cover;
}

.text-block > * + * {
  margin-top: 18px;
}

.offer-head {
  margin-bottom: 28px;
}

.offer-shell {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.12fr);
  gap: 0;
  align-items: stretch;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--ink);
}

.offer-visual {
  position: relative;
  min-height: 620px;
  background: #211b1c;
}

.offer-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(215, 25, 32, .05), rgba(215, 25, 32, .28));
}

.offer-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 16px 50px rgba(18, 18, 18, .07);
}

.featured-plan {
  position: relative;
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: none;
}

.featured-plan::after {
  content: "Offre complète";
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.price {
  font-size: 78px;
  line-height: .9;
  font-weight: 950;
}

.price small {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  color: var(--muted);
}

.featured-plan .price small {
  color: rgba(255, 255, 255, .68);
}

.plan-card .button {
  margin-top: auto;
}

.plan-intro {
  max-width: 560px;
  margin-top: 18px;
  color: rgba(255, 255, 255, .72);
  font-size: 18px;
}

.offer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: auto;
}

.price-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.price-list li {
  break-inside: avoid;
  margin-bottom: 10px;
  color: var(--muted);
}

.featured-plan .price-list li {
  color: rgba(255, 255, 255, .78);
}

.price-list li::before {
  content: "+";
  margin-right: 8px;
  color: var(--red);
  font-weight: 900;
}

.kards-grid,
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.kard-card,
.post-card,
.contact-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.post-thumb {
  display: block;
  overflow: hidden;
  margin: -18px -18px 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--soft);
}

.post-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .25s ease;
}

.post-card:hover .post-thumb img {
  transform: scale(1.03);
}

.kard-media {
  overflow: hidden;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent), #fff 82%);
}

.kard-media img {
  width: 100%;
  aspect-ratio: 1.25 / .82;
  object-fit: cover;
}

.qr-media {
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent), #fff 84%), #fff);
}

.qr-media img {
  width: min(220px, 70%);
  aspect-ratio: 1;
  object-fit: contain;
  padding: 14px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 36px rgba(18, 18, 18, .12);
}

.kard-card .text-link {
  display: inline-flex;
  margin-top: 14px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  min-height: 230px;
  padding: 24px;
  border-top: 3px solid var(--red);
  background: #fff;
}

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

.partner {
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #fff;
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.cta-band {
  background: var(--red);
  color: #fff;
}

.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.page-hero {
  padding: 84px 0 56px;
  background: var(--cream);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.chip {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.chip.is-active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

details {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.faq-group {
  margin-bottom: 56px;
}

.faq-group h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3vw, 40px);
}

summary {
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
}

details p {
  max-width: 780px;
  margin-top: 14px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px;
}

.contact-grid-enhanced {
  align-items: start;
}

.contact-info {
  position: sticky;
  top: 104px;
  gap: 24px;
  padding: 28px;
  background:
    linear-gradient(160deg, rgba(18, 18, 18, .96), rgba(61, 13, 16, .94)),
    var(--ink);
  color: #fff;
}

.contact-info p,
.contact-info .lead {
  color: rgba(255, 255, 255, .76);
}

.contact-info a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
}

.contact-highlights {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .12);
}

.contact-highlights div {
  padding: 16px;
  background: rgba(255, 255, 255, .06);
}

.contact-highlights strong,
.contact-highlights span {
  display: block;
}

.contact-highlights span {
  margin-top: 4px;
  color: rgba(255, 255, 255, .68);
  font-weight: 700;
}

.form {
  display: grid;
  gap: 14px;
}

.contact-form-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 60px rgba(18, 18, 18, .08);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.form textarea {
  min-height: 160px;
  resize: vertical;
}

.form-alert {
  padding: 14px 16px;
  border-radius: var(--radius);
  font-weight: 800;
}

.form-alert p + p {
  margin-top: 6px;
}

.form-alert.success {
  color: #083d22;
  background: #d9f8e6;
}

.form-alert.error {
  color: #5a080c;
  background: #ffe1e4;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.article-page {
  max-width: 820px;
}

.article-back {
  display: inline-flex;
  margin-bottom: 28px;
}

.article-hero-image {
  width: 100%;
  margin-top: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.rich-content {
  margin-top: 32px;
  color: #2f3035;
  font-size: 18px;
}

.rich-content > * + * {
  margin-top: 18px;
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
  margin-top: 34px;
}

.rich-content a {
  color: var(--red);
  font-weight: 800;
  text-decoration: underline;
}

.rich-content ul,
.rich-content ol {
  padding-left: 24px;
}

.rich-content blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--red);
  background: var(--soft);
  color: var(--ink);
  font-weight: 700;
}

.site-footer {
  padding: 48px 0;
  background: var(--ink);
  color: #fff;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer img {
  width: 164px;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: rgba(255, 255, 255, .78);
  font-weight: 700;
}

.text-link {
  color: var(--red);
  font-weight: 900;
}

@media (max-width: 900px) {
  .nav {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 80px 0 42px;
    grid-template-columns: 1fr;
  }

  .hero-product {
    min-height: 380px;
  }

  .hero-metrics,
  .proof-grid,
  .grid-3,
  .kards-grid,
  .posts-grid,
  .steps,
  .partner-strip,
  .offer-shell,
  .split,
  .contact-grid,
  .form-row,
  .footer {
    grid-template-columns: 1fr;
  }

  .contact-info {
    position: static;
  }

  .offer-visual {
    min-height: 360px;
  }

  .section-head,
  .cta-band .wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-list {
    columns: 1;
  }
}

@media (max-width: 560px) {
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .brand img {
    width: 150px;
  }

  .nav-links {
    gap: 14px;
    font-size: 13px;
  }

  .price {
    font-size: 68px;
  }

  .hero-product {
    min-height: 300px;
  }

  .hero-badge {
    display: none;
  }
}
