@import url("https://fonts.googleapis.com/css2?family=Inclusive+Sans:ital,wght@0,300..700;1,300..700&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap");

:root {
  --container-pad-x: 60px;
  --max-width-container: 1600px;

  /***** COULEUR NEUTRE *****/
  --color-neutral-0: #ffffff;
  --color-neutral-50: #fafafa;
  --color-neutral-100: #f2f2f2;
  --color-neutral-150: #e5e5e5;
  --color-neutral-200: #d9d9d9;
  --color-neutral-300: #bfbfbf;
  --color-neutral-400: #a6a6a6;
  --color-neutral-500: #8c8c8c;
  --color-neutral-600: #737373;
  --color-neutral-700: #595959;
  --color-neutral-800: #262626;
  --color-neutral-900: #000000;

  /***** COULEUR TURQUOISE *****/
  --color-turquoise-50: #f7fcfc;
  --color-turquoise-100: #f0f9f9;
  --color-turquoise-150: #e8f6f5;
  --color-turquoise-200: #e0f3f2;
  --color-turquoise-300: #d1ecec;
  --color-turquoise-400: #c2e6e5;
  --color-turquoise-500: #66c1bf;
  --color-turquoise-600: #5caeac;
  --color-turquoise-700: #529a99;
  --color-turquoise-800: #478786;
  --color-turquoise-900: #3d7473;

  /***** COULEUR PURPLE *****/
  --color-purple-50: #f6f4f9;
  --color-purple-100: #ede9f3;
  --color-purple-150: #e4deec;
  --color-purple-200: #dad4e6;
  --color-purple-300: #c8beda;
  --color-purple-400: #b6a8cd;
  --color-purple-500: #482683;
  --color-purple-600: #412276;
  --color-purple-700: #3a1e69;
  --color-purple-800: #321b5c;
  --color-purple-900: #2b174f;

  /***** ALIAS (facilite le theming) *****/
  --brand-500: var(--color-turquoise-500);
  --accent-500: var(--color-purple-500);

  /***** SPACE *****/
  --space-0: 0;
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-s: 12px;
  --space-m: 16px;
  --space-1m: 20px;
  --space-l: 24px;
  --space-xl: 32px;
  --space-1xl: 40px;
  --space-2xl: 48px;
  --space-2_5xl: 56px;
  --space-3xl: 64px;
  --space-3_5xl: 80px;
  --space-4xl: 96px;
  --space-4_5xl: 120px;
  --space-5xl: 128px;
  --space-5_5xl: 160px;
  --space-6xl: 192px;
  --space-7xl: 256px;

  /***** RADIUS *****/
  --radius-0: 0;
  --radius-xs: 4px;
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 16px;
  --radius-xl: 24px;

  /***** SHADOWS *****/
  --shadow-xs: 0px 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-s: 0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-m: 0px 4px 6px rgba(0, 0, 0, 0.1), 0px 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-l: 0px 10px 15px rgba(0, 0, 0, 0.1), 0px 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0px 20px 25px rgba(0, 0, 0, 0.1),
    0px 10px 10px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0px 25px 50px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0px 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-none: none;

  /***** TOKENS *****/
  --text-primary: var(--color-neutral-900);
  --text-secondary: var(--color-neutral-800);
  --text-inverse: var(--color-neutral-0);
  --text-brand: var(--color-purple-500);

  --bg-primary: var(--color-neutral-0);
  --bg-secondary: var(--color-neutral-100);
  --bg-inverse: var(--color-purple-50);
  --bg-brand: var(--color-purple-100);
  --bg-accent: var(--color-turquoise-50);

  --border-primary: var(--color-neutral-0);
  --border-secondary: var(--color-turquoise-500);

  --btn-bg: var(--color-turquoise-500);
  --btn-bg-hover: var(--color-turquoise-300);
  --btn-fg: var(--color-neutral-900);
  --btn-fg-hover: var(--color-neutral-900);
  --btn-border: 0;
  --btn-border-hover: var(--btn-border);
  --btn-h: 48px;
  --btn-r: 16px;

  /***** TYPOGRAPHY *****/
  --font-family: "JetBrains Mono", monospace;
  --font-family-alt: "Inclusive Sans", system-ui, -apple-system, "Segoe UI",
    Roboto, sans-serif;

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Headings (ex-image : 105%, 110%, …) */
  --lh-heading-1: 1.05;
  /* 105% */
  --lh-heading-2: 1.1;
  /* 110% */
  --lh-heading-3: 1.15;
  /* 115% */
  --lh-heading-4: 1.2;
  /* 120% */
  --lh-heading-5: 1.25;
  /* 125% */
  --lh-heading-6: 1.3;
  /* 130% */

  /* Body */
  --lh-lead: 1.4;
  /* 140% */
  --lh-body-L: 1.45;
  /* 145% */
  --lh-body: 1.5;
  /* 150% */
  --lh-body-S: 1.6;
  /* 160% */
  --lh-fine-print: 1.7;
  /* 170% */

  /* UI */
  --lh-button: 1.2;
  /* 120% */
  --lh-nav: 1.2;
  /* 120% */

  --ls-heading-1: -0.02em;
  --ls-heading-2: -0.015em;
  --ls-heading-3: -0.01em;
  --ls-heading-4: -0.003em;
  --ls-heading-5: -0.0015em;
  --ls-heading-6: -0.005em;

  --ls-lead: 0em;
  --ls-body-L: 0.003em;
  --ls-body: 0em;
  --ls-body-S: 0.003em;
  --ls-fine-print: 0.02em;

  --ls-button: 0.005em;
  --ls-nav: 0.01em;

  --ls--2: -0.02em;
  --ls--1_5: -0.015em;
  --ls--1: -0.01em;
  --ls--0_5: -0.005em;
  --ls--0_3: -0.003em;
  --ls--0_15: -0.0015em;
  --ls-0: 0em;
  --ls-0_3: 0.003em;
  --ls-0_5: 0.005em;
  --ls-1: 0.01em;
  --ls-2: 0.02em;

  /***** TYPOGRAPHY DESKTOP *****/
  --font-size-heading-1: 90px;
  --font-size-heading-2: 72px;
  --font-size-heading-3: 58px;
  --font-size-heading-4: 46px;
  --font-size-heading-5: 37px;
  --font-size-heading-6: 30px;

  --font-size-lead: 25px;
  --font-size-body-L: 20px;
  --font-size-body: 16px;
  --font-size-body-S: 13px;
  --font-size-fine-print: 10px;

  --font-size-nav: 16px;

  --font-size-button: 16px;
}

/***** TYPOGRAPHY Tablette *****/
@media (max-width: 1024px) {
  :root {
    --font-size-heading-1: 67px;
    --font-size-heading-2: 58px;
    --font-size-heading-3: 46px;
    --font-size-heading-4: 37px;
    --font-size-heading-5: 30px;
    --font-size-heading-6: 24px;

    --font-size-lead: 24px;
    --font-size-body-L: 19px;
    --font-size-body: 15px;
    --font-size-body-S: 12px;
    --font-size-fine-print: 10px;

    --font-size-nav: 13px;
    --font-size-button: 15px;
  }
}

/***** TYPOGRAPHY Mobile *****/
@media (max-width: 640px) {
  :root {
    --font-size-heading-1: 38px;
    --font-size-heading-2: 30px;
    --font-size-heading-3: 37px;
    --font-size-heading-4: 30px;
    --font-size-heading-5: 24px;
    --font-size-heading-6: 19px;

    --font-size-lead: 22px;
    --font-size-body-L: 18px;
    --font-size-body: 14px;
    --font-size-body-S: 11px;
    --font-size-fine-print: 9px;

    --font-size-nav: 11px;
    --font-size-button: 13px;
  }
}

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

/***** GLOBAL STYLES *****/
html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100vw;
  height: 100vh;
}

/* Applique ce padding intelligent aux sections principales */
.section__highlight,
.section__highlight--secondary,
.section__about,
.section__missions,
.pricing-section,
.section__contact,
.section__footer {
  padding-top: var(--space-5_5xl);
  padding-bottom: var(--space-5_5xl);
  /* Cette formule calcule automatiquement l'espace nécessaire pour centrer le contenu */
  padding-inline: max(
    var(--container-pad-x),
    calc((100% - var(--max-width-container)) / 2)
  );
}

/* Text reveal — base */
[data-reveal] {
  overflow: hidden;
}

.reveal-word {
  display: inline-block;
  transform: translate3d(0, 1em, 0);
  opacity: 0;
  will-change: transform, opacity;
}

/********** ACCESSIBILITY **********/
.sr-only {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px !important;
  left: -9999px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  top: auto !important;
  width: 1px !important;
  white-space: nowrap !important;
}

/* Lien d’évitement : caché hors focus, visible au clavier */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10000;
}
.skip-link:focus {
  left: var(--container-pad-x, 60px);
  top: 8px;
  width: auto;
  height: auto;
  padding: 0.5rem 0.75rem;
  background: #000;
  color: #fff;
  border-radius: 0.375rem;
}

/********** NAVBAR **********/
.navbar {
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-l);
  backdrop-filter: blur(64px);
  -webkit-backdrop-filter: blur(64px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-s) var(--space-l);
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - (var(--container-pad-x) * 2));
  max-width: var(--max-width-container);
  z-index: 1000;
  margin-top: 24px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 100px;
  height: 68px;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-family: var(--font-family-alt);
  font-size: var(--font-size-nav);
  font-weight: var(--font-weight-semibold);
  line-height: var(--lh-nav);
  letter-spacing: var(--ls-nav);
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: var(--color-turquoise-500);
}

.nav-link[aria-current="true"] {
  color: var(--color-turquoise-500);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--space-xl);
}

.nav-item {
  margin: 0;
}

/* Bouton burger */
.nav-toggle {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  inline-size: 44px;
  block-size: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  inline-size: 22px;
  block-size: 2px;
  background: currentColor;
  margin: 3px 0;
  border-radius: 1px;
}

/* Mobile : menu déroulant accessible */
@media (max-width: 1024px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-right {
    position: absolute;
    top: calc(100% + 12px);
    left: var(--container-pad-x, 60px);
    right: var(--container-pad-x, 60px);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-m);
    padding: var(--space-l);
    display: none;
  }
  .navbar.navbar--open .nav-right {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    gap: var(--space-l);
  }
}

/********** HERO **********/
.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-1xl);
  padding: var(--space-5xl) var(--space-3xl);
  background-image: url("/img/pexels-shkrabaanthony-5215000-2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

@media (max-width: 1024px) {
  .hero {
    padding: var(--space-4xl) var(--space-xl);
  }

  .hero__content {
    width: 100%;
    max-width: 680px;
  }

  .hero__subtitle {
    max-width: 100%;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    gap: var(--space-l);
  }
}

/***** HERO CONTENT *****/
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  max-width: 1158px;
  position: relative;
  z-index: 1;
}

/* Overlay gradient par-dessus l'image de fond */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--color-neutral-900),
    var(--color-purple-500)
  );
  opacity: var(--hero-overlay-opacity, 0.55);
  pointer-events: none;
  z-index: 0;
}

.hero__title {
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-heading-1);
  line-height: var(--lh-heading-1);
  letter-spacing: var(--ls-heading-1);
  text-transform: uppercase;
  color: var(--text-inverse);
  margin: 0;
}

.hero__subtitle {
  font-family: var(--font-family-alt);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--text-inverse);
  max-width: 644px;
}

.hero__actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-xl);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .hero {
    padding: var(--space-3xl) var(--space-m);
  }

  .hero__content {
    gap: var(--space-l);
  }

  .hero__actions {
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/***** BOUTON *****/
.btn {
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.12);
  border: var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  height: var(--btn-h);
  padding: var(--space-s) var(--space-l);
  border-radius: var(--btn-r);
  display: inline-flex;
  align-items: center;
  gap: var(--space-m);
  text-decoration: none;
  font-family: var(--font-family-alt);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-button);
  letter-spacing: var(--ls-button);
  line-height: var(--lh-button);
  text-align: center;
  cursor: pointer;
  transition: background-color 250ms ease, color 250ms ease,
    border-color 250ms ease, transform 150ms ease;
}

.btn:hover {
  background: var(--btn-bg-hover);
  color: var(--btn-fg-hover);
  border: var(--btn-border-hover);
}

.btn:focus-visible {
  outline: 2px solid var(--btn-fg);
  outline-offset: 2px;
}

.btn__icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  overflow: hidden;
}

.btn__icon {
  width: 24px;
  height: 24px;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn__icon--clone {
  transform: translateX(-100%);
  opacity: 0;
}

.btn:hover .btn__icon--main {
  transform: translateX(100%);
  opacity: 0;
}

.btn:hover .btn__icon--clone {
  transform: translateX(0);
  opacity: 1;
}

/* Variantes de bouton */
.btn-primary {
  --btn-bg: var(--color-turquoise-500);
  --btn-bg-hover: var(--color-turquoise-300);
  --btn-fg: var(--color-neutral-900);
  --btn-fg-hover: var(--color-neutral-900);
  --btn-border: 0;
  --btn-border-hover: 0;
}

.btn[disabled],
.btn.disabled {
  background-color: var(--color-neutral-300);
  color: var(--color-neutral-500);
  cursor: not-allowed;
  box-shadow: none;
  pointer-events: none;
}

.btn-secondary {
  --btn-bg: rgba(102, 193, 191, 0.1);
  --btn-bg-hover: var(--color-turquoise-100);
  --btn-fg: var(--color-turquoise-700);
  --btn-fg-hover: var(--color-turquoise-800);
  --btn-border: 2px solid var(--color-turquoise-600);
  --btn-border-hover: 2px solid var(--color-turquoise-700);
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
}

/********** HIGHLIGHT PRIMARY **********/
.section__highlight {
  width: 100vw;
  display: flex;
  text-align: left;
}

.highlight__content {
  padding: var(--space-7xl) 0;
}

.highlight__title {
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-heading-2);
  line-height: var(--lh-heading-2);
  letter-spacing: var(--ls-heading-2);
  text-transform: uppercase;
  color: var(--text-primary);
  max-width: 869px;
}

@media (max-width: 640px) {
  .section__highlight {
    padding: var(--space-3xl) var(--space-m);
  }
}

/********** ABOUT **********/
.section__about {
  width: 100vw;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "title title title title title title"
    ".     .     body  body  body  ."
    "media media media media media media";
  column-gap: var(--space-xl);
  row-gap: var(--space-2xl);
  align-items: start;
  background: var(--bg-inverse);
}

@media (max-width: 640px) {
  .section__about {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    align-items: flex-start;
    padding: var(--space-3xl) var(--space-m);
  }
}

.about__title {
  grid-area: title;
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-heading-2);
  line-height: var(--lh-heading-2);
  letter-spacing: var(--ls-heading-2);
  text-transform: uppercase;
  color: var(--text-brand);
}

.about__content {
  grid-column: 3 / 6;
  /* colonnes 3 à 5 */
  grid-row: 2;
  display: grid;
  gap: var(--space-xl);
  max-width: 680px;
}

.about__text {
  font-family: var(--font-family-alt);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--text-secondary);
}

.about__media {
  grid-column: 3 / 6;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  background: var(--color-neutral-0);
  border: 1px solid var(--color-neutral-150);
  box-shadow: var(--shadow-s);
  overflow: hidden;
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Grille: 6 colonnes, 3 lignes (titre, body, media) */

/********** HIGHLIGHT SECONDARY **********/
.section__highlight--secondary {
  width: 100vw;
  display: flex;
  text-align: left;
  justify-content: flex-end;
}

.highlight__content {
  padding: var(--space-7xl) 0;
}

.highlight__title {
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-heading-2);
  line-height: var(--lh-heading-2);
  letter-spacing: var(--ls-heading-2);
  text-transform: uppercase;
  color: var(--text-primary);
  max-width: 869px;
}

@media (max-width: 640px) {
  .section__highlight--secondary {
    padding: var(--space-3xl) var(--space-m);
  }
}

/********** MISSIONS **********/

.section__missions {
  background: linear-gradient(
    to bottom,
    var(--color-purple-100),
    var(--color-purple-300)
  );
}

.missions__title {
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-heading-2);
  line-height: var(--lh-heading-2);
  letter-spacing: var(--ls-heading-2);
  text-transform: uppercase;
  color: var(--text-brand);
  text-align: center;
}

.section-missions__grid {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-xl);
  margin-top: var(--space-2_5xl);
  margin-bottom: var(--space-3xl);
}

.mission-card {
  max-width: 306px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: var(--space-l);
  gap: var(--space-m);
}

.mission-card__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.mission-card__body {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-s);
}

.mission-card__title {
  font-family: var(--font-family-alt);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body-L);
  line-height: var(--lh-body-L);
  letter-spacing: var(--ls-body-L);
  color: var(--text-primary);
}

.mission-card__description {
  font-family: var(--font-family-alt);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body-S);
  line-height: var(--lh-body-S);
  letter-spacing: var(--ls-body-S);
  color: var(--text-secondary);
}

.missions__img {
  width: 100%;
  position: relative;
  border-radius: var(--radius-xl);
  max-width: 100%;
  overflow: hidden;
  max-height: 620px;
  object-fit: cover;
}

@media (max-width: 640px) {
  .section__missions {
    padding: var(--space-3xl) var(--space-m) var(--space-5xl);
  }

  .section-missions__grid {
    flex-direction: column;
    gap: var(--space-3xl);
  }

  .mission-card {
    max-width: 100%;
  }
}

/********** TARIFS **********/

.pricing-section {
  background: linear-gradient(180deg, #f3eff9, var(--color-neutral-0));
}

.pricing-section__title {
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-heading-2);
  line-height: var(--lh-heading-2);
  letter-spacing: var(--ls-heading-2);
  text-transform: uppercase;
  color: var(--text-brand);
}

.pricing-section__lead {
  font-family: var(--font-family-alt);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--text-secondary);
}

.pricing-section__benefits {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0px;
  text-align: left;
  margin-top: var(--space-2_5xl);
  margin-bottom: var(--space-4xl);
}

.pricing-benefit {
  width: 272px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-m);
}

.pricing-benefit__icon {
  width: 48px;
  height: 48px;
}

.pricing-benefit__text {
  font-family: var(--font-family-alt);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--text-secondary);
  text-align: left;
}

/***** CARDS *****/
.pricing-section__plans {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: var(--space-xl);
}

.card {
  width: min(420px, 90vw);
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  box-sizing: border-box;
  box-shadow: var(--shadow-xl);
  border: 2px solid #fff;
  padding: var(--space-m);
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  backdrop-filter: blur(64px);
  -webkit-backdrop-filter: blur(64px);
  align-items: stretch;
}

/********** MISE EN AVANT OFFRE STAR (Clé en main) **********/
.pricing-section__plans .card:first-child {
  border: 2px solid var(--color-purple-500);
  box-shadow: 0 25px 50px -12px rgba(72, 38, 131, 0.3);
}

.badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: var(--radius-m);
  border: 1px var(--accent-500) solid;
  padding: 4px 12px;
  font-family: var(--font-family-alt);
  font-size: var(--font-size-body-S);
  line-height: var(--lh-body-S);
  letter-spacing: var(--ls-body-S);
  font-weight: var(--font-weight-regular);
  text-transform: uppercase;
  color: var(--accent-500);
  width: auto;
  align-self: flex-start;
}

.price {
  display: flex;
  flex-direction: column;
}

.price__row {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
}

.price__value {
  font-family: var(--font-family);
  font-size: var(--font-size-heading-4);
  font-weight: var(--font-weight-semibold);
  line-height: var(--lh-heading-4);
  letter-spacing: var(--ls-heading-4);
  color: var(--accent-500);
}

.price__unit {
  font-family: var(--font-family-alt);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--accent-500);
  opacity: 50%;
}

.price__note {
  font-family: var(--font-family-alt);
  font-size: var(--font-size-body-S);
  font-weight: var(--font-weight-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--accent-500);
  opacity: 50%;
}

.desc {
  font-family: var(--font-family-alt);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--text-secondary);
}

.features {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: var(--space-2xs);
  font-family: var(--font-family-alt);
  font-size: var(--font-size-body-S);
  line-height: var(--lh-body-S);
  letter-spacing: var(--ls-body-S);
  color: var(--text-secondary);
  list-style: none;
  flex-grow: 1;
}

.feature {
  align-self: stretch;
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

.feature__icon {
  width: 21px;
  height: 21px;
  color: var(--accent-500);
  flex-shrink: 0;
  display: block;
  overflow: visible;
}

.btn__pricing {
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.12);
  border: var(--btn-border);
  background: var(--btn-bg);
  color: var(--text-primary);
  height: var(--btn-h);
  padding: 12px 24px 12px 24px;
  border-radius: var(--btn-r);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--font-family-alt);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-button);
  line-height: var(--lh-button);
  letter-spacing: var(--ls-button);
  text-align: left;
  cursor: pointer;
  transition: background-color 250ms ease, color 250ms ease,
    border-color 250ms ease, transform 150ms ease;
  align-self: flex-start;
}

.pricing-section__plans .btn__pricing {
  margin-top: auto;
}

.btn:hover {
  background: var(--btn-bg-hover);
  color: var(--btn-fg-hover);
  border: var(--btn-border-hover);
}

.btn:focus-visible {
  outline: 2px solid var(--btn-fg);
  outline-offset: 2px;
}

.btn__icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  overflow: hidden;
}

.btn__icon {
  width: 24px;
  height: 24px;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-section__info-text {
  font-family: var(--font-family-alt);
  font-size: var(--font-size-body-S);
  font-weight: var(--font-weight-regular);
  line-height: var(--lh-body-S);
  letter-spacing: var(--ls-body-S);
  color: var(--text-secondary);
  margin-top: var(--space-1xl);
}

@media (max-width: 640px) {
  .pricing-section {
    padding: var(--space-5xl) var(--space-m) var(--space-5xl);
  }

  .pricing-section__benefits {
    flex-direction: column;
    gap: var(--space-l);
  }

  .pricing-benefit {
    width: 100%;
    /* flex-direction: row; */
    /* align-items: center; */
    text-align: left;
  }

  .pricing-section__plans {
    flex-direction: column;
    gap: var(--space-3xl);
  }
}

/********** CONTACT **********/

.section__contact {
  background-color: var(--color-purple-100);
}

/********** CONTACT — MOBILE **********/
@media (max-width: 640px) {
  /* Respire sur les côtés comme ta maquette */
  .section__contact {
    padding: var(--space-5xl) var(--space-m) var(--space-5xl);
  }

  /* Colonne unique + gaps réguliers */
  .contact__form {
    max-width: 560px;
    margin: 0 auto;
  }

  .fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .field {
    grid-column: 1 / -1;
  }

  /* Dernière rangée en pile (Message, RGPD, Bouton) */
  .row-last {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: stretch;
  }

  /* Colonne de droite : corrige la var manquante et espace bien */
  .col-right {
    display: grid;
    grid-auto-rows: min-content;
    /* gap: var(--space-l); */
    align-content: start;
  }

  /* Champs full width */
  .input,
  select,
  textarea {
    width: 100%;
  }

  /* RGPD lisible */
  .rgpd {
    align-items: flex-start;
    gap: var(--space-s);
  }

  .rgpd input {
    margin-top: 2px;
  }

  /* Bouton plein large et centré */
  .actions {
    width: 100%;
  }

  .actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Hauteur mini du message comme sur le mockup */
  .field.message textarea {
    min-height: 160px;
  }
}

.contact__title {
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-heading-2);
  line-height: var(--lh-heading-2);
  letter-spacing: var(--ls-heading-2);
  text-transform: uppercase;
  color: var(--text-brand);
  text-align: center;
}

.contact__text {
  font-family: var(--font-family-alt);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--text-secondary);
  max-width: 650px;
  margin: var(--space-m) auto var(--space-1xl) auto;
  text-align: center;
}

.contact__item {
  display: flex;
  width: 210px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-m);
}

.contact__info {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: var(--space-xl);
  align-self: stretch;
  margin-bottom: var(--space-4_5xl);
}

.contact__details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-s);
  align-self: stretch;
}

.contact__label {
  font-family: var(--font-family-alt);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-lead);
  line-height: var(--lh-lead);
  letter-spacing: var(--ls-lead);
  color: var(--text-secondary);
}

.contact__value {
  font-family: var(--font-family-alt);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--text-secondary);
}

.contact__form {
  width: 100%;
  max-width: 1094px;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.form__legend {
  font-family: var(--font-family-alt);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--space-xl);
  row-gap: var(--space-xl);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.field__label {
  font-family: var(--font-family-alt);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--text-secondary);
}

.input,
select,
textarea {
  font: 400 16px/1.2 "Inclusive Sans", system-ui, sans-serif;
  color: var(--fg);
  border: 1px solid var(--color-neutral-900);
  background-color: transparent;
  border-radius: var(--radius-m);
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

.input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15);
}

/* Select avec flèche custom */
select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>');
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px 20px;
  padding-right: 44px;
}

/* ✅ Message ne dépasse pas le bouton */
.row-last {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: stretch;
}

.field.message {
  display: grid;
  grid-template-rows: auto 1fr;
}

/* label + textarea qui remplit */
.field.message textarea {
  height: 100%;
  min-height: 0;
  resize: vertical;
}

.col-right {
  display: grid;
  grid-auto-rows: min-content;
  gap: var(--section-gap);
  align-content: start;
}

/* Zone RGPD */
.rgpd {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rgpd input {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

/* ✅ Bouton (reprend exactement le même code que tes CTA) */
.actions {
  display: flex;
  justify-content: flex-start;
  align-items: start;
  padding-top: var(--space-3xl);
}

/***** FORMULAIRE : ÉTATS & FEEDBACK *****/

/* 1. Le petit texte d'erreur sous chaque champ (client-side) */
.error-text {
  color: #d32f2f; /* Rouge standard pour les erreurs */
  font-family: var(--font-family-alt);
  font-size: var(--font-size-body-S);
  font-weight: var(--font-weight-medium);
  margin-top: var(--space-xs);
  display: block;
  min-height: 0; /* Évite les sauts inattendus */
}

/* 2. Le message global de statut (envoyé par le PHP) */
#form-status,
#form-errors {
  padding: var(--space-m);
  border-radius: var(--radius-m);
  margin-bottom: var(--space-xl);
  font-family: var(--font-family-alt);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-body);
  line-height: var(--lh-body);
}

/* Style pour l'ERREUR (Rouge) */
.status-error {
  background-color: #fdecea; /* Fond rouge très pâle */
  color: #c62828; /* Texte rouge foncé */
  border: 1px solid #ef9a9a;
}

/* Style pour le SUCCÈS (Vert/Turquoise de ta marque) */
.status-success {
  background-color: var(--color-turquoise-50);
  color: var(--color-turquoise-900);
  border: 1px solid var(--color-turquoise-200);
}

/***** GESTION DES ERREURS FORMULAIRE *****/

/* On cible UNIQUEMENT les champs marqués explicitement comme invalides par le JS */
.input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #d32f2f !important; /* Rouge */
  background-color: #fdf2f2; /* Fond très légèrement rouge */
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

/* Effet au focus sur un champ en erreur */
.input[aria-invalid="true"]:focus,
select[aria-invalid="true"]:focus,
textarea[aria-invalid="true"]:focus {
  border-color: #d32f2f !important;
  box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.15) !important;
}

/* Le texte d'erreur */
.error-text {
  color: #d32f2f;
  font-size: var(--font-size-body-S);
  margin-top: 4px;
  display: block;
  min-height: 0;
}

/***** CORRECTION MESSAGE & POP-UP *****/

/* 1. CONFIGURATION DE BASE (Pour ne jamais casser la grille) */
#form-status,
#form-errors {
  grid-column: 1 / -1; /* CRUCIAL : Prend toute la largeur de la grille */
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-family-alt);
  font-weight: var(--font-weight-medium);
}

/* Cache visuellement si vide ou classe sr-only présente */
#form-errors.sr-only,
#form-status.sr-only {
  display: none;
}

/* 2. STYLE ERREUR (Rouge) */
#form-status.status-error,
#form-errors.status-error {
  margin-bottom: var(--space-m);
  padding: var(--space-m);
  border-radius: var(--radius-m);
  background-color: #fdecea;
  color: #c62828;
  border: 1px solid #ef9a9a;
  animation: slideDown 0.3s ease-out;
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 3. STYLE SUCCÈS (Pop-up Design Odélis) */
#form-status.status-success {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  margin: 0;
  border-radius: 0;
  background-color: rgba(22, 10, 40, 0.6); 
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: none;
  padding: 20px;
}

#form-status.status-success::before {
  display: none;
}

.popup-card {
  position: relative;
  background-color: var(--color-neutral-0);
  width: min(460px, 100%);
  padding: 48px 32px;
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--color-neutral-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* --- Éléments internes (identiques à avant) --- */

.popup-icon-wrapper {
  width: 80px;
  height: 80px;
  background-color: var(--color-turquoise-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-turquoise-500);
  margin-bottom: 8px;
  flex-shrink: 0;
}

.popup-title {
  font-family: var(--font-family);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-purple-500);
  margin: 0;
  line-height: 1.1;
}

.popup-message {
  font-family: var(--font-family-alt);
  font-size: 18px;
  color: var(--text-secondary);
  margin: 0;
}

.popup-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  color: var(--color-neutral-400);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
  display: flex;
}

.popup-close-btn:hover {
  color: var(--color-purple-500);
}

/********** FOOTER **********/
.section__footer {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
  padding-inline: max(
    var(--container-pad-x),
    calc((100% - var(--max-width-container)) / 2)
  );
  background: var(--color-neutral-50);
  border-top: 1px solid var(--color-neutral-150);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  color: var(--text-secondary);
}

.footer__top {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.footer__info {
  display: flex;
  /* flex-direction: row; */
  align-items: flex-start;
  justify-content: flex-start;
  gap: var(--space-2xl);
  margin-left: auto;
  /* flex-wrap: wrap; */
}

.footer__logo {
  width: clamp(140px, 16vw, 180px);
  max-width: 100%;
  height: auto;
  display: block;
}

.footer__nav {
  flex: 1 1 200px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
}

.footer__link {
  font-family: var(--font-family-alt);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--color-turquoise-500);
}

.footer__social {
  flex: 1 1 200px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
}

.footer__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-neutral-0);
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
  transition: transform 200ms ease, background-color 200ms ease,
    color 200ms ease;
}

.footer__icon:hover,
.footer__icon:focus-visible {
  transform: translateY(-2px);
  background: var(--color-purple-50);
  color: var(--accent-500);
  outline: 2px solid transparent;
}

.footer__icon:focus-visible {
  outline-color: var(--accent-500);
  outline-offset: 2px;
}

.footer__icon img {
  width: 22px;
  height: 22px;
}

.footer__line {
  align-self: stretch;
  position: relative;
  border-top: 1px solid var(--color-neutral-900);
  box-sizing: border-box;
  height: 1px;
  gap: var(--space-2xl);
  margin: var(--space-2xl) 0;
}

.footer__content {
  font-family: var(--font-family-alt);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body-S);
  line-height: var(--lh-body-S);
  letter-spacing: var(--ls-body-S);
  color: var(--text-secondary);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.footer__bottom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.footer__text {
  display: inline-block;
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: var(--space-l);
  flex-wrap: wrap;
}

.footer__legal-link {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease;
}

.footer__legal-link:hover,
.footer__legal-link:focus-visible {
  color: var(--color-turquoise-500);
}

@media (max-width: 1024px) {
  .section__footer {
    padding: var(--space-3_5xl) var(--space-2xl);
  }

  .footer__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__info {
    margin-left: 0;
    width: 100%;
  }

  .footer__nav,
  .footer__social {
    flex: 1 1 240px;
  }
}

@media (max-width: 640px) {
  .section__footer {
    padding: var(--space-3xl) var(--space-xl);
  }

  .footer__info {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .footer__social {
    flex-direction: row;
    align-items: center;
    gap: var(--space-m);
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-m);
  }

  .footer__legal {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-s);
  }
}
