/* ── LAYOUT — ACP ─────────────────────────────────────────────────────────── */

/* ── NAVIGATION ──────────────────────────────────────────────────────────── */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bordure);
  height: var(--nav-h);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--sp-6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--texte);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--rouge-pale);
  color: var(--rouge);
  text-decoration: none;
}

.nav-links a.active {
  font-weight: 700;
}

.nav-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: var(--rouge);
  color: #fff !important;
  border-radius: var(--r-full);
  font-size: var(--t-sm);
  font-weight: 600;
  text-decoration: none !important;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast);
}

.nav-admin-btn:hover {
  background: var(--rouge-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* Burger mobile */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  background: none;
  border: none;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--texte);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base);
}

/* ── HERO ─────────────────────────────────────────────────────────────────── */

.hero {
  background: linear-gradient(160deg, var(--sombre) 0%, var(--rouge-dark) 60%, #4A1A10 100%);
  color: #fff;
  padding: var(--sp-24) 0 var(--sp-20);
  position: relative;
  overflow: hidden;
}

.hero::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%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' fill='none' stroke='rgba(200,150,42,0.06)' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: var(--sp-4);
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--or);
}

.hero h1 {
  font-family: var(--font-titre);
  font-size: clamp(var(--t-3xl), 5vw, var(--t-6xl));
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: var(--sp-6);
}

.hero h1 em {
  font-style: italic;
  color: var(--or-light);
}

.hero-desc {
  font-size: var(--t-lg);
  color: rgba(255,255,255,0.80);
  max-width: 540px;
  margin-bottom: var(--sp-8);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.hero-rinceau {
  margin-top: var(--sp-16);
  color: rgba(200,150,42,0.4);
  width: 100%;
  height: 24px;
}

/* ── SECTION HEADING ──────────────────────────────────────────────────────── */

.section-head {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.section-head h2 {
  font-size: clamp(var(--t-2xl), 3.5vw, var(--t-4xl));
  font-weight: 700;
  margin-bottom: var(--sp-3);
}

.section-head p {
  color: var(--muted);
  font-size: var(--t-lg);
  max-width: 560px;
  margin-inline: auto;
}

.section-rinceau {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin: var(--sp-4) 0 var(--sp-6);
  color: var(--or);
}

.section-rinceau img {
  height: 16px;
  width: 160px;
  opacity: 0.6;
}

.section-rinceau::before,
.section-rinceau::after {
  content: '◆';
  font-size: 8px;
  color: var(--or);
  opacity: 0.5;
}

/* ── SECTIONS ─────────────────────────────────────────────────────────────── */

.section {
  padding: var(--sp-20) 0;
}

.section--alt {
  background: var(--fond-alt);
}

.section--parchemin {
  background: var(--parchemin);
}

.section--sombre {
  background: var(--sombre);
  color: #fff;
}

.section--sombre h2,
.section--sombre h3 { color: #fff; }

/* ── GRILLES ──────────────────────────────────────────────────────────────── */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }

/* ── FOOTER ───────────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--sombre);
  color: rgba(255,255,255,0.75);
  padding: var(--sp-16) 0 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--sp-12);
  padding-bottom: var(--sp-12);
}

.footer-brand img {
  height: 36px;
  margin-bottom: var(--sp-4);
  filter: brightness(0) invert(0.9);
}

.footer-brand p {
  font-size: var(--t-sm);
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

.footer-col h4 {
  font-family: var(--font-titre);
  font-size: var(--t-base);
  color: rgba(255,255,255,0.95);
  margin-bottom: var(--sp-4);
  letter-spacing: 0.01em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-col a {
  font-size: var(--t-sm);
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer-col a:hover {
  color: var(--or-light);
  text-decoration: none;
}

.footer-address {
  font-size: var(--t-sm);
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
}

.footer-address strong {
  color: rgba(255,255,255,0.85);
  display: block;
  margin-bottom: var(--sp-1);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--sp-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  font-size: var(--t-xs);
  color: rgba(255,255,255,0.35);
}

/* ── BREADCRUMB ───────────────────────────────────────────────────────────── */

.breadcrumb {
  padding: var(--sp-4) 0;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--t-sm);
  color: var(--muted);
}

.breadcrumb a { color: var(--rouge); }
.breadcrumb-sep { color: var(--bordure-md); }

/* ── PAGE HEADER ──────────────────────────────────────────────────────────── */

.page-header {
  background: var(--parchemin);
  border-bottom: 1px solid var(--parchemin-dark);
  padding: var(--sp-12) 0 var(--sp-10);
}

.page-header h1 {
  font-size: clamp(var(--t-3xl), 4vw, var(--t-5xl));
  margin-bottom: var(--sp-3);
}

.page-header .lead {
  font-size: var(--t-lg);
  color: var(--muted);
  max-width: 560px;
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --nav-h: 60px; }

  .nav-links { display: none; position: fixed; top: var(--nav-h); inset-inline: 0; background: #fff; border-bottom: 1px solid var(--bordure); flex-direction: column; padding: var(--sp-4); gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md); }
  .nav-burger { display: flex; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero { padding: var(--sp-16) 0 var(--sp-12); }
  .hero h1 { font-size: var(--t-3xl); }
  .section { padding: var(--sp-12) 0; }
}
