.site {
  --paper: #f6f1e4;
  --ink: #000633;
  --yellow: #ffe14a;
  --yellow-deep: #f0c400;
  --navy: #000633;
  --line: #e4d8c0;
  --muted: #3d4468;
  --quiet: #5c647f;
  --sans: "Inter Tight", "Avenir Next", sans-serif;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.site *,
.site *::before,
.site *::after { box-sizing: border-box; }
.site h1, .site h2, .site h3, .site p { margin: 0; }
.site a { color: inherit; text-decoration: none; }
.site button, .site input, .site textarea { font: inherit; }
.site ::selection { background: var(--yellow); color: var(--ink); }

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  background: rgba(246, 241, 228, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav-inner, .wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; flex-direction: column; gap: 6px; }
.mark { font-size: 1.875rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.who { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.mark span {
  display: inline-block;
  width: 0.28em;
  height: 0.28em;
  margin-left: 0.12em;
  border-radius: 99px;
  background: var(--yellow);
  color: transparent;
  overflow: hidden;
  vertical-align: 0.12em;
}
.nav-links { display: none; gap: 32px; font-size: 0.875rem; font-weight: 500; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.pill:hover { background: var(--yellow-deep); transform: scale(1.02); }

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 128px 0 80px;
  overflow: hidden;
}
.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-visual img {
  position: absolute;
  top: 112px;
  right: 0;
  height: calc(100% - 112px);
  width: min(46vw, 620px);
  object-fit: cover;
  object-position: center 12%;
  -webkit-mask-image: radial-gradient(ellipse 70% 58% at 62% 34%, #000 22%, transparent 68%);
  mask-image: radial-gradient(ellipse 70% 58% at 62% 34%, #000 22%, transparent 68%);
}
.hero-wash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 28% 48%, rgba(255, 225, 74, 0.55), transparent 42%);
}
.hero-copy { position: relative; z-index: 1; max-width: 640px; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.glow {
  background: linear-gradient(transparent 58%, var(--yellow) 58% 92%, transparent 92%);
  color: var(--ink);
}
.hero .pill { margin-top: 40px; }
.lede {
  max-width: 34rem;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
}
.note {
  display: flex;
  gap: 12px;
  max-width: 28rem;
  margin-top: 64px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf6;
  color: var(--quiet);
  font-size: 12px;
  line-height: 1.45;
}

.band { padding: 96px 0; border-top: 1px solid rgba(0, 6, 51, 0.08); }
.band .kicker { margin-bottom: 12px; }
.band h2, .light h1, .light h2, .cta h2, .reading h1 {
  font-size: clamp(2rem, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}
.rows { margin-top: 64px; }
.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 32px 16px;
  border-top: 1px solid var(--line);
  border-radius: 12px;
}
.row:hover { background: rgba(255, 225, 74, 0.35); }
.row h3 { font-size: 1.25rem; font-weight: 700; }
.row p { max-width: 36rem; margin-top: 8px; color: var(--quiet); font-size: 0.875rem; font-weight: 300; line-height: 1.6; }
.row b {
  align-self: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.marquee { overflow: hidden; border-top: 1px solid rgba(0, 6, 51, 0.08); padding: 24px 0; }
.marquee-track {
  display: flex;
  width: max-content;
  animation: march 40s linear infinite;
}
.marquee span {
  padding: 0 32px;
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 6, 51, 0.2);
}
.marquee .hot {
  color: var(--yellow);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
}
@keyframes march { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.light {
  position: relative;
  z-index: 2;
  margin-top: -40px;
  padding: 96px 0 80px;
  border-radius: 40px 40px 0 0;
  background: var(--navy);
  color: var(--paper);
}
.light-head { margin-bottom: 64px; }
.kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.light .kicker { color: var(--yellow); }
.cards { display: grid; grid-template-columns: 1fr; gap: 24px; }
.site a.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  padding: 32px;
  border: 1px solid transparent;
  border-radius: 24px;
  background: #fffdf6;
  color: var(--ink);
  box-shadow: 0 8px 30px rgb(0 0 0 / 0.16);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -10px rgb(0 0 0 / 0.28); }
.card .badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 24px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card h3 { color: var(--ink); font-size: 1.5rem; font-weight: 700; }
.card p { margin: 12px 0 24px; color: var(--quiet); font-size: 0.875rem; font-weight: 500; line-height: 1.6; }
.more { color: var(--ink); font-size: 0.875rem; font-weight: 700; background: linear-gradient(var(--yellow), var(--yellow)) left 90% / 100% 0.35em no-repeat; }

.cta-wrap { padding: 80px 0; background: var(--paper); }
.cta {
  display: grid;
  gap: 32px;
  padding: 40px;
  border: 0;
  border-radius: 32px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 24px 60px rgb(255 225 74 / 0.35);
}
.cta p { margin-top: 16px; color: var(--ink); font-size: 0.875rem; line-height: 1.6; }
.cta .pill { background: var(--navy); color: var(--yellow); }
.cta .pill:hover { background: #00094a; }
.form, .ok { display: grid; gap: 12px; }
.form input, .form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.form textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.error { color: #9a3412; font-size: 0.875rem; }
.ok { color: var(--ink); }

.foot { padding: 64px 0 32px; border-top: 1px solid var(--line); background: var(--paper); }
.foot-grid { display: grid; gap: 32px; }
.foot .mark { font-size: 2.25rem; }
.foot small, .legal { color: var(--quiet); font-size: 11px; font-weight: 500; }
.foot h4 {
  margin: 0 0 16px;
  color: var(--quiet);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.foot a { color: var(--muted); font-size: 0.875rem; font-weight: 500; }
.foot a:hover { color: var(--ink); background: linear-gradient(var(--yellow), var(--yellow)) left 90% / 100% 0.35em no-repeat; }
.legal { display: flex; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }

.reading { max-width: 720px; padding: 148px 0 96px; }
.back { display: inline-block; margin-bottom: 24px; color: var(--quiet); font-size: 0.875rem; font-weight: 600; }
.back:hover { color: var(--ink); }
.reading .chip {
  display: block;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.reading .lede { color: var(--muted); }
.reading article { display: grid; gap: 16px; margin-top: 32px; }
.reading article p { color: var(--muted); font-size: 1.05rem; font-weight: 300; line-height: 1.7; }
.page-projects { padding: 140px 0 0; background: var(--paper); }
.page-projects .light { margin-top: 0; }

.reveal.is-visible { transform: none; }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1.4fr 0.8fr; align-items: center; padding: 64px; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 767px) {
  .nav-inner, .wrap { width: min(1120px, calc(100% - 32px)); }
  .hero { display: block; min-height: 0; padding-top: 116px; }
  .hero-visual { position: relative; height: 72vh; }
  .hero-visual img {
    top: 0;
    height: 100%;
    width: 100%;
    -webkit-mask-image: radial-gradient(ellipse 80% 64% at 50% 38%, #000 18%, transparent 70%);
    mask-image: radial-gradient(ellipse 80% 64% at 50% 38%, #000 18%, transparent 70%);
  }
  .hero-copy { padding: 8px 0 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .reveal { animation: none; }
}

/* Promesse, actions et preuves (oct. 2026) */
.promise {
  max-width: 34rem;
  margin-top: 28px;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.hero .lede { font-size: 1.05rem; margin-top: 16px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero .ctas .pill { margin-top: 0; }
.pill-ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.pill-ghost:hover { background: var(--yellow); }
.proofs { border-top: 1px solid rgba(0, 6, 51, 0.08); background: var(--navy); color: #fff; }
.proofs-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; padding: 36px 0; }
.proofs p { display: flex; flex-direction: column; gap: 4px; }
.proofs b { color: var(--yellow); font-size: 2rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.proofs span { color: rgba(255, 255, 255, 0.75); font-size: 0.85rem; }
.sujets { display: flex; flex-wrap: wrap; gap: 8px; }
.sujet {
  padding: 8px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.sujet:hover, .sujet.is-on { background: var(--ink); color: var(--yellow); }
.cta .lien { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .ctas .pill { width: 100%; } }

.contact {
  position: relative;
  padding: 96px 0 80px;
  background: var(--paper);
  border-top: 1px solid rgba(0, 6, 51, 0.08);
}
.contact-grid { display: grid; gap: 64px; }
.contact-pitch { max-width: 34rem; }
.contact .kicker {
  display: block;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.contact h2 {
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.invite { position: relative; min-height: 240px; }
.invite-pane {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.invite-pane.is-on {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.invite-pane p {
  max-width: 28rem;
  margin-top: 32px;
  color: rgba(0, 6, 51, 0.8);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.45;
}
.contact-points { margin: 48px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.contact-points li { display: grid; gap: 4px; }
.contact-points b { font-size: 0.95rem; font-weight: 600; }
.contact-points span { color: var(--quiet); font-size: 0.875rem; font-weight: 400; }
.contact .lien { display: inline-block; margin-top: 28px; font-size: 0.875rem; font-weight: 600; border-bottom: 1px solid rgba(0, 6, 51, 0.2); }
.contact .lien:hover { border-bottom-color: var(--navy); }
.rise { opacity: 0; transform: translateY(20px); }
.rise.is-in { animation: contact-up 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
@keyframes contact-up { to { opacity: 1; transform: none; } }
.contact .form { position: relative; display: grid; gap: 48px; }
.progress { height: 2px; background: rgba(0, 6, 51, 0.08); }
.progress span { display: block; height: 2px; width: 0; background: var(--yellow); transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.contact .chips, .contact .canal { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact legend {
  padding: 0;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.contact .chips { display: flex; }
.chip-opt span, .seg span {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid rgba(0, 6, 51, 0.2);
  border-radius: 999px;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.chip-opt input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.chip-opt input:checked + span, .seg input:checked + span { background: var(--navy); color: var(--yellow); }
.chip-opt input:focus-visible + span, .seg input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
.seg-group { display: flex; flex-wrap: wrap; gap: 8px; }
.contact .field { display: grid; gap: 8px; }
.contact .field > span, .contact .field em { color: var(--muted); font-size: 12px; font-weight: 700; font-style: normal; letter-spacing: 0.12em; text-transform: uppercase; }
.contact .line { position: relative; }
.contact .form input, .contact .form textarea, .contact .form select {
  width: 100%;
  padding: 8px 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.35;
}
.contact .form textarea { min-height: 0; overflow: hidden; resize: none; }
.track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(0, 6, 51, 0.2);
  overflow: hidden;
  pointer-events: none;
}
.beam {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100px;
  height: 100%;
  background: var(--yellow);
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
}
.line.is-hot .beam { opacity: 1; }
.line.is-live .beam { opacity: 0; }
.focus-line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--navy);
  pointer-events: none;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.line.is-live .focus-line { width: 100%; }
.contact .field > span { justify-self: start; }
.line.is-live > span { color: var(--ink); box-shadow: inset 0 -0.45em 0 var(--yellow); }
.contact .form input:focus, .contact .form textarea:focus, .contact .form select:focus { outline: none; }
.phone { display: grid; grid-template-columns: minmax(7.5rem, 0.6fr) 1.4fr; gap: 16px; align-items: end; }
.phone select { text-overflow: ellipsis; }
.contact .form[data-canal="whatsapp"] [data-canal-panel="email"],
.contact .form[data-canal="email"] [data-canal-panel="whatsapp"] { display: none; }
.contact .send {
  position: relative;
  justify-self: start;
  overflow: hidden;
  margin-top: 0;
  padding: 20px 48px;
  border: 0;
  border-radius: 0;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 0 var(--navy);
  transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact .send::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--navy);
  pointer-events: none;
}
.contact .send:hover { transform: none; background: var(--yellow); }
.contact .send:active, .contact .send.is-pressed {
  transform: translateY(6px);
  box-shadow: 0 0 0 var(--navy);
}
.loading-line { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--navy); }
.contact .form.is-sending .loading-line { animation: contact-load 1.1s ease-in-out infinite; }
@keyframes contact-load {
  0% { width: 0; left: 0; right: auto; }
  50% { width: 100%; left: 0; right: auto; }
  100% { width: 0; right: 0; left: auto; }
}
.contact .fine { margin: -28px 0 0; color: var(--quiet); font-size: 12px; }
.contact .error { color: #9a3412; font-size: 0.875rem; font-weight: 600; }
.sent { display: grid; gap: 16px; align-content: center; min-height: 280px; }
.sent h3 { font-size: 2.5rem; font-weight: 500; letter-spacing: -0.04em; }
.sent p { max-width: 28rem; color: rgba(0, 6, 51, 0.7); font-size: 1.125rem; font-weight: 300; }
.contact-appel p {
  max-width: 28rem;
  margin-bottom: 32px;
  color: rgba(0, 6, 51, 0.8);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.45;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ecran {
  width: min(38rem, calc(100vw - 2rem));
  max-height: min(92vh, 46rem);
  margin: auto;
  padding: 28px 32px 32px;
  border: 1.5px solid var(--navy);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 16px 0 var(--navy);
}
.ecran::backdrop { background: rgba(0, 6, 51, 0.46); }
.ecran .form { gap: 20px; }
.ecran-barre { display: flex; align-items: center; justify-content: space-between; }
.ecran-pas {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.ecran-fermer, .arriere {
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
.ecran-fermer { min-height: 44px; min-width: 44px; padding: 12px 0 12px 12px; }
.etape { display: grid; gap: 24px; }
.etape[hidden] { display: none; }
.etape-aide { margin: -12px 0 0; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.recap { margin: -8px 0 0; padding: 12px 14px; background: rgba(255, 225, 74, 0.35); color: var(--ink); font-size: 0.9rem; font-weight: 600; }
.lien-mini { margin-left: 6px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.champ-erreur { margin: 8px 0 0; color: #9a3412; font-size: 0.875rem; font-weight: 600; }
.contact [aria-invalid="true"] ~ .track, .line:has([aria-invalid="true"]) .track { height: 2px; background: #c2410c; }
.etape h3 {
  margin: 8px 0 0;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.ecran .chips { display: grid; width: 100%; gap: 10px; }
.ecran .chip-opt { display: block; }
.ecran .chip-opt span {
  display: flex;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  padding: 18px 20px;
  border-radius: 0;
  font-size: 1.05rem;
}
.ecran .chip-opt span::after { content: "→"; }
.ecran-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ecran .fine { margin: 0; }
.ecran textarea { min-height: 88px; }
.arriere { padding: 16px 0; }
@media (max-width: 640px) {
  .ecran {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: 16px 18px 24px;
    border: 0;
    box-shadow: none;
    overflow-y: auto;
  }
  .etape h3 { font-size: 2.1rem; }
  .contact .form input, .contact .form textarea, .contact .form select { font-size: 1.2rem; }
  .ecran-nav { position: sticky; bottom: 0; padding-top: 12px; background: var(--paper); }
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 5fr 6fr; gap: 32px; align-items: start; }
  .contact-pitch { position: sticky; top: 128px; padding-right: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; animation: none; }
  .invite-pane, .focus-line, .contact .send, .etape { transition: none; animation: none; }
  .beam { display: none; }
  .contact .form.is-sending .loading-line { animation: none; width: 100%; }
}
.etape > div:has(> .champ-erreur[hidden]) { display: none; }
.etape > .champ-erreur, .etape > div > .champ-erreur { margin-top: -14px; }
@media (min-width: 641px) { .phone { grid-template-columns: minmax(11rem, 0.8fr) 1.2fr; } }

/* Popup financement : brief papier, liseré jaune, pied fixe. */
.point-ouvrir {
  display: grid; gap: 4px; width: 100%; margin: -10px -12px; padding: 10px 12px;
  border: 1px solid transparent; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.point-ouvrir:hover, .point-ouvrir:focus-visible { border-color: var(--navy); background: rgba(255, 225, 74, 0.25); outline: none; }
.point-ouvrir b { font-size: 0.95rem; font-weight: 600; }
.point-ouvrir span { color: var(--quiet); font-size: 0.875rem; }
.point-ouvrir em { font-style: normal; font-size: 0.8rem; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.fin-pop {
  display: flex;
  flex-direction: column;
  width: min(64rem, calc(100vw - 2rem));
  height: min(85dvh, 52rem);
  max-height: 85dvh;
  padding: 0;
  overflow: hidden;
  border: 1.5px solid var(--navy);
  box-shadow: 6px 6px 0 var(--navy);
}
/* Une fenêtre fermée ne doit jamais s'afficher dans la page. */
.fin-pop:not([open]) { display: none; }
.fin-pop[open] { animation: fin-in 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes fin-in {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.fin-scroll { flex: 1; overflow-y: auto; padding: 28px 32px 8px; }
.fin-scroll::-webkit-scrollbar { width: 8px; }
.fin-scroll::-webkit-scrollbar-track { background: var(--paper); border-left: 1.5px solid var(--navy); }
.fin-scroll::-webkit-scrollbar-thumb { background: var(--navy); }
.fin-perle {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  background: var(--yellow);
  vertical-align: 1px;
}
.fin-corps { display: block; margin: 28px 0 40px; }
.fin-corps h3 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.85;
}
.fin-chapo {
  max-width: 40rem;
  margin: 32px 0 0;
  padding-left: 24px;
  border-left: 3px solid var(--navy);
  color: rgba(0, 6, 51, 0.8);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
}
.fin-corps h4 {
  margin: 64px 0 24px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid rgba(0, 6, 51, 0.2);
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.fin-profils, .fin-formules, .fin-etapes { margin: 0; padding: 0; list-style: none; }
.fin-profils { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fin-profils li {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 24px;
  border: 1.5px solid rgba(0, 6, 51, 0.15);
  background: transparent;
  transition: border-color 0.2s ease;
}
.fin-profils li:hover { border-color: rgba(0, 6, 51, 0.4); }
.fin-idx { color: rgba(0, 6, 51, 0.5); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; }
.fin-profils b { font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
.fin-profils span, .fin-formules span { color: rgba(0, 6, 51, 0.7); font-size: 0.875rem; font-weight: 500; line-height: 1.45; }
.fin-formules { display: grid; gap: 16px; }
.fin-formules li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  border: 1.5px solid var(--navy);
  border-left: 8px solid var(--yellow);
  background: transparent;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}
.fin-formules li:hover { transform: translateX(4px); background: rgba(0, 6, 51, 0.02); }
.fin-formules b { flex: 1; font-size: 1.125rem; font-weight: 700; }
.fin-formules span { max-width: 22rem; text-align: right; }
.fin-etapes { display: grid; gap: 40px; }
.fin-etapes li { display: flex; align-items: flex-start; gap: 24px; }
.fin-num {
  display: grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  font-size: 1.25rem;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.fin-etapes li:hover .fin-num { background: var(--navy); color: var(--paper); }
.fin-etapes p { margin: 10px 0 0; max-width: 36rem; font-size: 1.05rem; font-weight: 500; line-height: 1.45; }
.fin-note {
  margin: 48px 0 0;
  padding: 16px 0 0;
  border-top: 1.5px solid rgba(0, 6, 51, 0.2);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}
.fin-pop .ecran-nav {
  position: static;
  flex: none;
  z-index: 2;
  margin: 0;
  padding: 20px 32px;
  border-top: 1.5px solid var(--navy);
  background: var(--paper);
}
.fin-pop .arriere { color: rgba(0, 6, 51, 0.6); }
.fin-pop .arriere:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.fin-pop .send {
  border: 1.5px solid var(--navy);
  box-shadow: 6px 6px 0 var(--navy);
  padding: 20px 40px;
}
.fin-pop .send:hover { transform: none; }
.fin-pop .send:active, .fin-pop .send.is-pressed { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--navy); }
.fin-pop .ecran-nav a.send { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
@media (min-width: 768px) {
  .fin-scroll { padding: 48px 64px 16px; }
  .fin-pop .ecran-nav { padding: 24px 40px; }
}
@media (max-width: 800px) {
  .fin-profils { grid-template-columns: 1fr; }
  .fin-formules li { flex-direction: column; align-items: flex-start; }
  .fin-formules span { max-width: none; text-align: left; }
}
@media (max-width: 640px) {
  .fin-pop { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border: 0; box-shadow: none; }
  .fin-scroll { padding: 16px 18px 8px; }
  .fin-corps h3 { font-size: 2.75rem; }
  .fin-corps h4 { margin-top: 40px; }
  .fin-pop .ecran-nav { flex-direction: column-reverse; align-items: stretch; padding: 16px 18px 20px; }
  .fin-pop .send { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .fin-pop[open], .fin-formules li, .fin-num { animation: none; transition: none; }
}

/* Panneau latéral « 1 à 10 millions GNF » (remplace la grande fenêtre) */
dialog.tiroir {
  position: fixed; inset: 0 0 0 auto;
  width: min(30rem, 100vw); height: 100dvh; max-width: 100vw; max-height: 100dvh;
  margin: 0 0 0 auto; padding: 0;
  border: 0; border-left: 1.5px solid var(--navy);
  background: var(--paper); color: var(--ink);
  box-shadow: -24px 0 60px -20px rgba(0, 6, 51, 0.35);
}
dialog.tiroir:not([open]) { display: none; }
dialog.tiroir[open] { display: flex; flex-direction: column; animation: tiroir-in 0.38s cubic-bezier(0.16, 1, 0.3, 1); }
dialog.tiroir.is-closing { animation: tiroir-out 0.24s cubic-bezier(0.4, 0, 1, 1) forwards; }
dialog.tiroir::backdrop { background: rgba(0, 6, 51, 0.38); animation: voile-in 0.3s ease; }
dialog.tiroir.is-closing::backdrop { animation: voile-out 0.24s ease forwards; }
@keyframes tiroir-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes tiroir-out { to { transform: translateX(100%); } }
@keyframes voile-in { from { opacity: 0; } }
@keyframes voile-out { to { opacity: 0; } }
.tiroir-tete { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; border-bottom: 1px solid rgba(0, 6, 51, 0.1); }
.tiroir-kicker { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.tiroir-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 1.5px var(--navy); }
.tiroir-x { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.tiroir-x:hover, .tiroir-x:focus-visible { background: rgba(0, 6, 51, 0.06); outline: none; }
.tiroir-corps { flex: 1; overflow-y: auto; display: grid; align-content: start; gap: 28px; padding: 28px 28px 32px; }
.tiroir-corps h3 { margin: 0; font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; }
.tiroir-chapo { margin: -12px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.tiroir-corps section { display: grid; gap: 12px; }
.tiroir-corps h4 { margin: 0; color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; }
.tiroir-profils { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tiroir-profils li { padding: 8px 14px; border: 1.5px solid var(--navy); border-radius: 999px; background: #fff; font-size: 0.875rem; font-weight: 600; }
.tiroir-aide { margin: 0; color: var(--quiet); font-size: 0.875rem; line-height: 1.5; }
.tiroir-formules { display: grid; gap: 0; margin: 0; border-top: 1px solid rgba(0, 6, 51, 0.12); }
.tiroir-formules div { display: grid; gap: 2px; padding: 12px 0 12px 14px; border-bottom: 1px solid rgba(0, 6, 51, 0.12); border-left: 3px solid var(--yellow); }
.tiroir-formules dt { font-size: 0.95rem; font-weight: 700; }
.tiroir-formules dd { margin: 0; color: var(--muted); font-size: 0.875rem; line-height: 1.45; }
.tiroir-frise { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 0; padding: 0; list-style: none; }
.tiroir-frise::before { content: ""; position: absolute; top: 15px; left: 12%; right: 12%; height: 1.5px; background: var(--navy); opacity: 0.25; }
.tiroir-frise li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; }
.tiroir-frise b { display: grid; place-items: center; width: 32px; height: 32px; border: 1.5px solid var(--navy); border-radius: 50%; background: var(--paper); font-size: 0.85rem; }
.tiroir-frise li:first-child b { background: var(--yellow); }
.tiroir-frise span { color: var(--muted); font-size: 0.78rem; font-weight: 600; line-height: 1.25; }
.tiroir-pied { display: grid; gap: 10px; padding: 18px 28px 22px; border-top: 1px solid rgba(0, 6, 51, 0.12); background: var(--paper); }
.tiroir-pied .send {
  display: flex; align-items: center; justify-content: center;
  padding: 16px 24px; border: 1.5px solid var(--navy); background: var(--yellow); color: var(--navy);
  box-shadow: 4px 4px 0 var(--navy); font-size: 0.85rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.tiroir-pied .send:active { transform: translate(4px, 4px); box-shadow: none; }
.tiroir-pied p { margin: 0; color: var(--quiet); font-size: 0.78rem; text-align: center; }
@media (max-width: 640px) {
  /* Sur téléphone : feuille qui monte du bas, l'accueil reste visible au-dessus. */
  dialog.tiroir { inset: auto 0 0 0; width: 100vw; height: auto; max-height: 88dvh; margin: auto 0 0; border-left: 0; border-top: 1.5px solid var(--navy); border-radius: 18px 18px 0 0; box-shadow: 0 -20px 50px -20px rgba(0, 6, 51, 0.4); }
  dialog.tiroir[open] { animation-name: feuille-in; }
  dialog.tiroir.is-closing { animation-name: feuille-out; }
  .tiroir-tete { padding: 14px 20px; }
  .tiroir-tete::before { content: ""; position: absolute; top: 7px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: rgba(0, 6, 51, 0.2); }
  .tiroir-corps { padding: 20px; gap: 24px; }
  .tiroir-pied { padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); }
}
@keyframes feuille-in { from { transform: translateY(100%); } to { transform: none; } }
@keyframes feuille-out { to { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) {
  dialog.tiroir[open], dialog.tiroir.is-closing, dialog.tiroir::backdrop { animation: none; }
}
@media (min-width: 641px) {
  .tiroir-corps { gap: 22px; padding: 24px 28px 24px; }
  .tiroir-corps h3 { font-size: clamp(1.9rem, 2.6vw, 2.3rem); }
  .tiroir-chapo { margin-top: -10px; }
  .tiroir-formules div { padding: 9px 0 9px 14px; }
}
.tiroir-pied .send { justify-self: stretch; width: 100%; }

/* Accueil : le même contenu s'ouvre au centre à l'arrivée sur la page. */
dialog.tiroir.au-centre {
  inset: 0;
  margin: auto;
  width: min(34rem, calc(100vw - 24px));
  height: auto;
  max-height: min(88dvh, 46rem);
  border: 1.5px solid var(--navy);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--navy);
  overflow: hidden;
}
dialog.tiroir.au-centre[open] { animation: centre-in 0.42s cubic-bezier(0.16, 1, 0.3, 1); }
dialog.tiroir.au-centre.is-closing { animation: centre-out 0.2s ease-in forwards; }
dialog.tiroir.au-centre .tiroir-tete::before { content: none; }
@keyframes centre-in { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes centre-out { to { opacity: 0; transform: translateY(8px) scale(0.97); } }
@media (max-width: 640px) {
  dialog.tiroir.au-centre { inset: 0; margin: auto; width: calc(100vw - 24px); max-height: 86dvh; border: 1.5px solid var(--navy); border-radius: 18px; box-shadow: 5px 5px 0 var(--navy); }
  dialog.tiroir.au-centre[open] { animation-name: centre-in; }
  dialog.tiroir.au-centre.is-closing { animation-name: centre-out; }
}
@media (prefers-reduced-motion: reduce) {
  dialog.tiroir.au-centre[open], dialog.tiroir.au-centre.is-closing { animation: none; }
}
