/* Identité : rouge tomate, jaune moutarde, noir charbon */
:root {
  --red: #D62828;
  --red-dark: #A81E1E;
  --yellow: #F7B801;
  --charcoal: #1F1F1F;
  --cream: #FFF8EC;
  --white: #FFFFFF;
  --text: #1F1F1F;
  --muted: #4A4A4A;
  --radius: 18px;
  --font-title: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-ar: "Noto Sans Arabic", "Segoe UI", Tahoma, "Geeza Pro", "Arial", system-ui, sans-serif;
}

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

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

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

html[lang="ar"] body,
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3 { font-family: var(--font-ar); }

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

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 .5em;
  overflow-wrap: anywhere;
}

p { margin: 0 0 .75em; }

a { color: var(--red-dark); }

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

.skip-link {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  transform: translateY(-120%);
  background: var(--charcoal);
  color: var(--white);
  padding: .5rem 1rem;
  z-index: 100;
}
.skip-link:focus { transform: none; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* En-tête */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--charcoal);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding-top: .6rem;
  padding-bottom: .6rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  max-width: 100%;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 800;
}

.brand-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--charcoal);
  font-size: 1.2rem;
}

.brand-name { font-size: 1rem; overflow-wrap: anywhere; }

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
}

.lang-btn {
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  min-height: 36px;
  padding: .25rem .6rem;
  border-radius: 999px;
  border: 2px solid var(--yellow);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.lang-btn[aria-pressed="true"] { background: var(--yellow); color: var(--charcoal); }

.main-nav { width: 100%; }

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem .5rem;
}

.nav-list a {
  display: inline-block;
  padding: .4rem .7rem;
  border-radius: 999px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
}
.nav-list a:hover, .nav-list a:focus-visible { background: var(--red); }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(247, 184, 1, .35) 0 18%, transparent 19%),
    radial-gradient(circle at 10% 90%, rgba(247, 184, 1, .25) 0 14%, transparent 15%),
    var(--red);
  color: var(--white);
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.hero h1 { font-size: clamp(1.8rem, 8vw, 3.4rem); }

.slogan {
  font-size: clamp(1.1rem, 4.5vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .8rem 1.5rem;
  max-width: 100%;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.btn-primary { background: var(--yellow); color: var(--charcoal); }
.btn-primary:hover { background: #FFC933; }
.btn-ghost { border-color: var(--white); color: var(--white); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .15); }
.btn-wide { width: 100%; }
.btn[disabled] {
  background: #E2E2E2;
  color: #4A4A4A;
  border-color: #E2E2E2;
  cursor: not-allowed;
}

/* Sections */
.section { padding: 3rem 0; }
.section-alt { background: var(--white); }

.section h2 {
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  color: var(--charcoal);
  position: relative;
  padding-bottom: .4rem;
}
.section h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 5px;
  border-radius: 3px;
  background: var(--red);
  margin-top: .4rem;
}

.section-intro { color: var(--muted); font-size: 1.05rem; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 4px 18px rgba(31, 31, 31, .08);
  border-top: 5px solid var(--yellow);
  max-width: 100%;
}
.section-alt .card { background: var(--cream); }

.card h3 { font-size: 1.2rem; color: var(--red-dark); }

.soon {
  display: inline-block;
  font-weight: 800;
  color: var(--charcoal);
  background: rgba(247, 184, 1, .35);
  padding: .2rem .7rem;
  border-radius: 999px;
}

.placeholder-card, .order-card { text-align: center; }

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.contact-link { font-weight: 700; font-size: 1.05rem; }
.break { overflow-wrap: anywhere; word-break: break-word; }
.nowrap { white-space: nowrap; }

/* Pied de page discret */
.site-footer {
  background: var(--charcoal);
  color: #D0D0D0;
  text-align: center;
  font-size: .85rem;
  padding: 1rem 0;
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--yellow); }

/* Écrans plus larges */
@media (min-width: 640px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .btn-wide { width: auto; min-width: 280px; }
}

@media (min-width: 900px) {
  .main-nav { width: auto; }
  .brand-name { font-size: 1.15rem; }
  .nav-list a { font-size: 1rem; }
  .hero { padding: 5rem 0 4.5rem; }
}

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