/* TEST Barbier Zitouna — mobile d'abord */
:root {
  --c-primary: #1C1C1E;      /* noir charbon */
  --c-secondary: #B08D57;    /* cuivre (accent sur fond sombre) */
  --c-secondary-dark: #7A5C2E; /* cuivre foncé pour texte sur fond clair (contraste AA) */
  --c-bg: #F5F0E6;           /* crème */
  --c-bg-alt: #ECE4D4;
  --c-text: #1C1C1E;
  --c-muted: #4A4642;
  --font-serif: Georgia, "Times New Roman", Times, serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-ar: "Noto Naskh Arabic", "Geeza Pro", "Traditional Arabic", "Arabic Typesetting", "Noto Sans Arabic", Tahoma, serif;
  --radius: 6px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
  overflow-wrap: break-word;
}

html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.8; }

img, svg, video { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3 { font-family: var(--font-ar); }

a { color: var(--c-secondary-dark); }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--c-secondary);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

.skip-link {
  position: absolute;
  inset-inline-start: 0.5rem;
  top: -3rem;
  background: var(--c-primary);
  color: #fff;
  padding: 0.5rem 0.75rem;
  z-index: 100;
  border-radius: var(--radius);
}
.skip-link:focus { top: 0.5rem; }

/* En-tête */
.site-header {
  background: var(--c-primary);
  color: var(--c-bg);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  text-align: center;
}
.brand {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-bg);
  text-decoration: none;
  flex: 1 1 100%;
  max-width: 100%;
}

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  max-width: 100%;
}
.lang-btn {
  font: inherit;
  font-size: 0.85rem;
  background: transparent;
  color: var(--c-bg);
  border: 1px solid var(--c-secondary);
  border-radius: var(--radius);
  padding: 0.3rem 0.65rem;
  min-height: 36px;
  cursor: pointer;
}
.lang-btn[lang="ar"] { font-family: var(--font-ar); }
.lang-btn[aria-pressed="true"] {
  background: var(--c-secondary);
  color: var(--c-primary);
  font-weight: 700;
}

.main-nav { flex: 1 1 100%; max-width: 100%; }
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 0.4rem;
}
.main-nav a {
  display: inline-block;
  color: var(--c-bg);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.4rem 0.45rem;
  border-radius: var(--radius);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a:focus-visible { color: var(--c-secondary); text-decoration: underline; }

/* Hero */
.hero {
  background: var(--c-primary);
  color: var(--c-bg);
  text-align: center;
  padding: 3rem 0 3.5rem;
  border-top: 1px solid rgba(176, 141, 87, 0.35);
}
.hero h1 { font-size: clamp(1.8rem, 7vw, 3rem); }
.slogan {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--c-secondary);
  margin: 0 0 1.75rem;
}
html[lang="ar"] .slogan { font-family: var(--font-ar); font-style: normal; }

/* Boutons */
.btn {
  display: inline-block;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  border-radius: var(--radius);
  padding: 0.75rem 1.4rem;
  min-height: 44px;
  max-width: 100%;
  cursor: pointer;
}
.btn-accent { background: var(--c-secondary); color: var(--c-primary); }
.btn-accent:hover { background: #c19f69; }
.btn-dark { background: var(--c-primary); color: var(--c-bg); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* Sections */
.section { padding: 2.5rem 0; }
.section-alt { background: var(--c-bg-alt); }
.section h2 {
  font-size: 1.6rem;
  color: var(--c-primary);
}
.section h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--c-secondary);
  margin-top: 0.5rem;
}

.soon {
  font-style: italic;
  color: var(--c-muted);
}
.note { color: var(--c-muted); font-size: 0.95rem; }
.placeholder-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin: 1rem 0;
}
.placeholder-actions .note { margin: 0; }

.info-list { margin: 0; }
.info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(28, 28, 30, 0.12);
}
.info-row dt { font-weight: 700; flex: 0 0 9rem; max-width: 100%; }
.info-row dd { margin: 0; flex: 1 1 12rem; min-width: 0; }
.break { word-break: break-all; }

/* Footer discret */
.site-footer {
  background: var(--c-primary);
  color: #CFC8BB;
  text-align: center;
  font-size: 0.8rem;
  padding: 1rem 0;
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--c-secondary); }

@media (min-width: 720px) {
  .header-inner { justify-content: space-between; text-align: start; }
  .brand { flex: 0 1 auto; }
  .main-nav { flex: 1 1 100%; }
  .main-nav a { font-size: 0.95rem; }
  .section { padding: 3.5rem 0; }
  .hero { padding: 5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
