/* ==========================================================================
   Allié Gestion — en-tête, menu et pied de page communs à toutes les pages
   Source unique : toute modification du menu ou du pied de page se fait ICI.
   (Le balisage HTML du menu et du pied de page est identique sur chaque page.)
   ========================================================================== */

:root {
  --ag-blanc: #FFFFFF;
  --ag-beige: #E8E0D4;
  --ag-taupe: #CBBBA0;
  --ag-gris:  #A89F91;
  --ag-noir:  #1C1C1C;
  --ag-rose:  #E8537A;
  --ag-rose-fonce: #DD4269;
}

@keyframes agFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ─── EN-TÊTE ─── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 5%;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ag-beige);
  animation: agFadeIn 0.5s ease both;
  font-family: 'Lato', sans-serif; line-height: normal;
}
.site-nav .nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-weight: 600; line-height: 1.2;
  color: var(--ag-noir); text-decoration: none; letter-spacing: 0.02em;
}
.site-nav .nav-logo em { font-style: italic; color: var(--ag-taupe); }
.site-nav .nav-sub {
  font-family: 'Lato', sans-serif;
  font-size: 0.6rem; font-weight: 400; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ag-gris);
  display: block; margin-top: 2px;
}
.site-nav .nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none; margin: 0; padding: 0;
}
.site-nav .nav-links a {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ag-noir); text-decoration: none;
  transition: color 0.3s;
}
.site-nav .nav-links a:hover,
.site-nav .nav-links a[aria-current="page"]:not(.nav-cta) { color: var(--ag-taupe); }
.site-nav .nav-links .nav-cta {
  display: inline-block;
  background: var(--ag-rose); color: var(--ag-blanc);
  padding: 0.6rem 1.5rem; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(232,83,122,0.3);
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}
.site-nav .nav-links .nav-cta:hover {
  background: var(--ag-rose-fonce); color: var(--ag-blanc);
  box-shadow: 0 6px 18px rgba(232,83,122,0.45); transform: translateY(-2px);
}

/* Bouton menu (mobile) */
.site-nav .hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
  z-index: 9999; position: relative; box-shadow: none; border-radius: 0;
}
.site-nav .hamburger span {
  display: block; width: 24px; height: 2px; background: var(--ag-noir);
  transition: all 0.3s; border-radius: 20px;
}
.site-nav .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav .hamburger.open span:nth-child(2) { opacity: 0; }
.site-nav .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-nav .hamburger:focus-visible { outline: 2px solid var(--ag-rose); outline-offset: 4px; }

@media (max-width: 1400px) {
  .site-nav .hamburger { display: flex; }
  .site-nav .nav-links {
    display: none;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    background: var(--ag-blanc);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 0.4rem; z-index: 9000; padding: 2rem; overflow: hidden;
  }
  .site-nav .nav-links.open { display: flex; animation: agFadeIn 0.25s ease both; }
  .site-nav .nav-links li { width: 100%; max-width: 360px; text-align: center; }
  .site-nav .nav-links a {
    display: block; width: 100%;
    font-size: 0.85rem; font-weight: 600; letter-spacing: 0.15em;
    padding: 1rem 1.5rem; border-radius: 999px;
    transition: background 0.2s, color 0.2s;
  }
  .site-nav .nav-links a:hover { color: var(--ag-rose); background: var(--ag-beige); }
  .site-nav .nav-links .nav-cta {
    max-width: 280px; margin: 0.8rem auto 0;
    box-shadow: 0 10px 24px rgba(232,83,122,0.35);
  }
  .site-nav .nav-links .nav-cta:hover {
    color: var(--ag-blanc); background: var(--ag-rose-fonce);
    box-shadow: 0 14px 30px rgba(232,83,122,0.45); transform: none;
  }
  #scrollTop { display: flex !important; }
}

/* ─── PIED DE PAGE ─── */
.site-footer {
  background: var(--ag-noir); color: rgba(255,255,255,0.5);
  padding: 2rem 5%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  font-family: 'Lato', sans-serif; line-height: normal;
}
.site-footer .footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 600; color: var(--ag-blanc); text-decoration: none;
}
.site-footer .footer-logo em { color: var(--ag-taupe); font-style: italic; }
.site-footer p { font-size: 0.72rem; margin: 0; color: rgba(255,255,255,0.5); }
.site-footer .footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.5rem;
  list-style: none; margin: 0; padding: 0;
}
.site-footer .footer-links a {
  font-size: 0.72rem; color: rgba(255,255,255,0.45); text-decoration: none;
  transition: color 0.3s;
}
.site-footer .footer-links a:hover { color: var(--ag-taupe); }
@media (max-width: 700px) {
  .site-footer { flex-direction: column; text-align: center; }
}
