@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Segoe+UI:wght@400;500;600&display=swap");

:root {
  --bg: #f4f2ec;
  --surface: #ffffff;
  --fg: #0f0f0d;
  --muted: #2a2924;
  --subtle: #4a4943;
  --border: #d5d2c8;
  --primary: #14324c;
  --primary-fg: #ffffff;
  --accent: #b34a18;
  --radius: 0.75rem;
  --shadow: 0 1px 3px rgb(15 15 13 / 0.08), 0 12px 32px rgb(15 15 13 / 0.12);
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.55;
  font-size: 1.0625rem;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; text-wrap: balance; }

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("../assets/bg-foret-quebec.jpg") center / cover no-repeat;
}
.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(15 20 18 / 0.45) 0%,
    rgb(244 242 236 / 0.72) 38%,
    rgb(244 242 236 / 0.88) 100%
  );
}

.wrap { width: min(100% - 2rem, 64rem); margin-inline: auto; }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgb(213 210 200 / 0.95);
  background: rgb(255 255 255 / 0.94);
  backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4.25rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 1.35rem;
  color: var(--fg);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.3rem;
  background: var(--primary);
  color: var(--primary-fg);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
}
.nav { display: none; gap: 0.25rem; }
.nav a {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}
.nav a:hover, .nav a[aria-current="page"] {
  background: #e8e6df;
  color: var(--fg);
}
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1.5px solid var(--border);
  border-radius: 0.5rem;
  background: var(--surface);
  cursor: pointer;
  color: var(--fg);
  font-weight: 700;
  font-size: 1.15rem;
}
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: rgb(255 255 255 / 0.98);
  padding: 0.75rem 1rem 1rem;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.9rem 0.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--muted);
}
.mobile-nav a:hover, .mobile-nav a[aria-current="page"] {
  background: #e8e6df;
  color: var(--fg);
}
@media (min-width: 768px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
  .mobile-nav { display: none !important; }
}

.hero { padding: 3rem 0 2.5rem; text-align: center; }
.brand-title {
  margin: 0;
  font-size: clamp(3.5rem, 11vw, 5.75rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-shadow:
    0 1px 2px rgb(0 0 0 / 0.55),
    0 2px 12px rgb(0 0 0 / 0.35),
    0 0 1px rgb(0 0 0 / 0.4);
}
.brand-tagline {
  margin: 1.15rem auto 0;
  max-width: 32rem;
  font-size: clamp(1.15rem, 3.2vw, 1.4rem);
  font-weight: 600;
  color: #ffffff;
  text-shadow:
    0 1px 2px rgb(0 0 0 / 0.5),
    0 2px 10px rgb(0 0 0 / 0.3);
}
.ad-wrap { margin: 2rem auto 0; width: min(100%, 20rem); }
.ad-square {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 2px solid rgb(255 255 255 / 0.85);
  background: transparent;
  box-shadow: var(--shadow);
}
.ad-square video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ad-badge {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  padding: 0.25rem 0.55rem;
  border-radius: 0.25rem;
  background: rgb(0 0 0 / 0.72);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.panel {
  border: 1px solid rgb(200 196 184 / 0.9);
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.97);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  color: var(--fg);
}
.section { padding: 2.5rem 0 3.5rem; }
.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.15rem);
  font-weight: 600;
  color: var(--fg);
}
.muted { color: var(--muted); font-weight: 500; }
.subtle { color: var(--subtle); font-size: 0.95rem; font-weight: 500; }
.grid-2 { display: grid; gap: 1.5rem; }
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1.2fr 0.8fr; gap: 2rem; }
}
.grid-3 { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.fact, .value-card, .contact-card {
  border: 1px solid rgb(200 196 184 / 0.95);
  border-radius: 0.75rem;
  background: rgb(255 255 255 / 0.97);
  box-shadow: var(--shadow);
  padding: 1rem 1.15rem;
  color: var(--fg);
}
.value-card { padding: 1.25rem; }
.fact-label, .card-label {
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}
.fact p, .value-card p, .contact-card p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
}
.value-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--fg);
}
.value-card p {
  margin-top: 0.4rem;
  font-weight: 500;
  color: var(--muted);
  font-size: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.35rem;
  border-radius: 0.5rem;
  border: none;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgb(20 50 76 / 0.28);
}
.btn:hover { filter: brightness(1.08); }
.btn-outline {
  background: #ffffff;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
  font-weight: 600;
}
.btn-block { width: 100%; }

.form-group { margin-bottom: 1.15rem; }
.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
}
.form-group .help { margin: 0.3rem 0 0; font-size: 0.85rem; color: var(--subtle); font-weight: 500; }
.form-group .error { margin: 0.3rem 0 0; font-size: 0.9rem; font-weight: 600; color: var(--accent); }
.field {
  width: 100%;
  min-height: 3rem;
  padding: 0.6rem 0.85rem;
  border: 1.5px solid #c4c0b4;
  border-radius: 0.5rem;
  background: #ffffff;
  color: var(--fg);
  font-weight: 500;
  font-size: 1.05rem;
}
.field:focus {
  outline: 2px solid rgb(20 50 76 / 0.45);
  border-color: var(--primary);
  background: #ffffff;
}
.field::placeholder { color: #6b6a63; opacity: 1; }
textarea.field { min-height: 6.5rem; resize: vertical; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.alert {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1.5px solid rgb(179 74 24 / 0.45);
  background: rgb(179 74 24 / 0.1);
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
}
.footer {
  border-top: 1px solid rgb(213 210 200 / 0.95);
  background: rgb(255 255 255 / 0.94);
  padding: 1.5rem 0;
  margin-top: 1rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}
.dossier-card {
  border: 1px solid rgb(200 196 184 / 0.95);
  border-radius: 0.75rem;
  background: rgb(255 255 255 / 0.98);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  color: var(--fg);
}
.meta-grid { display: grid; gap: 0.65rem; margin-top: 1rem; }
@media (min-width: 640px) {
  .meta-grid { grid-template-columns: 1fr 1fr; }
}
.meta-item {
  border: 1px solid rgb(200 196 184 / 0.85);
  border-radius: 0.5rem;
  background: #f4f2ec;
  padding: 0.65rem 0.75rem;
}
.meta-item dt {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
}
.meta-item dd { margin: 0.2rem 0 0; font-size: 1rem; font-weight: 600; color: var(--fg); }
.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #e8e6df;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--fg);
}
.page-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 520px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}
.gallery-slot {
  margin: 0;
  border: 1px solid rgb(200 196 184 / 0.95);
  border-radius: 0.75rem;
  background: rgb(255 255 255 / 0.97);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.gallery-frame {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(145deg, #efeee9, #d5d2c8);
  display: grid;
  place-items: center;
}
.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-placeholder {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--subtle);
  border: 1.5px dashed rgb(74 73 67 / 0.5);
  border-radius: 0.5rem;
  padding: 0.65rem 1rem;
  background: rgb(255 255 255 / 0.7);
}
.gallery-caption {
  padding: 0.65rem 0.85rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}
