:root {
  --ink: #1b2430;
  --ink-soft: #5c6572;
  --ink-faint: #8a929c;
  --bg: #faf9f7;
  --surface: #ffffff;
  --border: #e6e3dd;
  --accent: #1f3a5f;
  --accent-strong: #14283f;
  --accent-tint: #eef1f5;
  --radius: 6px;
  --max-width: 1080px;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow { max-width: 680px; }

a { color: inherit; }

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: saturate(120%) blur(6px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand-mark {
  display: block;
  flex: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

.site-nav a:hover { color: var(--ink); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-weight: 600;
}

.nav-cta:hover { background: var(--accent-strong); }

.lang-toggle {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink-soft);
  border-radius: var(--radius);
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.lang-toggle:hover { color: var(--ink); border-color: var(--ink-faint); }

/* Hero */

.hero { padding: 56px 0 44px; }

.hero-media {
  position: relative;
  min-height: clamp(280px, 38vw, 440px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.hero-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(20, 34, 51, 0.84) 0%,
    rgba(20, 34, 51, 0.68) 45%,
    rgba(20, 34, 51, 0.45) 75%,
    rgba(20, 34, 51, 0.3) 100%
  );
}

.hero-text {
  position: relative;
  z-index: 2;
  padding: 48px 40px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 18px;
}

.hero-text .eyebrow { color: #fff; opacity: 0.85; }

.hero-text h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  max-width: 19ch;
  color: #fff;
}

.hero-text .lede { color: rgba(250, 249, 247, 0.85); }

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0;
}

.section-lede {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 40px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover { background: var(--accent-strong); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn-ghost:hover { border-color: var(--ink-faint); }

/* Sections */

section { padding: 68px 0; }

h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  letter-spacing: -0.01em;
  margin: 0 0 28px;
}

.problem { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

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

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.card p { margin: 0; font-size: 1.05rem; }

/* Pricing */

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

.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--surface);
}

.price-card-featured {
  border: 1px solid var(--accent);
  background: var(--accent-tint);
}

.price-card h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 700; }

.price {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 14px;
}

.price-card p:not(.price) { margin: 0; color: var(--ink-soft); }

/* How it works */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 30px;
}

.steps li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
}

.steps h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 700; }
.steps p { margin: 0; color: var(--ink-soft); }

.hero-caption {
  position: absolute;
  left: 24px;
  bottom: 16px;
  z-index: 2;
  margin: 0;
  color: rgba(250, 249, 247, 0.75);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

/* About */

.about { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about p { color: var(--ink-soft); font-size: 1.05rem; }
.about p + p { margin-top: 16px; }

/* Contact */

.cal-embed {
  width: 100%;
  height: 650px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: auto;
  margin-bottom: 24px;
}

.fallback-contact { margin: 0 0 14px; color: var(--ink-soft); font-size: 0.95rem; }

.contact-links { display: flex; gap: 14px; flex-wrap: wrap; }

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* Language toggle behavior */

[data-en] { }
html[lang="en"] .lang-fr,
html[lang="fr"] .lang-en { display: none; }

/* Responsive */

@media (max-width: 760px) {
  .site-nav { display: none; }
  .cards { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .hero-text { padding: 36px 24px; }
  .cal-embed { height: 520px; }
}
