/* Watt's Next, site vitrine. Polices auto-hébergées (aucun appel externe). */
@font-face { font-family: "Sora"; src: url("../fonts/sora.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --blue: #0052ff;
  --blue-deep: #0033b8;
  --navy: #00094b;
  --yellow: #ffe500;
  --z1: #4aa8ff; --z2: #0052ff; --z3: #ffd400; --z4: #ff8a00; --z5: #8b3dff;
  --green: #1f7a4d;
  --bg: #ffffff;
  --bg-soft: #f2f5fb;
  --text: #0b1433;
  --muted: #4d5a7a;
  --card: #ffffff;
  --shadow: 0 18px 50px -20px rgba(0, 30, 120, .35);
  --radius: 22px;
  --maxw: 1140px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #050b2b;
    --bg-soft: #0b1540;
    --text: #eef2ff;
    --muted: #a7b2d6;
    --card: #101c52;
    --shadow: 0 18px 50px -20px rgba(0, 0, 0, .7);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Sora", "Inter", sans-serif; font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.mark { background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); padding: 0 .08em; }
.on-blue .mark { background: linear-gradient(transparent 62%, rgba(255,229,0,.85) 62%, rgba(255,229,0,.85) 92%, transparent 92%); color: inherit; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: var(--yellow); color: var(--navy); padding: 8px 12px; z-index: 99; border-radius: 8px; }

/* ---------- en-tête ---------- */
.top { position: sticky; top: 0; z-index: 50; background: var(--blue); color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Sora"; font-weight: 800; font-size: 1.2rem; white-space: nowrap; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.nav a:hover { background: rgba(255,255,255,.14); }
.nav a[aria-current="page"] { background: var(--yellow); color: var(--navy); }
.nav .lang { border: 0; background: rgba(255,255,255,.14); }
.menu-btn { display: none; margin-left: auto; background: rgba(255,255,255,.14); color: #fff; border: 0; border-radius: 10px; padding: 8px 12px; font: 600 1rem "Inter"; cursor: pointer; }
@media (max-width: 1000px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--blue); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
}

/* ---------- boutons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; padding: 14px 22px; border-radius: 14px; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(255,229,0,.8); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }

/* ---------- héros ---------- */
.hero { background: radial-gradient(1200px 600px at 85% 10%, #2f74ff 0%, transparent 60%), linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 55%, var(--navy) 100%); color: #fff; overflow: hidden; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 70px; padding-bottom: 80px; }
.hero p.lead { font-size: 1.2rem; color: #dfe7ff; max-width: 34em; }
.pill { display: inline-block; background: var(--yellow); color: var(--navy); font-weight: 700; font-size: .85rem; padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero-phones { position: relative; height: 560px; }
.hero-phones > div { position: absolute; width: 250px; }
.hero-phones .phone { width: 100%; }
.hero-phones .p1 { left: 4%; top: 50px; transform: rotate(-7deg); }
.hero-phones .p2 { left: 32%; top: 0; z-index: 2; width: 270px; }
.hero-phones .p3 { right: 0; top: 70px; transform: rotate(7deg); }
.zonebar { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; display: flex; }
.zonebar span { flex: 1; }
.zonebar span:nth-child(1) { background: var(--z1); } .zonebar span:nth-child(2) { background: var(--z2); }
.zonebar span:nth-child(3) { background: var(--z3); } .zonebar span:nth-child(4) { background: var(--z4); }
.zonebar span:nth-child(5) { background: var(--z5); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 44px; }
  .hero-phones { height: 430px; max-width: 460px; margin: 0 auto; width: 100%; }
  .hero-phones > div { width: 180px; }
  .hero-phones .p2 { width: 200px; left: 28%; }
}
@media (max-width: 460px) {
  .hero-phones { height: 360px; }
  .hero-phones > div { width: 145px; }
  .hero-phones .p2 { width: 165px; left: 26%; }
}

/* ---------- téléphone (sans contour noir) ---------- */
.phone { border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); background: #fff; aspect-ratio: 9 / 20; }
.phone img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- sections ---------- */
section { padding: 84px 0; }
.soft { background: var(--bg-soft); }
.center { text-align: center; }
.intro { max-width: 720px; margin: 0 auto 48px; }
.intro p { color: var(--muted); font-size: 1.1rem; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tile { background: var(--tbg, var(--card)); border-radius: var(--radius); padding: 26px; position: relative; text-decoration: none; display: block; transition: transform .15s ease; color: var(--navy); }
a.tile:hover { transform: translateY(-3px); }
.tile h3 { margin: 0 0 10px; }
.tile h3 span { background: linear-gradient(transparent 55%, var(--hl, var(--yellow)) 55%, var(--hl, var(--yellow)) 92%, transparent 92%); padding: 0 .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tile p { color: #3a4677; margin: 0; font-size: .98rem; }
.c1 { --c: var(--z1); --tbg: #e3f1ff; --hl: #9fd0ff; }
.c2 { --c: var(--z2); --tbg: #e2eaff; --hl: #a9c0ff; }
.c3 { --c: var(--z3); --tbg: #fff6c7; --hl: #ffe500; }
.c4 { --c: var(--z4); --tbg: #ffead3; --hl: #ffbf73; }
.c5 { --c: var(--z5); --tbg: #efe5ff; --hl: #cfb0ff; }
@media (prefers-color-scheme: dark) {
  .tile { color: #fff; } .tile p { color: #c9d3f5; }
  .c1 { --tbg: #12366b; --hl: rgba(74,168,255,.55); }
  .c2 { --tbg: #102a7a; --hl: rgba(80,130,255,.6); }
  .c3 { --tbg: #3d3610; --hl: rgba(255,212,0,.45); }
  .c4 { --tbg: #43280e; --hl: rgba(255,138,0,.5); }
  .c5 { --tbg: #2e1a5c; --hl: rgba(139,61,255,.6); }
}

/* bandeau de captures */
.strip { display: flex; gap: 22px; overflow-x: auto; padding: 10px 20px 30px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.strip figure { flex: 0 0 220px; margin: 0; scroll-snap-align: center; }
.strip figcaption { text-align: center; font-weight: 600; margin-top: 12px; font-size: .95rem; }

/* étapes */
.steps { counter-reset: s; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: 0 6px 24px -14px rgba(0,30,120,.3); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--blue); color: #fff; font: 800 1.2rem "Sora"; margin-bottom: 14px; }

/* bloc bleu (promesse) */
.band { background: var(--blue); color: #fff; border-radius: 30px; padding: 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; }
.band ul { margin: 0; padding: 0; list-style: none; }
.band li { padding: 10px 0 10px 36px; position: relative; }
.band li::before { content: "✓"; position: absolute; left: 0; top: 9px; width: 24px; height: 24px; border-radius: 8px; background: var(--yellow); color: var(--navy); font-weight: 800; display: grid; place-items: center; font-size: .85rem; }
@media (max-width: 820px) { .band { grid-template-columns: 1fr; padding: 32px 24px; } }

/* page fonctionnalités */
.page-head { background: linear-gradient(160deg, var(--blue), var(--blue-deep)); color: #fff; padding: 64px 0 56px; position: relative; }
.page-head p { color: #dfe7ff; font-size: 1.15rem; max-width: 46em; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.toc a { text-decoration: none; background: rgba(255,255,255,.14); padding: 7px 14px; border-radius: 999px; font-size: .92rem; font-weight: 600; }
.toc a:hover { background: var(--yellow); color: var(--navy); }
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding: 70px 0; scroll-margin-top: 70px; }
.feature + .feature { border-top: 1px solid rgba(120,140,190,.18); }
.feature.rev .shots { order: 2; }
.shots { display: flex; gap: 16px; justify-content: center; }
.shots .phone { width: 46%; max-width: 230px; }
.shots .phone:nth-child(2) { margin-top: 40px; }
.shots.one .phone { width: 62%; max-width: 270px; }
.shots.three .phone { width: 31%; }
.shots.three .phone:nth-child(3) { margin-top: 80px; }
.tag { display: inline-block; font-weight: 700; font-size: .82rem; padding: 4px 12px; border-radius: 999px; background: var(--c, var(--blue)); color: #fff; margin-bottom: 14px; }
.tag.c3 { color: var(--navy); }
.feature ul { padding: 0; list-style: none; margin: 18px 0 0; }
.feature li { padding: 7px 0 7px 26px; position: relative; color: var(--muted); }
.feature li::before { content: ""; position: absolute; left: 0; top: 15px; width: 12px; height: 12px; border-radius: 4px; background: var(--c, var(--blue)); }
.feature li b { color: var(--text); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 30px; padding: 50px 0; }
  .feature.rev .shots { order: 0; }
}

/* galerie */
.gallery { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.gallery figure { margin: 0; }
.gallery button { all: unset; cursor: zoom-in; display: block; width: 100%; }
.gallery button:focus-visible .phone { outline: 4px solid var(--yellow); }
.gallery figcaption { margin-top: 10px; font-size: .92rem; text-align: center; color: var(--muted); }
.lightbox { position: fixed; inset: 0; background: rgba(0,9,75,.92); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; flex-direction: column; gap: 14px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 84vh; width: auto; border-radius: 26px; }
.lightbox p { color: #fff; margin: 0; font-weight: 600; text-align: center; }
.lightbox .close { position: absolute; top: 16px; right: 16px; background: var(--yellow); color: var(--navy); border: 0; width: 46px; height: 46px; border-radius: 14px; font-size: 1.4rem; cursor: pointer; }

/* faq */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { background: var(--card); border-radius: 18px; padding: 4px 24px; margin-bottom: 14px; box-shadow: 0 6px 24px -16px rgba(0,30,120,.3); }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; position: relative; padding-right: 36px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; width: 30px; height: 30px; border-radius: 10px; background: var(--yellow); color: var(--navy); display: grid; place-items: center; font-size: 1.2rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* appel à l'action et pied de page */
.cta { background: var(--yellow); color: var(--navy); border-radius: 30px; padding: 48px; text-align: center; }
.cta p { max-width: 620px; margin: 0 auto 4px; }
.cta .btns { justify-content: center; }
.cta .btn-ghost { background: rgba(0,9,75,.08); color: var(--navy); }
footer { background: var(--navy); color: #c9d3f5; padding: 48px 0 36px; margin-top: 0; font-size: .95rem; }
footer .wrap { display: grid; gap: 28px; grid-template-columns: 1.4fr 1fr 1fr; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { padding: 4px 0; }
footer h3 { color: #fff; font-size: 1rem; }
footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; font-size: .85rem; color: #93a0cc; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } .cta { padding: 34px 22px; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* tuto */
.tuto-step { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center; padding: 64px 0; scroll-margin-top: 70px; }
.tuto-step + .tuto-step { border-top: 1px solid rgba(120,140,190,.18); }
.tuto-step.rev .shots { order: 2; }
.tuto-step.noimg { grid-template-columns: 1fr; max-width: 780px; margin: 0 auto; }
.tuto-step .num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--blue); color: #fff; font: 800 1.25rem "Sora"; margin-bottom: 14px; }
.tuto-step ol { counter-reset: t; list-style: none; padding: 0; margin: 18px 0 0; }
.tuto-step ol li { counter-increment: t; position: relative; padding: 8px 0 8px 40px; color: var(--muted); }
.tuto-step ol li::before { content: counter(t); position: absolute; left: 0; top: 8px; width: 26px; height: 26px; border-radius: 8px; background: var(--yellow); color: var(--navy); font: 700 .85rem "Inter"; display: grid; place-items: center; }
.tip { margin-top: 18px; background: var(--bg-soft); border-radius: 12px; padding: 14px 18px; color: var(--muted); }
.tip b { color: var(--text); margin-right: 4px; }
@media (max-width: 860px) {
  .tuto-step { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .tuto-step.rev .shots { order: 0; }
}
/* à propos */
.story { max-width: 760px; margin: 0 auto; }
.story blockquote { margin: 0; padding: 34px 36px; background: var(--card); border-radius: 26px; box-shadow: var(--shadow); font-size: 1.15rem; line-height: 1.75; position: relative; }
.story blockquote::before { content: "“"; position: absolute; top: -26px; left: 24px; font: 800 5rem/1 "Sora"; color: var(--yellow); }
.story blockquote p:last-child { margin-bottom: 0; }
.story .sign { margin-top: 20px; font-weight: 700; text-align: right; }
.story .sign::before { content: ""; display: inline-block; width: 40px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--z1), var(--z2), var(--z3), var(--z4), var(--z5)); vertical-align: middle; margin-right: 10px; }
@media (max-width: 600px) { .story blockquote { padding: 28px 22px; font-size: 1.05rem; } }

/* confidentialité */
.policy { max-width: 780px; }
.pol-sum { background: var(--bg-soft); border-radius: 14px; padding: 18px 22px; font-size: 1.05rem; }
.pol-sec { margin-top: 34px; }
.pol-sec h2 { font-size: 1.35rem; }
.pol-sec p, .pol-sec li { color: var(--muted); }
.pol-sec b { color: var(--text); }
.pol-sec ul, .pol-sec ol { padding-left: 1.2rem; margin: 0 0 1em; }
.pol-sec ol li { margin-bottom: .35em; }
.pol-sec li { margin: 6px 0; }
