/* ==========================================================================
   Reborneo — site vitrine
   Feuille de style unique, écrite à la main. Aucun framework CSS.
   Sommaire :
     1.  Variables & bases
     2.  En-tête et navigation
     3.  Hero
     4.  Espaces (Entraînement / Habitude / Alimentation)
     5.  Utilisations
     6.  Abonnements particuliers
     7.  Offre professionnelle
     8.  Avis
     9.  FAQ
     10. Contact
     11. Appel à l’action final & pied de page
     12. Responsive
   ========================================================================== */

:root {
  --bg: #0b0a0f;
  --surface: #15131b;
  --surface-2: #1d1a25;
  --text: #f7f4ff;
  --muted: #a9a4b5;
  --line: rgba(255, 255, 255, 0.09);
  --purple: #9250ea;
  --purple-dark: #7b35d5;
  --purple-deep: #52208c;
  --red: #f04444;
  --blue: #3478f6;
  --green: #16a34a;
  --ink: #17141c;
  --paper: #faf9fc;
  --background: #0b0a0f;
  --foreground: #f7f4ff;
  --card: #15131b;
  --card-foreground: #f7f4ff;
  --popover: #15131b;
  --popover-foreground: #f7f4ff;
  --primary: #9250ea;
  --primary-foreground: #ffffff;
  --secondary: #1d1a25;
  --secondary-foreground: #f7f4ff;
  --muted-foreground: #a9a4b5;
  --border: rgba(255, 255, 255, 0.1);
  --ring: #9250ea;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 10, 15, 0.82);
  backdrop-filter: blur(18px);
}
.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  font-weight: 780;
  letter-spacing: -0.03em;
}
/* Le logo (symbole + nom) porte déjà le nom : il remplace le monogramme et le
   texte, il ne les accompagne pas. Sa hauteur est fixée à l'appel de logo() en
   PHP, d'où l'absence de `height` ici ; seul le petit écran la reprend. */
.brand-logo {
  display: block;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.desktop-nav a,
.login-link {
  color: #c7c1d1;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.desktop-nav a:hover,
.login-link:hover {
  color: white;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-cta {
  padding: 11px 16px;
  border-radius: 12px;
  background: var(--purple-dark);
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 8px 24px rgba(123, 53, 213, 0.25);
}
.mobile-menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: white;
}
.mobile-sheet {
  background: #0f0d14 !important;
  border-left-color: var(--line) !important;
  color: var(--text) !important;
}
.mobile-sheet-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
}
.mobile-nav a {
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
  font-weight: 650;
}
.mobile-nav-actions {
  margin-top: auto;
  display: grid;
  gap: 10px;
  padding: 18px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 118px;
}
.ambient {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
  pointer-events: none;
}
.ambient-one {
  background: var(--purple);
  top: -320px;
  left: 30%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 70px;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c7a6f6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.eyebrow::before {
  content: "";
  width: 21px;
  height: 2px;
  background: currentColor;
  border-radius: 4px;
}
.eyebrow-red {
  color: #ff7f7f;
}
.eyebrow-blue {
  color: #78a5ff;
}
.eyebrow-green {
  color: #5fd082;
}
.hero h1 {
  max-width: 680px;
  margin: 24px 0 22px;
  font-size: clamp(48px, 5.4vw, 76px);
  line-height: 0.99;
  letter-spacing: -0.06em;
  font-weight: 790;
}
.hero h1 span {
  color: #b47cfc;
}
.hero-copy > p {
  max-width: 620px;
  margin: 0;
  color: #b9b3c3;
  font-size: 18px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 760;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: white;
  box-shadow: 0 12px 32px rgba(123, 53, 213, 0.28);
}
.button-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: white;
}
.button-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  color: #8f899a;
  font-size: 12px;
}
.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-proof svg {
  color: #b47cfc;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-glow {
  position: absolute;
  inset: 12% 4%;
  background: radial-gradient(circle, rgba(146, 80, 234, 0.3), transparent 67%);
  filter: blur(45px);
}

/* Visuels de l'application : PNG détourés convertis en WebP, fond transparent. */
.capture {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
}
.capture-hero {
  max-width: 660px;
  transform: perspective(1400px) rotateY(-4deg) rotateX(1deg);
}

.section {
  padding: 118px 0;
}
.section-heading {
  max-width: 680px;
}
.section-heading-center {
  margin-inline: auto;
  text-align: center;
}
.section-heading-center .eyebrow {
  justify-content: center;
}
.section-heading h2,
.faq-grid h2,
.pro-intro h2,
.final-cta h2 {
  margin: 20px 0 16px;
  font-size: clamp(37px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 780;
}
.section-heading p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.spaces-section {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0d0c11, #0b0a0f);
}
.module-stack {
  display: grid;
  gap: 38px;
  margin-top: 72px;
}
.module {
  min-height: 555px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 72px;
  padding: 58px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.16);
}
.module-habits {
  grid-template-columns: 1.1fr 0.9fr;
}
.module-copy h3 {
  margin: 20px 0 16px;
  max-width: 500px;
  font-size: clamp(31px, 3.2vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.module-copy > p {
  margin: 0;
  color: #aaa4b4;
  font-size: 15px;
  line-height: 1.75;
}
.module-points {
  list-style: none;
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 28px 0 0;
}
.module-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #e5e1e9;
  font-size: 13px;
  line-height: 1.5;
}
.module-points li > span {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: white;
}
.module-points-red li > span {
  background: rgba(240, 68, 68, 0.18);
  color: #ff7777;
}
.module-points-blue li > span {
  background: rgba(52, 120, 246, 0.18);
  color: #78a5ff;
}
.module-points-green li > span {
  background: rgba(22, 163, 74, 0.18);
  color: #5fd082;
}
.module-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.module-visual-training::before,
.module-visual-habits::before,
.module-visual-food::before {
  content: "";
  position: absolute;
  inset: 20% 4%;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.12;
}
.module-visual-training::before {
  background: var(--red);
}
.module-visual-habits::before {
  background: var(--blue);
}
.module-visual-food::before {
  background: var(--green);
}

.usage-section {
  background: #100e14;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 60px;
}
.usage-grid article {
  position: relative;
  min-height: 320px;
  padding: 33px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #15131b;
  overflow: hidden;
}
.usage-grid article::after {
  content: "";
  position: absolute;
  inset: auto -60px -70px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--purple);
  filter: blur(60px);
  opacity: 0.08;
}
.usage-grid .usage-featured {
  border-color: rgba(146, 80, 234, 0.35);
  background: linear-gradient(150deg, #1b1623, #15131b);
}
.usage-number {
  position: absolute;
  right: 25px;
  top: 20px;
  color: rgba(255, 255, 255, 0.07);
  font-size: 48px;
  font-weight: 850;
  letter-spacing: -0.06em;
}
.usage-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(146, 80, 234, 0.26);
  border-radius: 14px;
  background: rgba(146, 80, 234, 0.11);
  color: #b57cfc;
}
.usage-grid h3 {
  margin: 55px 0 14px;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.usage-grid p {
  margin: 0;
  color: #97919f;
  font-size: 14px;
  line-height: 1.7;
}

.pricing-section {
  background: linear-gradient(180deg, #0b0a0f, #100d15);
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1020px;
  margin: 64px auto 0;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px;
  border: 1px solid #e5e1e9;
  border-radius: 27px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}
.price-card-premium {
  border: 2px solid var(--purple);
  transform: translateY(-8px);
  box-shadow: 0 30px 90px rgba(82, 32, 140, 0.22);
}
.recommended-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--purple-dark);
  color: white;
  font-size: 9px;
  letter-spacing: 0.11em;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 8px 25px rgba(82, 32, 140, 0.32);
}
.plan-kicker,
.pro-card-top small {
  color: #82798b;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.13em;
}
.price-card h3 {
  margin: 7px 0 8px;
  font-size: 36px;
  letter-spacing: -0.045em;
}
.price-card-head p {
  min-height: 48px;
  margin: 0;
  color: #69616f;
  font-size: 13px;
  line-height: 1.55;
}
.price-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 26px 0 25px;
}
.price-pair > div {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  padding: 15px;
  border: 1px solid #e4dfe7;
  border-radius: 14px;
  background: white;
}
.price-pair small {
  color: #8c8491;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.1em;
}
.price-pair strong {
  margin: 7px 0 6px;
  color: #17141c;
  font-size: 17px;
  letter-spacing: -0.025em;
}
.price-pair span {
  display: block;
  color: #88808e;
  font-size: 8px;
  line-height: 1.45;
}
.price-pair em {
  margin-bottom: 5px;
  color: var(--purple-dark);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}
.feature-list {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 22px 0 27px;
  margin: 0;
  border-top: 1px solid #e4dfe7;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #49424f;
  font-size: 12px;
  line-height: 1.45;
}
.feature-list li > span {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #ece8ef;
  color: #615868;
}
.feature-list li > span.premium-check {
  background: #eee4fa;
  color: var(--purple-dark);
}
.price-button {
  width: 100%;
  margin-top: auto;
  border: 1px solid #dcd6e0;
  color: var(--ink);
  background: white;
}
.price-button-premium {
  border-color: transparent;
  background: var(--purple-dark);
  color: white;
}

.pro-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(146, 80, 234, 0.13),
      transparent 32%
    ),
    #0b0a0f;
}
.pro-shell {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 70px;
  align-items: center;
}
.pro-intro h2 span {
  color: #b77ffc;
}
.pro-intro > p {
  max-width: 490px;
  color: #a49dac;
  line-height: 1.7;
}
.pro-signal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 27px;
  padding: 10px 13px;
  border: 1px solid rgba(146, 80, 234, 0.22);
  border-radius: 10px;
  background: rgba(146, 80, 234, 0.07);
  color: #c09af0;
  font-size: 11px;
  font-weight: 700;
}
.pro-card {
  padding: 36px;
  border: 1px solid rgba(146, 80, 234, 0.32);
  border-radius: 28px;
  background: linear-gradient(150deg, #1d1727, #15131b);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.3);
}
.pro-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.pro-card-top h3 {
  margin: 5px 0 0;
  font-size: 38px;
}
.pro-card-top > span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(146, 80, 234, 0.13);
  color: #c09af0;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.09em;
}
.pro-card .price-pair {
  color: var(--ink);
}
.pro-card .feature-list {
  border-color: var(--line);
}
.pro-card .feature-list li {
  color: #d7d2dc;
}
.pro-card .feature-list li > span {
  background: rgba(146, 80, 234, 0.15);
  color: #c39af5;
}
.pro-button {
  width: 100%;
}
.custom-offer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 29px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.025);
}
.custom-offer > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.custom-offer strong {
  font-size: 14px;
}
.custom-offer span {
  color: #8f8997;
  font-size: 12px;
}

.reviews-section {
  border-top: 1px solid var(--line);
  background: #100e14;
}
.empty-reviews {
  max-width: 780px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 17px;
  margin: 52px auto 0;
  padding: 25px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}
.empty-icon {
  width: 51px;
  height: 51px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #1e1a25;
  color: #8c8395;
}
.empty-reviews strong {
  font-size: 13px;
}
.empty-reviews p {
  margin: 5px 0 0;
  color: #7e7887;
  font-size: 11px;
}
.empty-reviews > span {
  color: #6f6977;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.faq-section {
  background: #0d0b11;
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 90px;
  align-items: start;
}
.faq-grid > div:first-child > p {
  color: #9992a0;
  font-size: 14px;
  line-height: 1.7;
}
.admin-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 11px 13px;
  border-radius: 11px;
  background: rgba(146, 80, 234, 0.08);
  color: #b78aed;
}
.admin-note span {
  display: flex;
  flex-direction: column;
  color: #88808f;
  font-size: 9px;
}
.admin-note strong {
  color: #c39af3;
  font-size: 10px;
}
.faq-accordion {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-color: var(--line) !important;
}
.faq-trigger {
  padding: 22px 4px !important;
  color: #eeeaf2;
  font-size: 14px !important;
  line-height: 1.45;
  text-decoration: none !important;
}
.faq-trigger:hover {
  color: #c39af3;
}
.faq-content {
  padding-right: 32px;
  color: #958e9d;
  font-size: 12px;
  line-height: 1.7;
}

.final-cta {
  position: relative;
  padding: 118px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #120d19;
}
.cta-orbit {
  position: absolute;
  border: 1px solid rgba(146, 80, 234, 0.16);
  border-radius: 50%;
}
.cta-orbit-one {
  width: 520px;
  height: 520px;
  left: -230px;
  top: -210px;
}
.cta-orbit-two {
  width: 380px;
  height: 380px;
  right: -100px;
  bottom: -260px;
}
.final-cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cta-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(145deg, var(--purple), var(--purple-deep));
  box-shadow: 0 15px 40px rgba(123, 53, 213, 0.35);
}
.final-cta h2 {
  max-width: 820px;
  margin-top: 28px;
}
.final-cta p {
  max-width: 620px;
  margin: 0;
  color: #a19aa8;
  line-height: 1.7;
}

footer {
  padding: 66px 0 25px;
  border-top: 1px solid var(--line);
  background: #08070a;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr;
  gap: 50px;
}
.footer-brand p {
  max-width: 280px;
  color: #77717e;
  font-size: 12px;
  line-height: 1.7;
}
.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-grid strong {
  margin-bottom: 5px;
  color: #aaa3b2;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-grid > div:not(.footer-brand) a {
  color: #716b78;
  font-size: 11px;
  transition: color 0.2s ease;
}
.footer-grid > div:not(.footer-brand) a:hover {
  color: #b98bf1;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 55px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #57515e;
  font-size: 9px;
}

@media (max-width: 1060px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-button {
    display: inline-flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    max-width: 760px;
  }
  .hero-visual {
    margin-top: 10px;
  }
  .capture-hero {
    max-width: 760px;
    transform: none;
  }
  .module,
  .module-habits {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .module-habits .module-copy {
    order: -1;
  }
  .pro-shell {
    grid-template-columns: 1fr;
  }
  .pro-intro {
    max-width: 720px;
  }
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
  .footer-grid > div:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }
  .header-inner {
    height: 68px;
  }
  .header-actions {
    display: none;
  }
  .hero {
    padding: 75px 0 88px;
  }
  .hero h1 {
    font-size: clamp(43px, 13vw, 62px);
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .section {
    padding: 86px 0;
  }
  .module-stack {
    margin-top: 50px;
  }
  .module {
    min-height: auto;
    padding: 28px 19px;
    border-radius: 23px;
  }
  .capture {
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.4));
  }
  .usage-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .price-card-premium {
    transform: none;
    margin-top: 12px;
  }
  .price-card {
    padding: 29px 20px;
  }
  .price-pair {
    gap: 7px;
  }
  .price-pair > div {
    padding: 12px 10px;
  }
  .price-pair strong {
    font-size: 14px;
  }
  .pro-card {
    padding: 25px 18px;
  }
  .custom-offer {
    flex-direction: column;
    align-items: flex-start;
  }
  .empty-reviews {
    grid-template-columns: auto 1fr;
  }
  .empty-reviews > span {
    grid-column: 1 / -1;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .site-header .brand-logo {
    width: auto;
    height: 38px;
  }
  .hero-actions .button {
    width: 100%;
  }
  .price-pair {
    grid-template-columns: 1fr;
  }
  .price-pair > div {
    min-height: 105px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand,
  .footer-grid > div:last-child {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Composants réécrits sans dépendance JS externe
   (le prototype utilisait des composants React ; ici tout est en CSS + JS natif)
   ========================================================================== */

/* --- Lien d’évitement (accessibilité clavier) --- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 0 0 12px 0;
  background: var(--purple);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.skip-link:focus {
  left: 0;
}

:where(a, button, summary, input, textarea, select):focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --- Tiroir de navigation mobile --- */
.mobile-sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(6, 5, 9, 0.66);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}
.mobile-sheet {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 61;
  display: flex;
  flex-direction: column;
  width: min(340px, 86vw);
  border-left: 1px solid var(--line);
  background: #0f0d14;
  color: var(--text);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
  overflow-y: auto;
}
body.menu-open {
  overflow: hidden;
}
body.menu-open .mobile-sheet-overlay {
  opacity: 1;
  visibility: visible;
}
body.menu-open .mobile-sheet {
  transform: translateX(0);
}
.mobile-sheet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 18px 18px;
  border-bottom: 1px solid var(--line);
}
.mobile-sheet-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 20px;
}
.mobile-sheet-header p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.mobile-sheet-close {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}
.mobile-sheet-close:hover {
  color: var(--text);
}

/* --- Accordéon FAQ (balises <details>, fonctionne même sans JS) --- */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 22px 4px;
  background: none;
  border: 0;
  color: #eeeaf2;
  font: inherit;
  font-size: 14px;
  font-weight: 620;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  list-style: none;
}
.faq-trigger::-webkit-details-marker {
  display: none;
}
.faq-trigger svg {
  flex: none;
  color: var(--muted);
  transition: transform 0.22s ease;
}
.faq-item[open] > .faq-trigger svg {
  transform: rotate(180deg);
  color: var(--purple);
}
.faq-content {
  padding: 0 32px 22px 4px;
  color: #958e9d;
  font-size: 12px;
  line-height: 1.7;
}

/* --- Section contact --- */
.contact-section {
  background: #0b0910;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
}
.contact-intro h2 {
  margin: 16px 0 14px;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.contact-intro > p {
  margin: 0;
  color: #9992a0;
  font-size: 14px;
  line-height: 1.7;
}
.contact-points {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.contact-points li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #b9b2c4;
  font-size: 13px;
}
.contact-points svg {
  flex: none;
  color: var(--purple);
}
.contact-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.field label {
  color: #cfc8d8;
  font-size: 12px;
  font-weight: 650;
}
.field label span {
  color: var(--purple);
}
.field input,
.field textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(11, 10, 15, 0.7);
  color: var(--text);
  font: inherit;
  font-size: 13px;
}
.field textarea {
  min-height: 132px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #6f6977;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--purple);
  outline: none;
}
.field-error {
  color: #ff8a8a;
  font-size: 11px;
}
.field-invalid input,
.field-invalid textarea {
  border-color: rgba(240, 68, 68, 0.55);
}
/* Piège à robots : invisible pour un humain, rempli par les spambots. */
.field-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
}
.form-footer small {
  color: #7d7686;
  font-size: 11px;
  line-height: 1.5;
}
.form-alert {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 22px;
  padding: 14px 16px;
  border-radius: 13px;
  font-size: 13px;
  line-height: 1.55;
}
.form-alert svg {
  flex: none;
  margin-top: 1px;
}
.form-alert-success {
  border: 1px solid rgba(22, 163, 74, 0.4);
  background: rgba(22, 163, 74, 0.11);
  color: #7ee0a1;
}
.form-alert-error {
  border: 1px solid rgba(240, 68, 68, 0.4);
  background: rgba(240, 68, 68, 0.1);
  color: #ff9d9d;
}

@media (max-width: 1060px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}
@media (max-width: 560px) {
  .contact-form {
    padding: 22px 18px;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .form-footer .button {
    justify-content: center;
  }
}

/* La flamme du badge « recommandé » est pleine, comme dans la maquette. */
.recommended-badge svg {
  fill: currentColor;
}

/* ==========================================================================
   Pages légales (mentions, confidentialité, conditions)
   ========================================================================== */

.legal-section {
  background: #0b0910;
  padding-top: 64px;
}
.legal-shell {
  width: min(820px, calc(100% - 40px));
}
.legal-heading h1 {
  margin: 16px 0 12px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.legal-heading > p {
  margin: 0 0 10px;
  color: #9992a0;
  font-size: 14px;
  line-height: 1.7;
}
.legal-heading small {
  color: #6f6977;
  font-size: 11px;
}

.legal-alerte {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 26px;
  padding: 14px 16px;
  border: 1px solid rgba(240, 68, 68, 0.4);
  border-radius: 13px;
  background: rgba(240, 68, 68, 0.1);
  color: #ff9d9d;
  font-size: 13px;
  line-height: 1.55;
}
.legal-alerte svg {
  flex: none;
  margin-top: 1px;
}
.legal-alerte code {
  color: #ffc9c9;
  font-size: 12px;
}
.legal-a-completer {
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(240, 68, 68, 0.22);
  color: #ffb4b4;
  font-weight: 700;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 40px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.legal-nav a {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: #c6bfd1;
  font-size: 12px;
  font-weight: 650;
}
.legal-nav a:hover {
  border-color: rgba(146, 80, 234, 0.5);
  color: #fff;
}

.legal-corps h2 {
  display: flex;
  gap: 10px;
  margin: 44px 0 16px;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.legal-corps h2 span {
  color: var(--purple);
}
.legal-corps h3 {
  margin: 28px 0 12px;
  color: #e4dff0;
  font-size: 14px;
}
.legal-corps p,
.legal-corps li {
  color: #9992a0;
  font-size: 14px;
  line-height: 1.75;
}
.legal-corps p {
  margin: 0 0 14px;
}
.legal-corps strong {
  color: #d9d3e2;
}
.legal-corps a {
  color: #b78aed;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-corps a:hover {
  color: #d3b4ff;
}
.legal-corps ul,
.legal-corps ol {
  margin: 0 0 18px;
  padding-left: 20px;
}
.legal-corps li {
  margin-bottom: 8px;
}
.legal-corps table {
  width: 100%;
  margin: 0 0 22px;
  border-collapse: collapse;
  font-size: 13px;
}
.legal-corps th,
.legal-corps td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  color: #9992a0;
  text-align: left;
  vertical-align: top;
}
.legal-corps th {
  color: #cfc8d8;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.legal-tableau-conteneur {
  overflow-x: auto;
}

@media (max-width: 760px) {
  .legal-section {
    padding-top: 44px;
  }
  .legal-heading h1 {
    font-size: 26px;
  }
  .legal-corps h2 {
    font-size: 16px;
  }
}

/* Réseaux sociaux du pied de page. Un compte sans adresse n'est pas affiché. */
.footer-social {
  margin-top: 22px;
}
.footer-social strong {
  display: block;
  margin-bottom: 10px;
}
.footer-social div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-social a {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: #b9b2c4;
  font-size: 12px;
  font-weight: 650;
}
.footer-social a:hover {
  border-color: rgba(146, 80, 234, 0.5);
  color: #fff;
}
