/* ===========================================================================
   THÈME CLASSIQUE — Daniel Chaboissier
   ---------------------------------------------------------------------------
   Pour personnaliser le site, modifie d'abord les variables ci-dessous.
   Exemple : pour passer l'accent ambre en bordeaux, change --accent.
   =========================================================================== */
:root {
  /* Couleurs */
  --bg:            #fdfbf7;   /* fond de page, ivoire très clair        */
  --surface:       #ffffff;   /* fond des blocs                          */
  --ink:           #2b2622;   /* texte principal                         */
  --ink-soft:      #5c544c;   /* texte secondaire                        */
  --ink-faint:     #8d8579;   /* texte discret (méta, légendes)          */
  --accent:        #b0772e;   /* accent « caramel / ambre »              */
  --accent-dark:   #8a5c20;   /* accent foncé (survol)                   */
  --rule:          #e7e0d4;   /* filets et bordures                      */

  /* Typographie */
  --font-display:  "Cormorant Garamond", Georgia, serif;
  --font-body:     "Source Sans 3", system-ui, sans-serif;

  /* Mise en page */
  --maxw:          820px;     /* largeur max du contenu                  */
  --radius:        4px;
}

/* --- Base ----------------------------------------------------------------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

/* --- En-tête -------------------------------------------------------------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--rule); }
.brand-wrap { text-align: center; padding: 2.4rem 1.5rem 1.6rem; }
.brand-name {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.5rem;
  letter-spacing: 0.5px;
  color: var(--ink);
}
.brand-name:hover { color: var(--ink); text-decoration: none; }
.brand-rule { display: block; width: 46px; height: 2px; background: var(--accent); margin: 0.9rem auto; }
.brand-sub { margin: 0; color: var(--accent); font-size: 0.85rem; letter-spacing: 2px; }

/* --- Navigation ----------------------------------------------------------- */
.site-nav { background: var(--bg); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.nav-inner {
  display: flex; flex-wrap: wrap; justify-content: center;
  padding: 0.85rem 1.5rem;
}
.site-nav a { color: var(--ink-soft); font-size: 0.95rem; margin: 0.25rem 0.75rem; }
.site-nav a:hover { color: var(--accent); text-decoration: none; }
.site-nav a.active { color: var(--accent); font-weight: 600; }

/* --- Contenu -------------------------------------------------------------- */
.main { padding: 2.6rem 1.5rem 3rem; }
.hero { text-align: center; padding: 1rem 0 2.2rem; border-bottom: 1px solid var(--rule); margin-bottom: 2.2rem; }
.hero-eyebrow { color: var(--accent); font-size: 0.8rem; letter-spacing: 1.5px; margin: 0 0 0.6rem; }
.hero-title { font-family: var(--font-display); font-weight: 600; font-size: 3rem; line-height: 1.1; margin: 0; color: var(--ink); }
.hero-intro { max-width: 620px; margin: 1.1rem auto 0; color: var(--ink-soft); font-size: 1.12rem; }

.page-head { margin-bottom: 1.8rem; }
.page-head h1 { font-family: var(--font-display); font-weight: 600; font-size: 2.4rem; margin: 0; color: var(--ink); }
.page-sub { margin: 0.4rem 0 0; color: var(--ink-faint); font-style: italic; }

.prose { font-size: 1.05rem; }
.prose h2, .prose h3 { font-family: var(--font-display); font-weight: 600; color: var(--ink); line-height: 1.2; }
.prose h2 { font-size: 1.8rem; margin: 2rem 0 0.6rem; }
.prose h3 { font-size: 1.35rem; margin: 1.6rem 0 0.4rem; }
.prose p { margin: 0 0 1.1rem; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin: 0.3rem 0; }
.prose strong { color: var(--ink); }
.prose blockquote {
  margin: 1.4rem 0; padding: 0.8rem 1.2rem;
  border-left: 3px solid var(--accent);
  background: #faf5ec; color: var(--ink-soft);
  font-size: 0.95rem; border-radius: 0;
}
.prose img { max-width: 100%; height: auto; border-radius: var(--radius); }

/* Galeries (images côte à côte avec légende) */
.galerie {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.4rem; margin: 1.6rem 0;
}
.galerie figure {
  margin: 0; max-width: 320px;
  display: flex; flex-direction: column; align-items: center;
}
.galerie img {
  max-width: 100%; height: auto; border-radius: var(--radius);
  border: 1px solid var(--rule);
}
.galerie figcaption {
  margin-top: 0.5rem; font-size: 0.9rem; color: var(--ink-faint);
  text-align: center; line-height: 1.4;
}

/* --- Pied de page --------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--rule); background: var(--surface); margin-top: 2rem; }
.site-footer .container { text-align: center; padding: 1.8rem 1.5rem; }
.footer-mail { font-size: 0.95rem; }
.footer-meta { margin: 0.5rem 0 0; color: var(--ink-faint); font-size: 0.8rem; }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 600px) {
  .brand-name { font-size: 2rem; }
  .hero-title { font-size: 2.2rem; }
  .nav-inner { gap: 0.3rem 1rem; }
  .site-nav a { font-size: 0.88rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
