/* Je veux un site Pro: landing, legal pages and customer area.
   Fonts are self-hosted: no visitor IP goes to Google Fonts. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/jakarta/plus-jakarta-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/roboto/roboto-500-latin.woff2") format("woff2");
}

:root {
  --green-900: #143532;
  --green-800: #1b443f;
  --green-700: #245650;
  --sage-500: #7fa37a;
  --sage-400: #9bb996;
  --sage-200: #d3e2cf;
  --sage-100: #eef4ec;
  --ink: #15211f;
  --text: #3d4a47;
  --muted: #6b7a76;
  --line: #e2e8e6;
  --bg: #ffffff;
  --bg-soft: #f7f9f8;
  --radius: 10px;
  --shadow: 0 18px 50px -20px rgba(20, 53, 50, 0.28);
  --container: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }
.section-soft { background: var(--bg-soft); }
.center { text-align: center; }
.muted { color: var(--muted); }

/* A hand-drawn underline under a key word. */
.swoosh { position: relative; white-space: nowrap; }
.swoosh::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.04em;
  height: 0.26em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10 C 50 3, 120 2, 197 7' fill='none' stroke='%237fa37a' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  background: var(--sage-100);
  color: var(--green-800);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 8px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green-900); color: #fff; }
.btn-primary:hover { background: var(--green-700); }
.btn-sage { background: var(--sage-500); color: #fff; }
.btn-sage:hover { background: #6d9168; }
.btn-ghost { background: #fff; color: var(--green-900); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green-900); }
.btn-light { background: #fff; color: var(--green-900); }
.btn-block { width: 100%; }

/* Google sign-in, per Google's branding guidelines: white background, grey
   border, Roboto Medium, the four-colour G at 18 px. */
.gsi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 44px;
  padding: 0 16px 0 12px;
  border: 1px solid #747775;
  border-radius: 22px;
  background: #fff;
  color: #1f1f1f;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.25px;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
}
.gsi:hover { background: #f8faff; box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3); }
.gsi svg { width: 18px; height: 18px; flex: none; }

/* Top banner and navigation */
.banner { background: var(--sage-400); color: var(--green-900); text-align: center; font-size: 0.85rem; font-weight: 600; padding: 9px 16px; }
.banner a { color: inherit; }
.nav { background: var(--green-900); color: #fff; position: sticky; top: 0; z-index: 50; }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand svg { width: 30px; height: 26px; }
.brand b { color: var(--sage-400); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #fff; text-decoration: none; font-size: 0.95rem; opacity: 0.9; }
.nav-links a:hover { opacity: 1; color: var(--sage-200); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-cta .login { color: #fff; text-decoration: none; font-size: 0.95rem; font-weight: 600; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

/* Hero */
.hero { padding: 100px 0 90px; }
.hero .container { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.hero-visual { position: relative; padding: 0 0 70px 60px; }
.hero-visual .rail {
  position: absolute; left: 0; top: 0; width: 80px; height: 64%;
  background: var(--green-900); display: flex; flex-direction: column; align-items: center; gap: 34px; padding-top: 26px;
}
.hero-visual .rail span { width: 22px; height: 22px; color: #fff; opacity: 0.85; }
.hero-visual .rail span:first-child { width: 72px; height: 72px; margin-left: -36px; background: var(--sage-500); display: grid; place-items: center; opacity: 1; }
.hero-visual .rail svg { width: 22px; height: 22px; }
.hero-visual .photo { position: relative; z-index: 1; margin-left: 40px; width: calc(100% - 40px); aspect-ratio: 640 / 820; object-fit: cover; }
.float-card {
  position: absolute; z-index: 2; right: -30px; bottom: 0; width: 280px;
  background: #fff; padding: 24px 24px 22px; box-shadow: var(--shadow);
}
.float-card .label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 4px; }
.float-card .title { font-size: 1.35rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; margin: 0 0 14px; }
.float-card .row { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 700; color: var(--green-800); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.float-card .bar { height: 5px; background: var(--line); border-radius: 3px; margin-top: 10px; overflow: hidden; }
.float-card .bar i { display: block; height: 100%; width: 64%; background: var(--sage-500); }
.float-card .notif { display: flex; gap: 10px; align-items: center; font-size: 0.88rem; color: var(--ink); font-weight: 600; }
.float-card .notif .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--sage-100); display: grid; place-items: center; color: var(--green-800); flex: none; }
.float-card .notif .dot svg { width: 16px; height: 16px; }
.hero-copy .lead { font-size: 1.15rem; color: var(--text); max-width: 520px; margin-bottom: 30px; }
.hero-copy .actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-copy .reassure { margin-top: 18px; font-size: 0.88rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-copy .reassure span::before { content: "✓ "; color: var(--sage-500); font-weight: 800; }

/* Key figures */
.figures { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.figures .grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); }
.figures .grid > div { padding: 30px 20px; text-align: center; }
.figures .grid > div + div { border-left: 1px solid var(--line); }
.figures .k { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.figures .v { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 700; color: var(--ink); letter-spacing: -0.03em; line-height: 1.2; }

/* Split heading */
.split-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: end; padding-bottom: 50px; border-bottom: 1px solid var(--line); margin-bottom: 60px; }
.split-head h2 { margin: 0; }
.split-head p { margin: 0; font-size: 1.08rem; }

/* Trades */
.trades { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.trade { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow 0.25s, transform 0.25s; }
.trade:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.trade img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }
.trade .body { padding: 18px 18px 20px; }
.trade h3 { margin-bottom: 8px; }
.trade p { font-size: 0.93rem; color: var(--muted); margin: 0; }

/* Steps */
.steps-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.steps-visual { position: relative; padding: 0 0 40px 60px; }
.steps-visual img { aspect-ratio: 640 / 720; object-fit: cover; width: 100%; }
.steps-visual .float-card { left: 0; right: auto; bottom: 0; width: 250px; }
.steps-visual .scribble { position: absolute; right: -40px; bottom: -10px; width: 190px; color: var(--sage-500); z-index: 2; }
.steps { border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 28px; max-width: 440px; }
.step { display: flex; gap: 20px; padding: 24px 0; }
.step + .step { border-top: 1px solid var(--line); }
.step .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--sage-100); color: var(--green-800); display: grid; place-items: center; flex: none; margin-top: 4px; }
.step .ico svg { width: 18px; height: 18px; }
.step .n { font-size: 0.75rem; font-weight: 700; color: var(--sage-500); letter-spacing: 0.06em; text-transform: uppercase; }
.step p { margin: 2px 0 0; color: var(--ink); font-weight: 500; }

/* Dark features band */
.band { background: var(--green-900); color: #dfe9e6; position: relative; overflow: hidden; }
.band h2 { color: #fff; }
.band .brush { position: absolute; color: var(--sage-500); opacity: 0.85; pointer-events: none; }
.band .brush.b1 { right: -40px; top: -30px; width: 340px; }
.band .brush.b2 { left: -90px; bottom: -60px; width: 300px; color: #2d6b62; opacity: 1; }
.features { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, 0.12); border-radius: var(--radius); overflow: hidden; margin-top: 50px; }
.feature { background: var(--green-900); padding: 36px 32px; text-align: left; }
.feature .ico { width: 46px; height: 46px; border-radius: 10px; background: rgba(127, 163, 122, 0.18); color: var(--sage-400); display: grid; place-items: center; margin-bottom: 20px; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { color: #fff; }
.feature p { margin: 0; font-size: 0.95rem; color: #b9cbc6; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; padding: 36px 32px; background: #fff; }
.plan.featured { background: var(--green-900); border-color: var(--green-900); color: #dfe9e6; box-shadow: var(--shadow); transform: translateY(-14px); }
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan .tag { position: absolute; top: -13px; left: 32px; background: var(--sage-500); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px; border-radius: 6px; }
.plan h3 { margin-bottom: 6px; }
.plan .for { font-size: 0.92rem; color: var(--muted); margin-bottom: 22px; }
.plan.featured .for { color: #b9cbc6; }
.plan .price { font-size: 2.8rem; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.plan .price small { font-size: 0.95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan.featured .price small { color: #b9cbc6; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 32px; flex: 1; }
.plan li { padding: 9px 0 9px 30px; position: relative; font-size: 0.96rem; border-top: 1px solid var(--line); }
.plan.featured li { border-color: rgba(255, 255, 255, 0.12); }
.plan li::before { content: ""; position: absolute; left: 0; top: 14px; width: 18px; height: 18px; border-radius: 50%; background: var(--sage-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23245650' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 12px; }
.plan.featured li::before { background-color: var(--sage-500); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plans-note { text-align: center; font-size: 0.88rem; color: var(--muted); margin-top: 34px; }

/* FAQ */
.faq { max-width: 820px; margin: 50px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--sage-500); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--text); }

/* Final call to action */
.cta-final { background: var(--sage-100); border-radius: 18px; padding: 70px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-final p { max-width: 560px; margin: 0 auto 30px; font-size: 1.08rem; }

/* Footer */
.footer { background: var(--green-900); color: #b9cbc6; padding: 70px 0 30px; margin-top: 110px; font-size: 0.93rem; }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer h4 { color: #fff; font-size: 0.95rem; letter-spacing: 0; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: #b9cbc6; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .legal-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: 0.85rem; }

/* Legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 70px 24px 20px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.2em; }
.legal h2 { font-size: 1.25rem; margin: 2.2em 0 0.6em; }
.legal a { color: var(--green-700); }
.legal-meta { color: var(--muted); font-size: 0.92rem; }
.legal-table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 0.93rem; }
.legal-table th, .legal-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-table th { background: var(--bg-soft); color: var(--ink); }

/* Responsive */
@media (max-width: 1024px) {
  .hero .container, .steps-wrap { grid-template-columns: 1fr; gap: 60px; }
  .hero-copy { order: -1; }
  .hero-visual { max-width: 560px; }
  .trades { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .plan.featured { transform: none; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .nav .container { height: 70px; }
  .nav-toggle { display: block; }
  .nav-links, .nav-cta .login { display: none; }
  .nav.open .nav-links { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; position: absolute; top: 70px; left: 0; right: 0; background: var(--green-900); padding: 20px 24px 28px; }
  .nav-cta { gap: 4px; }
  .nav-cta .btn { padding: 9px 14px; font-size: 0.85rem; }
  .brand { font-size: 1rem; }
  .brand svg { width: 24px; height: 21px; }
  .hero { padding: 60px 0; }
  .hero-visual { padding-left: 30px; padding-bottom: 90px; }
  .hero-visual .photo { aspect-ratio: 1 / 1; object-position: center 30%; }
  .hero-visual .rail { height: 80%; gap: 26px; }
  .hero-visual .rail { width: 56px; }
  .hero-visual .rail span:first-child { width: 52px; height: 52px; margin-left: -26px; }
  .float-card { right: 0; width: 230px; padding: 18px; }
  .figures .grid { grid-template-columns: 1fr; }
  .figures .grid > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .split-head { grid-template-columns: 1fr; gap: 20px; }
  .trades { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .trade .body { padding: 12px 12px 14px; }
  .trade p { display: none; }
  .features { grid-template-columns: 1fr; }
  .steps-visual { padding-left: 20px; }
  .steps-visual img { aspect-ratio: 1 / 1; }
  .steps-visual .scribble { display: none; }
  .cta-final { padding: 50px 24px; }
  .footer .cols { grid-template-columns: 1fr; }
}
