:root {
  --olive: #5B6B2F;
  --olive-dark: #46531F;
  --terre: #B5532F;
  --terre-dark: #96421F;
  --creme: #F6EFE0;
  --creme-2: #EFE5CF;
  --encre: #2B2A22;
  --encre-douce: #4F4C40;
  --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;
  --radius: 14px;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--encre);
  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-dark);
  line-height: 1.25;
  margin: 0 0 .6em;
}

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

.skip-link {
  position: absolute;
  inset-inline-start: 8px;
  top: -60px;
  background: var(--olive-dark);
  color: #fff;
  padding: .5rem .9rem;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 239, 224, .97);
  border-bottom: 1px solid rgba(91, 107, 47, .2);
  width: 100%;
  max-width: 100%;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem .75rem;
  padding: .6rem 1rem .3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  color: var(--olive-dark);
  min-width: 0;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--olive);
  color: var(--creme);
  font-family: var(--serif);
  font-weight: 700;
  flex: none;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
}

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
}
.lang-btn {
  font: inherit;
  font-size: .8rem;
  padding: .3rem .6rem;
  border: 1px solid var(--olive);
  border-radius: 999px;
  background: transparent;
  color: var(--olive-dark);
  cursor: pointer;
}
.lang-btn[aria-pressed="true"] {
  background: var(--olive);
  color: #fff;
}

.main-nav { max-width: 1100px; margin: 0 auto; padding: 0 .5rem .5rem; }
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25rem .4rem;
}
.main-nav a {
  display: inline-block;
  padding: .35rem .6rem;
  font-size: .85rem;
  color: var(--encre);
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--creme-2); }
.main-nav a.nav-cta {
  background: var(--terre-dark);
  color: #fff;
}
.main-nav a.nav-cta:hover { background: var(--terre); }

/* ---------- Layout ---------- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; }
.section { padding: 3.5rem 0; scroll-margin-top: 7rem; }
.section-alt { background: var(--creme-2); }
#accueil { scroll-margin-top: 7rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 3.5rem 0 4rem;
  text-align: center;
  overflow: hidden;
}
.hero h1 { font-size: clamp(2rem, 8vw, 3.4rem); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  color: var(--olive-dark);
  margin: 0 0 .5rem;
}
:lang(ar) .eyebrow { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.slogan {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 4.5vw, 1.5rem);
  color: var(--terre-dark);
  margin: 0 0 1.75rem;
}
:lang(ar) .slogan { font-style: normal; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin: 0;
}
.ornament {
  height: 14px;
  margin: 2.5rem auto 0;
  max-width: 320px;
  background:
    radial-gradient(circle at 7px 7px, var(--terre) 3px, transparent 4px) 0 0 / 28px 14px repeat-x;
  opacity: .6;
}

.btn {
  display: inline-block;
  padding: .75rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  max-width: 100%;
}
.btn-primary { background: var(--terre-dark); color: #fff; }
.btn-primary:hover { background: var(--terre); }
.btn-ghost { border: 2px solid var(--olive); color: var(--olive-dark); }
.btn-ghost:hover { background: var(--olive); color: #fff; }

/* ---------- Pickup ---------- */
.lead { font-size: 1.1rem; color: var(--encre-douce); }
.steps {
  list-style: none;
  padding: 0;
  margin: 2rem 0 1.5rem;
  display: grid;
  gap: 1rem;
}
.steps li, .card {
  background: #fff;
  border: 1px solid rgba(91, 107, 47, .18);
  border-radius: var(--radius);
  padding: 1.25rem;
  min-width: 0;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--olive);
  color: #fff;
  font-weight: 700;
  margin-bottom: .5rem;
}
.steps h3, .card h3 { font-size: 1.15rem; }
.steps p, .card p { margin: .25rem 0; }
.note {
  border-inline-start: 4px solid var(--terre);
  padding: .5rem 1rem;
  background: rgba(181, 83, 47, .08);
  border-radius: 6px;
  color: var(--encre-douce);
}

/* ---------- Contact ---------- */
.cards { display: grid; gap: 1rem; margin-top: 1.5rem; }
.muted { color: var(--encre-douce); font-style: italic; }
.break a { word-break: break-all; }

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: .8rem;
  color: var(--encre-douce);
  border-top: 1px solid rgba(91, 107, 47, .2);
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--olive-dark); }

/* ---------- Larger screens ---------- */
@media (min-width: 720px) {
  .main-nav a { font-size: .95rem; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .hero { padding: 5rem 0 5rem; }
  .section { padding: 4.5rem 0; }
}

@media (max-width: 400px) {
  .header-inner { justify-content: center; }
  .main-nav a { font-size: .8rem; padding: .3rem .5rem; }
}

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