/**
 * EHTYMAG Annuaire — Styles globaux (header, footer, base)
 * Modifier ce fichier pour impacter toutes les pages du thème.
 */

/* ── Variables ── */
:root {
  --eh-ink:      #0F0F0F;
  --eh-cream:    #F5F0E8;
  --eh-gold:     #D4A843;
  --eh-gold-dk:  #b8902e;
  --eh-white:    #FFFFFF;
  --eh-border:   #E5DDD0;
  --eh-muted:    #888;
  --eh-dark:     #0F0F0F;
  --eh-radius:   10px;
}

/* ── Reset léger ── */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  background: var(--eh-cream);
  color: var(--eh-ink);
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ─────────────────────────────────────────────────────────
 * HEADER
 * ───────────────────────────────────────────────────────── */
.eh-ann-header {
  background: var(--eh-dark);
  border-bottom: 2px solid var(--eh-gold);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.eh-ann-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.eh-ann-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.eh-ann-logo-img {
  height: 46px;
  width: 46px;
  object-fit: contain;
}
.eh-ann-logo-txt {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.eh-ann-logo-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  color: #F5F0E8;
  letter-spacing: 0.06em;
}
.eh-ann-logo-sub {
  font-size: 10px;
  font-weight: 400;
  color: var(--eh-gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 3px;
}
.eh-ann-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.eh-ann-nav a {
  font-size: 13px;
  font-weight: 500;
  color: #ccc;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color .2s;
}
.eh-ann-nav a:hover { color: #fff; }
.eh-ann-cta {
  background: var(--eh-gold) !important;
  color: var(--eh-dark) !important;
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: 700 !important;
  font-size: 13px;
  white-space: nowrap;
  transition: background .2s !important;
}
.eh-ann-cta:hover { background: #e8c76a !important; }

.eh-ann-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.eh-ann-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #F5F0E8;
  border-radius: 2px;
  transition: .3s;
}
.eh-ann-mobile {
  display: none;
  flex-direction: column;
  background: var(--eh-dark);
  border-bottom: 1px solid var(--eh-gold);
  padding: 20px 24px;
  gap: 14px;
}
.eh-ann-mobile.open { display: flex; }
.eh-ann-mobile a {
  font-size: 15px;
  color: #ddd;
  text-decoration: none;
  padding-bottom: 12px;
  border-bottom: 1px solid #1e1e1e;
}
.eh-ann-mobile-cta { color: var(--eh-gold) !important; font-weight: 600; }

@media (max-width: 768px) {
  .eh-ann-nav { display: none; }
  .eh-ann-burger { display: flex; }
  .eh-ann-header-inner { padding: 0 20px; }
}

/* ─────────────────────────────────────────────────────────
 * FOOTER
 * ───────────────────────────────────────────────────────── */
.eh-ann-footer {
  background: var(--eh-dark);
  border-top: 1px solid #222;
  padding: 56px 32px 32px;
  margin-top: 80px;
}
.eh-ann-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.eh-ann-footer-col h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  color: #F5F0E8;
  margin: 0 0 16px;
  letter-spacing: 0.04em;
}
.eh-ann-footer-col a,
.eh-ann-footer-col p {
  font-size: 13px;
  color: #888;
  text-decoration: none;
  line-height: 2;
  display: block;
  transition: color .2s;
}
.eh-ann-footer-col a:hover { color: var(--eh-gold); }
.eh-ann-footer-brand { display: flex; flex-direction: column; gap: 10px; }
.eh-ann-footer-logo-link { display: flex; align-items: center; justify-content: center; height: 100%; }
.eh-ann-footer-logo-img { width: 220px; height: 220px; object-fit: contain; display: block; }
.eh-ann-footer-logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #F5F0E8;
  letter-spacing: 0.08em;
}
.eh-ann-footer-tagline { font-size: 13px; color: #666; line-height: 1.6; max-width: 220px; }
.eh-ann-footer-email { font-size: 12px; color: #555; }
.eh-ann-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #222;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.eh-ann-footer-bottom p {
  font-size: 12px;
  color: #555;
  margin: 0;
}

@media (max-width: 900px) {
  .eh-ann-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .eh-ann-footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .eh-ann-footer { padding: 40px 20px 24px; }
  .eh-ann-footer-col { text-align: center; }
  .eh-ann-footer-brand { align-items: center; }
  .eh-ann-footer-logo-img { margin: 0 auto; }
  .eh-ann-footer-tagline { max-width: 100%; }
  .eh-ann-footer-bottom { justify-content: center; text-align: center; }
}
