:root {
  --olive: #5B6B2F;
  --olive-dark: #47541f;
  --terre: #B5532F;
  --creme: #F6EFE0;
  --creme-2: #EFE4CC;
  --texte: #2f2a20;
  --serif: Georgia, "Times New Roman", "Noto Naskh Arabic", "Amiri", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--texte);
  background: var(--creme);
  overflow-x: hidden;
  overflow-wrap: break-word;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--olive);
  line-height: 1.25;
  margin: 0 0 .75rem;
}

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

.skip {
  position: absolute;
  inset-inline-start: .5rem;
  top: -3rem;
  background: var(--olive);
  color: #fff;
  padding: .5rem 1rem;
  z-index: 100;
}
.skip:focus { top: .5rem; }

.container {
  width: 100%;
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* En-tête */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--olive);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.header-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  max-width: 60rem;
  margin: 0 auto;
  padding: .6rem 1rem .3rem;
}
.brand {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
}
.lang-switch button {
  font: inherit;
  font-size: .8rem;
  padding: .25rem .55rem;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--creme);
  color: var(--olive-dark);
  border-color: var(--creme);
}

.main-nav ul {
  list-style: none;
  margin: 0 auto;
  padding: .25rem .75rem .6rem;
  max-width: 60rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25rem .5rem;
}
.main-nav a {
  display: inline-block;
  padding: .3rem .55rem;
  font-size: .85rem;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}
.main-nav a:hover, .main-nav a:focus-visible {
  background: rgba(255,255,255,.15);
}
.main-nav a[href="#commander"] {
  background: var(--terre);
  font-weight: 600;
}

/* Accueil */
.hero {
  text-align: center;
  padding: 3.5rem 0 3rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(181,83,47,.08), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(91,107,47,.10), transparent 55%),
    var(--creme);
}
.hero h1 { font-size: clamp(2rem, 8vw, 3.2rem); }
.slogan {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 4.5vw, 1.45rem);
  color: var(--terre);
  margin: 0 0 1.5rem;
}
.ornament {
  width: 7rem;
  max-width: 100%;
  height: 12px;
  margin: 0 auto;
  background:
    radial-gradient(circle, var(--terre) 3px, transparent 4px) center / 18px 12px repeat-x;
}

/* Sections */
.section { padding: 2.75rem 0; }
.section.alt { background: var(--creme-2); }
.section h2 {
  font-size: clamp(1.5rem, 6vw, 2rem);
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--terre);
  display: inline-block;
}

.info {
  margin: 1rem 0 0;
  display: grid;
  gap: .75rem;
}
.info > div {
  background: #fff;
  border-inline-start: 4px solid var(--olive);
  padding: .75rem 1rem;
  border-radius: 4px;
}
.info dt { font-weight: 700; color: var(--olive-dark); }
.info dd { margin: 0; }
.soon { font-style: italic; color: #5d5446; }
.break { word-break: break-all; }

@media (min-width: 40rem) {
  .info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main-nav a { font-size: .95rem; }
}

/* Pied de page */
.site-footer {
  text-align: center;
  font-size: .8rem;
  padding: 1.25rem 1rem;
  color: #5d5446;
  border-top: 1px solid var(--creme-2);
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--olive-dark); }

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