@font-face {
  font-family: Inter;
  src: url("../fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("../fonts/Inter-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("../fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("../fonts/Inter-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bordeaux: #732326;
  --bordeaux-dark: #5c1c1e;
  --fond: #fdfbf9;
  --encre: #1a1a1a;
  --secondaire: #666666;
  --carte: #ffffff;
  --bordure: rgba(26, 26, 26, 0.08);
  --ombre: 0 16px 40px rgba(115, 35, 38, 0.08);
  --rayon: 12px;
  --largeur: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: Inter, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--bordeaux);
}

.largeur {
  width: min(var(--largeur), calc(100% - 40px));
  margin-inline: auto;
}

.entete {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(253, 251, 249, 0.94);
  border-bottom: 1px solid var(--bordure);
  backdrop-filter: blur(10px);
}

.entete-barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.marque {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--encre);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.marque img,
.pied-logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav {
  display: none;
  gap: 22px;
}

.nav a {
  color: var(--secondaire);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.nav a:hover {
  color: var(--bordeaux);
}

.nav a.bouton,
.nav a.bouton:hover {
  color: #fff;
}

.nav a.bouton:hover {
  background: var(--bordeaux-dark);
}

.menu {
  display: none;
  border: 1px solid var(--bordure);
  background: white;
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
  font-weight: 600;
}

.hero {
  padding: 56px 0 24px;
}

.slogan {
  margin: 0 0 12px;
  color: var(--bordeaux);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
}

h1,
h2,
h3 {
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-weight: 700;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  max-width: 16ch;
}

.chapo {
  max-width: 68ch;
  color: var(--secondaire);
  font-size: 18px;
}

.ligne-modules {
  margin: 8px 0 0;
  font-weight: 600;
  color: var(--encre);
}

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--bordeaux);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.bouton:hover {
  background: var(--bordeaux-dark);
}

.hero .bouton {
  margin-top: 28px;
}

.ecrans {
  position: relative;
  padding-top: 14%;
  margin: 8px auto 48px;
}

.ecran {
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.ecran img {
  width: 100%;
}

.ecran-ordinateur {
  position: relative;
  z-index: 1;
  width: 92%;
  margin-left: auto;
}

.ecran-tablette {
  position: absolute;
  z-index: 2;
  width: 44%;
  left: 0;
  bottom: 0;
}

.ecran-telephone {
  position: absolute;
  z-index: 3;
  width: 30%;
  right: 0;
  bottom: 0;
}

.section {
  padding: 28px 0 64px;
}

.section h2 {
  margin: 0 0 28px;
  font-size: clamp(28px, 4vw, 40px);
  max-width: 18ch;
}

.modules {
  display: grid;
  gap: 16px;
}

.module {
  background: var(--carte);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 22px 22px 8px;
  cursor: default;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.module:hover {
  background: #f7eeee;
  border-color: rgba(115, 35, 38, 0.28);
  box-shadow: 0 10px 28px rgba(115, 35, 38, 0.08);
}

.module h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.module p,
.texte p,
.faq p,
.fin p {
  color: var(--secondaire);
}

.victoires {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--secondaire);
}

.centre {
  margin-top: 28px;
}

.benefices {
  background: white;
  border-block: 1px solid var(--bordure);
}

.benefices-intro {
  margin: 0 0 18px;
  color: var(--secondaire);
}

.benefices-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: besoin;
  display: grid;
  gap: 14px;
}

.benefices-liste li {
  counter-increment: besoin;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  background: var(--fond);
  border: 1px solid var(--bordure);
  border-radius: 16px;
  padding: 18px;
  min-height: 100%;
  cursor: default;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.benefices-liste li:hover {
  background: #f7eeee;
  border-color: rgba(115, 35, 38, 0.28);
  box-shadow: 0 10px 28px rgba(115, 35, 38, 0.08);
}

.benefices-liste li::before {
  content: counter(besoin);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bordeaux);
  color: white;
  font-weight: 700;
  font-size: 15px;
  flex: none;
}

.benefices-suite {
  margin: 18px 0 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--fond);
  border: 1px solid var(--bordure);
  color: var(--encre);
  font-weight: 600;
  cursor: default;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.benefices-suite:hover {
  background: #f7eeee;
  border-color: rgba(115, 35, 38, 0.28);
  box-shadow: 0 10px 28px rgba(115, 35, 38, 0.08);
}

.offre-carte {
  max-width: 560px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--bordure);
  border-radius: 16px;
  box-shadow: var(--ombre);
  padding: 32px 28px;
  text-align: center;
}

.offre-carte h2 {
  margin-bottom: 8px;
}

.offre-carte .sous {
  color: var(--secondaire);
  margin-top: 0;
}

.coches {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  text-align: left;
  display: grid;
  gap: 10px;
}

.coches li {
  padding-left: 28px;
  position: relative;
}

.coches li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bordeaux);
  box-shadow: inset 0 0 0 4px white, inset 0 0 0 6px var(--bordeaux);
}

.prix {
  margin: 8px 0 20px;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.prix span {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--secondaire);
  letter-spacing: 0;
}

.avis-grille {
  display: grid;
  gap: 16px;
}

.avis-carte {
  margin: 0;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fond);
  border: 1px dashed rgba(115, 35, 38, 0.35);
  border-radius: 16px;
  overflow: hidden;
  color: var(--secondaire);
  font-weight: 600;
  text-align: center;
  padding: 16px;
}

.avis-carte img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq details {
  background: white;
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 4px 18px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
}

.faq details p:last-child {
  margin-top: 0;
}

.fin {
  background: var(--bordeaux);
  color: white;
  padding: 64px 0;
}

.fin h2,
.fin p {
  color: white;
}

.fin p {
  max-width: 62ch;
  opacity: 0.92;
}

.fin .bouton {
  background: white;
  color: var(--bordeaux);
  margin-top: 12px;
}

.fin .bouton:hover {
  background: var(--fond);
}

.pied {
  background: white;
  border-top: 1px solid var(--bordure);
  padding: 40px 0 36px;
  color: var(--secondaire);
  font-size: 15px;
}

.pied-grille {
  display: grid;
  gap: 28px;
}

.pied-logo {
  display: inline-flex;
  margin-bottom: 14px;
}

.pied-logo img {
  width: 48px;
  height: 48px;
}

.pied-titre {
  margin: 0 0 12px;
  color: var(--encre);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pied-icones {
  display: flex;
  gap: 10px;
}

.pied-icones a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bordeaux);
  color: white;
}

.pied-icones a:hover {
  background: var(--bordeaux-dark);
}

.pied-icones svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.pied-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.pied-col a,
.pied-bas a {
  color: var(--bordeaux);
  font-weight: 600;
  text-decoration: none;
}

.pied-col a:hover,
.pied-bas a:hover {
  text-decoration: underline;
}

.pied-bas a.bouton,
.pied-bas a.bouton:hover {
  color: #fff;
  text-decoration: none;
}

.pied-bas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--bordure);
}

.pied-bas p {
  margin: 0;
}

@media (min-width: 720px) {
  .menu {
    display: none;
  }

  .nav {
    display: flex;
    align-items: center;
  }

  .modules {
    grid-template-columns: 1fr 1fr;
  }

  .ecrans {
    padding-top: 20px;
    margin-bottom: 80px;
  }

  .ecran-ordinateur {
    width: 74%;
    margin-left: 0;
  }

  .ecran-tablette {
    width: 32%;
    left: auto;
    right: 11%;
  }

  .ecran-telephone {
    width: 19%;
  }

  .pied-grille {
    grid-template-columns: 1.4fr auto auto;
    align-items: start;
    gap: 48px;
  }

  .pied-bas {
    justify-content: space-between;
  }

  .avis-grille {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .benefices-liste {
    grid-template-columns: repeat(6, 1fr);
  }

  .benefices-liste li {
    grid-column: span 2;
  }

  .benefices-liste li:nth-child(4),
  .benefices-liste li:nth-child(5) {
    grid-column: span 3;
  }
}

@media (max-width: 719px) {
  .menu {
    display: inline-flex;
  }

  .nav.ouvert {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 72px;
    background: white;
    border: 1px solid var(--bordure);
    border-radius: 12px;
    padding: 12px 16px 16px;
    box-shadow: var(--ombre);
  }
}
