:root {
  --blue: #056AFD;
  --navy: #03225C;
  --coral: #FD7658;
  --ink: #1D2B45;
  --muted: #5B6880;
  --sky: #EEF4FF;
  --line: #DCE5F5;
  --white: #FFFFFF;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
a { color: var(--blue); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; display: block; }

.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }

/* En-tête */
.top { padding: 22px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top img { height: 40px; width: auto; }
.top nav { display: flex; gap: 22px; font-weight: 700; font-size: 16px; }
.top nav a { color: var(--navy); text-decoration: none; }
.top nav a:hover { color: var(--blue); }

/* Accroche */
.hero { padding: 40px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 {
  font-weight: 900;
  font-size: clamp(44px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 22px;
}
.hero p.lead { font-size: 21px; color: var(--muted); max-width: 30ch; margin: 0 0 30px; }
.soon { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy);
  background: var(--sky); border-radius: 999px; padding: 10px 18px; font-size: 16px; }
.soon::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }

/* La scène : une phrase dite devient une entrée d'agenda */
.scene { position: relative; min-height: 420px; }
.bubble {
  position: relative;
  background: var(--blue);
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  padding: 26px 28px;
  border-radius: 34px 34px 34px 8px;
  max-width: 400px;
  box-shadow: 0 18px 40px -18px rgba(5, 106, 253, .55);
}
.bubble small { display: block; font-weight: 600; font-size: 14px; opacity: .8; margin-bottom: 8px; }
.wave { display: flex; gap: 4px; align-items: end; height: 18px; margin-top: 14px; }
.wave i { width: 4px; border-radius: 2px; background: rgba(255,255,255,.75); }
.card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(360px, 92%);
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 22px;
  padding: 20px 22px;
}
.card .when { display: flex; align-items: baseline; gap: 14px; }
.card .time { font-weight: 900; font-size: 34px; color: var(--blue); font-variant-numeric: tabular-nums; }
.card .what { font-weight: 800; font-size: 22px; color: var(--navy); }
.card .day { color: var(--muted); font-size: 15px; margin: 2px 0 14px; }
.card ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.card li { display: flex; justify-content: space-between; padding: 10px 0 0; font-size: 15px; color: var(--ink); }
.card li b { font-variant-numeric: tabular-nums; color: var(--navy); }
.tick { position: absolute; top: -16px; right: 22px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--coral); display: grid; place-items: center; }
.tick svg { width: 18px; height: 18px; }

@media (prefers-reduced-motion: no-preference) {
  .card { animation: settle .7s .5s both cubic-bezier(.2,.8,.2,1); }
  @keyframes settle { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}

/* Étapes */
.how { background: var(--sky); padding: 72px 0; }
.how h2, .ranges h2, .trust h2 { font-weight: 900; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; color: var(--navy); margin: 0 0 34px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: var(--white); font-weight: 900; font-size: 20px; margin-bottom: 14px; }
.steps h3 { margin: 0 0 6px; font-size: 21px; font-weight: 800; color: var(--navy); }
.steps p { margin: 0; color: var(--muted); }

/* Sans / Avec J'Y PENSE */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.versus { padding: 80px 0 8px; }
.versus h2 .hl { color: var(--blue); display: block; }
.versus h2 { font-weight: 900; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; color: var(--navy); margin: 0 0 34px; max-width: 28ch; }
.vs-head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 12px; font-weight: 900; font-size: 19px; }
.vs-head span:first-child { color: var(--muted); padding-left: 44px; }
.vs-head span:last-child { color: var(--blue); padding-left: 44px; }
.vs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vs li { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vs p { margin: 0; position: relative; padding: 16px 20px 16px 56px; border-radius: 18px; }
.vs .without { background: #F4F6FA; color: var(--muted); }
.vs .with { background: var(--sky); color: var(--navy); font-weight: 600; border: 2px solid #CFE0FF; }
.vs .with b { font-weight: 900; color: var(--blue); }
.vs p::before { content: ""; position: absolute; left: 18px; top: 17px; width: 24px; height: 24px; border-radius: 50%;
  background-repeat: no-repeat; background-position: center; background-size: 12px; }
.vs .without::before { background-color: #DDE3EE;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3L3 9' stroke='%235B6880' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.vs .with::before { background-color: var(--coral);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.3 2.3L9.6 3.6' stroke='%23fff' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Gammes */
.ranges { padding: 80px 0; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--line); border-radius: 28px; overflow: hidden; }
.pair section { padding: 34px 36px; }
.pair section + section { border-left: 2px solid var(--line); }
.pair h3 { margin: 0 0 6px; font-size: 26px; font-weight: 900; color: var(--navy); }
.pair .for { margin: 0 0 18px; color: var(--muted); }
.pair ul { margin: 0; padding-left: 20px; }
.pair li { margin: 6px 0; }
.pair li::marker { color: var(--coral); }

/* Confiance */
.trust { padding: 0 0 84px; }
.trust .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.trust dl { margin: 0; display: grid; gap: 18px; }
.trust dt { font-weight: 800; color: var(--navy); font-size: 19px; }
.trust dd { margin: 2px 0 0; color: var(--muted); }

/* Pied de page */
footer { background: var(--navy); color: #C9D6F0; padding: 40px 0; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; }
footer a { color: var(--white); }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }

/* Pages juridiques */
.doc { padding: 24px 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-weight: 900; font-size: clamp(34px, 5vw, 48px); line-height: 1.1; color: var(--navy); margin: 10px 0 8px; }
.doc .date { color: var(--muted); margin: 0 0 30px; }
.doc h2 { font-weight: 800; font-size: 24px; color: var(--navy); margin: 40px 0 10px; }
.doc p, .doc li { max-width: 68ch; }
.doc table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 12px 0; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--navy); }
.note { background: var(--sky); border-radius: 18px; padding: 18px 22px; margin: 18px 0; }

@media (max-width: 860px) {
  .hero .wrap, .trust .wrap { grid-template-columns: 1fr; gap: 40px; }
  .scene { min-height: 380px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .pair { grid-template-columns: 1fr; }
  .pair section + section { border-left: 0; border-top: 2px solid var(--line); }
  .top nav { display: none; }
  .vs-head { display: none; }
  .vs li { grid-template-columns: 1fr; gap: 6px; }
  .vs .sr { position: static; width: auto; height: auto; clip: auto; display: block; font-weight: 900; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
  .vs .with .sr { color: var(--blue); }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .bubble { font-size: 19px; padding: 22px; }
  .pair section { padding: 26px 22px; }
  .doc table { font-size: 14px; }
}
