/* ═══════════════════════════════════════════════════════
   PHARMACIE — style.css
   ═══════════════════════════════════════════════════════ */

/* ─── Variables ─────────────────────────────────────── */
:root {
  /* Palette verte */
  --green-50:  #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;

  /* Garder les bleus pour quelques composants admin */
  --blue-50:  #f0fdf4;
  --blue-100: #dcfce7;
  --blue-500: #22c55e;
  --blue-600: #16a34a;
  --blue-700: #15803d;
  --sky-500:  #22c55e;
  --sky-600:  #16a34a;

  --red-500:  #ef4444;
  --red-600:  #dc2626;
  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --primary:        #16a34a;
  --primary-dark:   #15803d;
  --secondary:      #166534;
  --text:           var(--gray-800);
  --text-light:     var(--gray-500);
  --bg:             #ffffff;
  --bg-light:       var(--gray-50);
  --border:         var(--gray-200);
  --radius:         12px;
  --radius-lg:      20px;
  --shadow:         0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-md:      0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:      0 10px 40px rgba(0,0,0,.12);
  --transition:     .2s ease;
  --font-sans:      'Inter', system-ui, sans-serif;
  --font-display:   'Playfair Display', Georgia, serif;
  --container:      1200px;
  --header-h:       80px;
}

/* ─── Reset & Base ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
}
svg { fill: currentColor; flex-shrink: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── Container ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Sections ──────────────────────────────────────── */
.section { padding: 80px 0; }
.section--light { background: var(--bg-light); }
.section--blue  { background: linear-gradient(135deg, #16a34a 0%, #15803d 100%); color: #fff; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag {
  display: inline-block;
  font-size: .75rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--primary);
  background: #f0fdf4; border-radius: 999px;
  padding: .25rem .75rem; margin-bottom: .75rem;
}
.section-tag--light { background: rgba(255,255,255,.2); color: #fff; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--gray-900); line-height: 1.2; margin-bottom: .75rem;
}
.section-title--light { color: #fff; }
.section-desc { color: var(--text-light); max-width: 600px; margin: 0 auto; }
.section-footer { text-align: center; margin-top: 2.5rem; }

/* ─── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.5rem; border-radius: var(--radius);
  font-size: .9375rem; font-weight: 600;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  white-space: nowrap; line-height: 1.4;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 2px 8px rgba(22,163,74,.35);
}
.btn--primary:hover { background: var(--primary-dark); }

.btn--outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn--outline:hover { background: #f0fdf4; }

.btn--ghost {
  background: transparent; color: var(--gray-600);
  border: 1px solid var(--gray-300);
}
.btn--ghost:hover { background: var(--gray-100); }

.btn--light { background: #fff; color: var(--primary); }
.btn--light:hover { background: var(--blue-50); }

.btn--outline-light {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.6);
}
.btn--outline-light:hover { background: rgba(255,255,255,.15); }

.btn--lg { padding: .85rem 2rem; font-size: 1rem; }
.btn--sm { padding: .4rem 1rem; font-size: .875rem; }
.btn--full { width: 100%; justify-content: center; }

/* ─── Badges ────────────────────────────────────────── */
.badge {
  display: inline-block; font-size: .7rem; font-weight: 700;
  padding: .15rem .5rem; border-radius: 999px; letter-spacing: .04em;
}
.badge--green { background: #dcfce7; color: var(--green-600); }
.badge--red   { background: #fee2e2; color: var(--red-600); }

/* ─── Alerts ────────────────────────────────────────── */
.alert {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 1.25rem; border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.alert svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: .1rem; }
.alert--success { background: #dcfce7; color: #166534; }
.alert--success svg { color: var(--green-600); }
.alert--error   { background: #fee2e2; color: #991b1b; }
.alert--error svg { color: var(--red-600); }
.alert ul { margin: .4rem 0 0 1rem; list-style: disc; }

/* ─── HEADER TOP (bande verte) ───────────────────────── */
.header-top {
  background: #16a34a;
  color: #fff;
  padding: .6rem 0;
}
.header-top__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.header-top__brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.header-top__logo-wrap {
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
}
.header-top__logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.header-top__name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.header-top__tel {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  background: rgba(255,255,255,.15);
  padding: .4rem .9rem;
  border-radius: 999px;
  transition: background .2s;
  white-space: nowrap;
}
.header-top__tel:hover { background: rgba(255,255,255,.25); }
.header-top__tel svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Horaires dans le header */
.header-top__horaires {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-left: auto;
}
.header-top__horaires-icon svg {
  width: 22px;
  height: 22px;
  color: rgba(255,255,255,.8);
  margin-top: .1rem;
  flex-shrink: 0;
}
.header-top__horaires-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .05rem;
}
.header-top__horaires-list li {
  font-size: .78rem;
  color: rgba(255,255,255,.85);
  line-height: 1.4;
}
.header-top__horaires-list li.current-day {
  color: #fff;
  font-weight: 700;
}
.header-top__status {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 700;
  background: rgba(255,255,255,.15);
  padding: .3rem .7rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.header-top__status .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.header-top__status.open .status-dot  { background: #bbf7d0; }
.header-top__status.closed .status-dot { background: #fca5a5; }

/* ─── SITE HEADER (barre nav blanche) ────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 2px solid #16a34a;
  height: var(--header-h);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-header__logo {
  display: flex; align-items: center; gap: .75rem; flex-shrink: 0;
}
.logo-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: visible;
}
.logo-icon img {
  width: auto;
  height: 58px;
  max-width: 70px;
  object-fit: contain;
  display: block;
}
.logo-icon svg { width: 32px; height: 32px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-nom    { font-weight: 700; font-size: 1.15rem; color: var(--gray-900); }
.logo-slogan { font-size: .72rem; color: var(--text-light); }

/* ─── Navigation ────────────────────────────────────── */
.main-nav__list {
  display: flex; align-items: center; gap: .5rem;
}
.main-nav__list a {
  display: block; padding: .55rem 1rem;
  font-size: .9rem; font-weight: 600;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: .05em;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.main-nav__list a:hover,
.main-nav__list a.active {
  color: #16a34a;
  background: #f0fdf4;
}

.nav-cta {
  background: #f0fdf4 !important;
  color: var(--primary) !important;
  border: 1px solid #bbf7d0 !important;
}
.nav-cta--primary {
  background: var(--primary) !important;
  color: #fff !important; border: none !important;
}
.nav-cta--primary:hover { background: var(--primary-dark) !important; }

/* Burger */
.burger {
  display: none; flex-direction: column;
  gap: 5px; padding: 8px; border-radius: 8px;
  transition: background var(--transition);
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--gray-700); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.burger:hover { background: var(--gray-100); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ──────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 40%, #bbf7d0 100%);
}
.hero__bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(22,163,74,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero__content {
  position: relative; display: grid;
  grid-template-columns: 1fr 420px; gap: 3rem; align-items: center;
}
.hero__badge {
  display: inline-block; font-size: .75rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary); background: rgba(22,163,74,.1);
  border-radius: 999px; padding: .3rem .9rem; margin-bottom: 1rem;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--gray-900); line-height: 1.15; margin-bottom: .75rem;
}
.hero__sub {
  font-size: 1.15rem; color: var(--primary); font-weight: 500; margin-bottom: .75rem;
}
.hero__desc { color: var(--gray-600); margin-bottom: 2rem; max-width: 480px; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Info card hero */
.info-card {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  border: 1px solid var(--border);
}
.info-card__header {
  display: flex; align-items: center; gap: .6rem;
  padding: 1rem 1.25rem; background: #f0fdf4;
  border-bottom: 1px solid var(--border);
  font-weight: 600; font-size: .9rem;
}
.info-card__header svg { width: 18px; height: 18px; color: var(--primary); }
.info-card__horaires {
  padding: .75rem 1.25rem; display: flex; flex-direction: column; gap: .3rem;
}
.info-card__horaires li {
  display: flex; justify-content: space-between;
  font-size: .875rem; padding: .25rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.info-card__horaires li:last-child { border: none; }
.info-card__footer {
  padding: .75rem 1.25rem; display: flex; gap: .5rem;
  background: var(--gray-50); border-top: 1px solid var(--border);
}
.text-red { color: var(--red-500); font-weight: 500; }

/* ─── Stats ─────────────────────────────────────────── */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.stat-item {
  text-align: center; padding: 2rem 1rem;
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat-number {
  display: block; font-family: var(--font-display);
  font-size: 3rem; font-weight: 700; color: var(--primary); line-height: 1;
}
.stat-unit { font-size: 1.5rem; color: var(--primary); font-weight: 600; }
.stat-item p { color: var(--text-light); font-size: .9rem; margin-top: .4rem; }

/* ─── Cards Grid ─────────────────────────────────────── */
.cards-grid {
  display: grid; gap: 1.5rem;
}
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ─── Service Cards ──────────────────────────────────── */
.service-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card__icon { font-size: 2.25rem; margin-bottom: 1rem; }
.service-card__title { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; color: var(--gray-900); }
.service-card__desc  { font-size: .9rem; color: var(--text-light); line-height: 1.5; }

/* Services list (page services) */
.services-list { display: flex; flex-direction: column; gap: 1rem; }
.service-item {
  display: flex; gap: 1.5rem; align-items: flex-start;
  background: #fff; border-radius: var(--radius);
  padding: 1.5rem; border: 1px solid var(--border);
  box-shadow: var(--shadow);
  opacity: 0; animation: fadeUp .5s ease forwards;
  animation-delay: var(--delay, 0s);
}
.service-item__icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; flex-shrink: 0;
}
.service-item__icon--blue   { background: var(--blue-50); }
.service-item__icon--red    { background: #fee2e2; }
.service-item__icon--orange { background: #fff7ed; }
.service-item__icon--pink   { background: #fdf2f8; }
.service-item__icon--green  { background: #f0fdf4; }
.service-item__icon--teal   { background: #f0fdfa; }
.service-item__icon--purple { background: #faf5ff; }
.service-item__icon--indigo { background: #eef2ff; }
.service-item__icon--lime   { background: #f7fee7; }
.service-item__icon--yellow { background: #fefce8; }
.service-item__content { flex: 1; }
.service-item__title  { font-size: 1.1rem; font-weight: 700; margin-bottom: .4rem; }
.service-item__desc   { color: var(--gray-600); margin-bottom: .5rem; }
.service-item__detail {
  display: flex; align-items: flex-start; gap: .4rem;
  font-size: .85rem; color: var(--text-light);
  background: var(--gray-50); border-radius: 8px; padding: .5rem .75rem;
}
.service-item__detail svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: .1rem; color: var(--primary); }

/* ─── Spécialités ────────────────────────────────────── */
.specialites-grid {
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center;
  margin-bottom: 1.5rem;
}
.spe-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.2rem; border-radius: 999px;
  font-weight: 600; font-size: .9rem;
  cursor: default; transition: transform var(--transition);
}
.spe-chip:hover { transform: scale(1.05); }
.spe-chip--pink   { background: #fdf2f8; color: #be185d; }
.spe-chip--blue   { background: var(--blue-50); color: var(--blue-700); }
.spe-chip--purple { background: #faf5ff; color: #7c3aed; }
.spe-chip--green  { background: #f0fdf4; color: var(--green-600); }
.spe-chip--teal   { background: #f0fdfa; color: #0d9488; }
.spe-chip--orange { background: #fff7ed; color: #ea580c; }

/* Spécialités list (page spécialités) */
.specialites-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.spe-detail-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  border: 1px solid var(--border);
  opacity: 0; animation: fadeUp .5s ease forwards;
  animation-delay: var(--delay, 0s);
}
.spe-detail-card__header {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 1.5rem;
}
.spe-detail-card__header--pink   { background: #fdf2f8; }
.spe-detail-card__header--blue   { background: var(--blue-50); }
.spe-detail-card__header--purple { background: #faf5ff; }
.spe-detail-card__header--green  { background: #f0fdf4; }
.spe-detail-card__header--teal   { background: #f0fdfa; }
.spe-detail-card__header--orange { background: #fff7ed; }
.spe-detail-card__header--lime   { background: #f7fee7; }
.spe-detail-card__header--indigo { background: #eef2ff; }
.spe-detail-card__icon { font-size: 2rem; }
.spe-detail-card__header h3 { font-size: 1.15rem; font-weight: 700; }
.spe-detail-card__body { padding: 1.25rem 1.5rem; }
.spe-detail-card__body p { color: var(--gray-600); margin-bottom: 1rem; line-height: 1.6; }
.spe-detail-card__points { margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: .4rem; }
.spe-detail-card__points li {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .9rem; color: var(--gray-700);
}
.spe-detail-card__points svg { width: 16px; height: 16px; color: var(--green-600); flex-shrink: 0; margin-top: .15rem; }

/* ─── Why Us ─────────────────────────────────────────── */
.why-us__inner {
  display: grid; grid-template-columns: 1fr 480px; gap: 4rem; align-items: center;
}
.why-list { display: flex; flex-direction: column; gap: 1.25rem; margin: 2rem 0; }
.why-list li { display: flex; gap: 1rem; align-items: flex-start; }
.why-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.25); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem; font-weight: 700; flex-shrink: 0;
}
.why-list strong { display: block; font-size: 1rem; margin-bottom: .2rem; }
.why-list p { font-size: .9rem; opacity: .85; }
.why-visual-card {
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1); border-radius: var(--radius-lg);
  padding: 2.5rem; border: 1px solid rgba(255,255,255,.2);
}
.why-visual-card svg { width: 180px; height: 180px; opacity: .8; }

/* ─── Values ─────────────────────────────────────────── */
.value-card {
  text-align: center; padding: 2rem 1.5rem;
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card__icon { margin-bottom: 1rem; }
.value-card__icon svg { width: 56px; height: 56px; margin: 0 auto; }
.value-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.value-card p  { font-size: .9rem; color: var(--text-light); }

/* ─── Team Cards ─────────────────────────────────────── */
.team-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card__photo { aspect-ratio: 4/3; overflow: hidden; background: var(--blue-50); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__avatar {
  width: 100%; height: 100%; display: flex;
  align-items: center; justify-content: center;
  font-size: 2.5rem; font-weight: 700; color: var(--primary);
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
}
.team-card__info  { padding: 1.25rem; }
.team-card__name  { font-size: 1.05rem; font-weight: 700; margin-bottom: .2rem; }
.team-card__role  { font-size: .85rem; color: var(--primary); font-weight: 600; margin-bottom: .5rem; }
.team-card__desc  { font-size: .875rem; color: var(--text-light); }

/* ─── Gallery ────────────────────────────────────────── */
.galerie-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.galerie-item { border-radius: var(--radius); overflow: hidden; position: relative; }
.galerie-item img { width: 100%; height: 200px; object-fit: cover; }

/* ─── Placeholder images ─────────────────────────────── */
.placeholder-img {
  position: relative; background: var(--blue-50);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 200px;
}
.placeholder-img span {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,.4); color: #fff; font-size: .75rem;
  padding: .2rem .6rem; border-radius: 4px; white-space: nowrap;
}
.placeholder-img--tall { min-height: 380px; }

/* ─── Article Cards ──────────────────────────────────── */
.article-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  border: 1px solid var(--border); display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-card__img { aspect-ratio: 16/9; overflow: hidden; }
.article-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.article-card:hover .article-card__img img { transform: scale(1.04); }
.article-card__img--placeholder { background: var(--blue-50); }
.article-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.article-card__cat  { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); }
.article-card__date { font-size: .8rem; color: var(--text-light); margin-bottom: .5rem; }
.article-card__title { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; line-height: 1.4; }
.article-card__title a { color: var(--gray-900); transition: color var(--transition); }
.article-card__title a:hover { color: var(--primary); }
.article-card__excerpt { font-size: .875rem; color: var(--text-light); flex: 1; }
.article-card__link {
  display: inline-block; margin-top: .75rem; font-size: .875rem;
  font-weight: 600; color: var(--primary);
  transition: gap var(--transition);
}
.article-card__link:hover { text-decoration: underline; }

/* ─── Article détail ─────────────────────────────────── */
.article-section { padding-top: 40px; }
.article-layout {
  display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start;
}
.article-featured-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; }
.article-featured-img img { width: 100%; max-height: 450px; object-fit: cover; }
.article-body {
  font-size: 1.0625rem; line-height: 1.8; color: var(--gray-700);
}
.article-body h2, .article-body h3 { font-family: var(--font-display); color: var(--gray-900); margin: 1.5rem 0 .75rem; }
.article-body p   { margin-bottom: 1rem; }
.article-body ul, .article-body ol { margin: 1rem 0 1rem 1.5rem; }
.article-body li  { margin-bottom: .4rem; }
.article-body a   { color: var(--primary); text-decoration: underline; }
.article-body img { border-radius: var(--radius); margin: 1rem 0; }
.article-body strong { font-weight: 700; }
.article-body blockquote {
  border-left: 4px solid var(--primary);
  background: var(--blue-50); padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0; font-style: italic; color: var(--gray-600);
}

.article-disclaimer {
  display: flex; gap: .75rem; align-items: flex-start;
  background: var(--blue-50); border-radius: var(--radius);
  padding: 1rem 1.25rem; margin: 2rem 0;
  border: 1px solid var(--blue-100); font-size: .875rem; color: var(--gray-600);
}
.article-disclaimer svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }
.article-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

.article-meta {
  display: flex; align-items: center; gap: .5rem;
  font-size: .875rem; color: rgba(255,255,255,.7);
}
.article-meta svg { width: 16px; height: 16px; }
.article-category-badge {
  display: inline-block; font-size: .75rem; font-weight: 600;
  background: rgba(255,255,255,.2); color: #fff;
  border-radius: 999px; padding: .2rem .75rem; margin-bottom: .5rem;
}

/* ─── Sidebar ─────────────────────────────────────────── */
.sidebar-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.25rem;
  border: 1px solid var(--border); margin-bottom: 1.25rem;
}
.sidebar-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .75rem; color: var(--gray-900); }
.sidebar-card p   { font-size: .875rem; color: var(--text-light); margin-bottom: .75rem; }
.sidebar-card--warn { background: #fff7ed; border-color: #fed7aa; }
.sidebar-card--warn h3 { color: #c2410c; }
.sidebar-card--warn p  { color: #9a3412; }
.sidebar-card--warn svg { width: 24px; height: 24px; color: #ea580c; margin-bottom: .5rem; }
.sidebar-horaires li {
  display: flex; justify-content: space-between;
  font-size: .85rem; padding: .25rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.sidebar-horaires li:last-child { border: none; }
.related-articles li { margin-bottom: .75rem; }
.related-articles a { font-size: .875rem; font-weight: 600; color: var(--primary); display: block; }
.related-articles a:hover { text-decoration: underline; }
.related-articles time { font-size: .8rem; color: var(--text-light); }

/* ─── Conseils Filters ───────────────────────────────── */
.conseils-filters { margin-bottom: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.search-form {
  display: flex; gap: .75rem; align-items: center; flex-wrap: wrap;
}
.search-form__input-wrap {
  position: relative; flex: 1; min-width: 250px;
}
.search-icon {
  position: absolute; left: .875rem; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--gray-400); pointer-events: none;
}
.search-form__input {
  width: 100%; padding: .65rem .875rem .65rem 2.6rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  background: #fff; font-size: .9375rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-form__input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22,163,74,.15);
}
.cat-filters { display: flex; gap: .5rem; flex-wrap: wrap; }
.cat-filter {
  padding: .35rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 500;
  color: var(--gray-600); background: var(--gray-100); border: 1px solid var(--gray-200);
  transition: all var(--transition); cursor: pointer;
}
.cat-filter:hover { background: var(--blue-50); color: var(--primary); }
.cat-filter.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.search-results-info {
  margin-bottom: 1.5rem; font-size: .9rem; color: var(--gray-600);
}
.clear-search { color: var(--red-500); margin-left: .5rem; font-weight: 600; }

/* ─── Pagination ─────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 3rem; }
.pagination__btn {
  width: 38px; height: 38px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 600;
  color: var(--gray-600); background: #fff; border: 1.5px solid var(--border);
  transition: all var(--transition); cursor: pointer; text-decoration: none;
}
.pagination__btn:hover, .pagination__btn.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

/* ─── Empty State ────────────────────────────────────── */
.empty-state {
  text-align: center; padding: 4rem 2rem;
}
.empty-state svg { width: 120px; margin: 0 auto 1.5rem; }
.empty-state h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .5rem; }
.empty-state p  { color: var(--text-light); margin-bottom: 1.5rem; }

/* ─── Page Hero ──────────────────────────────────────── */
.page-hero {
  padding: 60px 0 50px;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #fff;
}
.page-hero--pharmacie  { background: linear-gradient(135deg, #15803d 0%, #166534 100%); }
.page-hero--services   { background: linear-gradient(135deg, #16a34a 0%, #14532d 100%); }
.page-hero--specialites{ background: linear-gradient(135deg, #15803d 0%, #16a34a 100%); }
.page-hero--conseils   { background: linear-gradient(135deg, #166534 0%, #16a34a 100%); }
.page-hero--article    { background: linear-gradient(135deg, #15803d 0%, #16a34a 100%); }
.page-hero--ordonnance { background: linear-gradient(135deg, #16a34a 0%, #15803d 100%); }
.page-hero--contact    { background: linear-gradient(135deg, #16a34a 0%, #166534 100%); }
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin: .5rem 0 .5rem; line-height: 1.2;
}
.page-hero__sub { font-size: 1.05rem; opacity: .85; }

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: .4rem;
  font-size: .825rem; color: rgba(255,255,255,.7);
  margin-bottom: .75rem; flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,.8); transition: color var(--transition); }
.breadcrumb a:hover { color: #fff; }

/* ─── Layout 2 colonnes ───────────────────────────────── */
.layout-2col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}

/* ─── CTA Sections ───────────────────────────────────── */
.cta-block {
  text-align: center; padding: 3rem 2rem;
  background: var(--blue-50); border-radius: var(--radius-lg);
  border: 1px solid var(--blue-100);
}
.cta-block h2 { font-family: var(--font-display); font-size: 1.75rem; margin-bottom: .75rem; color: var(--gray-900); }
.cta-block p  { color: var(--text-light); margin-bottom: 1.5rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-block__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-block--light h2 { color: #fff; }
.cta-block--light p  { color: rgba(255,255,255,.8); }

.cta-ordonnance {
  background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
  border-top: 1px solid #fed7aa; border-bottom: 1px solid #fed7aa;
}
.cta-ordonnance__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 3rem; flex-wrap: wrap;
}
.cta-ordonnance__text { flex: 1; }
.cta-ordonnance__text h2 { font-family: var(--font-display); font-size: 1.75rem; margin-bottom: .75rem; color: var(--gray-900); }
.cta-ordonnance__text p  { color: var(--gray-600); margin-bottom: 1rem; }
.cta-ord__list { display: flex; flex-direction: column; gap: .3rem; }
.cta-ord__list li { font-size: .9rem; color: var(--green-600); font-weight: 600; }

/* ─── Forms ──────────────────────────────────────────── */
.form-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--gray-900); }
.form-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 2rem;
  border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.25rem; }
.form-group label {
  font-size: .875rem; font-weight: 600; color: var(--gray-700);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: .65rem .9rem; border: 1.5px solid var(--border);
  border-radius: var(--radius); background: var(--gray-50);
  font-size: .9375rem; transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(22,163,74,.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-hint { font-size: .8rem; color: var(--text-light); margin-top: -.75rem; margin-bottom: 1rem; }
.required { color: var(--red-500); }

/* File upload */
.file-drop-zone {
  border: 2px dashed var(--gray-300); border-radius: var(--radius);
  padding: 2rem; text-align: center; background: var(--gray-50);
  cursor: pointer; transition: border-color var(--transition), background var(--transition);
}
.file-drop-zone:hover, .file-drop-zone.drag-over {
  border-color: var(--primary); background: var(--blue-50);
}
.file-drop-zone svg { width: 40px; height: 40px; margin: 0 auto .75rem; }
.file-drop-zone p   { font-size: .9rem; color: var(--gray-600); }
.file-drop-zone .file-hint { font-size: .8rem; color: var(--text-light); margin-top: .25rem; }
.file-browse-label { color: var(--primary); font-weight: 600; cursor: pointer; }
.file-input { display: none; }
.file-selected { font-size: .85rem; color: var(--green-600); margin-top: .4rem; min-height: 1.2em; }
.form-info-box {
  display: flex; gap: .75rem; align-items: flex-start;
  background: #fffbeb; border-radius: var(--radius);
  padding: 1rem 1.25rem; margin-bottom: 1.5rem;
  border: 1px solid #fde68a;
}
.form-info-box svg { width: 22px; height: 22px; color: #d97706; flex-shrink: 0; }
.form-info-box p  { font-size: .875rem; color: #92400e; }

/* ─── Ordonnance Layout ───────────────────────────────── */
.ord-layout {
  display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start;
}
.steps-list { display: flex; flex-direction: column; gap: 1rem; }
.steps-list li { display: flex; gap: .9rem; align-items: flex-start; }
.step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; flex-shrink: 0;
}
.steps-list strong { display: block; font-size: .9rem; font-weight: 700; margin-bottom: .2rem; }
.steps-list p { font-size: .85rem; color: var(--text-light); }

/* ─── Contact Layout ─────────────────────────────────── */
.contact-layout {
  display: grid; grid-template-columns: 380px 1fr; gap: 3rem; align-items: start;
}
.contact-info__title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.5rem; }
.contact-info__items { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.contact-info__item  { display: flex; gap: .9rem; align-items: flex-start; }
.contact-info__icon  {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--blue-50); color: var(--primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info__icon svg { width: 20px; height: 20px; }
.contact-info__icon--wa { background: #f0fdf4; color: var(--green-600); }
.contact-info__item strong { display: block; font-weight: 700; margin-bottom: .2rem; font-size: .9rem; }
.contact-info__item p { font-size: .9rem; color: var(--gray-600); }
.link-underline { color: var(--primary); font-size: .85rem; }
.link-underline:hover { text-decoration: underline; }
.contact-horaires { margin-bottom: 1.5rem; }
.contact-horaires h3 { font-size: 1rem; font-weight: 700; margin-bottom: .75rem; }
.contact-horaires ul li {
  display: flex; justify-content: space-between;
  font-size: .875rem; padding: .3rem 0; border-bottom: 1px solid var(--gray-100);
}
.contact-horaires ul li:last-child { border: none; }
.open-status {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 600; margin-top: .75rem;
  padding: .3rem .75rem; border-radius: 999px;
}
.open-status.open   { background: #dcfce7; color: var(--green-600); }
.open-status.closed { background: #fee2e2; color: var(--red-600); }
.contact-map { margin-top: 1.5rem; }
.contact-form-wrap { }

/* ─── Localisation ───────────────────────────────────── */
.map-wrapper {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.map-actions { display: flex; justify-content: center; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }

/* ─── Footer ─────────────────────────────────────────── */
.site-footer {
  background: var(--gray-900); color: var(--gray-300);
  padding: 60px 0 0;
}
.site-footer__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem; margin-bottom: 3rem;
}
.footer-logo {
  display: flex; align-items: center; gap: .6rem;
  font-size: 1rem; font-weight: 700; color: #fff;
  margin-bottom: .75rem;
}
.footer-slogan  { font-size: .85rem; opacity: .7; margin-bottom: .75rem; }
.footer-address {
  display: flex; align-items: flex-start; gap: .4rem;
  font-size: .85rem; line-height: 1.5;
}
.footer-address svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: .15rem; color: var(--primary); }
.footer-title { font-size: .9rem; font-weight: 700; color: #fff; margin-bottom: 1rem; letter-spacing: .04em; }
.footer-horaires { display: flex; flex-direction: column; gap: .2rem; }
.footer-horaires li {
  display: flex; justify-content: space-between;
  font-size: .82rem; padding: .2rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-horaires li:last-child { border: none; }
.footer-horaires .jour  { color: var(--gray-400); }
.footer-horaires .heure { color: var(--gray-200); }
.footer-horaires .ferme { color: var(--gray-500); }
.footer-horaires li.today .jour, .footer-horaires li.today .heure { color: #4ade80; font-weight: 600; }

.footer-contact-list { display: flex; flex-direction: column; gap: .6rem; }
.footer-contact-list a {
  display: flex; align-items: center; gap: .5rem;
  font-size: .875rem; color: var(--gray-400);
  transition: color var(--transition);
}
.footer-contact-list a:hover { color: #fff; }
.footer-contact-list svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--primary); }

.footer-nav { display: flex; flex-direction: column; gap: .4rem; }
.footer-nav a {
  font-size: .875rem; color: var(--gray-400);
  transition: color var(--transition);
}
.footer-nav a:hover { color: #fff; padding-left: .25rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
}
.footer-bottom__inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .5rem;
}
.footer-bottom p { font-size: .8rem; color: var(--gray-500); }
.footer-legal     { font-style: italic; max-width: 500px; text-align: right; }

/* ─── Scroll to top ──────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { transform: translateY(-3px); }
.scroll-top svg { width: 22px; height: 22px; }

/* ─── Animations ─────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes countUp {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.animate-in {
  opacity: 0; animation: fadeUp .5s ease forwards;
  animation-delay: var(--delay, 0s);
}

/* ═══════════════════════════════════════════════════════
   ADMIN STYLES
   ═══════════════════════════════════════════════════════ */
.admin-body { background: var(--gray-100); }
.admin-login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  padding: 2rem;
}
.admin-login-card {
  background: #fff; border-radius: var(--radius-lg); padding: 2.5rem;
  box-shadow: var(--shadow-lg); width: 100%; max-width: 420px;
}
.admin-login-card .login-logo {
  text-align: center; margin-bottom: 2rem;
}
.admin-login-card h1 { text-align: center; font-size: 1.5rem; margin-bottom: .25rem; }
.admin-login-card p  { text-align: center; font-size: .875rem; color: var(--text-light); margin-bottom: 1.5rem; }

/* Admin layout */
.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px; background: var(--gray-900); color: var(--gray-300);
  display: flex; flex-direction: column; flex-shrink: 0; position: fixed;
  top: 0; left: 0; height: 100vh; overflow-y: auto; z-index: 50;
}
.admin-sidebar__brand {
  display: flex; align-items: center; gap: .75rem;
  padding: 1.25rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.08);
  font-weight: 700; color: #fff;
}
.admin-sidebar__brand svg { width: 32px; height: 32px; }
.admin-nav { padding: 1rem 0; flex: 1; }
.admin-nav__section {
  padding: .5rem 1.5rem .25rem;
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--gray-500);
}
.admin-nav a {
  display: flex; align-items: center; gap: .75rem;
  padding: .6rem 1.5rem; font-size: .875rem; color: var(--gray-400);
  transition: all var(--transition);
}
.admin-nav a:hover, .admin-nav a.active {
  color: #fff; background: rgba(255,255,255,.08);
}
.admin-nav a svg { width: 18px; height: 18px; }
.admin-nav__badge {
  margin-left: auto; background: var(--red-500); color: #fff;
  font-size: .7rem; font-weight: 700; padding: .1rem .45rem; border-radius: 999px;
}

.admin-main { margin-left: 260px; flex: 1; display: flex; flex-direction: column; }
.admin-topbar {
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 0 2rem; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 40; box-shadow: var(--shadow);
}
.admin-topbar h2 { font-size: 1.1rem; font-weight: 700; }
.admin-topbar__user {
  display: flex; align-items: center; gap: .75rem;
  font-size: .875rem; color: var(--gray-600);
}
.admin-topbar__user a { color: var(--red-500); font-weight: 600; }
.admin-topbar__user a:hover { text-decoration: underline; }
.admin-content { padding: 2rem; flex: 1; }

/* Admin cards */
.admin-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 2rem;
}
.admin-stat-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  border: 1px solid var(--border);
}
.admin-stat-card__num { font-size: 2rem; font-weight: 700; color: var(--gray-900); }
.admin-stat-card__label { font-size: .8rem; color: var(--text-light); margin-top: .2rem; }
.admin-stat-card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.admin-stat-card__icon svg { width: 24px; height: 24px; }
.icon-blue   { background: #f0fdf4; color: var(--primary); }
.icon-green  { background: #dcfce7; color: var(--green-600); }
.icon-orange { background: #fff7ed; color: #ea580c; }
.icon-purple { background: #faf5ff; color: #7c3aed; }

/* Admin tables */
.admin-table-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--border); overflow: hidden;
}
.admin-table-card__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; border-bottom: 1px solid var(--border);
}
.admin-table-card__header h3 { font-size: 1rem; font-weight: 700; }
.table-responsive { overflow-x: auto; }
.admin-table {
  width: 100%; border-collapse: collapse; font-size: .875rem;
}
.admin-table th {
  background: var(--gray-50); padding: .75rem 1rem;
  text-align: left; font-weight: 600; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .05em; color: var(--gray-500);
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.admin-table td {
  padding: .875rem 1rem; border-bottom: 1px solid var(--gray-100);
  vertical-align: middle; color: var(--gray-700);
}
.admin-table tr:hover td { background: var(--gray-50); }
.admin-table tr:last-child td { border: none; }

/* Table badges */
.tbadge {
  display: inline-block; font-size: .72rem; font-weight: 700;
  padding: .15rem .55rem; border-radius: 999px;
}
.tbadge--green  { background: #dcfce7; color: var(--green-600); }
.tbadge--yellow { background: #fef9c3; color: #854d0e; }
.tbadge--red    { background: #fee2e2; color: var(--red-600); }
.tbadge--blue   { background: #f0fdf4; color: var(--primary); }
.tbadge--gray   { background: var(--gray-100); color: var(--gray-600); }

/* Action buttons table */
.tactions { display: flex; gap: .4rem; }
.taction-btn {
  width: 30px; height: 30px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 600; border: 1px solid var(--border);
  background: #fff; color: var(--gray-600); cursor: pointer;
  transition: all var(--transition); text-decoration: none;
}
.taction-btn svg { width: 15px; height: 15px; }
.taction-btn:hover { background: var(--gray-100); }
.taction-btn--del:hover { background: #fee2e2; border-color: var(--red-300,#fca5a5); color: var(--red-600); }
.taction-btn--edit:hover { background: #f0fdf4; border-color: #bbf7d0; color: var(--primary); }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

/* ─── Tablettes ≤ 1024px ─────────────────────────────── */
@media (max-width: 1024px) {
  .hero__content { grid-template-columns: 1fr; }
  .hero__card-wrap { max-width: 480px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .specialites-list { grid-template-columns: 1fr; }
  .galerie-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us__inner { grid-template-columns: 1fr; }
  .why-us__visual { display: none; }
  .layout-2col { grid-template-columns: 1fr; gap: 2rem; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .ord-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Mobile ≤ 768px ─────────────────────────────────── */
@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .section { padding: 50px 0; }

  /* Nav */
  .burger { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 2px solid var(--border);
    box-shadow: var(--shadow-lg);
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
  }
  .main-nav.open { max-height: 500px; }
  .main-nav__list {
    flex-direction: column; align-items: stretch;
    padding: .75rem 1rem 1rem; gap: .25rem;
  }
  .main-nav__list a { padding: .75rem 1rem; border-radius: 8px; }

  /* Hero */
  .hero { padding: 40px 0; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Cards */
  .cards-grid--3 { grid-template-columns: 1fr; }
  .cards-grid--4 { grid-template-columns: 1fr; }
  .galerie-grid  { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .site-footer__grid { grid-template-columns: 1fr; }
  .footer-legal { text-align: left; }
  .footer-bottom__inner { flex-direction: column; gap: .5rem; }

  /* CTA ordonnance */
  .cta-ordonnance__inner { flex-direction: column; text-align: center; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; }

  /* Top bar */
  .top-bar__contact { gap: .75rem; }
  .top-bar__link span { display: none; }

  /* Article sidebar */
  .article-sidebar { grid-template-columns: 1fr; }

  /* Admin */
  .admin-sidebar { transform: translateX(-100%); transition: transform .3s; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .admin-stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── Très petit mobile ≤ 480px ──────────────────────── */
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .galerie-grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 1.75rem; }
  .admin-stats-grid { grid-template-columns: 1fr; }
  .tactions .taction-btn span { display: none; }
}

/* ─── Print ──────────────────────────────────────────── */
@media print {
  .top-bar, .site-header, .site-footer, .scroll-top,
  .hero__actions, .cta-section, .btn, .burger { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .container { max-width: 100%; padding: 0; }
}

/* ─── Bouton Admin (footer) ──────────────────────────── */
.btn-admin-link {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .9rem; border-radius: 999px;
  font-size: .78rem; font-weight: 600;
  color: var(--gray-400); border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  transition: all .2s; text-decoration: none;
  white-space: nowrap;
}
.btn-admin-link svg { width: 14px; height: 14px; }
.btn-admin-link:hover {
  color: #fff; background: var(--primary);
  border-color: var(--primary);
}

/* ─── Footer logo alignement ─────────────────────────── */
.footer-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .75rem;
}
.footer-logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255,255,255,.15);
  padding: 2px;
  border: 2px solid rgba(255,255,255,.25);
  flex-shrink: 0;
}

/* ─── Header responsive ──────────────────────────────── */
@media (max-width: 1024px) {
  .header-top__horaires { display: none; }
  .header-top__name { font-size: 1rem; }
}
@media (max-width: 768px) {
  .header-top__tel { display: none; }
  .header-top__name { font-size: .9rem; }
  .header-top__logo-wrap { width: 48px; height: 48px; }
  .main-nav {
    position: fixed;
    top: calc(var(--header-h));
    left: 0; right: 0;
    background: #fff;
    border-bottom: 2px solid #16a34a;
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    z-index: 99;
  }
  .main-nav.open { max-height: 500px; }
  .main-nav__list {
    flex-direction: column;
    align-items: stretch;
    padding: .75rem 1rem 1rem;
    gap: .25rem;
  }
  .main-nav__list a { padding: .75rem 1rem; }
}

/* ═══════════════════════════════════════════════════════
   HERO PLEINE LARGEUR
   ═══════════════════════════════════════════════════════ */
.hero-full {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-full__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-full__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-full__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(21,128,61,.88) 0%,
    rgba(21,128,61,.70) 50%,
    rgba(21,128,61,.30) 100%
  );
  z-index: 1;
}
.hero-full__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding: 80px 0;
  max-width: 700px;
}
.hero-full__badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,.2);
  border-radius: 999px;
  padding: .3rem .9rem;
  margin-bottom: .75rem;
}
.hero-full__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: .5rem;
}
.hero-full__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.9);
  font-weight: 500;
  margin-bottom: .75rem;
}
.hero-full__desc {
  color: rgba(255,255,255,.8);
  margin-bottom: 2rem;
  max-width: 500px;
  font-size: 1rem;
  line-height: 1.6;
}
.hero-full__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-full__card { }

/* Responsive hero */
@media (max-width: 1024px) {
  .hero-full__content { grid-template-columns: 1fr; }
  .hero-full__card { max-width: 480px; }
  .hero-full__overlay {
    background: rgba(21,128,61,.75);
  }
}
@media (max-width: 768px) {
  .hero-full { min-height: 400px; }
  .hero-full__actions { flex-direction: column; }
  .hero-full__actions .btn { justify-content: center; }
  .hero-full__card { display: none; }
}

/* ─── Why Us visual (photo pharmacie) ───────────────── */
.why-visual-card {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.25);
  border: 3px solid rgba(255,255,255,.2);
}
.why-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s ease;
}
.why-visual-card:hover img {
  transform: scale(1.03);
}
.why-us__visual { display: block !important; }

/* ─── Photo officine (section histoire) ─────────────── */
.pharmacie-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.pharmacie-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s ease;
}
.pharmacie-img-wrap:hover img { transform: scale(1.03); }

/* ─── Galerie pleine largeur ─────────────────────────── */
.galerie-item--full {
  grid-column: 1 / -1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.galerie-item--full img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ─── Double téléphone header ────────────────────────── */
.header-top__tels {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

/* ═══════════════════════════════════════════════════════
   ÉQUIPE — Style cercles (comme capture)
   ═══════════════════════════════════════════════════════ */
.staff-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
  margin-top: 1rem;
}
.staff-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 180px;
}
.staff-circle__img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid #16a34a;
  overflow: hidden;
  background: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(22,163,74,.2);
  transition: transform .3s, box-shadow .3s;
}
.staff-circle__img:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(22,163,74,.3);
}
.staff-circle__img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.staff-initiales {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .05em;
  user-select: none;
}
/* Nom et rôle dans le bas du cercle */
.staff-circle__name {
  font-size: .82rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: .6rem 0 .1rem;
  line-height: 1.2;
}
.staff-circle__role {
  font-size: .72rem;
  color: #16a34a;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .staff-grid { gap: 1.5rem; }
  .staff-circle { width: 140px; }
  .staff-circle__img { width: 120px; height: 120px; }
  .staff-circle__img svg { width: 60px; height: 60px; }
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS IMAGES PHARMACIE
   ═══════════════════════════════════════════════════════ */

/* ─── Apparition au scroll ───────────────────────────── */
.anim-fadeup {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.anim-fadeup.visible {
  opacity: 1;
  transform: translateY(0);
}
.anim-fadein {
  opacity: 0;
  transition: opacity .9s ease;
}
.anim-fadein.visible { opacity: 1; }

.anim-zoomin {
  opacity: 0;
  transform: scale(.92);
  transition: opacity .7s ease, transform .7s ease;
}
.anim-zoomin.visible {
  opacity: 1;
  transform: scale(1);
}

/* ─── Délais enchaînés ───────────────────────────────── */
.anim-delay-1 { transition-delay: .1s; }
.anim-delay-2 { transition-delay: .25s; }
.anim-delay-3 { transition-delay: .4s; }
.anim-delay-4 { transition-delay: .55s; }

/* ─── Zoom survol image pharmacie ────────────────────── */
.pharmacie-img-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.pharmacie-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform .6s ease, filter .6s ease;
}
.pharmacie-img-wrap:hover img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

/* ─── Galerie : effet reveal + zoom ─────────────────── */
.galerie-item--full {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.galerie-item--full img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .8s ease, filter .8s ease;
}
.galerie-item--full:hover img {
  transform: scale(1.04);
  filter: brightness(1.08);
}
/* Overlay au survol */
.galerie-item--full::after {
  content: '🔍 Voir en grand';
  position: absolute;
  inset: 0;
  background: rgba(22,163,74,.3);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .4s ease;
  cursor: pointer;
  backdrop-filter: blur(2px);
}
.galerie-item--full:hover::after { opacity: 1; }

/* ─── Lightbox simple ────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  transform: scale(.9);
  transition: transform .3s ease;
}
.lightbox-overlay.active img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
  border: none;
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }

/* ═══════════════════════════════════════════════════════
   DIAPORAMA AUTOMATIQUE
   ═══════════════════════════════════════════════════════ */
.slideshow-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}
.slide {
  display: none;
  position: relative;
}
.slide.active { display: block; }
.slide img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  animation: slideZoom 5s ease forwards;
}
@keyframes slideZoom {
  from { transform: scale(1);    opacity: .85; }
  to   { transform: scale(1.05); opacity: 1;   }
}

/* Transition fondu entre slides */
.slide.fade-out {
  animation: fadeOut .6s ease forwards;
}
.slide.fade-in {
  animation: fadeIn .6s ease forwards;
}
@keyframes fadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Boutons précédent / suivant */
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(22,163,74,.75);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: background .2s, transform .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide-btn:hover {
  background: #15803d;
  transform: translateY(-50%) scale(1.1);
}
.slide-btn--prev { left: 1rem; }
.slide-btn--next { right: 1rem; }

/* Points indicateurs */
.slide-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 10;
}
.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: background .3s, transform .3s;
  border: none;
  display: block;
}
.slide-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* Barre de progression */
.slideshow-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #4ade80;
  animation: progress 4s linear infinite;
  z-index: 10;
}
@keyframes progress {
  from { width: 0%; }
  to   { width: 100%; }
}
