:root {
  --gold: #C98A3D;
  --cream: #FFF6E5;
  --brown: #5A3A22;
  --cream-dark: #F6E6C8;
  --white: #FFFDF8;
  --radius: 16px;
  --font-title: Georgia, "Times New Roman", "Noto Serif", serif;
  --font-text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html[lang="ar"] {
  --font-title: "Noto Naskh Arabic", "Geeza Pro", "Traditional Arabic", "Times New Roman", serif;
  --font-text: "Noto Sans Arabic", "Geeza Pro", Tahoma, "Segoe UI", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 1rem; }

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

img, svg, video, input, textarea, select, button { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-title);
  line-height: 1.25;
  margin: 0 0 .6em;
  font-weight: 700;
}
h1 { font-size: clamp(1.8rem, 7vw, 3rem); }
h2 { font-size: clamp(1.5rem, 5.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }

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

.container { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 720px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; inset-inline-start: .5rem; top: -3rem;
  background: var(--brown); color: var(--cream); padding: .5rem 1rem;
  border-radius: 8px; z-index: 10;
}
.skip-link:focus { top: .5rem; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 4px solid var(--gold);
}
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem 1rem; padding-top: .75rem; padding-bottom: .5rem;
}
.brand { margin: 0; font-family: var(--font-title); font-size: 1.2rem; font-weight: 700; min-width: 0; }
.brand a { text-decoration: none; }

.lang-switch { display: flex; flex-wrap: wrap; gap: .25rem; }
.lang-switch button {
  font: inherit; font-size: .85rem; cursor: pointer;
  background: transparent; color: var(--brown);
  border: 1px solid var(--brown); border-radius: 999px;
  padding: .3rem .75rem; min-height: 36px;
}
.lang-switch button[aria-pressed="true"] { background: var(--brown); color: var(--cream); }

.main-nav { flex-basis: 100%; min-width: 0; }
.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .5rem;
}
.main-nav a {
  display: inline-block; padding: .45rem .6rem; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap;
}
.main-nav a:hover { background: var(--cream-dark); }

/* Hero */
.hero {
  text-align: center;
  padding: 3rem 0 2.5rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 138, 61, .28), transparent 65%),
    var(--cream);
}
.eyebrow {
  display: inline-block; margin: 0 0 .75rem; padding: .2rem .8rem;
  border: 2px solid var(--gold); border-radius: 999px; font-weight: 600; font-size: .9rem;
}
.slogan { font-size: 1.15rem; max-width: 34ch; margin: 0 auto 1.5rem; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.soon-note { font-size: .9rem; margin: .75rem 0 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  padding: .75rem 1.4rem; min-height: 48px; border-radius: 999px; border: 2px solid var(--brown);
}
.btn-primary { background: var(--brown); color: var(--cream); }
.btn-primary:hover { background: #4a2f1b; }
.btn-secondary { background: transparent; color: var(--brown); }
.btn:disabled { cursor: not-allowed; opacity: .6; }

/* Sections */
.section { padding: 3rem 0; }
.section-alt { background: var(--cream-dark); }
.section h2 { position: relative; padding-bottom: .4rem; }
.section h2::after {
  content: ""; position: absolute; bottom: 0; inset-inline-start: 0;
  width: 3rem; height: 4px; border-radius: 4px; background: var(--gold);
}
.lead { font-size: 1.05rem; margin: 0 0 1.5rem; }

.cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: var(--white); border-radius: var(--radius); padding: 1.5rem;
  border-top: 5px solid var(--gold); box-shadow: 0 2px 10px rgba(90, 58, 34, .08);
}
.card-icon { font-size: 2rem; display: block; margin-bottom: .5rem; }
.soon { font-style: italic; margin: 0; }

/* Formulaire (désactivé) */
.order-form {
  background: var(--white); border-radius: var(--radius); padding: 1.5rem;
  max-width: 560px; box-shadow: 0 2px 10px rgba(90, 58, 34, .08);
}
.badge {
  display: inline-block; margin: 0 0 1rem; padding: .2rem .8rem; border-radius: 999px;
  background: var(--cream-dark); border: 1px solid var(--gold); font-weight: 600; font-size: .9rem;
}
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.field { margin-bottom: 1rem; }
.field label, .field-label { display: block; font-weight: 600; margin-bottom: .3rem; }
.field input[type="date"], .field textarea {
  width: 100%; font: inherit; color: var(--brown); background: var(--cream);
  border: 1px solid var(--brown); border-radius: 10px; padding: .6rem .75rem;
}
.choice { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.choice label { font-weight: 400; display: inline-flex; align-items: center; gap: .35rem; }
.hint { font-size: .9rem; margin: .3rem 0 0; }
fieldset:disabled .field, fieldset:disabled .btn { opacity: .65; }

/* Infos pratiques */
.infos { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 0; }
@media (min-width: 640px) { .infos { grid-template-columns: repeat(3, 1fr); } }
.info { background: var(--white); border-radius: var(--radius); padding: 1.25rem; }
.info dt { font-family: var(--font-title); font-weight: 700; font-size: 1.1rem; margin-bottom: .25rem; }
.info dd { margin: 0; }
.info a { font-weight: 600; unicode-bidi: isolate; }

/* Footer */
.site-footer {
  text-align: center; font-size: .85rem; padding: 1.25rem 1rem;
  background: var(--brown); color: var(--cream);
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--cream); }

/* RTL */
[dir="rtl"] body { line-height: 1.8; }

/* Petits écrans */
@media (max-width: 420px) {
  .header-inner { justify-content: center; text-align: center; }
  .main-nav a { font-size: .82rem; padding: .4rem .45rem; }
  .btn { width: 100%; }
}

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