/* Calterra Environnement — Custom styles */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --forest:      #1a3c28;
  --sage:        #3d6b4f;
  --sage-light:  #7aab8a;
  --cream:       #f4efe4;
  --sand:        #e5dcc8;
  --charcoal:    #252525;
  --terracotta:  #b85535;
  --white-warm:  #faf8f4;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white-warm);
  color: var(--charcoal);
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.2;
}

/* ── Motif logo : cercles et arc ─────────────────────────── */
.logo-arc {
  display: inline-block;
  width: 48px;
  height: 24px;
  border: 2px solid var(--sage);
  border-bottom: none;
  border-radius: 48px 48px 0 0;
}

.dot-motif {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dot-motif::before,
.dot-motif::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
}
.dot-motif::before { opacity: 0.5; }

.section-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 300;
  color: var(--sand);
  line-height: 1;
  user-select: none;
}

/* ── Navigation ─────────────────────────────────────────── */
.nav-link {
  position: relative;
  color: var(--charcoal);
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--sage);
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--sage); }
.nav-link:hover::after { width: 100%; }

/* ── Hero ────────────────────────────────────────────────── */
.hero-bg {
  background: var(--forest);
  position: relative;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 10%;
  width: 200px;
  height: 100px;
  border: 1px solid rgba(255,255,255,0.06);
  border-bottom: none;
  border-radius: 200px 200px 0 0;
}

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--white-warm);
  border: 1px solid var(--sand);
  border-radius: 2px;
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(26,60,40,0.08);
  transform: translateY(-2px);
}

/* ── Section arc décoratif ───────────────────────────────── */
.arc-divider {
  width: 60px;
  height: 30px;
  border: 2px solid var(--sage-light);
  border-bottom: none;
  border-radius: 60px 60px 0 0;
  margin: 0 auto 2rem;
  opacity: 0.6;
}

/* ── Boutons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--sage);
  color: white;
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--forest); }

.btn-outline {
  display: inline-block;
  border: 1px solid var(--sage);
  color: var(--sage);
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-outline:hover {
  background: var(--sage);
  color: white;
}

/* ── Stat blocks ─────────────────────────────────────────── */
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--sage-light);
  line-height: 1;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer-bg { background: var(--forest); }

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease forwards; }
.fade-up-delay { animation: fadeUp 0.6s ease 0.2s forwards; opacity: 0; }

/* ── Prose (contenu WYSIWYG) ─────────────────────────────── */
.prose h2 { font-size: 1.75rem; margin-bottom: 1rem; color: var(--forest); }
.prose h3 { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--sage); }
.prose p  { margin-bottom: 1rem; line-height: 1.7; }
.prose ul { list-style: none; padding: 0; }
.prose ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}
.prose strong { color: var(--forest); font-weight: 600; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .section-number { font-size: 2.5rem; }
  .stat-number    { font-size: 2.5rem; }
  h1 { font-size: 2rem !important; }
}
