:root {
  --bronze: #8B6B1F;
  --gold: #C9A227;
  --olive: #6F8C3E;
  --sage: #8FAE4E;
  --cream: #FDFBF6;
  --panel: #F6F1E2;
  --ink: #3D2B12;
  --text-muted: #6B6047;
  --text-faint: #9A8F72;
  --border: #E7DEC2;
  --radius: 10px;
  --max-width: 640px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top bar */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
}

.brand-logo {
  height: 75px;
  width: auto;
  display: block;
}

.brand-logo-center {
  height: 200px;
  width: auto;
  display: block;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
}

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

.lang-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.lang-sep {
  color: var(--text-faint);
}

.lang-option {
  padding: 2px 4px;
}

html[data-lang="fr"] .lang-toggle [data-lang-btn="fr"],
html[data-lang="en"] .lang-toggle [data-lang-btn="en"] {
  color: var(--bronze);
}

/* Hero */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1.5rem 3rem;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.headline {
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.1;
  margin: 0 0 0.5rem;
  color: var(--ink);
  font-weight: 700;
}

.subtext {
  max-width: var(--max-width);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 2.25rem;
}

/* Growth bars signature */

.center-logo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  /*height: 80px;*/
  margin: 0 0 2.5rem;
}

.bar {
  width: 18px;
  border-radius: 4px 4px 0 0;
  transform-origin: bottom;
  animation: rise 1.6s ease-out both;
}

.bar-1 { background: var(--sage); height: 30%; animation-delay: 0s; }
.bar-2 { background: var(--olive); height: 50%; animation-delay: 0.12s; }
.bar-3 { background: var(--gold); height: 70%; animation-delay: 0.24s; }
.bar-4 { background: var(--bronze); height: 100%; animation-delay: 0.36s; }

@keyframes rise {
  from { transform: scaleY(0); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .bar {
    animation: none;
  }
}

/* CTA */

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bronze);
  color: var(--cream);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: background 0.15s ease, transform 0.1s ease;
}

.cta:hover {
  background: var(--ink);
}

.cta:active {
  transform: scale(0.98);
}

.cta:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.cta-icon {
  flex-shrink: 0;
}

.notify-hint {
  margin: 1.75rem 0 0;
  font-size: 13px;
  color: var(--text-faint);
}

/* Footer */

.footer {
  padding: 1.2rem;
  text-align: center;
}

.copyright {
  margin: 0;
  font-size: 12px;
  color: var(--text-faint);
}

/* Language visibility */

[data-fr][data-en] {
  display: none;
}

html[data-lang="fr"] [data-fr]::before {
  content: attr(data-fr);
}

html[data-lang="en"] [data-en]::before {
  content: attr(data-en);
}

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

.cta [data-fr][data-en] {
  display: inline;
}

/* Responsive */

@media (max-width: 480px) {
  .topbar {
    padding: 1.25rem 1.25rem;
  }
  .brand-logo {
    height: 36px;
  }
  .hero {
    padding: 1.5rem 1.25rem 2rem;
  }
  .growth {
    height: 64px;
  }
  .bar {
    width: 14px;
  }
  .cta {
    padding: 12px 20px;
    font-size: 14px;
    text-align: center;
  }
}
