/* =============================================================================
   Isabelle Poirier — Landing page
   Figma: 6ZYfZofBasUNeLkKfUtZwO / node 107:1095
   ========================================================================== */

/* -----------------------------------------------------------------------------
   1. Fonts
   -------------------------------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Roboto:wght@400&display=swap");
@import url("https://api.fontshare.com/v2/css?f[]=general-sans@400,500&f[]=gambarino@1&display=swap");

/* -----------------------------------------------------------------------------
   2. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs principales */
  --ink: #111111;
  --ink-black: #000000;
  --ivory: #f8f5f1;
  --tan: #bba17f;
  --tan-2: #b29a78;
  --white: #ffffff;
  --sand: #dcd8d5;
  --warm-brown: #1d100d;
  --night: #030404;

  /* Couleurs avec alpha */
  --border-light: rgba(17, 17, 17, 0.2);
  --border-dark: rgba(255, 255, 255, 0.2);
  --divider: rgba(255, 255, 255, 0.1);
  --muted-light: rgba(248, 245, 241, 0.75);
  --muted-ink: rgba(17, 17, 17, 0.75);
  --glass-ivory: rgba(248, 245, 241, 0.1);
  --disclaimer: rgba(248, 245, 241, 0.4);
  --card-translucent-dark: rgba(0, 0, 0, 0.3);
  --card-translucent-light: rgba(255, 255, 255, 0.1);

  /* Radius */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 40px;
  --r-hero: 56px;
  --r-pill: 9999px;

  /* Shadows */
  --shadow-hero: 0 24px 74px rgba(0, 0, 0, 0.6);
  --shadow-pricing: 0 4px 64px rgba(0, 0, 0, 0.15);
  --shadow-testimonial: 0 4px 42px rgba(0, 0, 0, 0.15);
  --shadow-footer: 0 4px 120px rgba(20, 20, 20, 0.6);

  /* Typography */
  --ff-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-serif: "Gambarino", Georgia, serif;
  --ff-humanist: "General Sans", "Instrument Sans", system-ui, sans-serif;
  --ff-feature: "Roboto", -apple-system, sans-serif;

  /* Layout */
  --container-max: 1400px;
  --section-px: 84px;
  --section-py: 120px;

  /* Hero video math — le beige doit toujours débuter au milieu de la vidéo,
     peu importe la taille de la vidéo */
  --hero-video-max-width: 953px;
  --hero-video-aspect-h: calc(519 / 953);
  --hero-bottom-stack: 196px; /* gap 56 + btn ~60 + hero padding-bottom 80 */
  --testimonials-overlap-offset: 40px; /* espace entre bas du hero et la 1re ligne du beige */
}

/* -----------------------------------------------------------------------------
   3. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-sans);
  font-weight: 500;
  font-variation-settings: "wdth" 100;
  color: var(--white);
  background-color: var(--ink);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

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

ul,
ol {
  list-style: none;
}

/* -----------------------------------------------------------------------------
   4. Typography utilities — mix Instrument Sans + serif italic
   -------------------------------------------------------------------------- */
.accent,
em.accent {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--tan);
  letter-spacing: -0.02em;
  padding-right: 0.08em;
}

.accent--lora {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--tan);
  letter-spacing: -0.02em;
  padding-right: 0.08em;
}

/* -----------------------------------------------------------------------------
   5. Layout primitives
   -------------------------------------------------------------------------- */
.section {
  width: 100%;
  padding: var(--section-py) var(--section-px);
  position: relative;
}

.section--divider-top {
  border-top: 1px solid var(--divider);
}

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

/* -----------------------------------------------------------------------------
   6. Badges / Tags
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  background-color: var(--ivory);
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  white-space: nowrap;
  width: fit-content;
}

.badge--sand {
  background-color: var(--sand);
}

.badge--glass {
  background-color: var(--glass-ivory);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--white);
}

.badge__icon {
  width: 20px;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

/* -----------------------------------------------------------------------------
   7. Buttons (pill, arrow slide animation)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 32px 15px 32px;
  border-radius: var(--r-pill);
  font-family: var(--ff-sans);
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  font-variation-settings: "wdth" 100;
  text-transform: uppercase;
  line-height: 19.2px;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease,
    box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  width: fit-content;
  max-width: 100%;
  flex: 0 0 auto;
}

/* Flèche = SVG inline, fill currentColor.
   Si le bouton n'a pas de .btn__arrow dans le HTML → juste le texte, pas de container. */
.btn__arrow {
  width: 18px;
  height: auto;
  fill: currentColor;
  color: currentColor;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* Variants */
.btn--primary {
  background-color: var(--white);
  color: var(--ink);
  border-color: var(--border-light);
}

.btn--primary:hover {
  background-color: var(--ivory);
}

.btn--primary-large {
  padding: 20px 96px;
  font-size: 18px;
  line-height: 19.2px;
  background-color: var(--white);
  color: var(--ink);
  border-color: var(--border-light);
}

.btn--outlined-dark {
  background-color: var(--ink);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px 32px 15px;
}

.btn--outlined-dark:hover {
  background-color: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.btn--outlined-light {
  background-color: transparent;
  color: var(--ink);
  border: 1px solid var(--border-light);
}

.btn--outlined-light:hover {
  background-color: var(--ink);
  color: var(--white);
}

.btn--outlined-ghost {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--border-dark);
  padding: 15px 32px;
}

.btn--outlined-ghost:hover {
  background-color: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.btn--solid-black {
  background-color: var(--ink-black);
  color: var(--white);
  width: 100%;
  max-width: none;
  justify-content: center;
  padding: 16px 32px;
}

.btn--solid-black:hover {
  background-color: var(--ink);
}

/* -----------------------------------------------------------------------------
   8. Header (logo signature centered)
   -------------------------------------------------------------------------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: calc(45px + 1rem) 6rem 0;
  position: relative;
  z-index: 3;
}

/* Lignes décoratives de chaque côté du logo — étirées presque jusqu'aux bords */
.site-header::before,
.site-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
}

.site-header__logo {
  width: 325px;
  aspect-ratio: 326.053 / 57.6926;
  display: block;
  flex-shrink: 0;
}

.site-header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* -----------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.hero {
  padding: 56px var(--section-px) 80px;
  position: relative;
  z-index: 2;
}

.hero__inner {
  max-width: 1550px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  text-align: center;
}

.hero__title {
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 58px;
  line-height: 1.15;
  letter-spacing: -1.55px;
  color: var(--white);
  max-width: 1450px;
  font-variation-settings: "wdth" 100;
}

.hero__title .accent {
  font-size: 58px;
  letter-spacing: -1.55px;
  line-height: 1.15;
}

.hero__subtitle {
  font-family: var(--ff-humanist);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--muted-light);
  max-width: 920px;
}

.hero__title-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.hero__media {
  position: relative;
  width: 953px;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  box-shadow: var(--shadow-hero);
  overflow: hidden;
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 110%;
  top: -10%;
  object-fit: cover;
}

.hero__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  width: 140px;
  height: 140px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.2s ease;
}

.hero__play:hover {
  transform: translate(-50%, -50%) rotate(90deg) scale(1.05);
}

.hero__play img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* -----------------------------------------------------------------------------
   10. Testimonials TOP — bandeau tan qui remonte derrière la vidéo + borders blancs
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  z-index: 2;
}

.testimonials-top {
  --hero-video-width: min(var(--hero-video-max-width), calc(100vw - var(--section-px) * 2));
  --hero-video-half: calc(var(--hero-video-width) * var(--hero-video-aspect-h) / 2);

  background-color: var(--tan-2);
  margin-top: calc(-1 * (var(--hero-video-half) + var(--hero-bottom-stack)));
  padding: calc(var(--hero-video-half) + var(--hero-bottom-stack) + var(--testimonials-overlap-offset)) var(--section-px) 100px;
  position: relative;
  z-index: 1;
  border-top: 10px solid var(--white);
  border-bottom: 10px solid var(--white);
}

.testimonials-top__label {
  text-align: center;
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--ivory);
  text-transform: uppercase;
  margin-bottom: 40px;
  font-variation-settings: "wdth" 100;
}

/* Icône cachée par défaut — visible seulement en mode badge (mobile) */
.testimonials-top__label-icon {
  display: none;
}

.testimonials-top__grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.testimonial-card-ivory {
  background-color: var(--ivory);
  border-radius: var(--r-md);
  padding: 32px;
  box-shadow: 0 4px 42px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 186px;
  justify-content: flex-start;
  text-align: left;
}

.testimonial-card-ivory__author {
  margin-top: auto;
}

.testimonial-card-ivory__quote {
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.15px;
  color: var(--ink);
  font-variation-settings: "wdth" 100;
}

.testimonial-card-ivory__author {
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 22.4px;
  letter-spacing: -0.15px;
  color: var(--ink);
  opacity: 0.7;
  font-variation-settings: "wdth" 100;
}

/* -----------------------------------------------------------------------------
   11. Section Services ("Ce que tu vas apprendre")
   -------------------------------------------------------------------------- */
.services {
  padding: 120px var(--section-px);
  background-color: var(--ink);
}

.services__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.services__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.services__header-left {
  display: flex;
  flex-direction: column;
  gap: 21px;
  align-items: flex-start;
}

.services__title {
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -1.5px;
  color: var(--white);
  font-variation-settings: "wdth" 100;
}

.services__title .accent {
  font-size: 56px;
  letter-spacing: -1.5px;
}

.services__header-right {
  display: flex;
  flex-direction: column;
  gap: 21px;
  max-width: 428px;
}

.services__subtitle {
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 22.4px;
  letter-spacing: -0.15px;
  color: var(--ivory);
  opacity: 0.7;
  font-variation-settings: "wdth" 100;
}

.services__buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.services__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Service card */
.service-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--ivory);
  border-radius: var(--r-md);
  min-height: 350px;
  position: relative;
  overflow: hidden;
}

.service-card__content {
  padding: 44px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 430px;
  height: 100%;
  min-height: 334px;
  gap: 21px;
  align-self: stretch;
}

.service-card__icon {
  width: 32px;
  height: 32px;
  color: var(--ink);
}

.service-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card__body {
  display: flex;
  flex-direction: column;
  gap: 21px;
  align-items: flex-start;
  margin-top: auto;
}

.service-card__text {
  display: flex;
  flex-direction: column;
  gap: 13px;
  color: var(--ink);
}

.service-card__title {
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 24px;
  line-height: 28.8px;
  color: var(--ink);
  font-variation-settings: "wdth" 100;
}

.service-card__desc {
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 22.4px;
  letter-spacing: -0.15px;
  color: var(--ink);
  opacity: 0.7;
  font-variation-settings: "wdth" 100;
  max-width: 423px;
}

.service-card__media {
  width: 630px;
  height: 334px;
  margin: 8px 8px 8px 0;
  border-radius: var(--r-sm);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background-color: var(--warm-brown);
}

.service-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Carte "Les vérifications & visites" : cadre vers le bas (crop le haut vide) + léger zoom */
.service-card:nth-child(3) .service-card__media img {
  object-position: center bottom;
  transform: scale(1.05);
  transform-origin: center bottom;
}

.services__more {
  align-self: center;
  margin-top: 16px;
}

/* -----------------------------------------------------------------------------
   12. Section Testimonials (carousel 4-col) — fond tan, cards blanches
   -------------------------------------------------------------------------- */
.testimonials {
  padding: 120px var(--section-px);
  background-color: var(--tan-2);
  border-top: 10px solid var(--white);
  border-bottom: 10px solid var(--white);
}

.testimonials__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.testimonials__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}

.testimonials__header-left {
  display: flex;
  flex-direction: column;
  gap: 21px;
  align-items: flex-start;
}

.testimonials__title {
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -1.5px;
  color: var(--ink-black);
  font-variation-settings: "wdth" 100;
}

.testimonials__title .accent {
  color: var(--white);
  font-size: 56px;
  letter-spacing: -1.5px;
}

/* Badge dark sur fond tan */
.testimonials__header-left .badge {
  background-color: var(--ink-black);
  color: var(--white);
}

/* L'icône speak.svg est noire par défaut → on l'inverse en blanc pour ce badge */
.testimonials__header-left .badge .badge__icon {
  filter: brightness(0) invert(1);
}

/* Bouton dark sur fond tan */
.testimonials__header .btn--primary {
  background-color: var(--ink-black);
  color: var(--white);
  border-color: transparent;
}

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

.testimonial-card {
  aspect-ratio: 500 / 600;
  background-color: var(--white);
  border-radius: var(--r-md);
  padding: 29px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
  overflow: hidden;
  position: relative;
  text-align: left;
}

.testimonial-card__author {
  margin-top: auto;
}

.testimonial-card__quote {
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.5;
  letter-spacing: -0.15px;
  color: var(--ink-black);
  font-variation-settings: "wdth" 100;
}

.testimonial-card__author {
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 22.4px;
  letter-spacing: -0.15px;
  color: var(--ink-black);
  opacity: 0.7;
  font-variation-settings: "wdth" 100;
}

/* -----------------------------------------------------------------------------
   13. Section "Cette formation est pour toi si..."
   -------------------------------------------------------------------------- */
.for-you {
  padding: 120px var(--section-px);
  background-color: var(--ink);
  /* La transition de couleur est gérée par le border-bottom 10px de .testimonials */
  border-top: none;
}

.for-you__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.for-you-card {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background-color: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 42px rgba(0, 0, 0, 0.07);
  border-radius: var(--r-md);
  padding: 56px 48px;
  gap: 48px;
  min-height: 400px;
}

.for-you-card__left {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  min-width: 430px;
  max-width: 430px;
  align-items: flex-start;
}

.for-you-card__top {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.for-you-card__icon {
  width: 32px;
  height: 32px;
}

.for-you-card__text {
  display: flex;
  flex-direction: column;
  gap: 13px;
  color: var(--ink);
}

.for-you-card__title {
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 24px;
  line-height: 28.8px;
  color: var(--ink);
  font-variation-settings: "wdth" 100;
}

.for-you-card__desc {
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 22.4px;
  letter-spacing: -0.15px;
  color: var(--ink);
  opacity: 0.7;
  max-width: 272px;
  font-variation-settings: "wdth" 100;
}

.for-you-card__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  align-self: stretch;
}

.for-you-card__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  color: var(--muted-ink);
  letter-spacing: -0.16px;
  font-variation-settings: "wdth" 100;
}

.for-you-card__item-icon {
  width: 18px;
  height: auto;
  flex-shrink: 0;
  align-self: center;
  object-fit: contain;
}

/* Variante négative — "Mais elle n'est pas faite pour toi si..." */
.for-you-card--not {
  /* hérite du même fond blanc / border / shadow / min-height pour rester identique */
}

/* -----------------------------------------------------------------------------
   14. Section Message d'Isabelle
   -------------------------------------------------------------------------- */
.message {
  padding: 120px var(--section-px);
  background-color: var(--ink);
}

.message__card {
  max-width: var(--container-max);
  margin: 0 auto;
  background-color: var(--ink);
  border-radius: var(--r-md);
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
  min-height: 410px;
  display: flex;
  align-items: center;
  box-shadow: 0 24px 74px rgba(20, 12, 6, 0.35);
}

/* Gradient overlay desktop (texte à gauche reste lisible sur la photo à droite) */
.message__card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    var(--night) 0%,
    var(--night) 45.176%,
    rgba(3, 4, 4, 0) 68.52%
  );
  border-radius: var(--r-md);
  pointer-events: none;
}

.message__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: var(--r-md);
}

.message__image img {
  position: absolute;
  top: -8.5%;
  left: 46%;
  width: 60%;
  height: 110%;
  object-fit: cover;
  display: block;
}

.message__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 23px;
  max-width: 655px;
  align-items: flex-start;
}

.message__quote {
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: 32px;
  line-height: 38.4px;
  letter-spacing: -0.4px;
  color: var(--white);
  font-variation-settings: "wdth" 100;
}

/* -----------------------------------------------------------------------------
   15. Section Pricing
   -------------------------------------------------------------------------- */
.pricing {
  padding: 120px var(--section-px);
  background-color: var(--ink);
  border-top: 1px solid var(--divider);
}

.pricing__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 80px;
  align-items: flex-start;
}

.pricing__left {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 643px;
  padding-top: 40px;
}

.pricing__header {
  display: flex;
  flex-direction: column;
  gap: 21px;
  align-items: flex-start;
}

.pricing__title {
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -1.5px;
  color: var(--white);
  font-variation-settings: "wdth" 100;
}

.pricing__title .accent--lora {
  font-size: 56px;
  letter-spacing: -1.5px;
  line-height: 1;
}

.pricing__illustration {
  width: 643.5px;
  aspect-ratio: 643.5 / 148.129;
  max-width: 100%;
}

.pricing__illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pricing__illustration-img--desktop {
  display: block;
}

/* La flèche verticale (SVG dédié) ne s'affiche que sur mobile/tablette */
.pricing__illustration-img--mobile {
  display: none;
}

/* Pricing card */
.pricing-card {
  background-color: var(--ivory);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-pricing);
  width: 514px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  color: var(--ink);
}

.pricing-card__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  width: 100%;
}

/* Override le align-self: flex-start du badge pour qu'il soit centré */
.pricing-card__head .badge {
  align-self: center;
}

.pricing-card__price {
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: 56px;
  line-height: 1.2;
  color: var(--ink-black);
  text-align: center;
  font-variation-settings: "wdth" 100;
}

.pricing-card__price-suffix {
  font-size: 32px;
  color: rgba(17, 17, 17, 0.5);
}

.pricing-card__list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 0;
}

.pricing-card__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-family: var(--ff-feature);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-black);
}

.pricing-card__check {
  width: 22px;
  height: auto;
  flex-shrink: 0;
  align-self: center;
  object-fit: contain;
}

/* -----------------------------------------------------------------------------
   16. Section FAQ
   -------------------------------------------------------------------------- */
.faq {
  padding: 156px var(--section-px);
  background-color: var(--ink);
  border-top: 1px solid var(--divider);
}

.faq__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.faq__left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 580px;
}

.faq__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 580px;
}

.faq__body {
  display: flex;
  flex-direction: column;
  gap: 56px;
  max-width: 460px;
}

.faq__text {
  max-width: 460px;
}

.faq__title {
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: 48px;
  line-height: 52.8px;
  letter-spacing: -1.5px;
  color: var(--white);
  font-variation-settings: "wdth" 100;
}

.faq__title .accent--lora {
  font-size: 48px;
  letter-spacing: -1.5px;
  line-height: 52.8px;
}

.faq__text {
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 22.4px;
  letter-spacing: -0.15px;
  color: var(--white);
  opacity: 0.7;
  font-variation-settings: "wdth" 100;
}

.faq__buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 756px;
  flex-shrink: 0;
}

.faq-item {
  background-color: var(--ivory);
  border-radius: var(--r-xl);
  overflow: hidden;
  color: var(--ink-black);
  transition: background-color 0.2s ease;
}

.faq-item__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px;
  padding-right: 34px;
  min-height: 88px;
  cursor: pointer;
  list-style: none;
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  color: var(--ink-black);
  font-variation-settings: "wdth" 100;
  gap: 16px;
  text-wrap: balance;
}

.faq-item__summary span {
  text-wrap: balance;
  flex: 1;
}

.faq-item__summary::-webkit-details-marker {
  display: none;
}

.faq-item__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__body {
  display: block;
  height: 0;
  overflow: hidden;
  padding: 0 32px;
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 22.4px;
  color: var(--muted-ink);
  font-variation-settings: "wdth" 100;
  transition: height 0.35s ease, padding-bottom 0.35s ease;
}

/* Fallback no-JS : ouvre instantanément */
.faq-item[open] .faq-item__body {
  height: auto;
  padding-bottom: 24px;
}

/* -----------------------------------------------------------------------------
   16.5. Legal pages (politique de confidentialité, conditions, etc.)
   -------------------------------------------------------------------------- */
.legal {
  background-color: var(--ink);
  color: var(--white);
  padding: 80px var(--section-px) 120px;
}

.legal__inner {
  max-width: 760px;
  margin: 0 auto;
}

.legal__title {
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -1.3px;
  margin-bottom: 12px;
  color: var(--white);
  font-variation-settings: "wdth" 100;
}

.legal__meta {
  font-family: var(--ff-sans);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 56px;
}

.legal__section {
  margin-bottom: 48px;
}

.legal__section h2 {
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--white);
  font-variation-settings: "wdth" 100;
}

.legal__section p {
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
  font-variation-settings: "wdth" 100;
}

.legal__section ul {
  margin: 16px 0 16px 24px;
  list-style: disc;
  padding-left: 8px;
}

.legal__section li {
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
  font-variation-settings: "wdth" 100;
}

.legal__section li::marker {
  color: var(--tan);
}

.legal__section a {
  color: var(--tan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal__section a:hover {
  color: var(--white);
}

.legal__section strong {
  color: var(--white);
  font-weight: 600;
}

@media (max-width: 1023px) {
  .legal {
    padding: 64px var(--section-px) 96px;
  }
  .legal__title {
    font-size: 36px;
    letter-spacing: -0.8px;
  }
  .legal__section h2 {
    font-size: 20px;
  }
}

@media (max-width: 640px) {
  .legal {
    padding: 48px 20px 80px;
  }
  .legal__title {
    font-size: 28px;
    letter-spacing: -0.5px;
  }
  .legal__meta {
    margin-bottom: 40px;
  }
  .legal__section {
    margin-bottom: 40px;
  }
  .legal__section h2 {
    font-size: 18px;
  }
  .legal__section p,
  .legal__section li {
    font-size: 15px;
  }
}

/* -----------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--ink-black);
  border-top: 10px solid var(--tan-2);
  padding: 80px var(--section-px);
  box-shadow: var(--shadow-footer);
  display: flex;
  justify-content: center;
}

.site-footer__inner {
  max-width: 692px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.site-footer__logo {
  width: 220px;
  aspect-ratio: 326.053 / 57.6926;
}

.site-footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  /* Logo footer en blanc, atténué */
  filter: brightness(0) invert(1);
  opacity: 0.5;
}

.site-footer__disclaimer {
  font-family: var(--ff-humanist);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.3;
  color: var(--disclaimer);
  text-align: center;
  white-space: pre-wrap;
}

.site-footer__disclaimer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__disclaimer a:hover {
  color: var(--white);
}

/* -----------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1440px) {
  :root {
    --section-px: 56px;
  }
  .hero__media {
    width: 100%;
    max-width: 953px;
    height: auto;
  }
  .service-card__media {
    width: 50%;
  }
  .service-card__content {
    min-width: 380px;
  }
  .faq__list {
    width: 55%;
  }
}

@media (max-width: 1200px) {
  .hero__title {
    font-size: 50px;
    letter-spacing: -1.35px;
  }
  .hero__title .accent {
    font-size: 50px;
    letter-spacing: -1.35px;
  }
  .services__title,
  .testimonials__title,
  .pricing__title {
    font-size: 44px;
    letter-spacing: -1.2px;
  }
  .services__title .accent,
  .testimonials__title .accent,
  .pricing__title .accent--lora {
    font-size: 44px;
  }
  .faq__title,
  .faq__title .accent--lora {
    font-size: 40px;
    line-height: 44px;
  }
}

@media (max-width: 1023px) {
  :root {
    --section-px: 32px;
    --section-py: 80px;
    --hero-bottom-stack: 196px; /* gap 56 + btn ~60 + hero padding-bottom 80 */
  }

  .site-header {
    padding: 32px 32px 0;
    gap: 24px;
  }

  .hero {
    padding: 40px 32px 80px;
  }
  .hero__title {
    font-size: 36px;
    letter-spacing: -0.8px;
  }
  .hero__title .accent {
    font-size: 36px;
    letter-spacing: -0.8px;
  }
  .hero__subtitle {
    font-size: 18px;
  }
  .hero__media {
    width: 100%;
    height: auto;
    border-radius: 0;
  }
  .hero__play {
    width: 96px;
    height: 96px;
  }

  .testimonials-top__grid {
    grid-template-columns: 1fr;
  }

  .services__header,
  .pricing__inner,
  .faq__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Témoignages : on extrait le contenu du header pour mettre le bouton APRÈS les cartes
     (header-left → grid → bouton) via display: contents + order */
  .testimonials__header {
    display: contents;
  }
  .testimonials__header-left {
    order: 1;
  }
  .testimonials__grid {
    order: 2;
  }
  .testimonials__header .btn {
    order: 3;
    align-self: flex-start;
  }

  .services__title,
  .testimonials__title,
  .pricing__title {
    font-size: 36px;
    letter-spacing: -0.8px;
  }
  .services__title .accent,
  .testimonials__title .accent,
  .pricing__title .accent--lora {
    font-size: 36px;
  }

  .service-card {
    flex-direction: column;
    min-height: auto;
  }
  .service-card__content {
    min-width: 0;
    width: 100%;
    padding: 32px;
    min-height: auto;
  }
  .service-card__media {
    width: calc(100% - 16px);
    margin: 0 8px 8px;
    height: 240px;
  }
  .service-card__body {
    margin-top: 24px;
  }

  .testimonials__grid {
    grid-template-columns: 1fr 1fr;
  }

  .for-you-card {
    flex-direction: column;
    padding: 64px 32px 56px;
    gap: 32px;
    min-height: 0;
  }
  /* display: contents → top + bouton remontent au niveau de la flex parent,
     ce qui permet de mettre le bouton en bas (après les bullets) via `order` */
  .for-you-card__left {
    display: contents;
  }
  .for-you-card__top {
    order: 1;
  }
  .for-you-card__list {
    order: 2;
    width: 100%;
  }
  .for-you-card .for-you-card__left .btn {
    order: 3;
    margin-top: 24px;
  }

  /* Sur tablette/mobile : layout column avec photo en bas */
  .message__card {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    min-height: auto;
  }
  .message__card::before {
    display: none;
  }
  .message__content {
    padding: 48px 32px 40px;
    max-width: none;
  }
  .message__image {
    position: relative;
    inset: auto;
    z-index: auto;
    width: 100%;
    height: 440px;
    border-radius: var(--r-md) var(--r-md) 0 0;
  }
  .message__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-position: center top;
  }
  .message__quote {
    font-size: 22px;
    line-height: 28px;
  }

  .pricing__inner {
    gap: 48px;
    align-items: center;
  }
  .pricing__left {
    align-items: flex-start;
  }
  /* Flèche verticale dédiée sur tablette/mobile — on cache la version desktop */
  .pricing__illustration {
    width: 120px;
    height: auto;
    aspect-ratio: auto;
    margin: 0 auto;
    padding-bottom: 32px;
    overflow: visible;
  }
  .pricing__illustration-img--desktop {
    display: none;
  }
  .pricing__illustration-img--mobile {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: scaleX(-1);
  }
  .pricing-card {
    width: 100%;
    max-width: 514px;
  }

  .faq__inner {
    gap: 48px;
  }
  .faq__list {
    width: 100%;
  }
  .faq__title,
  .faq__title .accent--lora {
    font-size: 36px;
    line-height: 40px;
  }
}

@media (max-width: 640px) {
  :root {
    --section-px: 20px;
    --section-py: 64px;
    --hero-bottom-stack: 148px; /* gap 56 + btn ~52 + hero padding-bottom 40 */
  }

  /* Header */
  .site-header {
    padding: 48px 20px 0;
    gap: 12px;
  }
  .site-header__logo {
    width: 220px;
  }

  /* Hero */
  .hero {
    padding: 52px 20px 40px;
  }
  .hero__inner {
    gap: 40px;
  }
  .hero__title-wrap {
    gap: 24px;
  }
  .hero__title,
  .hero__title .accent {
    font-size: 30px;
    letter-spacing: -0.5px;
    line-height: 1.2;
  }
  .hero__subtitle {
    font-size: 15px;
  }
  /* Pas de retour à la ligne forcé sur mobile — laisse le texte flow */
  .hero__subtitle br {
    display: none;
  }
  .hero__play {
    width: 64px;
    height: 64px;
  }
  .btn--primary-large {
    padding: 16px 40px;
    font-size: 14px;
  }

  /* Testimonials-top — label en style badge ivory sur mobile (cohérent avec les autres tags) */
  .testimonials-top__label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    width: fit-content;
    margin: 0 auto 32px;
    background-color: var(--ivory);
    color: var(--ink);
    border-radius: var(--r-sm);
    text-transform: none;
    letter-spacing: -0.15px;
    font-size: 16px;
    line-height: 22.4px;
  }
  .testimonials-top__label-icon {
    display: block;
    width: 20px;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
  }
  .testimonial-card-ivory {
    padding: 24px;
    min-height: 0;
    gap: 16px;
  }
  .testimonial-card-ivory__quote {
    font-size: 16px;
  }

  /* Services */
  .services__inner,
  .testimonials__inner,
  .for-you__inner,
  .faq__inner,
  .pricing__inner {
    gap: 40px;
  }
  .services__title,
  .testimonials__title,
  .pricing__title {
    font-size: 36px;
    letter-spacing: -0.8px;
  }
  .services__title .accent,
  .testimonials__title .accent,
  .pricing__title .accent--lora {
    font-size: 36px;
  }
  .service-card__content {
    padding: 32px 20px 24px;
  }
  .service-card__title {
    font-size: 22px;
  }
  .service-card__media {
    height: 200px;
  }

  /* Testimonials main */
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
  .testimonial-card {
    aspect-ratio: auto;
    min-height: 300px;
    padding: 24px;
  }
  .testimonial-card__quote {
    font-size: 18px;
  }

  /* For-you cards */
  .for-you-card {
    padding: 52px 20px 48px;
    gap: 24px;
  }
  .for-you-card__left {
    gap: 2rem;
  }
  .for-you-card__top {
    gap: 24px;
  }
  .for-you-card__title {
    font-size: 22px;
  }

  /* Message d'Isabelle — mobile */
  .message {
    padding: 64px 20px;
  }
  .message__content {
    padding: 40px 24px 32px;
  }
  .message__image {
    height: 320px;
  }
  .message__quote {
    font-size: 18px;
    line-height: 1.4;
  }

  /* Pricing */
  .pricing {
    padding: 64px 20px;
  }
  .pricing__inner {
    gap: 24px;
  }
  /* Flèche verticale — taille ajustée pour mobile */
  .pricing__illustration {
    width: 80px;
    padding-bottom: 8px;
    margin-top: -68px;
    transform: translateX(36px);
  }
  .pricing-card {
    padding: 24px;
    border-radius: 20px;
  }
  .pricing-card__price {
    font-size: 44px;
  }
  .pricing-card__price-suffix {
    font-size: 24px;
  }

  /* FAQ */
  .faq {
    padding: 80px 20px;
  }
  .faq__title,
  .faq__title .accent--lora {
    font-size: 32px;
    line-height: 36px;
  }
  .faq-item {
    border-radius: 20px;
  }
  .faq-item__summary {
    font-size: 15px;
    padding: 20px 22px;
    padding-right: 24px;
    min-height: 60px;
    gap: 12px;
  }
  .faq-item__body {
    padding: 0 22px;
    font-size: 15px;
  }
  .faq-item[open] .faq-item__body {
    padding-bottom: 20px;
  }

  /* Footer */
  .site-footer {
    padding: 56px 20px;
  }
  .site-footer__logo {
    width: 180px;
  }
  .site-footer__disclaimer {
    font-size: 12px;
  }
}

/* Very narrow screens (small phones) */
@media (max-width: 380px) {
  .site-header__logo {
    width: 200px;
  }
  .hero__title,
  .hero__title .accent {
    font-size: 26px;
  }
  .hero__play {
    width: 56px;
    height: 56px;
  }
  .services__title,
  .testimonials__title,
  .pricing__title,
  .services__title .accent,
  .testimonials__title .accent,
  .pricing__title .accent--lora {
    font-size: 30px;
  }
  .faq__title,
  .faq__title .accent--lora {
    font-size: 28px;
    line-height: 32px;
  }
}
