:root {
  --parchment:    #f4ead5;
  --parchment-dk: #e8d9b5;
  --ink:          #1c1209;
  --sepia:        #6b4c2a;
  --sepia-lt:     #a07848;
  --rust:         #8b3a1e;
  --gold:         #c9993a;
  --gold-lt:      #e8c870;
  --shadow:       rgba(28,18,9,0.18);
}

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

html, body { overflow-x: hidden }

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  background-color: var(--ink);
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  line-height: 1.85;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── LIENS GLOBAUX ── */
a {
  color: var(--rust);
  text-decoration: underline;
  text-decoration-color: rgba(139,58,30,0.4);
  transition: color 0.2s, text-decoration-color 0.2s;
}
a:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

/* ── TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, #3d2510 0%, var(--ink) 70%);
  padding: 4rem 2rem;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(201,153,58,0.03) 2px,
      rgba(201,153,58,0.03) 4px
    );
  pointer-events: none;
}

/* Decorative corner flourishes */
.corner {
  position: absolute;
  width: 120px;
  height: 120px;
  opacity: 0.35;
}
.corner svg {
  width: 100%;
  height: 100%;
}
.corner--tl { top: 24px; left: 24px; }
.corner--tr { top: 24px; right: 24px; transform: scaleX(-1); }
.corner--bl { bottom: 24px; left: 24px; transform: scaleY(-1); }
.corner--br { bottom: 24px; right: 24px; transform: scale(-1); }

.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.8rem;
  animation: fadeUp 1.2s ease both;
}.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 600;
  color: var(--parchment);
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow:
    0 4px 32px rgba(201,153,58,0.3),
    0 0 80px rgba(139,58,30,0.2);
  animation: fadeUp 1.2s 0.2s ease both;
}

.hero-title span {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.2rem, 2.8vw, 1.9rem);
  letter-spacing: 0.14em;
  color: var(--gold-lt);
  margin-top: 0.7rem;
}

.hero-ornament {
  margin: 2.5rem auto;
  color: var(--gold);
  font-size: 1.7rem;
  opacity: 0.7;
  animation: fadeUp 1.2s 0.4s ease both;
  letter-spacing: 0.5rem;
}

.hero-desc {
  max-width: 680px;
  font-size: 1.45rem;
  font-style: italic;
  color: #c9b99a;
  animation: fadeUp 1.2s 0.6s ease both;
  line-height: 1.95;
}

.hero-cta {
  margin-top: 3rem;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 1.2s 0.8s ease both;
}

.btn {
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 2.2rem;
  border: 1px solid;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.btn--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.btn--primary:hover {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,153,58,0.4);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(201,153,58,0.5);
  color: var(--parchment);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: var(--sepia-lt);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: pulse 2.5s infinite;
}
.scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

/* ── MAIN CONTENT ── */
main {
  position: relative;
  z-index: 1;
}

/* ── SECTION TEMPLATE ── */
section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.section-label::before,
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  max-width: 60px;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.15rem, 4vw, 3.3rem);
  font-weight: 400;
  color: var(--parchment);
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.15;
}

/* ── ORIGINS ── */
#origine {
  background: var(--parchment);
  max-width: 100%;
  padding: 6rem 2rem;
}
#origine .inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.origins-text .section-label {
  color: var(--rust);
}
.origins-text .section-label::before,
.origins-text .section-label::after {
  background: linear-gradient(to right, transparent, var(--rust), transparent);
}

.origins-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.origins-body {
  font-size: 1.42rem;
  color: var(--sepia);
  line-height: 1.95;
}

.origins-body p + p {
  margin-top: 1.2rem;
}

.origins-body em {
  color: var(--rust);
  font-style: italic;
}

.origins-body strong {
  color: var(--ink);
  font-weight: 600;
}

.origins-body h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1rem;
  margin-top: 2rem;
  letter-spacing: 0.04em;
}

/* Liens dans le corps de texte origins */
.origins-body a {
  color: var(--rust);
  font-size: 0.78em;
  vertical-align: super;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  transition: color 0.2s;
}
.origins-body a:hover {
  color: var(--gold);
}

.coat-of-arms {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: sticky;
  top: 7rem;
}

.coat-svg-wrap {
  width: 220px;
  height: 260px;
  position: relative;
}
.coat-svg-wrap svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 32px rgba(28,18,9,0.3));
}

.coat-caption {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 1.45rem;
  color: var(--sepia-lt);
  text-align: center;
  line-height: 1.5;
}

/* ── TIMELINE ── */
#chronologie {
  background: linear-gradient(180deg, #1c1209 0%, #2a1a0e 100%);
  max-width: 100%;
  padding: 6rem 2rem;
}
#chronologie .inner {
  max-width: 900px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  margin-top: 3rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold), var(--gold), transparent);
  transform: translateX(-50%);
}

.tl-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  margin-bottom: 3rem;
  align-items: start;
}

.tl-item:nth-child(odd) .tl-content {
  grid-column: 1;
  text-align: right;
}
.tl-item:nth-child(odd) .tl-year {
  grid-column: 2;
}
.tl-item:nth-child(odd) .tl-empty {
  grid-column: 3;
}

.tl-item:nth-child(even) .tl-empty {
  grid-column: 1;
}
.tl-item:nth-child(even) .tl-year {
  grid-column: 2;
}
.tl-item:nth-child(even) .tl-content {
  grid-column: 3;
  text-align: left;
}

.tl-year {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.3rem;
}

.tl-dot {
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 3px var(--gold);
  flex-shrink: 0;
}

.tl-year-label {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: 0.5rem;
  white-space: nowrap;
}

.tl-content {
  padding: 0 1.5rem;
}

.tl-event-title {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  color: var(--parchment);
  margin-bottom: 0.45rem;
  line-height: 1.35;
}

.tl-event-body {
  font-size: 1.4rem;
  color: #a09070;
  font-style: italic;
  line-height: 1.95;
}

/* ── CARTES / MAP ── */
#geographie {
  background: var(--parchment);
  max-width: 100%;
  padding: 6rem 2rem;
}
#geographie .inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.map-placeholder {
  margin: 2.5rem auto;
  width: 100%;
  max-width: 700px;
  height: 380px;
  background: var(--parchment-dk);
  border: 1px solid var(--sepia-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='28' fill='none' stroke='%23a07848' stroke-width='0.5' opacity='0.3'/%3E%3Cline x1='0' y1='30' x2='60' y2='30' stroke='%23a07848' stroke-width='0.4' opacity='0.2'/%3E%3Cline x1='30' y1='0' x2='30' y2='60' stroke='%23a07848' stroke-width='0.4' opacity='0.2'/%3E%3C/svg%3E") repeat;
}

.map-note {
  position: relative;
  font-family: 'IM Fell English', serif;
  font-style: italic;
  color: var(--sepia);
  font-size: 1.2rem;
  line-height: 1.6;
}

/* ── RECHERCHE ── */
#recherche {
  background: linear-gradient(135deg, #2a1a0e 0%, #1c1209 100%);
  max-width: 100%;
  padding: 6rem 2rem;
}
#recherche .inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.search-box {
  display: flex;
  gap: 0;
  margin: 2rem auto 0;
  max-width: 560px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.search-input {
  flex: 1;
  padding: 1rem 1.5rem;
  background: rgba(244,234,213,0.08);
  border: 1px solid rgba(201,153,58,0.4);
  border-right: none;
  color: var(--parchment);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.2s;
}
.search-input::placeholder {
  color: rgba(201,153,58,0.4);
  font-style: italic;
}
.search-input:focus {
  border-color: var(--gold);
}

.search-btn {
  padding: 1rem 1.8rem;
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--ink);
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.search-btn:hover {
  background: var(--gold-lt);
}

.search-tags {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.search-tag {
  font-family: 'Cinzel', serif;
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--sepia-lt);
  border: 1px solid rgba(160,120,72,0.3);
  padding: 0.4rem 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
}
.search-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── FICHES ── */
#registres {
  background: var(--parchment);
  max-width: 100%;
  padding: 6rem 2rem;
}
#registres .inner {
  max-width: 1100px;
  margin: 0 auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.record-card {
  background: white;
  border: 1px solid var(--parchment-dk);
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.record-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--rust);
}
.record-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(28,18,9,0.12);
}

.record-card .rc-year {
  font-family: 'Cinzel', serif;
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  color: var(--rust);
  margin-bottom: 0.5rem;
}

.record-card .rc-name {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.record-card .rc-info {
  font-size: 1.15rem;
  color: var(--sepia);
  font-style: italic;
  line-height: 1.85;
}

.record-card .rc-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.rc-tag {
  font-size: 0.72rem;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sepia-lt);
  border: 1px solid var(--parchment-dk);
  padding: 0.24rem 0.65rem;
}

/* ── CONTRIBUER ── */
#contribuer {
  background: #1c1209;
  max-width: 100%;
  padding: 6rem 2rem;
  text-align: center;
}
#contribuer .inner {
  max-width: 700px;
  margin: 0 auto;
}

.contribute-body {
  font-size: 1.38rem;
  color: #a09070;
  font-style: italic;
  margin-bottom: 2.5rem;
  line-height: 2;
}

/* ── SOURCES ── */
#sources {
  background: var(--parchment);
  max-width: 100%;
  padding: 5rem 2rem;
}
#sources .inner {
  max-width: 900px;
  margin: 0 auto;
}

#sources .section-title {
  color: var(--ink);
  text-align: left;
  margin-bottom: 2rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

#sources ol {
  list-style: none;
  counter-reset: sources-counter;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

#sources ol li {
  counter-increment: sources-counter;
  position: relative;
  padding-left: 3.8rem;
  font-size: 1.28rem;
  color: var(--sepia);
  line-height: 1.95;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--parchment-dk);
}
#sources ol li:last-child {
  border-bottom: none;
}

#sources ol li::before {
  content: "[" counter(sources-counter) "]";
  position: absolute;
  left: 0;
  top: 0.12rem;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--rust);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

#sources ol li em {
  color: var(--ink);
  font-style: italic;
}

#sources ol li a {
  color: var(--rust) !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(139,58,30,0.45) !important;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 1em;
  font-family: 'Cormorant Garamond', Georgia, serif;
  vertical-align: baseline !important;
  transition: color 0.2s, text-decoration-color 0.2s;
}
#sources ol li a:hover {
  color: var(--gold) !important;
  text-decoration-color: var(--gold) !important;
}

/* Séparateur avant la section sources */
#sources::before {
  content: '✦ ✦ ✦';
  display: block;
  text-align: center;
  color: var(--sepia-lt);
  font-size: 1rem;
  letter-spacing: 0.6rem;
  margin-bottom: 3rem;
  opacity: 0.6;
}

/* ── FOOTER ── */
footer {
  background: #130d06;
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(201,153,58,0.2);
}

.footer-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--gold);
  letter-spacing: 0.25em;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.footer-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sepia-lt);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 0.92rem;
  color: #4a3520;
  font-style: italic;
}

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(19,13,6,0.95), transparent);
  transition: background 0.3s;
}

.site-nav.scrolled {
  background: rgba(19,13,6,0.97);
  box-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

.nav-logo {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-decoration: none;
}

.site-nav .nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.site-nav .nav-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(201,153,58,0.78);
  text-decoration: none;
  transition: color 0.2s;
}

.site-nav .nav-links a:hover {
  color: var(--gold);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}

/* ── RESPONSIVE ── */
@media (min-width: 1200px) {
  html {
    font-size: 21px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 18px;
  }

  section,
  #origine,
  #chronologie,
  #geographie,
  #recherche,
  #registres,
  #contribuer,
  #sources {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  #origine .inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .coat-of-arms {
    order: -1;
    position: static;
  }

  .timeline::before {
    left: 28px;
  }

  .tl-item {
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto;
  }

  .tl-item:nth-child(odd) .tl-content,
  .tl-item:nth-child(even) .tl-content {
    grid-column: 2;
    text-align: left;
  }

  .tl-item:nth-child(odd) .tl-year,
  .tl-item:nth-child(even) .tl-year {
    grid-column: 1;
  }

  .tl-empty {
    display: none;
  }

  .site-nav .nav-links {
    display: none;
  }

  .hero {
    padding: 5rem 1.2rem 4rem;
  }

  .hero-desc {
    font-size: 1.28rem;
    line-height: 1.85;
  }

  .origins-body {
    font-size: 1.32rem;
    line-height: 1.9;
  }

  .tl-event-body {
    font-size: 1.28rem;
    line-height: 1.85;
  }

  #sources ol li {
    padding-left: 3.2rem;
    font-size: 1.18rem;
  }

  #sources ol li::before {
    font-size: 0.92rem;
  }
}

/* ══════════════════════════════════════════════
   AJOUTS — Section #branches (Les Trois Branches)
   À coller à la fin de styles.css (version corrigée, sans doublon)
══════════════════════════════════════════════ */

/* ── BRANCHES ── */
#branches {
  background: linear-gradient(180deg, #2a1a0e 0%, #1c1209 100%);
  max-width: 100%;
  padding: 6rem 2rem;
}
#branches .inner-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}


#branches .section-title {
  color: var(--parchment);
}

.branches-intro {
  text-align: center;
  font-size: 1.35rem;
  font-style: italic;
  color: #c9b99a;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.9;
}

/* Schéma SVG */
.branches-schema {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(201,153,58,0.15);
  padding: 2.5rem 1.5rem;
  margin-bottom: 3.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.branches-svg {
  width: 100%;
  max-width: 1200px;   /* au lieu de 900 */
  min-width: 1000px;   /* pour garder la lisibilité */
  display: block;
  margin: 0 auto;
}

/* Cartes des 3 branches — fond solide pour lisibilité */
.branches-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.branch-card {
  padding: 2rem;
  border-top: 3px solid;
}

.branch-card p {
  font-size: 1.3rem;
  line-height: 1.9;
  color: #c9b99a;
  font-style: italic;
}
.branch-card p + p {
  margin-top: 1rem;
}
.branch-card strong {
  color: var(--parchment);
  font-style: normal;
}
.branch-card em {
  color: var(--gold-lt);
}

/* Fonds solides distincts par branche */
.branch-card--alsace {
  background: #251508;
  border-color: var(--rust);
}
.branch-card--vosges {
  background: #1e1408;
  border-color: var(--sepia-lt);
}
.branch-card--amerique {
  background: #221608;
  border-color: var(--gold);
}

.branch-card__header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.branch-icon {
  font-size: 1.4rem;
  opacity: 0.85;
}
.branch-card--alsace   .branch-icon { color: var(--rust); }
.branch-card--vosges   .branch-icon { color: var(--sepia-lt); }
.branch-card--amerique .branch-icon { color: var(--gold); }

.branch-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.branch-card--alsace   h3 { color: var(--rust); }
.branch-card--vosges   h3 { color: var(--sepia-lt); }
.branch-card--amerique h3 { color: var(--gold); }

/* ── RESPONSIVE branches ── */
@media (max-width: 900px) {
  .branches-cards {
    grid-template-columns: 1fr;
  }

  .branches-svg {
    min-width: 900px;
  }
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
  }
}
