/* ==========================================================
   STYLE.CSS – VERSION NETTOYÉE (Montparnasse75)
   VERSION 3 - SEPIA TRES FONCE #3a2518
   ========================================================== */

/* ===============================
   VARIABLES
   =============================== */
:root {
  --sepia: #3a2518;
  --sepia-dark: #1f140d;
  --paper: #f6f2ee;
  --menu-w: 220px;
  --gap-left: 20px;
  --content-pad-x: 3rem;
  --content-pad-y: 2.5rem;
}

/* ===============================
   BASE / RESET
   =============================== */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: "Times New Roman", Times, serif;
  background: #fff;
  color: #000;
}

img {
  border: 0;
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

/* ===============================
   BANDEAU (header)
   =============================== */
.bandeau-haut {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #f0f0f0;
  padding: 1.1rem 0;
  border-bottom: 1px solid #e3e3e3;
  z-index: 1001;
}

.bandeau-contenu {
  position: relative;
  width: 100%;
  min-height: 64px;
}

/* Logo */
.logo {
  position: absolute;
  left: 0;
  top: 0;
  margin-left: var(--gap-left);
  width: 260px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid rgba(107,79,58,0.25);
}

.logo-mark svg {
  width: 28px;
  height: 28px;
  fill: var(--sepia);
}

.logo-mark svg path:nth-child(2),
.logo-mark svg path:nth-child(3),
.logo-mark svg path:nth-child(4) {
  fill: none;
  stroke: rgba(107,79,58,0.6);
  stroke-width: 2;
  stroke-linecap: round;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.logo-title {
  display: block;
  font-size: 0.95rem;
  color: var(--sepia-dark);
  white-space: nowrap;
}

.logo-subtitle {
  display: block;
  margin-top: 2px;
  font-size: 0.85rem;
  color: var(--sepia);
  text-align: center;
  white-space: nowrap;
}

/* Titre de page dans le bandeau */
.bandeau-titre {
  margin: 0;
  padding-left: calc(var(--menu-w) + var(--gap-left) + var(--content-pad-x));
  padding-right: var(--content-pad-x);
  text-align: center;
  font-family: "Times New Roman", serif;
  font-size: 2.1rem;
  color: #E3001B;
}

/* ===============================
   MENU FIXE (design1.php)
   =============================== */
.menu-lateral {
  position: fixed;
  top: 92px;
  left: 0;
  width: var(--menu-w);
  height: calc(100vh - 92px);
  overflow-y: auto;
  background: #f6f6f6;
  padding: 1.25rem 1rem;
  box-sizing: border-box;
  border-right: 1px solid #e3e3e3;
  z-index: 1000;
  margin-left: var(--gap-left);
}

.menu-principal {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-principal li {
  margin: 0;
}

.menu-principal a {
  display: block;
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  font-family: Verdana, sans-serif;
  font-size: 13px;
  color: #222;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.menu-principal a:hover {
  background: #efe6df;
  color: #000;
  transform: translateX(2px);
}

.menu-principal a.active {
  background: var(--sepia);
  color: #fff;
  font-weight: bold;
}

.menu-principal a.important {
  color: #b3001b;
  font-weight: bold;
}

.menu-principal a.important:hover {
  background: rgba(179,0,27,0.10);
  color: #b3001b;
  transform: translateX(2px);
}

.menu-separation {
  height: 1px;
  background: #ddd;
  margin: 1rem 0;
}

.menu-image img {
  border-radius: 10px;
  border: 1px solid #e1e1e1;
}

.menu-coordonnees {
  font-family: Verdana, sans-serif;
  font-size: 12px;
  color: #444;
  text-align: center;
}

.menu-coordonnees a {
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.menu-coordonnees a:hover {
  border-bottom-color: #222;
}

/* ===============================
   CONTENU PRINCIPAL
   =============================== */
main {
  margin-left: calc(var(--menu-w) + var(--gap-left) + var(--content-pad-x));
  margin-top: 92px;
  padding: var(--content-pad-y) var(--content-pad-x);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.page-interne {
  padding-right: 140px;
}

/* ===============================
   TITRES / TEXTES
   =============================== */
h1, .page-interne h1 {
  text-align: center;
  font-family: "Times New Roman", serif;
  font-size: 2rem;
  margin: 0 0 1.5rem;
}

h2, .page-interne h2 {
  font-family: "Times New Roman", serif;
  margin-top: 2rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.3rem;
}

p {
  line-height: 1.6;
  text-align: justify;
  margin: 1rem 0;
}

.epigraphe {
  text-align: center;
  font-style: italic;
  font-size: 1.1rem;
  margin: 1.5rem auto;
  opacity: 0.8;
  max-width: 600px;
}

/* ===============================
   PAGE D'ACCUEIL
   =============================== */

/* Intro */
.accueil-intro {
  max-width: 900px;
  margin: 0 auto 2rem;
}

/* Photos */
.accueil-photo {
  margin: 1.8rem 0;
}

.accueil-photo img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.accueil-photo figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 0.95rem;
  font-style: italic;
  opacity: 0.78;
}

/* Hero image (image principale) */
.accueil-hero {
  max-width: 480px;
  margin: 1.2rem auto;
}

/* Image hero d'ambiance (optionnel) */
.accueil-ambiance {
  max-width: 800px;
  margin: 1.5rem auto 1.8rem;
}

.accueil-ambiance img {
  border-radius: 14px;
}

/* Diptyque (2 photos côte à côte) */
.accueil-diptyque {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0.6rem 0;
}

@media (min-width: 980px) {
  .accueil-diptyque {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
  }
}

.accueil-diptyque figure {
  margin: 0;
  max-width: 420px;
  justify-self: center;
}

.accueil-diptyque img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

/* Image signature (Le Baiser) */
.accueil-signature {
  max-width: 380px;
  margin: 1rem auto;
}
}

/* Cartes d'entrée */
.accueil-entrees {
  max-width: 900px !important;
  margin: 2rem auto 1rem !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
}

@media (min-width: 600px) {
  .accueil-entrees {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px !important;
  }
}

.accueil-entrees .entree {
  display: block !important;
  text-decoration: none;
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  padding: 14px 16px;
  transition: background 0.2s ease;
  max-width: 100% !important;
  width: auto !important;
}

.accueil-entrees .entree:hover {
  background: rgba(0,0,0,.05);
}

.accueil-entrees .entree strong {
  display: block;
  font-family: Verdana, sans-serif;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--sepia);
}

.accueil-entrees .entree span {
  display: block;
  font-size: 0.98rem;
  line-height: 1.45;
  opacity: 0.85;
}

/* Clôture */
.accueil-cloture {
  max-width: 900px;
  margin: 2rem auto 0;
  font-style: italic;
  opacity: 0.75;
  text-align: center;
}

/* ===============================
   LISTE DES PERSONNALITÉS (AMES)
   =============================== */
.liste-personnalites {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.personnalite {
  flex: 1 1 calc(50% - 2rem);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
  box-sizing: border-box;
}

.personnalite .portrait {
  width: 110px;
  height: 150px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #f2f2f2;
  border: 1px solid #e6e6e6;
}

.personnalite .portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(10%) contrast(1.05);
}

.personnalite .biographie h3 {
  margin: 0 0 0.3rem 0;
}

.personnalite .biographie p {
  margin: 0;
  line-height: 1.5;
}

@media (min-width: 1200px) {
  .personnalite {
    flex: 1 1 calc(33.333% - 2rem);
  }
}

.retour-haut {
  width: 100%;
  text-align: right;
  font-size: 0.9rem;
  margin: 1rem 0 1.2rem;
}

section.lettre {
  margin: 1.2rem 0 1.8rem;
}

section.lettre h2 {
  margin: 1.2rem 0 1rem;
}

/* ===============================
   ALPHABET LATÉRAL
   =============================== */
.alphabet-lateral {
  position: fixed;
  top: 92px;
  right: 14px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  background: rgba(255,255,255,0.92);
  border: 1px solid #ddd;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  backdrop-filter: blur(4px);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.alphabet-lateral a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 8px;
  font-family: Verdana, sans-serif;
  font-size: 12px;
  text-decoration: none;
  color: #333;
  transition: all 0.15s ease;
}

.alphabet-lateral a:hover {
  background: rgba(107,79,58,0.10);
  color: var(--sepia-dark);
}

.alphabet-lateral a.active {
  background: var(--sepia);
  color: #fff;
  font-weight: bold;
}

.alphabet-lateral .lettre-badge {
  font-weight: bold;
  font-size: 13px;
}

.alphabet-lateral .count {
  font-size: 11px;
  opacity: 0.7;
  min-width: 20px;
  text-align: right;
}

/* ===============================
   INTRO BLOC (texte + image)
   =============================== */
main.page-interne > section.intro-bloc {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

main.page-interne > section.intro-bloc .intro-texte {
  min-width: 0;
}

main.page-interne > section.intro-bloc .intro-image {
  width: 240px;
  max-width: 240px;
  height: auto;
  justify-self: end;
  border-radius: 12px;
  border: 1px solid #e6e6e6;
}

@media (max-width: 700px) {
  main.page-interne > section.intro-bloc {
    grid-template-columns: 1fr;
  }

  main.page-interne > section.intro-bloc .intro-image {
    width: 100%;
    max-width: 360px;
    justify-self: start;
  }
}

/* ===============================
   FIGURES DE TOMBES
   =============================== */
.figure-tombe {
  text-align: center;
  margin: 2em 0;
}

.figure-tombe img {
  display: block;
  margin: 0 auto;
  max-width: 320px;
  width: 100%;
  height: auto;
}

.figure-tombe figcaption {
  font-size: 0.9em;
  margin-top: 1em;
}

/* ===============================
   NOTICE DE CONSTRUCTION
   =============================== */
.notice-construction {
  max-width: 480px;
  margin: 2em auto;
  padding: 1.5em 1.8em;
  border: 1px solid #ddd;
  background: #fafafa;
  text-align: center;
}

.notice-construction .construction-title {
  font-weight: bold;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9em;
  margin: 0 0 0.8em 0;
}

.notice-construction .construction-text {
  font-size: 0.95em;
  color: #555;
  margin: 0;
}

/* ===============================
   PAGE AMES - FOND HARMONIEUX
   =============================== */
.personnalite {
  background: rgba(246, 242, 238, 0.35);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(107, 79, 58, 0.08);
  transition: background 0.2s ease, transform 0.2s ease;
}

.personnalite:hover {
  background: rgba(246, 242, 238, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

/* ===============================
   PAGE CONTACT
   =============================== */
.chapo {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 1.5rem auto;
  text-align: center;
  font-style: italic;
  opacity: 0.9;
}

.contact-form {
  max-width: 700px;
  margin: 2rem auto;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-grid label span {
  font-family: Verdana, sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: #333;
}

.contact-grid label span em {
  color: #b3001b;
  font-style: normal;
}

.contact-grid input[type="text"],
.contact-grid input[type="email"],
.contact-grid input[type="tel"],
.contact-grid textarea {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: "Times New Roman", serif;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.contact-grid input:focus,
.contact-grid textarea:focus {
  outline: none;
  border-color: var(--sepia);
}

.contact-grid textarea {
  resize: vertical;
  min-height: 180px;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-actions button {
  padding: 12px 28px;
  border: 1px solid var(--sepia);
  border-radius: 8px;
  background: var(--sepia);
  color: #fff;
  font-family: Verdana, sans-serif;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.contact-actions button[type="reset"] {
  background: #fff;
  color: var(--sepia);
}

.contact-actions button:hover {
  background: var(--sepia-dark);
  border-color: var(--sepia-dark);
  transform: translateY(-1px);
}

.contact-actions button[type="reset"]:hover {
  background: #f5f5f5;
  border-color: var(--sepia-dark);
}

.contact-note {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 1rem;
  opacity: 0.7;
}

.contact-success {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: #e8f5e9;
  border: 1px solid #4caf50;
  border-radius: 12px;
  text-align: center;
}

.contact-success strong {
  color: #2e7d32;
  font-size: 1.2rem;
}

.contact-errors {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #ffebee;
  border: 1px solid #f44336;
  border-radius: 12px;
}

.contact-errors ul {
  margin: 0.5rem 0 0;
  padding-left: 1.5rem;
}

.contact-errors li {
  margin: 0.3rem 0;
  color: #c62828;
}

/* ===============================
   PAGE INFORMATIONS
   =============================== */
.infos-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 2rem 0;
}

.infos-nav a {
  display: block;
  padding: 12px 20px;
  background: rgba(107,79,58,0.08);
  border: 1px solid rgba(107,79,58,0.2);
  border-radius: 10px;
  text-decoration: none;
  font-family: Verdana, sans-serif;
  font-size: 13px;
  color: var(--sepia-dark);
  transition: all 0.2s ease;
}

.infos-nav a:hover {
  background: var(--sepia);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.info-bloc {
  margin: 3rem 0;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e3e3e3;
}

.info-bloc:last-of-type {
  border-bottom: none;
}

/* ===============================
   PAGE AMBIANCE (3 colonnes)
   =============================== */
.intro-ambiance {
  margin-bottom: 3rem;
}

.triptyque {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 980px) {
  .triptyque {
    grid-template-columns: 200px 1fr 200px;
    gap: 2rem;
  }
}

.triptyque-item {
  margin: 0;
}

.triptyque-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #e6e6e6;
}

.triptyque-texte {
  padding: 0 1rem;
}

.triptyque-texte .chapo {
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

/* Grille principale Ambiance (3 colonnes : texte / image / texte) */
.ambiance-grille {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

@media (min-width: 980px) {
  .ambiance-grille {
    grid-template-columns: 1fr 280px 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.bloc-ambiance h2 {
  font-size: 1.3rem;
  margin-top: 0;
}

.bloc-ambiance h3 {
  font-size: 1.1rem;
  margin-top: 1.8rem;
  color: var(--sepia-dark);
}

.image-ambiance {
  margin: 0;
}

.image-ambiance img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #e6e6e6;
}

/* ===============================
   PAGE ÉPITAPHES - GRILLE
   =============================== */
.oeuvres-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 2rem 0;
}

@media (max-width: 1024px) {
  .oeuvres-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .oeuvres-grid {
    grid-template-columns: 1fr;
  }
}

.oeuvre {
  margin: 0;
  background: rgba(246, 242, 238, 0.3);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(107, 79, 58, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.oeuvre:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

.oeuvre img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  max-height: 240px;
  background: #f9f9f9;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.oeuvre figcaption {
  padding: 12px 14px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.4;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.oeuvre figcaption strong {
  display: block;
  color: var(--sepia-dark);
  font-size: 0.98rem;
}

.cloture {
  text-align: center;
  font-style: italic;
  opacity: 0.75;
  margin: 2rem auto;
  max-width: 700px;
}

/* ===============================
   PAGE PLAN - REPÈRES SANS SOULIGNEMENT
   =============================== */
.legend ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.legend li {
  margin: 0 0 10px;
  line-height: 1.4;
}

.legend a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.legend a:hover {
  color: var(--sepia);
}

.legend strong {
  display: inline-block;
  width: 2.4em;
  text-align: right;
  margin-right: 6px;
  font-weight: bold;
  color: var(--sepia-dark);
}

/* ===============================
   PAGE HISTOIRE - TIMELINE
   =============================== */
.histoire-section {
  margin: 3rem 0;
}

.timeline {
  position: relative;
  padding-left: 40px;
  margin: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, 
    rgba(107, 79, 58, 0.3), 
    rgba(107, 79, 58, 0.6), 
    rgba(107, 79, 58, 0.3));
}

.event {
  position: relative;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: start;
}

.event::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sepia);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--sepia);
  z-index: 1;
}

.event-date {
  font-family: Verdana, sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--sepia-dark);
  background: rgba(246, 242, 238, 0.5);
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(107, 79, 58, 0.15);
}

.event-text {
  padding: 8px 0;
  line-height: 1.6;
}

/* Timeline compacte (pour les sections plus denses) */
.timeline-compact .event {
  margin-bottom: 1.5rem;
}

/* Cartes figures (Guillaumot, Frochot, etc.) */
.cartes-figures {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

@media (min-width: 980px) {
  .cartes-figures {
    grid-template-columns: repeat(3, 1fr);
  }
}

.carte-figure {
  background: rgba(246, 242, 238, 0.3);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(107, 79, 58, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.carte-figure:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.carte-figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  max-height: 200px;
  background: #f9f9f9;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.carte-figure-texte {
  padding: 16px 18px;
  flex-grow: 1;
}

.carte-figure h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--sepia-dark);
  border-bottom: none;
}

.carte-figure p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  text-align: left;
}

/* ===============================
   BANDEAU AVEC CITATION
   =============================== */
.bandeau-titres {
  flex: 1;
}

.bandeau-citation {
  margin: 0.8rem 0 0;
  padding-left: calc(var(--menu-w) + var(--gap-left) + var(--content-pad-x));
  padding-right: var(--content-pad-x);
  text-align: center;
  font-family: "Times New Roman", serif;
  font-size: 0.95rem;
  font-style: italic;
  opacity: 0.7;
}

.bandeau-citation span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ===============================
   FOOTER
   =============================== */
footer {
  margin-left: calc(var(--menu-w) + var(--gap-left) + var(--content-pad-x));
  padding: 2rem var(--content-pad-x);
  border-top: 1px solid #e3e3e3;
  background: #f9f9f9;
  font-size: 0.9rem;
  text-align: center;
}

.footer-colophon {
  margin-bottom: 1rem;
  font-style: italic;
  opacity: 0.8;
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 980px) {
  :root {
    --menu-w: 0px;
    --gap-left: 0px;
    --content-pad-x: 1.5rem;
    --content-pad-y: 1.5rem;
  }

  .bandeau-titre {
    padding-left: var(--content-pad-x);
    font-size: 1.6rem;
  }

  .bandeau-citation {
    padding-left: var(--content-pad-x);
    padding-right: var(--content-pad-x);
  }

  .menu-lateral {
    display: none;
  }

  main, footer {
    margin-left: 0;
  }

/* CSS POUR LES NOTICES EN CONSTRUCTION */
/* À ajouter dans style.css */

.notice-construction {
  max-width: 480px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: rgba(255, 243, 205, 0.3);
  border: 2px dashed rgba(58, 37, 24, 0.3);
  border-radius: 12px;
  text-align: center;
}

.construction-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #3a2518;
  margin: 0 0 0.8rem 0;
}

.construction-text {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Uniformisation des photos de tombes dans les bio */
.figure-tombe img {
  display: block !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 450px !important; /* Taille fixe maximum */
  height: auto !important; /* Hauteur automatique = garde les proportions */
  border-radius: 8px !important; /* Coins arrondis (optionnel) */
  box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important; /* Ombre légère (optionnel) */
}

/* Sur mobile : un peu plus petit */
@media (max-width: 640px) {
  .figure-tombe img {
    max-width: 100% !important;
  }
}