/* =================================================================
   Retour à la Saulx 2026 — Palette & styles communs (public + invité)
   ================================================================= */

/* --- Variables --------------------------------------------------- */
:root {
  --sage-dark:     #6b8e6b;
  --sage-mid:      #8ba88e;
  --sage-light:    #a8c099;
  --sage-text:     #3a4f35;
  --cream-bg:      #faf6ed;
  --cream-surface: #fffcf5;
  --cream-border:  #d8d0b8;
  --cream-divider: #ece6d4;
  --ocre:          #c4a574;
  --ink:           #2c2d2a;
  --ink-muted:     #6a6f66;
  --terracotta:    #b8704a;
}

/* --- Typographie -------------------------------------------------- */
body {
  background: var(--cream-bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > .public-footer { margin-top: auto; }
h1, h2, h3, .serif {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 500;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* --- Navbar publique --------------------------------------------- */
.public-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  background: rgba(250, 246, 237, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.public-nav.scrolled { border-bottom-color: var(--cream-divider); }
.public-nav .logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  color: var(--sage-text);
  text-decoration: none;
  font-weight: 500;
}
.public-nav .nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 14px;
}
.public-nav .nav-links a {
  color: var(--ink-muted);
  text-decoration: none;
  transition: color .15s;
}
.public-nav .nav-links a:hover { color: var(--sage-text); }

/* Bouton CTA nav */
.btn-nav-cta {
  background: var(--sage-dark);
  color: var(--cream-bg) !important;
  padding: 9px 16px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 13px !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: background .15s;
}
.btn-nav-cta:hover { background: var(--sage-text) !important; color: var(--cream-bg) !important; }

/* Responsive nav */
@media (max-width: 640px) {
  .public-nav { padding: 16px 20px; }
  .public-nav .nav-links { gap: 14px; font-size: 13px; }
  .public-nav .nav-links .hide-mobile { display: none; }
}

/* --- Hero --------------------------------------------------------- */
.hero {
  position: relative;
  height: 460px;
  overflow: hidden;
  background: #e8dfc4;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 36px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 28px 48px;
  max-width: 560px;
  background: rgba(250, 246, 237, 0.82);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 52px;
  color: var(--sage-text);
  margin: 0 0 18px;
  line-height: 1.05;
  letter-spacing: -0.5px;
}
.hero p {
  font-size: 16px;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 640px) {
  .hero { height: 420px; padding-bottom: 24px; }
  .hero-content { padding: 22px 24px; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 15px; }
}

/* --- Boutons ------------------------------------------------------ */
.btn-primary-custom {
  background: var(--sage-dark);
  color: var(--cream-bg);
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  transition: background .15s;
}
.btn-primary-custom:hover { background: var(--sage-text); color: var(--cream-bg); }

/* --- Sections ---------------------------------------------------- */
.public-section { padding: 64px 32px; max-width: 960px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--sage-mid);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-head h2 { font-size: 32px; color: var(--sage-text); margin: 0; }

/* --- Compte à rebours -------------------------------------------- */
.countdown-section {
  background: var(--cream-surface);
  border-bottom: 1px solid var(--cream-divider);
  padding: 48px 32px;
  text-align: center;
}
.countdown-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 28px;
}
.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
}
.countdown-unit { display: flex; flex-direction: column; align-items: center; }
.countdown-unit span {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 64px;
  font-weight: 500;
  color: var(--sage-text);
  line-height: 1;
  min-width: 2ch;
}
.countdown-unit div {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 8px;
}
@media (max-width: 480px) {
  .countdown-unit span { font-size: 42px; }
  .countdown-grid { gap: 24px; }
}

/* --- Citation ---------------------------------------------------- */
.quote-section {
  position: relative;
  padding: 72px 32px;
  text-align: center;
  background: url('/images/saulx-riviere.jpg') center center / cover no-repeat;
  overflow: hidden;
}
.quote-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(42, 70, 40, 0.72);
}
.main-quote { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.main-quote p {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  font-style: italic;
  color: var(--cream-bg);
  line-height: 1.65;
  margin: 0 0 20px;
  font-weight: 400;
}
.main-quote cite {
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sage-light);
  font-style: normal;
}
@media (max-width: 640px) { .main-quote p { font-size: 19px; } }

/* --- Stories (exploit + saulx) ----------------------------------- */
.stories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 100%;
}
.story-card {
  padding: 72px 64px;
  border-bottom: 1px solid var(--cream-divider);
}
.story-card:first-child {
  border-right: 1px solid var(--cream-divider);
  background: var(--cream-bg);
}
.story-card:last-child { background: var(--cream-surface); }
.story-card h2 {
  font-size: 28px;
  color: var(--sage-text);
  margin: 12px 0 18px;
  line-height: 1.2;
}
.story-card p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.75;
  margin: 0;
}
@media (max-width: 768px) {
  .stories-grid { grid-template-columns: 1fr; }
  .story-card { padding: 48px 32px; }
  .story-card:first-child { border-right: none; border-bottom: 1px solid var(--cream-divider); }
}

/* --- CTA album --------------------------------------------------- */
.cta-section {
  padding: 80px 32px;
  text-align: center;
  background: var(--cream-bg);
}
.cta-content { max-width: 520px; margin: 0 auto; }
.cta-content h3 {
  font-size: 32px;
  color: var(--sage-text);
  margin: 0 0 14px;
}
.cta-content p {
  font-size: 15px;
  color: var(--ink-muted);
  margin: 0 0 32px;
  line-height: 1.65;
}
.cta-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn-secondary-custom {
  background: transparent;
  color: var(--sage-dark);
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--sage-dark);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.btn-secondary-custom:hover { background: var(--sage-dark); color: var(--cream-bg); }

/* --- Footer ------------------------------------------------------ */
.public-footer {
  background: var(--cream-divider);
  padding: 24px 32px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-muted);
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
}
