@font-face {
  font-family: 'Host Grotesk';
  src: url('../assets/fonts/host-grotesk-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Neulis Cursive';
  src: url('../assets/fonts/neulis-cursive-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Neulis Cursive';
  src: url('../assets/fonts/neulis-cursive-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Neulis Cursive';
  src: url('../assets/fonts/neulis-cursive-black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #fafafa;

  --font-display: 'Neulis Cursive', 'Host Grotesk', sans-serif;
  --font-body: 'Host Grotesk', sans-serif;

  --radius-full: 999px;

  --max-width: 1200px;
  --nav-height: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  background: radial-gradient(ellipse 160% 90% at 50% 0%, #ebebf5 0%, #f5f5f8 55%, #fafafa 100%) fixed;
  background-color: #fafafa;
  min-height: 100%;
}
body {
  background: transparent;
  color: #0a0a19;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.25s ease,
              filter 0.25s ease,
              opacity 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97) !important; }

/* Dégradé animé : porté par un pseudo-élément déplacé en transform (composé
   par le GPU) au lieu d'animer background-position (repeint à chaque frame).
   Rendu identique : bande 300 % parcourue de 0 à -2/3 en 7 s linéaire. */
.btn--gradient,
.beta-form__btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn--gradient::before,
.beta-form__btn::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 300%;
  z-index: -1;
  background: linear-gradient(90deg, #fcb942, #f94389, #fcb942, #f94389);
  animation: gradient-wave 7s linear infinite;
  pointer-events: none;
}
.beta-form__btn.is-solid::before { display: none; }
@keyframes gradient-wave {
  from { transform: translateX(0); }
  to   { transform: translateX(-66.6667%); }
}
.btn--gradient {
  color: #fdfeff;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(249, 67, 137, 0.25);
}
.btn--gradient:hover {
  transform: scale(1.025);
  box-shadow: 0 6px 24px rgba(249, 67, 137, 0.35);
}
.btn--gradient:hover::before,
.beta-form__btn:hover::before {
  animation-play-state: paused;
}

.btn--lg {
  font-size: 17px;
  font-weight: 700;
  padding: 18px 40px;
}
.btn__arrow {
  opacity: 0.75;
  font-size: 18px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn--gradient:hover .btn__arrow {
  transform: translateX(4px);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: #0a0a19;
  margin-bottom: 48px;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 400;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: #ebebf5;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: box-shadow 0.3s ease;
}
.nav--scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.13), 0 1px 6px rgba(0,0,0,0.07);
}

.nav__inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.nav__logo-img {
  height: 53px;
  width: auto;
  display: block;
}

.nav__menu-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fdfeff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  padding: 0;
  position: relative;
  z-index: 400;
}
.nav__menu-btn:hover {
  background: #f5f5f5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.burger-line {
  display: block;
  width: 18px;
  height: 2px;
  background: #2b30e0;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav__menu-btn.is-open .burger-line:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.nav__menu-btn.is-open .burger-line:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.menu-overlay {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.menu-overlay.is-open {
  pointer-events: all;
  opacity: 1;
}

.menu-card {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 320px;
  background: #ffffff;
  border-radius: 24px;
  padding: 24px 28px 28px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.12), 0 2px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-12px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s;
  opacity: 0;
}
.menu-overlay.is-open .menu-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 28px;
}

.menu-link {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  color: #0a0a19;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: color 0.15s, padding-left 0.2s;
}
.menu-link:last-child { border-bottom: none; }
.menu-link:hover {
  color: #2b30e0;
  padding-left: 6px;
}

.menu-socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.social-btn:hover {
  border-color: #2b30e0;
  background: rgba(43, 48, 224, 0.05);
}
.si {
  fill: #0a0a19;
  transition: fill 0.2s ease;
}
.social-btn:hover .si {
  fill: #2b30e0;
}

.hero {
  min-height: 100vh;
  padding-top: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: none;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1440px;
  width: 100%;
  padding: 0 24px;
  gap: 0;
}

.hero__badge    { margin-bottom: 36px; }
.hero__title    { margin-bottom: 40px; }
.hero__subtitle { margin-bottom: 60px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 11px 28px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.hero__badge-text {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(42deg, #fcb942 0%, #f94389 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 100px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.06em;
  color: #2b30e0;
  text-align: center;
  white-space: pre-line;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  color: rgba(10, 10, 26, 0.62);
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
}

.intro {
  padding: 120px 0;
  background: #fdfeff;
}

.intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 80px;
}

.intro__title {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.6vw, 23px);
  font-weight: 700;
  line-height: 1.15;
  background: linear-gradient(120deg, #fcb942 0%, #f94389 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 28px;
}

.intro__body {
  font-size: 16px;
  color: #0a0a19;
  line-height: 1.7;
  margin-bottom: 18px;
}

.intro__bold {
  font-size: 16px;
  font-weight: 700;
  color: #0a0a19;
  margin-bottom: 18px;
}
.intro__bold br { display: none; }
.intro__bold span { padding-right: 0.5em; }
.intro__bold span:last-child { padding-right: 0; }

.intro__caption {
  font-size: 16px;
  color: #0a0a19;
  line-height: 1.7;
}

.intro__visual {
  display: flex;
  align-items: center;
}

.intro__mockup {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  transform: rotate(-2deg);
}

.features {
  padding: 120px 0 20px;
  text-align: center;
}

.features__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
}

.features__badge-text {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(42deg, #fcb942 0%, #f94389 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features__title {
  color: #2b30e0;
  font-family: var(--font-display);
  font-size: clamp(27px, 3.75vw, 48px);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0;
}

.features .features__title {
  margin-top: 16px;
}

.features__showcase {
  display: grid;
  grid-template-columns: 1fr 400px 1fr;
  gap: 10px;
  align-items: center;
}

.features__side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
}

.fc {
  background: #ffffff;
  border-radius: 22px;
  padding: 28px 28px 24px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fc__icon {
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.fc__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #0a0a19;
  margin-bottom: 2px;
}

.fc__desc {
  font-size: 14px;
  color: rgba(10, 10, 25, 0.62);
  line-height: 1.65;
  margin-top: 0;
}

.features__phone {
  display: flex;
  justify-content: center;
  align-items: center;
}

.features__phone-img {
  display: block;
  width: 400px;
  height: 820px;
  object-fit: cover;
  object-position: center center;
}

.guide {
  padding: 120px 0 60px;
}

.guide__steps {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  padding: 80px 0 80px;
  min-height: 540px;
}

.guide__card {
  background: #ffffff;
  border-radius: 28px;
  padding: 28px 28px 24px;
  width: 380px;
  flex-shrink: 0;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08), 0 2px 12px rgba(0,0,0,0.04);
  position: relative;
}

.guide__card--1 { transform: rotate(-5deg); margin-top: 60px; z-index: 2; }
.guide__card--2 { transform: rotate(2deg); z-index: 4; }
.guide__card--3 { transform: rotate(-3deg); margin-top: 60px; z-index: 2; }

.guide__card { text-align: left; }

.guide__card-num {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 400;
  color: #2b30e0;
  line-height: 1;
  margin-bottom: 14px;
}

.guide__card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 18px;
  display: block;
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
}

.guide__card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #0a0a19;
  margin-bottom: 8px;
}

.guide__card-desc {
  font-size: 14px;
  color: rgba(10,10,25,0.62);
  line-height: 1.65;
  margin-top: 0;
}

.benefits {
  padding: 120px 0;
  text-align: center;
  background: #fdfeff;
}

.benefits .container {
  max-width: 1400px;
}

.benefits__floating {
  display: grid;
  grid-template-columns: 220px 720px 220px;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 80px;
}

.benefits__text {
  font-size: 42px;
  font-weight: 400;
  color: #0a0a19;
  line-height: 1.35;
  text-align: center;
  font-family: var(--font-body);
  margin: 0;
}

.benefits__pills-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  align-items: flex-start;
}

.benefits__pills-col--right { align-items: flex-end; }

.benefits__pills-col--left .benefit-pill:nth-child(1) { margin-left: 0;    transform: rotate(-7deg); }
.benefits__pills-col--left .benefit-pill:nth-child(2) { margin-left: 48px; }
.benefits__pills-col--left .benefit-pill:nth-child(3) { margin-left: 96px; transform: rotate(6deg); }

.benefits__pills-col--right .benefit-pill:nth-child(1) { margin-right: 0;    transform: rotate(6deg); }
.benefits__pills-col--right .benefit-pill:nth-child(2) { margin-right: 48px; transform: rotate(-4deg); }
.benefits__pills-col--right .benefit-pill:nth-child(3) { margin-right: 96px; transform: rotate(5deg); }

.benefit-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border-radius: 999px;
  padding: 8px 18px 8px 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  white-space: nowrap;
}

.benefit-pill__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-pill__label {
  font-size: 17px;
  font-weight: 400;
  color: #0a0a19;
  font-family: var(--font-body);
  text-align: left;
}

/* État non révélé : 0.45 minimum, soit un contraste ≥ 3:1 sur fond clair */
.reveal-word {
  opacity: 0.45;
  transition: opacity 0.35s ease;
  display: inline;
}

.beta-section {
  padding: 120px 0;
}

.beta-card {
  background: #ffffff;
  border-radius: 32px;
  padding: 64px 64px 64px 72px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.08), 0 2px 12px rgba(0,0,0,0.04);
  overflow: hidden;
}

.beta-section__inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
  align-items: center;
}

.beta-section__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.beta-section__title {
  font-family: var(--font-display);
  font-size: clamp(27px, 3.75vw, 48px);
  font-weight: 700;
  color: #2b30e0;
  line-height: 1.1;
  margin: 16px 0 24px;
  max-width: 500px;
  width: 100%;
}

.beta-section__desc {
  font-size: 16px;
  color: rgba(10,10,25,0.62);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 500px;
  width: 100%;
}

.beta-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 500px;
}

.beta-form__input {
  width: 100%;
  padding: 20px 28px;
  background: #ffffff;
  border: 1.5px solid rgba(10,10,25,0.45);
  border-radius: 16px;
  color: #0a0a19;
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.beta-form__input::placeholder { color: rgba(10,10,25,0.6); }
.beta-form__input:focus { border-color: #2b30e0; }

.beta-form__btn {
  width: 100%;
  padding: 20px 28px;
  background: transparent;
  border: none;
  border-radius: 16px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}

.beta-form__btn:active .beta-form__btn-text {
  transform: scale(0.96);
}

.beta-form__btn-text {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.beta-form__btn:hover .beta-form__btn-text {
  transform: scale(1.07);
}

.beta-trust {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  width: 100%;
  max-width: 500px;
}

.beta-trust__item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 13px;
  color: rgba(10,10,25,0.65);
  font-weight: 500;
  font-family: var(--font-body);
  white-space: nowrap;
}

.beta-trust__check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.beta-trust__check--blue   { background: #2b30e0; }
.beta-trust__check--yellow { background: #fcb942; }
.beta-trust__check--pink   { background: #f94389; }

.beta-section__right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.beta-section__phone {
  width: 436px;
  height: auto;
  transform: rotate(5deg);
  position: relative;
  z-index: 2;
  mix-blend-mode: multiply;
}

.beta-deco { position: absolute; z-index: 1; user-select: none; pointer-events: none; }

.beta-deco--r1 { left: 1.5%; top: 30%; transform: rotate(-15deg); }
.beta-deco--r2 { left: 0.5%; top: 46%; transform: rotate(-15deg); }
.beta-deco--r3 { left: 6.5%; top: 60%; transform: rotate(-15deg); }

.beta-deco--s1 { right: 2%;  top: 48%; }
.beta-deco--s2 { right: 0%;  top: 63%; }
.beta-deco--s3 { right: 10%; top: 75%; }

.vision {
  padding: 120px 0;
  text-align: center;
}

.vision__title {
  margin: 0 auto 64px;
  max-width: none;
  white-space: nowrap;
}

.vision__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
}

.vision-card,
.demarches__card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px 28px 36px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.vision-card__title,
.demarches__card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #0a0a19;
  margin: 0 0 12px;
  line-height: 1.3;
}

.vision-card__desc,
.demarches__card-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(10,10,25,0.62);
  line-height: 1.65;
  margin: 0;
}

.footer {
  background-color: #101A91;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 100px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: -12%;
  background-image: url('../assets/images/fond-footer-1200.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  animation: footer-drift 36s ease-in-out infinite;
  will-change: transform;
}

@media (min-width: 769px) {
  .footer::before { background-image: url('../assets/images/fond-footer.webp'); }
}

@keyframes footer-drift {
  0%   { transform: scale(1.08) translate(-3%, -2%); }
  25%  { transform: scale(1.13) translate(2%, -1%); }
  50%  { transform: scale(1.10) translate(3%, 2%); }
  75%  { transform: scale(1.14) translate(-1%, 3%); }
  100% { transform: scale(1.08) translate(-3%, -2%); }
}

.footer__desc,
.footer__content .btn,
.footer__socials {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.34,1.1,0.64,1);
}

.footer__desc.f-visible,
.footer__content .btn.f-visible,
.footer__socials.f-visible {
  opacity: 1;
  transform: translateY(0);
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.footer__title {
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 120px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.0;
  margin: 0 0 36px;
}

.footer__desc {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.5vw, 20px);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  margin: 0 0 52px;
  max-width: 560px;
}

.footer__content .btn {
  margin-bottom: 96px;
  text-decoration: none;
}

.footer__copy {
  position: absolute;
  bottom: 32px;
  right: 48px;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}
.footer__legal-links {
  position: absolute;
  bottom: 24px;
  left: 44px;
  display: flex;
  gap: 12px;
}
.footer__legal {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  padding: 8px 4px;
}
.footer__legal:hover { color: rgba(255, 255, 255, 0.9); }

.footer__links {
  margin-top: 40px;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}
.footer__links a {
  display: inline-block;
  padding: 8px 4px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}
.footer__links a:hover { color: rgba(255, 255, 255, 0.9); }
/* Second bloc : liens vers les guides (généré par build_guides.py) */
.footer__links--guides { margin-top: 0; max-width: 900px; }

/* Footer réduit (pages légales, 404) : seulement les liens, sans titre ni CTA */
.footer.footer--mini { min-height: 0; padding: 56px 24px 112px; }
.footer--mini .footer__links { margin-top: 0; }

.footer__socials {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.footer__social-link {
  width: 52px;
  height: 52px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.footer__social-link:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

@keyframes slide-up-in {
  from { opacity: 0; transform: translateY(44px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Titre du hero (LCP) : transform seul, le texte reste visible dès le premier rendu */
@keyframes hero-title-in {
  from { transform: translateY(44px); }
  to   { transform: none; }
}
@keyframes badge-pop {
  from { opacity: 0; transform: scale(0.4); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes float-a {
  0%, 100% { translate: 0 0; }
  50%       { translate: 0 -10px; }
}
@keyframes float-b {
  0%, 100% { translate: 0 0; }
  50%       { translate: 0 -7px; }
}

.hero__badge    { animation: badge-pop   0.6s cubic-bezier(0.34,1.56,0.64,1) 0.15s both; }
.hero__title    { animation: hero-title-in 0.8s cubic-bezier(0.34,1.1, 0.64,1) both; }
.hero__subtitle { animation: slide-up-in 0.7s ease                            0.5s  both; }

.beta-deco--r1 { left: 1.5%; top: 30%; rotate: -15deg; animation: float-a 3.4s ease-in-out infinite; }
.beta-deco--r2 { left: 0.5%; top: 46%; rotate: -15deg; animation: float-a 3.4s ease-in-out infinite 0.7s; }
.beta-deco--r3 { left: 6.5%; top: 60%; rotate: -15deg; animation: float-a 3.4s ease-in-out infinite 1.4s; }
.beta-deco--s1 { right: 2%;  top: 48%; animation: float-b 3.1s ease-in-out infinite 0.3s; }
.beta-deco--s2 { right: 0%;  top: 63%; animation: float-b 3.1s ease-in-out infinite 1.0s; }
.beta-deco--s3 { right: 10%; top: 75%; animation: float-b 3.1s ease-in-out infinite 1.7s; }

.beta-section__phone {
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.34,1.15,0.64,1);
}
.beta-phone-hidden { opacity: 0; transform: scale(0.86) rotate(5deg); }
.beta-phone-hidden.visible { opacity: 1; transform: scale(1) rotate(5deg); }

@keyframes phone-rock {
  0%, 100% { transform: rotate(5deg); }
  30%       { transform: rotate(7.5deg); }
  70%       { transform: rotate(2.5deg); }
}

@keyframes mobile-float {
  0%, 100% { transform: scale(1) translateY(0); }
  50%       { transform: scale(1) translateY(-14px); }
}

@keyframes phone-shimmer {
  0%        { transform: translateX(0); }
  40%, 100% { transform: translateX(66.6667%); }
}
.beta-section__phone.is-rocking {
  animation: phone-rock 4.5s ease-in-out infinite;
  transition: none;
}

.features__phone {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.features__phone.visible {
  opacity: 1;
  transform: scale(1);
}
.features__side:first-child .fc {
  opacity: 0;
  transform: translateX(-320px);
  transition: opacity 0.65s ease, transform 0.75s cubic-bezier(0.25, 1.1, 0.5, 1);
}
.features__side:first-child .fc.visible {
  opacity: 1;
  transform: translateX(0);
}
.features__side:last-child .fc {
  opacity: 0;
  transform: translateX(320px);
  transition: opacity 0.65s ease, transform 0.75s cubic-bezier(0.25, 1.1, 0.5, 1);
}
.features__side:last-child .fc.visible {
  opacity: 1;
  transform: translateX(0);
}

.intro__visual {
  opacity: 0;
  transform: translateX(-70px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.34, 1.1, 0.64, 1);
}
.intro__visual.visible { opacity: 1; transform: translateX(0); }

.intro__text > * {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.1, 0.64, 1);
}
.intro__text > *.visible { opacity: 1; transform: translateX(0); }

/* ─── Démarches ─────────────────────────────────────────────────────────── */
.demarches {
  padding: 120px 0;
  text-align: center;
}
.demarches .features__title { margin-top: 16px; }
.demarches__grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
}
/* Lien vers le guide : le ::after rend toute la carte cliquable */
.demarches__card {
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
}
.demarches__card-desc { flex: 1; }
/* Lien de carte : texte bleu + pastille flèche qui se remplit et glisse au survol */
.demarches__card-link {
  align-self: flex-start;
  display: inline-block;
  margin-top: 22px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #2b30e0;
}
.demarches__card-link .nw { white-space: nowrap; }
.demarches__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-left: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(43,48,224,.1);
  font-size: 15px;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), background-color .2s ease, color .2s ease;
}
.demarches__card:hover .demarches__arrow,
.demarches__card:focus-within .demarches__arrow { background: #2b30e0; color: #fff; transform: translateX(4px); }
.demarches__card-link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.demarches__card-link:focus-visible { outline: none; }
.demarches__card-link:focus-visible::after { outline: 3px solid #2b30e0; outline-offset: 3px; }
.demarches__card:hover,
.demarches__card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(43,48,224,.12), 0 2px 10px rgba(0,0,0,.05);
}
.demarches__all { margin-top: 48px; }

/* Bouton plein bleu Viaxo (même gabarit que .btn--gradient) */
.btn--blue {
  background: #2b30e0;
  color: #fff;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(43,48,224,.25);
}
.btn--blue:hover {
  transform: scale(1.025);
  background: #2328c8;
  box-shadow: 0 6px 24px rgba(43,48,224,.35);
}
.btn--blue:hover .btn__arrow { transform: translateX(4px); }
.btn--blue:focus-visible { outline: 3px solid #2b30e0; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .demarches__card:hover,
  .demarches__card:focus-within { transform: none; }
  .demarches__card:hover .demarches__arrow,
  .demarches__card:focus-within .demarches__arrow,
  .btn--blue:hover, .btn--blue:hover .btn__arrow { transform: none; }
}

/* ─── FAQ ───────────────────────────────────────────────────────────────── */
.faq {
  padding: 120px 0;
  text-align: center;
}
.faq__inner { max-width: 840px; }
.faq .features__title { margin-top: 16px; }
.faq__list {
  margin-top: 48px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: #ffffff;
  border-radius: 22px;
  padding: 0 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.faq__q {
  cursor: pointer;
  list-style: none;
  padding: 22px 36px 22px 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #0a0a19;
  line-height: 1.35;
  position: relative;
}
.faq__q::-webkit-details-marker { display: none; }
/* Icône +/− en CSS : ::before = barre horizontale, ::after = barre verticale.
   À l'ouverture, les deux barres pivotent et la verticale se couche sur
   l'horizontale pour former le « − ». .is-closing (posée par js/main.js)
   rebascule l'icône dès le clic, pendant que la réponse se referme. */
.faq__q::before,
.faq__q::after {
  content: '';
  position: absolute;
  right: 3px;
  top: 50%;
  width: 14px;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: #2b30e0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.faq__q::after { transform: rotate(90deg); }
.faq__item[open]:not(.is-closing) .faq__q::before { transform: rotate(180deg); }
.faq__item[open]:not(.is-closing) .faq__q::after  { transform: rotate(180deg); }
.faq__a {
  padding: 0 0 22px;
  font-size: 15px;
  color: rgba(10,10,25,0.62);
  line-height: 1.65;
}
.faq__a a { color: #2b30e0; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* Sans JS : apparition douce à l'ouverture. Avec JS (.faq__list--js),
   main.js anime hauteur + opacité à l'ouverture comme à la fermeture. */
.faq__item[open] .faq__a { animation: faq-in 0.28s ease-out; }
.faq__list--js .faq__item[open] .faq__a { animation: none; }
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .faq__q::before, .faq__q::after { transition: none; }
  .faq__item[open] .faq__a { animation: none; }
}

/* ─── Formulaire bêta : champ piège et mention RGPD ─────────────────────── */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.beta-form__legal {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(10,10,25,0.62);
  margin-top: 10px;
  max-width: 440px;
}
.beta-form__legal a {
  color: inherit;
  text-decoration: underline;
}

/* ─── Accessibilité ─────────────────────────────────────────────────────── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #2b30e0;
  outline-offset: 3px;
}
.footer a:focus-visible { outline-color: #fff; }
/* Champ e-mail : le focus est signalé par la bordure bleue, sans anneau */
.beta-form__input:focus-visible { outline: none; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10001;
  background: #2b30e0;
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

section[id] { scroll-margin-top: var(--nav-height); }

@media (max-width: 1024px) {
  .nav__inner { padding: 0 60px; }
  .hero__title { font-size: clamp(48px, 8vw, 80px); }

  .menu-card { width: min(320px, calc(100vw - 32px)); }

  .intro__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .intro__visual {
    order: -1;
    transform: translateY(24px);
    transition: opacity 0.85s ease, transform 0.85s ease;
  }
  .intro__visual.visible { opacity: 1; transform: translateY(0); }
  .intro__text > * {
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .intro__text > *.visible { opacity: 1; transform: translateY(0); }

  .features__showcase {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .features__phone { order: -1; }
  .features__phone-img { width: 260px; height: 540px; }
  .features__side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .features__side:first-child .fc,
  .features__side:last-child .fc {
    transform: translateY(32px);
    transition: opacity 0.65s ease, transform 0.65s ease;
  }
  .features__side:first-child .fc.visible,
  .features__side:last-child .fc.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .guide__card { width: 240px; }
  .guide__card-num { font-size: 52px; }

  .benefits__floating {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 48px;
  }
  .benefits__pills-col {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }
  .benefits__pills-col--left .benefit-pill,
  .benefits__pills-col--right .benefit-pill {
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
  }
  .benefits__text { font-size: 32px; }

  .vision__grid { grid-template-columns: repeat(2, 1fr); }
  .vision__title { white-space: normal; }

  .demarches__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .guide__steps {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 40px 0;
    min-height: auto;
  }
  .guide__card { width: 100%; max-width: 420px; }
  .guide__card--1,
  .guide__card--2,
  .guide__card--3 { transform: none; margin-top: 0; }

  .features__phone {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
  }
  .features__phone-img {
    width: min(300px, 78vw);
    height: min(615px, 160vw);
    border-radius: 32px;
  }
  .features__phone.is-floating {
    animation: mobile-float 4s ease-in-out infinite;
  }
  /* Reflet : bande de tuiles (tuile = 2 × largeur, comme background-size 200 %)
     déplacée en transform sur 4 largeurs, équivalent de background-position
     200 % → -200 % sans repeindre. */
  .features__phone.is-floating::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -400%;
    width: 600%;
    background: linear-gradient(
      110deg,
      transparent 25%,
      rgba(255,255,255,0.18) 50%,
      transparent 75%
    );
    background-size: calc(100% / 3) 100%;
    pointer-events: none;
    animation: phone-shimmer 5s ease-in-out 1.5s infinite;
  }

  .beta-section__inner { grid-template-columns: 1fr; gap: 48px; }
  .beta-card { padding: 48px 36px; }
  .beta-section__right { min-height: 420px; }
  .beta-section__phone {
    width: min(300px, 78vw);
    transform: none;
  }
  .beta-section__phone.is-rocking { animation: none; transform: none; }
  .beta-section__phone.is-floating-beta {
    animation: mobile-float 4s ease-in-out infinite;
    transform: none !important;
  }

  .intro__visual.is-floating-intro {
    animation: mobile-float 4.5s ease-in-out 0.2s infinite;
  }

  .vision-card { border-radius: 20px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }

  .nav__inner { padding: 0 20px; }
  .nav__logo-img { height: 36px; }

  .hero__inner { padding: 0 20px; }
  .hero__title { font-size: clamp(38px, 10vw, 52px); letter-spacing: -0.04em; }
  .hero__subtitle { font-size: 15px; }
  .hero__badge { margin-bottom: 24px; }
  .hero__title  { margin-bottom: 20px; }
  .hero__subtitle { margin-bottom: 40px; }
  .btn--lg { font-size: 16px; padding: 16px 28px; }

  .intro, .demarches, .features, .guide, .benefits, .beta-section, .vision, .faq { padding: 72px 0; }

  .intro__inner { gap: 28px; }
  .intro__mockup { transform: rotate(0deg); border-radius: 20px; }
  .intro__title { font-size: clamp(24px, 6.5vw, 30px); margin-bottom: 20px; }
  .intro__body { font-size: 15px; }
  .intro__bold { font-size: 18px; line-height: 1.55; }
  .intro__bold br { display: inline; }
  .intro__bold span { padding-right: 0; }
  .intro__caption { font-size: 15px; }

  .features__side { grid-template-columns: 1fr; }
  .features__phone-img {
    width: min(260px, 70vw);
    height: min(530px, 144vw);
    border-radius: 28px;
  }
  .features__title { font-size: clamp(22px, 6vw, 34px); }

  .benefits__floating { gap: 24px; margin-top: 32px; }
  .benefits__text { font-size: 20px; line-height: 1.5; text-wrap: balance; }
  .benefits__text br { display: none; }
  .benefit-pill { padding: 6px 14px 6px 6px; }
  .benefit-pill__label { font-size: 14px; }

  .beta-card { padding: 32px 20px; border-radius: 24px; }
  .beta-section__inner { gap: 40px; }
  .beta-section__right { min-height: 360px; }
  .beta-section__phone { width: min(250px, 66vw); }
  .beta-trust { flex-wrap: wrap; gap: 12px; justify-content: center; }
  .beta-trust__item { font-size: 12px; }

  .vision__grid { grid-template-columns: 1fr; gap: 14px; }
  .vision__title { white-space: normal; margin-bottom: 32px; }

  .demarches__grid { margin-top: 32px; grid-template-columns: 1fr; gap: 14px; }
  .demarches__all { margin-top: 32px; }

  .faq__list { margin-top: 32px; }
  .faq__item { padding: 0 20px; border-radius: 18px; }
  .faq__q { font-size: 16px; }

  .footer { padding: 80px 20px 120px; }
  .footer__title { font-size: clamp(52px, 13vw, 80px); }
  .footer__desc { font-size: 15px; text-wrap: balance; }
  .footer__content .btn { margin-bottom: 56px; }
  .footer__copy {
    left: 0;
    right: 0;
    text-align: center;
    bottom: 20px;
  }
  .footer__legal-links {
    left: 0;
    right: 0;
    justify-content: center;
    bottom: 36px;
  }

  .section-title { margin-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .footer::before { animation: none !important; transform: scale(1.1); }
  .features__phone, .features__side .fc, .intro__visual, .intro__text > *,
  .footer__desc, .footer__content .btn, .footer__socials,
  .vision-card, .guide__card, .beta-section__phone, .reveal-word { opacity: 1 !important; }
}
