/* Juliette — site public. Simple, clair, soigné. */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --surface: #ffffff;
  --line: #e5e5ea;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --blue: #0a66ff;
  --blue-soft: rgba(10, 102, 255, .08);
  --gold: #b07a00;
  --green: #1f9d55;
  --orange: #d97706;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 40px rgba(0, 0, 0, .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-soft: #0d0d10;
    --surface: #141417;
    --line: #26262b;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --blue: #4d8dff;
    --blue-soft: rgba(77, 141, 255, .12);
    --gold: #f2c35b;
    --green: #3ecf8e;
    --orange: #f5a524;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 20px 60px rgba(0, 0, 0, .5);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 22px; }

/* En-tête */
header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: .14em; font-size: 15px; text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s; }
nav a:hover { color: var(--text); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .2s, opacity .2s; font-family: inherit; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { opacity: .9; }
.btn-ghost { color: var(--blue); background: transparent; padding-left: 8px; padding-right: 8px; }
.btn-ghost::after { content: "›"; font-size: 20px; line-height: 1; margin-top: -2px; }
.btn-small { padding: 7px 14px; font-size: 14px; }

/* Titres */
h1 { font-size: clamp(44px, 7.4vw, 88px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 22px; font-weight: 700; }
h1 em, .grad { font-style: normal; background: linear-gradient(100deg, var(--blue) 10%, #7b61ff 55%, #e0569b 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(32px, 4.8vw, 56px); line-height: 1.06; letter-spacing: -.03em; margin: 0 0 16px; font-weight: 700; }
h3 { font-size: 19px; letter-spacing: -.01em; margin: 0 0 6px; }
.eyebrow { display: block; color: var(--blue); font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.lead { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.45; color: var(--muted); max-width: 640px; margin: 0 auto 30px; }
.sub { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 620px; margin: 0 0 44px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }
.note { color: var(--muted); font-size: 14px; }
.pill { display: inline-block; padding: 5px 13px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 13px; font-weight: 600; margin-bottom: 20px; }

/* Sections */
section { padding: 120px 0; }
section.soft { background: var(--bg-soft); }
.cta { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* Accueil */
.hero { padding: 72px 0 0; text-align: center; overflow: hidden; }
.hero-logo { display: block; width: 112px; height: 112px; margin: 0 auto 14px; border-radius: 26px; box-shadow: 0 18px 50px rgba(10, 102, 255, .28), 0 2px 6px rgba(0, 0, 0, .12); }
.hero-name { font-weight: 800; letter-spacing: .32em; font-size: 20px; margin: 0 0 22px .32em; }
.hero .stage { position: relative; margin-top: 64px; height: 560px; display: flex; justify-content: center; }
.hero .stage::before { content: ""; position: absolute; left: 50%; top: 40px; width: 760px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(10, 102, 255, .16), transparent 70%), radial-gradient(closest-side at 70% 40%, rgba(224, 86, 155, .10), transparent 70%); filter: blur(10px); z-index: 0; }

/* iPhone */
.phone { position: relative; z-index: 1; width: 300px; height: 620px; border-radius: 52px; padding: 11px; background: #111; box-shadow: 0 0 0 2px #2c2c2e, 0 40px 90px rgba(0, 0, 0, .22); }
.phone .screen { width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: #f2f2f7; color: #1d1d1f; font-size: 13px; position: relative; text-align: left; }
.phone .island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 27px; border-radius: 20px; background: #000; z-index: 2; }
.phone .status { display: flex; justify-content: space-between; padding: 14px 26px 0; font-weight: 600; font-size: 13px; }
.phone .title { font-size: 25px; font-weight: 700; letter-spacing: -.02em; padding: 26px 18px 12px; }
.phone .approve { margin: 0 14px 16px; background: #0a66ff; color: #fff; border-radius: 13px; padding: 11px 12px; font-weight: 600; text-align: center; font-size: 13.5px; }
.phone .label { color: #6e6e73; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; padding: 0 30px 6px; }
.phone .group { margin: 0 14px; background: #fff; border-radius: 13px; overflow: hidden; }
.phone .item { padding: 10px 14px; border-bottom: 1px solid #e5e5ea; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; }
.phone .item:last-child { border-bottom: 0; }
.phone .ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: 14px; font-weight: 700; }
.phone .item b { display: block; font-size: 13px; }
.phone .item span { display: block; color: #6e6e73; font-size: 12px; line-height: 1.35; }
.phone .item i { font-style: normal; font-size: 11px; font-weight: 600; }
.phone .wait { color: #d97706; } .phone .done { color: #1f9d55; } .phone .plan { color: #6e6e73; }
.caption { position: absolute; bottom: 28px; right: calc(50% - 300px); z-index: 1; font-size: 13px; color: var(--muted); }

/* Journée type */
.day { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; }
.day li { display: grid; grid-template-columns: 96px 1fr; gap: 22px; padding: 26px 0; border-top: 1px solid var(--line); }
.day li:first-child { border-top: 0; }
.day time { font-size: 28px; font-weight: 700; letter-spacing: -.02em; color: var(--blue); font-variant-numeric: tabular-nums; }
.day h3 { font-size: 21px; }
.day p { margin: 0; color: var(--muted); }

/* Grilles */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
section.soft .card { border-color: transparent; box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-size: 19px; margin-bottom: 16px; }

/* Liste de fonctions façon « spec » */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 36px; }
.features div { border-top: 1px solid var(--line); padding-top: 18px; }
.features p { margin: 0; color: var(--muted); font-size: 16px; }

/* Engagements */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.promise .big-n { font-size: 44px; font-weight: 700; letter-spacing: -.03em; margin-bottom: 4px; }

/* Prix */
.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 16px; }
.plan-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px; text-align: center; }
.plan-card.pop { border: 2px solid var(--blue); }
.plan-card .name { font-weight: 600; font-size: 15px; }
.plan-card .price { font-size: 32px; font-weight: 700; letter-spacing: -.03em; margin: 6px 0 2px; }
.plan-card .per { color: var(--muted); font-size: 13px; }
.plan-card .for { color: var(--muted); font-size: 13px; margin-top: 10px; line-height: 1.35; }
.offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 30px; }
.offers div { padding: 18px; border-radius: 16px; background: var(--bg-soft); }
section.soft .offers div { background: var(--surface); }
.offers strong { display: block; margin-bottom: 4px; }
.offers span { color: var(--muted); font-size: 14px; }

/* Formulaire */
form { display: grid; gap: 12px; max-width: 560px; margin: 0 auto; text-align: left; }
input, textarea, select { width: 100%; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 16px; }
input:focus, textarea:focus, select:focus { outline: 3px solid var(--blue-soft); border-color: var(--blue); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
form .btn { width: 100%; padding: 15px; }
#status { min-height: 22px; text-align: center; }

/* Secteurs et pied de page */
.sectors { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.sectors a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; color: var(--muted); font-size: 14px; transition: color .2s, border-color .2s; }
.sectors a:hover { color: var(--text); border-color: var(--blue); }
footer { padding: 34px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* Apparition douce */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Pages outils et secteurs */
.page { padding-top: 72px; padding-bottom: 40px; }
.page h1 { font-size: clamp(36px, 5.6vw, 60px); }
.page .grid { margin-top: 10px; }
.why { padding-left: 20px; color: var(--muted); }
.why li { margin: 0 0 12px; }
.why strong { color: var(--text); }
table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; }
th, td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 500; font-size: 14px; }
td.price { font-weight: 700; font-size: 20px; white-space: nowrap; }
.result { margin-top: 26px; }
.score { font-size: 64px; font-weight: 800; letter-spacing: -.02em; }
.check { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.check .mark { font-size: 20px; width: 26px; flex: none; }
.check .yes { color: var(--green); } .check .no { color: #e5484d; }
.check small { display: block; color: var(--muted); margin-top: 4px; }
.check .ours { color: var(--gold); }
.calc label { display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
.big { font-size: clamp(40px, 7vw, 72px); font-weight: 800; letter-spacing: -.03em; }
.page section { padding: 50px 0 10px; }

@media (max-width: 900px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plans .plan-card:last-child { grid-column: span 2; }
  .offers { grid-template-columns: repeat(2, 1fr); }
  .features, .promise { grid-template-columns: 1fr 1fr; }
  .caption { display: none; }
}
@media (max-width: 640px) {
  section { padding: 84px 0; }
  nav a:not(.btn) { display: none; }
  .row, .features, .promise, .offers { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
  .hero .stage { height: 540px; margin-top: 48px; }
  .day li { grid-template-columns: 1fr; gap: 4px; }
  .day time { font-size: 22px; }
}
