/* ===== Shared site-wide styles ===== */

/* ===== 1. CSS Variables ===== */
:root {
  --page-bg: #F7F7F5;
  --dark-green: #243832;
  --light-green: #D7F6A8;
  --grey: #E7E8E3;
  --white: #ffffff;
  --text-black: #000000;
  --nav-ink: #243832;
  --border-soft: rgba(36, 56, 50, 0.12);
  --max-width: 1280px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Radio Canada Big', 'Radio Canada', system-ui, sans-serif;
  --font-body: 'Source Sans 3', 'Source Sans Pro', system-ui, sans-serif;
}

/* ===== 2. Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--dark-green);
  line-height: 1.55;
  background: var(--page-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ===== 3. Layout utilities ===== */
.wrap, .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 max(1.25rem, min(5vw, 4rem));
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.font-display { font-family: var(--font-display); }

/* ===== 4. Primary CTA button ===== */
.btn-primary-dark, .hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(185px, 16vw, 230px);
  max-width: 100%;
  height: clamp(50px, 4.5vw, 58px);
  padding: 0 1rem;
  box-sizing: border-box;
  background: var(--dark-green);
  color: var(--grey) !important;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid var(--dark-green);
  flex-shrink: 0;
  transition: opacity 0.15s ease, transform 0.1s ease;
}
.btn-primary-dark:hover, .hero-cta:hover { opacity: 0.9; }
.btn-primary-dark:active, .hero-cta:active { transform: scale(0.99); }
@media (max-width: 640px) {
  .btn-primary-dark, .hero-cta { width: min(220px, 72vw); height: 52px; }
}

/* ===== 5. Footer (light variant) ===== */
.footer {
  padding: 2.25rem 1.5rem 2rem;
  background: var(--light-green);
  color: var(--dark-green);
  text-align: center;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
}
.footer-legal {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-legal a {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  color: var(--dark-green);
  text-decoration: none;
  font-weight: 500;
}
.footer-legal a:hover { text-decoration: underline; }
.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.footer-social a {
  color: var(--dark-green);
  line-height: 0;
  opacity: 0.95;
}
.footer-social a:hover { opacity: 0.75; }
.footer-copy {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--nav-ink);
}
