/* ============================================================
   Côté Montagne — cote-montagne.fr
   Palette : bois chaud + lin + terracotta + forêt
   ============================================================ */

:root {
  --ink: #2B1F14;            /* brou de noix — titres */
  --ink-soft: #4A3B2B;
  --ink-muted: #7A6B5A;

  --wood: #6B4B2A;           /* bois — accents, brand */
  --wood-dark: #4E3519;

  --clay: #B8562F;           /* terracotta — CTA */
  --clay-dark: #94421F;
  --clay-light: #D98A5F;

  --linen: #FAF5EC;          /* lin clair — fond principal */
  --cream: #F3EADA;          /* crème — sections alternées */
  --sand-deep: #E4D3B5;      /* sable profond — accents */

  --forest: #3D4D3A;         /* vert forêt — détails */
  --moss: #6A7A56;

  --line: #E2D5BD;
  --white: #FFFFFF;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(43, 31, 20, 0.06), 0 2px 8px rgba(43, 31, 20, 0.04);
  --shadow-md: 0 6px 24px rgba(43, 31, 20, 0.10);
  --shadow-cta: 0 6px 16px rgba(184, 86, 47, 0.28);
  --shadow-cta-hover: 0 10px 22px rgba(184, 86, 47, 0.38);

  --max: 1120px;
  --pad: clamp(1rem, 2.5vw, 2rem);

  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

img, svg { max-width: 100%; display: block; }

a { color: var(--wood-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* -------- Header -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 245, 236, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 1rem;
}
.brand {
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}
.brand:hover { text-decoration: none; }

.site-nav {
  display: flex;
  gap: 1.6rem;
  font-size: 0.95rem;
}
.site-nav a {
  color: var(--ink-soft);
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--wood-dark); text-decoration: none; }
.site-nav a[aria-current="page"] {
  color: var(--wood-dark);
  border-bottom-color: var(--clay);
}

/* -------- CTA buttons -------- */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: 999px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}
.cta-primary {
  background: var(--clay);
  color: var(--white);
  box-shadow: var(--shadow-cta);
}
.cta-primary:hover {
  background: var(--clay-dark);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-cta-hover);
}
.cta-large {
  padding: 14px 28px;
  font-size: 1.05rem;
}
.cta-link {
  color: var(--wood-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 10px 4px;
}
.cta-link:hover { color: var(--clay-dark); }

/* -------- Hero -------- */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(184, 86, 47, 0.09), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(61, 77, 58, 0.10), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--linen) 70%);
  z-index: -1;
}
.hero-content { max-width: 780px; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--clay);
  margin-bottom: 0.8rem;
}
.eyebrow-light { color: var(--clay-light); }

h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 1.2rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.2;
  margin: 0 0 0.8rem;
  color: var(--ink);
}
h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 0 1.8rem;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 0 2.2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* -------- Sections -------- */
.section {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}
.section-alt {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-narrow .container { max-width: 780px; }
.section-narrow h1 + p.lead { margin-bottom: 2rem; }
.section-narrow h2 { margin-top: 2.2rem; }
.section-narrow p { color: var(--ink-soft); }

/* -------- Grids -------- */
.grid {
  display: grid;
  gap: 1.4rem;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.feature h3 { color: var(--wood-dark); }
.feature p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

.cards-nav {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.nav-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.nav-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--clay-light);
  text-decoration: none;
}
.nav-card p { color: var(--ink-soft); margin: 0.5rem 0 1rem; font-size: 0.98rem; }
.nav-card-link {
  display: inline-block;
  color: var(--clay);
  font-weight: 600;
  font-size: 0.95rem;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow-sm);
}
.info-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--wood-dark);
}
.info-card p { margin: 0.4rem 0; color: var(--ink-soft); }
.info-card em { color: var(--ink-muted); font-style: italic; }

.schedule {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}
.schedule li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-soft);
}
.schedule li:last-child { border-bottom: none; }

/* -------- CTA section -------- */
.section-cta {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(184, 86, 47, 0.18), transparent 50%),
    linear-gradient(135deg, var(--wood-dark) 0%, var(--ink) 100%);
  color: var(--linen);
  text-align: center;
}
.section-cta h2 { color: var(--linen); }
.section-cta p { color: rgba(250, 245, 236, 0.85); max-width: 56ch; margin: 0.5rem auto 1.6rem; }
.cta-inner { max-width: 720px; margin: 0 auto; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}
.section-cta .cta-link { color: var(--clay-light); }
.section-cta .cta-link:hover { color: var(--linen); }

/* -------- Footer -------- */
.site-footer {
  background: var(--ink);
  color: rgba(250, 245, 236, 0.8);
  padding: 3rem 0 1.5rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--linen);
  margin: 0 0 0.4rem;
}
.site-footer h4 {
  color: var(--linen);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.7rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a {
  color: rgba(250, 245, 236, 0.75);
}
.footer-links a:hover { color: var(--clay-light); }
.footer-bottom {
  border-top: 1px solid rgba(250, 245, 236, 0.15);
  padding-top: 1.2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(250, 245, 236, 0.55);
}
.muted { color: var(--ink-muted); }
.site-footer .muted { color: rgba(250, 245, 236, 0.6); }

/* -------- Responsive -------- */
@media (max-width: 720px) {
  .site-nav { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .cta { width: 100%; justify-content: center; }
}
