/* Planify — site de présentation. Couleurs reprises de l'app
   (lib/theme/planify_theme.dart). */
:root {
  --indigo: #5b5fc7;
  --indigo-deep: #4a4eb0;
  --periwinkle: #9a9de6;
  --lavender: #ecedfb;
  --lavender-strong: #dadcf6;
  --peach: #f4b183;
  --peach-soft: #fdeee3;
  --ink: #20223f;
  --muted: #5c5f7e;
  --bg: #f6f7fb;
  --card: #ffffff;
  --line: #e3e4f2;
  --shadow: 0 24px 60px -24px rgba(32, 34, 63, .28);
  --radius: 22px;
  --nav-bg: rgba(246, 247, 251, .82);
}

/* Mode sombre : classe posée dès le chargement par le script en tête de
   chaque page (choix fait avec le bouton jour/nuit, sinon réglage de
   l'appareil). */
:root.dark {
  color-scheme: dark;
  --indigo: #8f93ec;
  --indigo-deep: #b9bbf0;
  --lavender: #23254a;
  --lavender-strong: #2e3160;
  --peach-soft: #3a2b27;
  --ink: #eceefc;
  --muted: #a7a9c9;
  --bg: #14152a;
  --card: #1e2038;
  --line: #2f3152;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  --nav-bg: rgba(20, 21, 42, .82);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--indigo); font-weight: 600; }

.container {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav .container {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.3px;
}

.brand img { width: 36px; height: 36px; border-radius: 10px; }

.nav .pill {
  margin-left: 8px;
  background: var(--indigo);
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.dark .nav .pill { color: #14152a; }

/* Bouton jour/nuit : la lune en mode clair, le soleil en mode sombre. */
.theme-toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: var(--lavender);
  color: var(--ink);
  cursor: pointer;
}

.theme-toggle:hover { color: var(--indigo); }

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle .sun,
.dark .theme-toggle .moon { display: none; }

.dark .theme-toggle .sun { display: block; }

/* ---------- Titres et textes ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lavender);
  color: var(--indigo);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
}

.eyebrow .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--indigo);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
}

h1, h2, h3 { letter-spacing: -.6px; line-height: 1.12; margin: 0; }

h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 800; }

h2 { font-size: clamp(30px, 4.2vw, 44px); font-weight: 800; }

h3 { font-size: 20px; font-weight: 700; letter-spacing: -.2px; }

.lead { font-size: clamp(18px, 2vw, 20px); color: var(--muted); max-width: 560px; }

.accent {
  background: linear-gradient(100deg, var(--indigo), var(--periwinkle) 70%, var(--peach));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section { padding: clamp(72px, 10vw, 120px) 0; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }

.section-head p { color: var(--muted); font-size: 18px; margin: 16px 0 0; }

.muted { color: var(--muted); }

/* ---------- Héros ---------- */

.hero {
  position: relative;
  padding: clamp(48px, 7vw, 88px) 0 clamp(72px, 9vw, 110px);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  z-index: -1;
}

.hero::before {
  width: 520px; height: 520px;
  background: var(--lavender-strong);
  top: -120px; right: -80px;
}

.hero::after {
  width: 360px; height: 360px;
  background: var(--peach-soft);
  bottom: -60px; left: -80px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
}

.hero-text > * + * { margin-top: 22px; }

.hero-note { font-size: 14px; color: var(--muted); }

.hero-visual {
  position: relative;
  height: 600px;
}

.hero-visual .device { position: absolute; }

.hero-visual .device.android {
  width: 250px;
  left: 4%;
  top: 30px;
  transform: rotate(-6deg);
  z-index: 1;
}

.hero-visual .device.iphone {
  width: 262px;
  right: 4%;
  top: 0;
  transform: rotate(4deg);
  z-index: 2;
}

.hero-visual .plume-float {
  position: absolute;
  width: 130px;
  left: 42%;
  bottom: -6px;
  z-index: 3;
  filter: drop-shadow(0 14px 22px rgba(32, 34, 63, .25));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .stores { justify-content: center; }
  .hero-visual { height: 520px; max-width: 460px; width: 100%; margin: 0 auto; }
  .hero-visual .device.android { width: 205px; left: 2%; }
  .hero-visual .device.iphone { width: 215px; right: 2%; }
  .hero-visual .plume-float { width: 100px; left: 40%; }
}

@media (max-width: 420px) {
  .hero-visual { height: 440px; }
  .hero-visual .device.android { width: 170px; }
  .hero-visual .device.iphone { width: 178px; }
}

/* ---------- Boutons des stores ---------- */

.stores { display: flex; flex-wrap: wrap; gap: 12px; }

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 14px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  min-width: 200px;
  transition: transform .2s ease;
}

.store:hover { transform: translateY(-2px); }

.store svg { width: 30px; height: 30px; flex: none; }

.store span { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }

.store small { font-size: 12px; font-weight: 600; opacity: .75; }

.store strong { font-size: 17px; font-weight: 800; }

.store.soft {
  background: var(--card);
  color: var(--ink);
  border: 1.5px solid var(--line);
}

/* ---------- Cadres de téléphone ---------- */

.device {
  position: relative;
  aspect-ratio: 390 / 844;
  padding: 11px;
  border-radius: 48px;
  background: linear-gradient(145deg, #2b2e4a, #0f1020);
  box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255, 255, 255, .08);
}

.device .screen {
  position: relative;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: var(--bg);
}

.device .screen img { width: 100%; height: 100%; object-fit: cover; }

/* Barre d'état dessinée par-dessus la capture (qui lui réserve la place). */
.statusbar {
  position: absolute;
  inset: 0 0 auto 0;
  height: 5.6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 9% 0 10%;
  color: #20223f;
  font-size: clamp(9px, 1.2vw, 13px);
  font-weight: 700;
  z-index: 2;
}

.screen.dark .statusbar { color: #f1f2ff; }

/* Capture qui passe en mode sombre avec l'appareil du visiteur. */
.dark .screen.auto .statusbar { color: #f1f2ff; }

.statusbar svg { height: 1em; width: auto; display: block; }

.statusbar .icons { display: flex; gap: 4px; align-items: center; }

/* iPhone : îlot noir en haut. */
.device.iphone::after {
  content: "";
  position: absolute;
  top: calc(11px + 1.6%);
  left: 50%;
  transform: translateX(-50%);
  width: 31%;
  height: 3.4%;
  background: #05060d;
  border-radius: 999px;
  z-index: 3;
}

/* Android : bords plus fins, caméra perforée. */
.device.android {
  padding: 8px;
  border-radius: 40px;
  background: linear-gradient(145deg, #34374f, #151626);
}

.device.android .screen { border-radius: 33px; }

.device.android .statusbar { padding: 0 8%; }

.device.android::after {
  content: "";
  position: absolute;
  top: calc(8px + 1.9%);
  left: 50%;
  transform: translateX(-50%);
  width: 3.6%;
  aspect-ratio: 1;
  background: #05060d;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .06);
  z-index: 3;
}

/* ---------- Étapes ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 0;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.step .num {
  width: 38px; height: 38px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--lavender);
  color: var(--indigo);
  font-weight: 800;
  display: grid;
  place-items: center;
}

.step p { color: var(--muted); margin: 10px 0 24px; font-size: 16px; }

.step .device {
  width: 78%;
  margin: auto auto -34%;
}

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .step .device { width: 64%; margin-bottom: -30%; }
}

/* ---------- Fonctionnalités ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.feature .icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--lavender);
  color: var(--indigo);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.feature .icon svg { width: 24px; height: 24px; }

.feature p { color: var(--muted); margin: 8px 0 0; font-size: 16px; }

@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ---------- Blocs « texte + téléphone » ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.split.reverse .split-visual { order: -1; }

.split-visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: 40px 0;
}

.split-visual::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--lavender-strong), transparent 70%);
  z-index: -1;
}

.split-visual .device { width: min(300px, 78%); }

.split-visual .plume-side {
  position: absolute;
  width: 110px;
  right: 6%;
  bottom: 8%;
  filter: drop-shadow(0 12px 20px rgba(32, 34, 63, .25));
}

.split-text > * + * { margin-top: 18px; }

.split-text p { color: var(--muted); font-size: 18px; }

.bubbles { display: grid; gap: 10px; margin-top: 24px; }

.bubble {
  justify-self: start;
  background: var(--indigo);
  color: #fff;
  padding: 10px 16px;
  border-radius: 18px 18px 18px 6px;
  font-weight: 600;
  font-size: 16px;
  max-width: 100%;
}

.dark .bubble { color: #14152a; }

.bubble:nth-child(2) { justify-self: center; }
.bubble:nth-child(3) { justify-self: end; border-radius: 18px 18px 6px 18px; }

.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }

.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: 17px; }

.checks li::before {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--lavender) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b5fc7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-visual { order: 0; }
  .split-text { text-align: center; }
  .split-text .checks { text-align: left; max-width: 460px; margin-inline: auto; }
  .bubbles { max-width: 420px; margin-inline: auto; }
}

/* ---------- Galerie ---------- */

.gallery {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 16px 30px;
  margin: 0 -16px;
  scrollbar-width: thin;
}

.gallery figure {
  flex: none;
  width: 230px;
  margin: 0;
  scroll-snap-align: center;
  text-align: center;
}

.gallery figcaption { margin-top: 16px; font-weight: 700; font-size: 15px; }

@media (min-width: 1100px) {
  .gallery { justify-content: center; overflow: visible; }
}

/* ---------- Offres ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.plan.featured {
  border: 2px solid var(--indigo);
  box-shadow: var(--shadow);
  position: relative;
}

.plan .badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(90deg, var(--indigo), var(--periwinkle));
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 999px;
}

.plan .price { font-size: 34px; font-weight: 800; margin: 12px 0 2px; letter-spacing: -.5px; }

.plan .price-note { color: var(--muted); font-size: 15px; }

.plan .checks { margin-bottom: 26px; }

.plan .cta {
  margin-top: auto;
  text-align: center;
  padding: 14px;
  border-radius: 999px;
  border: 1.5px solid var(--indigo);
  color: var(--indigo);
  text-decoration: none;
}

.plan.featured .cta { background: var(--indigo); color: #fff; }

.dark .plan.featured .cta { color: #14152a; }

/* Planify Projet : badge pêche, lisible en clair comme en sombre. */
.plan.group { position: relative; }

.plan.group .badge { background: var(--peach); color: #20223f; }

/* Trois offres côte à côte sur ordinateur, un peu resserrées sur un petit
   écran ; l'une sous l'autre sur tablette et téléphone. */
@media (max-width: 1100px) {
  .plans { gap: 16px; }
  .plan { padding: 28px 20px; }
  .plan .price { font-size: 28px; }
}

@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; gap: 24px; }
  .plan { padding: 32px 28px; }
  .plan .price { font-size: 34px; }
}

/* ---------- Confidentialité ---------- */

.trust {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}

.trust img { width: 180px; }

.trust-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }

.trust-points strong { display: block; margin-bottom: 4px; }

.trust-points span { color: var(--muted); font-size: 15px; }

@media (max-width: 900px) {
  .trust { grid-template-columns: 1fr; text-align: center; }
  .trust img { margin: 0 auto; width: 140px; }
  .trust-points { grid-template-columns: 1fr; text-align: left; }
}

/* ---------- Questions fréquentes ---------- */

.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 4px 22px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  color: var(--indigo);
  font-size: 24px;
  line-height: 1;
  transition: transform .2s ease;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p { color: var(--muted); margin: 0 0 18px; }

/* ---------- Appel final ---------- */

.final {
  position: relative;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-deep));
  color: #fff;
  border-radius: 36px;
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  overflow: hidden;
}

.dark .final { background: linear-gradient(135deg, #3d4099, #2b2d6e); }

.final h2 { color: #fff; }

.final p { color: rgba(255, 255, 255, .85); font-size: 18px; margin: 14px 0 26px; }

/* Cercle clair : sur le fond indigo, Plume se fondrait dans le décor. */
.final img {
  width: 200px;
  padding: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .45);
}

.final .store { background: #fff; color: #20223f; }

.final .store.soft { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }

@media (max-width: 760px) {
  .final { grid-template-columns: 1fr; text-align: center; }
  .final .stores { justify-content: center; }
  .final img { margin: 0 auto; width: 150px; order: -1; }
}

/* ---------- Pied de page ---------- */

.site-footer {
  margin-top: clamp(64px, 8vw, 100px);
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 15px;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
  align-items: center;
  justify-content: space-between;
}

.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }

.site-footer a { color: var(--muted); font-weight: 600; text-decoration: none; }

.site-footer a:hover { color: var(--indigo); }

/* ---------- Menus déroulants et menu mobile ---------- */

.menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.menu-link,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}

.menu-link:hover,
.menu-toggle:hover,
.menu-group.open .menu-toggle { color: var(--indigo); background: var(--lavender); }

.menu-toggle .chev {
  width: 11px;
  height: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  transition: transform .2s ease;
}

.menu-group { position: relative; }

.menu-group.open .chev { transform: rotate(180deg); }

.menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  min-width: 290px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: grid;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.menu-group.open .menu-panel { opacity: 1; visibility: visible; transform: none; }

.menu-panel a {
  display: grid;
  gap: 1px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
}

.menu-panel a:hover { background: var(--lavender); }

.menu-panel strong { font-size: 15px; }

.menu-panel span { font-size: 13px; font-weight: 500; color: var(--muted); }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--lavender);
  cursor: pointer;
  padding: 0 11px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.nav.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: flex; }
  .nav .pill { margin-left: auto; }
  .menu {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 16px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    display: none;
  }
  .nav.open .menu { display: flex; }
  /* Sur téléphone, les groupes sont dépliés : le titre devient un intitulé. */
  .menu-toggle {
    pointer-events: none;
    padding: 12px 4px 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  .menu-toggle .chev { display: none; }
  .menu-group.open .menu-toggle { background: none; }
  .menu-panel {
    position: static;
    translate: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0;
    background: none;
    min-width: 0;
  }
  .menu-link { padding: 14px 14px; font-size: 15px; font-weight: 700; color: var(--ink); }
}

@media (max-width: 900px) {
  .nav .container { gap: 12px; }
}

@media (max-width: 420px) {
  .nav .pill { display: none; }
  .theme-toggle { margin-left: auto; }
}

/* ---------- Offres : gains de Plus et tableau comparatif ---------- */

.plus-intro {
  margin: 22px 0 10px;
  font-weight: 700;
  color: var(--indigo);
}

.gains { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }

.gains li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
}

.gains .icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--lavender);
  color: var(--indigo);
  display: grid;
  place-items: center;
}

.gains .icon svg { width: 20px; height: 20px; }

.gains strong { display: block; font-size: 16px; }

.gains small { color: var(--muted); font-size: 14px; }

.gains .soon {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--peach-soft);
  color: #9a4a17;
  font-size: 11px;
  font-weight: 800;
  font-style: normal;
  vertical-align: 2px;
}

.dark .gains .soon { color: var(--peach); }

.compare-wrap {
  max-width: 1000px;
  margin: 48px auto 0;
  overflow-x: auto;
}

.compare-wrap h3 { text-align: center; margin-bottom: 18px; }

.compare {
  width: 100%;
  min-width: 660px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  font-size: 15px;
}

.compare th,
.compare td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }

.compare th:first-child,
.compare td:first-child { text-align: left; }

.compare tr:last-child td { border-bottom: 0; }

.compare thead th { font-size: 16px; background: var(--lavender); }

.compare thead th.plus-col { color: var(--indigo); }

.compare td.plus-col { background: color-mix(in srgb, var(--lavender) 45%, transparent); font-weight: 700; }

.compare td.projet-col { background: color-mix(in srgb, var(--peach-soft) 55%, transparent); font-weight: 700; }

.compare .yes { color: var(--indigo); font-weight: 800; }

.compare .no { color: var(--muted); opacity: .6; }

/* ---------- Page « Mon compte » ---------- */

.page-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }

.page-head p { color: var(--muted); font-size: 18px; margin: 14px 0 0; }

.account-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.account-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.account-card .icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--lavender);
  color: var(--indigo);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.account-card .icon svg { width: 22px; height: 22px; }

.account-card p,
.account-card li { color: var(--muted); font-size: 15px; }

.account-card ul { padding-left: 18px; margin: 10px 0 0; }

.account-card li { margin: 4px 0; }

.account-card .where {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--lavender);
  color: var(--indigo);
  font-weight: 700;
  font-size: 13px;
}

.account-close {
  margin-top: 36px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.account-close a { color: var(--muted); }

@media (max-width: 900px) { .account-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .account-grid { grid-template-columns: 1fr; } }

/* ---------- Page « Contact » ---------- */

.contact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-aside > * + * { margin-top: 16px; }

.help-links { display: grid; gap: 12px; margin-top: 24px; }

.help-links a,
.help-links .step-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}

.help-links a:hover { border-color: var(--indigo); }

.help-links .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--lavender);
  color: var(--indigo);
  display: grid;
  place-items: center;
}

.help-links .icon svg { width: 22px; height: 22px; }

.help-links small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }

/* Pages à étapes (rejoindre un projet). */
.help-links .step-card { font-weight: 700; }

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: var(--shadow);
}

.field { display: grid; gap: 6px; margin-bottom: 16px; }

.field label { font-weight: 700; font-size: 14px; }

.field .hint { color: var(--muted); font-size: 13px; font-weight: 500; }

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  width: 100%;
}

.field textarea { min-height: 150px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px var(--lavender); }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 4px 0 20px; }

.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--indigo); flex: none; }

/* Champ piège invisible pour les robots. */
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.submit {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 15px;
  background: var(--indigo);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
}

.dark .submit { color: #14152a; }

.submit[disabled] { opacity: .6; cursor: wait; }

.form-status { margin-top: 14px; padding: 14px 16px; border-radius: 14px; font-size: 15px; display: none; }

.form-status.ok { display: block; background: var(--lavender); color: var(--ink); }

.form-status.error { display: block; background: var(--peach-soft); color: var(--ink); }

@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
}

/* ---------- Pied de page détaillé ---------- */

.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}

.footer-brand p { margin: 10px 0 0; max-width: 260px; }

.footer-cols { display: flex; flex-wrap: wrap; gap: 48px; }

.footer-cols div { display: grid; gap: 8px; align-content: start; }

.footer-cols h4 { margin: 0 0 4px; color: var(--ink); font-size: 14px; }

.footer-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }

/* ---------- Pages de texte (confidentialité, compte) ---------- */

.doc {
  width: min(760px, 100% - 32px);
  margin: 0 auto;
  padding: 48px 0 16px;
  font-size: 16px;
  line-height: 1.7;
}

.doc h1 { font-size: clamp(30px, 5vw, 40px); margin-bottom: 8px; }

.doc h2 { font-size: 21px; margin: 36px 0 8px; color: var(--indigo-deep); letter-spacing: -.2px; }

.doc h3 { font-size: 17px; margin: 22px 0 4px; }

.doc .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 22px;
  margin: 18px 0;
}

.doc .note {
  background: var(--lavender);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 18px 0;
}

.doc ol, .doc ul { padding-left: 22px; }

.doc li { margin: 6px 0; }

/* ---------- Apparition au défilement ---------- */

/* Seulement si JavaScript tourne (classe « js » posée dans <head>) : sans
   lui, tout reste visible. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }

.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-visual .plume-float { animation: none; }
  .feature, .store { transition: none; }
}
