/* awsd – vitrine puériculture (identité par défaut : pastels doux) */
:root {
  --blue: #7FB8D6;
  --pink: #F7C6D0;
  --cream: #FFF7E6;
  --blue-soft: #E6F2F8;
  --pink-soft: #FDEEF1;
  --ink: #1F3A4D;        /* texte principal, contraste élevé sur crème */
  --ink-soft: #4A6070;   /* texte secondaire, contraste AA sur fond clair */
  --white: #FFFFFF;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 6px 20px rgba(31, 58, 77, 0.08);
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-ar: "Segoe UI", "Geeza Pro", "Noto Sans Arabic", Tahoma, 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);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

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

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

a { color: var(--ink); }
a:focus-visible, button:focus-visible, select:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: 8px;
}

h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.6rem, 6vw, 2.8rem); }
h2 { font-size: clamp(1.35rem, 4.5vw, 2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; overflow-wrap: anywhere; }

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

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  background: var(--ink);
  color: var(--white);
  padding: .5rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 100;
}
.skip-link:focus { top: .5rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 230, 0.96);
  border-bottom: 1px solid rgba(127, 184, 214, 0.45);
  backdrop-filter: blur(6px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  color: var(--ink);
  font-weight: 800;
}

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  max-width: 100%;
}
.lang-btn {
  font: inherit;
  font-size: .8rem;
  padding: .3rem .65rem;
  border-radius: 999px;
  border: 1.5px solid var(--blue);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.lang-btn[aria-pressed="true"] {
  background: var(--blue);
  font-weight: 700;
}

.main-nav { border-top: 1px solid rgba(127, 184, 214, 0.3); }
.nav-list {
  list-style: none;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25rem .4rem;
  padding-block: .4rem;
}
.nav-list li { min-width: 0; }
.nav-list a {
  display: inline-block;
  padding: .3rem .6rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  white-space: normal;
  text-align: center;
}
.nav-list a:hover { background: var(--pink-soft); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  font: inherit;
  font-weight: 700;
  padding: .75rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  max-width: 100%;
}
.btn-primary { background: var(--blue); color: var(--ink); }
.btn-primary:hover { background: #6AABCD; }
.btn-ghost { background: var(--white); border-color: var(--pink); color: var(--ink); }
.btn-ghost:hover { background: var(--pink-soft); }
.btn[disabled] {
  background: #E3E8EC;
  color: #4F5B63;
  border-color: #C9D2D8;
  cursor: not-allowed;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--blue-soft) 0%, var(--cream) 55%, var(--pink-soft) 100%);
  padding-block: 3rem 3.5rem;
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.eyebrow {
  display: inline-block;
  background: var(--white);
  border: 1.5px solid var(--pink);
  padding: .2rem .9rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
}
.lead { color: var(--ink-soft); font-size: 1.05rem; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 1.25rem;
}
.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.bubble { position: absolute; border-radius: 50%; opacity: .45; }
.b1 { width: 140px; height: 140px; background: var(--pink); top: -40px; inset-inline-end: -40px; }
.b2 { width: 90px; height: 90px; background: var(--blue); bottom: -30px; inset-inline-start: -20px; }
.b3 { width: 50px; height: 50px; background: var(--pink); bottom: 30px; inset-inline-end: 15%; }

/* ---------- Sections ---------- */
.section { padding-block: 3rem; scroll-margin-top: 7rem; }
.hero { scroll-margin-top: 7rem; }
.section-alt { background: var(--white); }
.section h2 { text-align: center; }
.section-intro { text-align: center; color: var(--ink-soft); max-width: 40rem; margin-inline: auto; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
  border: 1px solid rgba(127, 184, 214, 0.25);
}
.section-alt .card { background: var(--cream); }

.muted { color: var(--ink-soft); }

/* Catalogue */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem 0;
}
.field { display: flex; flex-direction: column; gap: .3rem; min-width: 0; flex: 1 1 140px; max-width: 260px; }
.field label { font-weight: 700; font-size: .9rem; }
.field select {
  font: inherit;
  padding: .55rem .8rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--blue);
  background: var(--white);
  color: var(--ink-soft);
}
.empty-state { text-align: center; max-width: 34rem; margin-inline: auto; }
.empty-icon { font-size: 2.5rem; display: block; margin-bottom: .5rem; }

/* Retrait */
.info-grid {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.info-card { text-align: center; }
.info-icon { font-size: 1.8rem; display: block; margin-bottom: .3rem; }
.placeholder-action { text-align: center; }
.placeholder-action .muted { margin-top: .6rem; font-size: .9rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.hours { margin: 0; }
.hours-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  padding: .6rem 0;
  border-bottom: 1px dashed rgba(127, 184, 214, 0.6);
}
.hours-row:last-child { border-bottom: 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; font-weight: 700; }
.hours-row.closed dd { color: #8A3A4C; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: flex;
  flex-direction: column;
  padding: .6rem 0;
  border-bottom: 1px dashed rgba(247, 198, 208, 0.9);
  min-width: 0;
}
.contact-list li:last-child { border-bottom: 0; }
.contact-label { font-size: .85rem; color: var(--ink-soft); font-weight: 600; }
.contact-list a { font-weight: 700; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--blue-soft);
  padding-block: 1.25rem;
  font-size: .85rem;
  color: var(--ink-soft);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .4rem 1rem;
  text-align: center;
}
.footer-inner p { margin: 0; }
.powered a { color: var(--ink); font-weight: 600; }

/* ---------- RTL ---------- */
[dir="rtl"] .hours-row,
[dir="rtl"] .contact-list li { text-align: right; }

/* ---------- Écrans plus larges ---------- */
@media (min-width: 640px) {
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .nav-list a { font-size: .95rem; }
  .hero { padding-block: 4.5rem 5rem; }
}

@media (max-width: 420px) {
  .header-inner { justify-content: center; }
  .nav-list { gap: .2rem; padding-inline: .5rem; }
  .nav-list a { font-size: .8rem; padding: .25rem .5rem; }
  .lang-btn { font-size: .75rem; padding: .25rem .55rem; }
  .footer-inner { justify-content: center; }
}

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