:root {
  color-scheme: light;
  --page: #F2F5FA;
  --peach: #DCE8FB;
  --coral: #1558C8;
  --sun: #FFD166;
  --sun-soft: #FFF6DA;
  --mint: #8FB6F2;
  --mint-soft: #E8F0FC;
  --lilac: #CFDFF9;
  --lilac-soft: #EEF3FB;
  --white: #FFFFFF;
  --ink: #12264F;
  --ink-soft: #4F5F7A;
  --ink-hover: #0F469F;
  --on-ink: #F2F5FA;
  --error: #B3261E;
  --display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
}

h1, h2, h3, p, ul, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right));
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

/* En-tête */

.hero { background: var(--peach); }

.hero-grid {
  display: grid;
  gap: 32px;
  padding-block: 32px 40px;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
}

.brand {
  margin-top: 16px;
  font-family: var(--display);
  font-size: clamp(5rem, 25vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 17em;
  margin-top: 16px;
  font-family: var(--display);
  font-size: clamp(1.625rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.lead {
  max-width: 34em;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--coral);
  color: #FFFFFF;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.button:hover { background: var(--ink-hover); transform: translateY(-2px); }
.button:disabled { opacity: 0.65; cursor: progress; transform: none; }

.hero .button { margin-top: 24px; }

/* Illustration : un projet et un investisseur qui se trouvent */

.scene {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 0.86;
  margin-inline: auto;
}

.shape { position: absolute; display: block; }

.shape-sun {
  top: 2%;
  left: 18%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sun);
}

.shape-arch {
  right: 0;
  bottom: 0;
  width: 34%;
  height: 56%;
  border-radius: 999px 999px 0 0;
  background: var(--mint);
}

.shape-quarter {
  left: 0;
  bottom: 0;
  width: 36%;
  aspect-ratio: 1;
  border-radius: 0 100% 0 0;
  background: var(--lilac);
}

.shape-dot {
  top: 6%;
  right: 6%;
  width: 11%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--coral);
}

.mini-card {
  position: absolute;
  width: 46%;
  padding: 14px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 14px 28px rgba(46, 26, 59, 0.14);
  font-family: var(--display);
  font-size: clamp(0.875rem, 3.6vw, 1.0625rem);
  font-weight: 700;
  line-height: 1.2;
}

.mini-project { top: 12%; left: 2%; rotate: -7deg; animation: float 5s ease-in-out infinite; }
.mini-investor { top: 24%; right: 2%; rotate: 6deg; animation: float 5s ease-in-out -2.5s infinite; }

.mini-face {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
}

.mini-project .mini-face { border-radius: 50%; background: var(--coral); }
.mini-investor .mini-face { border-radius: 14px 14px 44px 14px; background: var(--mint); }

.mini-line {
  display: block;
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--page);
}

.mini-line.short { width: 60%; }

.match-badge {
  position: absolute;
  left: 50%;
  bottom: 12%;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--display);
  font-size: clamp(1rem, 4.4vw, 1.25rem);
  font-weight: 800;
  white-space: nowrap;
  translate: -50% 0;
  rotate: -3deg;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Bandeau de formes */

.strip {
  display: block;
  width: 100%;
  height: clamp(56px, 8vw, 104px);
}

/* Ce que chacun gagne, et à quel prix */

.gains {
  display: grid;
  gap: 20px;
  padding-top: clamp(40px, 7vw, 72px);
}

.gain {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 28px 22px 22px;
  border-radius: 28px;
}

.gain-entrepreneur { background: var(--mint-soft); }
.gain-investor { background: var(--lilac-soft); }

.gain::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 84px;
  height: 84px;
}

.gain-entrepreneur::before {
  border-radius: 0 0 0 100%;
  background: var(--mint);
}

.gain-investor::before {
  top: -22px;
  right: -22px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--lilac);
}

.gain h2 {
  position: relative;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.gain-kicker {
  display: block;
  width: max-content;
  margin-bottom: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
}

.offers {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 10px;
  margin-top: 20px;
  list-style: none;
}

.offer {
  padding: 16px;
  border-radius: 18px;
  background: var(--white);
}

.offer-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.offer h3 {
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 700;
}

.price {
  flex: none;
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price small {
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
}

.offer > p {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.gain-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  min-height: 44px;
  margin-top: 10px;
  color: var(--ink);
  font-weight: 700;
  text-underline-offset: 4px;
}

.gain-link span { transition: transform 0.15s ease; }
.gain-link:hover span { transform: translateX(4px); }

.offers-note {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  text-align: center;
}

/* Formulaire */

.signup { padding-block: clamp(40px, 7vw, 72px); }

.signup-panel {
  position: relative;
  display: grid;
  gap: 24px;
  overflow: hidden;
  padding: 32px 22px;
  border-radius: 28px;
  background: var(--sun-soft);
}

.signup-intro, .signup-body { position: relative; }

.signup-panel::before {
  content: "";
  position: absolute;
  top: -44px;
  right: -44px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--sun);
}

.signup-intro h2 {
  max-width: 9em;
  font-family: var(--display);
  font-size: clamp(2.125rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.signup-intro p { margin-top: 12px; color: var(--ink-soft); }

.field + .field { margin-top: 20px; }

legend, .field > label {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  font-weight: 700;
}

.roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.role { position: relative; cursor: pointer; }

.role input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.role span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 8px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--white);
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.role:hover span { border-color: var(--ink); }

.role input:checked + span {
  border-color: var(--ink);
  background: var(--coral);
  color: #FFFFFF;
  font-weight: 700;
}

.role input:focus-visible + span {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

input[type="email"] {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem; /* au moins 16 px : évite le zoom automatique sur iPhone */
}

input[type="email"]::placeholder { color: var(--ink-soft); }

input[aria-invalid="true"] { border-color: var(--error); }

form .button { width: 100%; margin-top: 20px; }

.error {
  margin-top: 8px;
  color: var(--error);
  font-size: 0.9375rem;
  font-weight: 600;
}

.consent {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.success {
  padding: 24px;
  border-radius: 22px;
  background: var(--white);
}

.success:focus { outline: none; }

.success h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
}

.success p { margin-top: 6px; color: var(--ink-soft); }

.success .test-note {
  margin-top: 14px;
  color: var(--error);
  font-size: 0.875rem;
  font-weight: 600;
}

/* Pied de page */

.footer { padding-block: 0 max(32px, env(safe-area-inset-bottom)); }

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

.social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--peach);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.social svg { flex: none; }

.social[href]:hover { background: var(--coral); color: #FFFFFF; }

.social small {
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 500;
}

.legal {
  max-width: 44em;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.legal a, .consent a { color: inherit; text-decoration: underline; }

/* Pages légales */
.legal-page {
  max-width: 760px;
  padding-block: 32px 64px;
}

.legal-page h1 { margin-block: 20px 8px; font-size: clamp(2rem, 7vw, 2.75rem); line-height: 1.1; }
.legal-page h2 { margin-block: 30px 8px; font-size: 1.25rem; line-height: 1.25; }
.legal-page p, .legal-page ul { margin-bottom: 10px; line-height: 1.55; }
.legal-page ul { padding-left: 20px; }
.legal-page li { margin-bottom: 4px; }
.legal-page a { color: inherit; overflow-wrap: anywhere; }
.legal-back { font-weight: 700; }
.legal-date { color: var(--ink-soft); font-size: 0.875rem; }
.todo { padding-inline: 4px; background: var(--sun); border-radius: 4px; font-weight: 700; }

/* Écrans plus larges */

@media (min-width: 760px) {
  .gains {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .gain { padding: 36px 32px 28px; }

  .offers-note { grid-column: 1 / -1; }

  .signup-panel {
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    padding: 56px;
  }

  .footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }

  .socials { flex: none; }

  .legal {
    max-width: 30em;
    margin-top: 0;
    text-align: right;
  }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 48px;
    padding-block: 56px 64px;
  }

  .brand { font-size: clamp(8rem, 12.5vw, 10.5rem); }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  .mini-card { animation: none; }
  .button, .button:hover { transform: none; }
}

/* Vitrine */
.section-title { font-family: var(--display); font-size: clamp(1.75rem, 5.5vw, 2.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.gains .section-title { grid-column: 1 / -1; }
.tour, .reveal { padding-top: clamp(40px, 7vw, 72px); }
.steps { display: grid; gap: 28px; margin-top: 28px; list-style: none; }
.step { display: grid; grid-template-columns: minmax(120px, 42%) 1fr; gap: 20px; align-items: center; }
.step h3 { font-family: var(--display); font-size: 1.35rem; font-weight: 800; line-height: 1.2; }
.step p { margin-top: 6px; color: var(--ink-soft); }
.step .step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; margin: 0 0 10px; border-radius: 50%; background: var(--sun); color: var(--ink); font-weight: 800; }
.phone { margin: 0; padding: 8px; border-radius: 30px; background: var(--ink); box-shadow: 0 18px 40px rgba(18, 38, 79, 0.18); }
.phone img, .reveal-card img { display: block; width: 100%; height: auto; border-radius: 22px; }
.tour-note { margin-top: 20px; color: var(--ink-soft); font-size: 0.875rem; }
.reveal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.reveal-card { margin: 0; padding: 6px; border-radius: 22px; background: var(--white); box-shadow: 0 10px 26px rgba(18, 38, 79, 0.12); }
.reveal-card img { border-radius: 16px; aspect-ratio: 560 / 760; object-fit: cover; object-position: top; }
.reveal-card figcaption { padding: 10px 6px 6px; color: var(--ink-soft); font-size: 0.8125rem; line-height: 1.3; }
.reveal-card strong { display: block; color: var(--coral); font-family: var(--display); font-size: 1.05rem; }
.soon { padding-block: clamp(40px, 7vw, 72px); }
.soon-panel { padding: clamp(28px, 6vw, 56px); border-radius: 28px; background: var(--ink); color: var(--on-ink); }
.soon-panel h2 { font-family: var(--display); font-size: clamp(1.75rem, 6vw, 2.75rem); font-weight: 800; line-height: 1.1; color: var(--sun); }
.soon-panel p { max-width: 36em; margin-top: 12px; }
.site-footer { display: block; }
.site-footer .legal { max-width: 44em; text-align: left; }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .step { grid-template-columns: 200px 1fr; }
  .reveal-grid { gap: 24px; }
  .reveal-card figcaption { font-size: 0.9375rem; }
}
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { grid-template-columns: 1fr; }
}
@media (max-width: 759px) {
  .step { grid-template-columns: 38% 1fr; gap: 16px; }
  .step h3 { font-size: 1.2rem; }
  .step p { font-size: 0.95rem; line-height: 1.45; }
}

.tiktok-button { margin-top: 22px; background: var(--sun); color: var(--ink); }
.tiktok-button:hover { background: #FFFFFF; color: var(--ink); }
