/* ================================================================
   FICHE VÉTÉRINAIRE — CSS partagé
   Utilisé par : veterinaire-pau-*.html
================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', Arial, sans-serif; background: #f8f8fa; color: #14223A; }

/* ── NAV ── */
.fiche-nav {
  background: #fff; border-bottom: 1px solid #f0f0f4;
  padding: 0 24px; height: 56px; display: flex; align-items: center;
  gap: 12px; position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,.05);
}
.fiche-nav-logo { font-size: 1.05rem; font-weight: 900; color: #E8264A; text-decoration: none; display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.fiche-nav-sep { color: #d1d5db; font-size: .9rem; }
.fiche-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: #9ca3af; flex-wrap: wrap; }
.fiche-breadcrumb a { color: #9ca3af; text-decoration: none; }
.fiche-breadcrumb a:hover { color: #E8264A; }
.fiche-breadcrumb .bc-current { color: #14223A; }

/* ── HERO ── */
.fiche-hero { background: linear-gradient(135deg, #fdf2f7 0%, #fff 60%); border-bottom: 1px solid #f0e8f0; padding: 36px 24px 28px; }
.fiche-hero-inner { max-width: 980px; margin: 0 auto; display: flex; gap: 28px; align-items: flex-start; }
.fiche-avatar { width: 96px; height: 96px; border-radius: 24px; background: linear-gradient(135deg, #fce7f3, #fbcfe8); display: flex; align-items: center; justify-content: center; font-size: 2.8rem; flex-shrink: 0; box-shadow: 0 4px 20px rgba(240,41,122,.15); }
.fiche-hero-info { flex: 1; min-width: 0; }
.fiche-category-tag { display: inline-flex; align-items: center; gap: 5px; background: #fce7f3; color: #E8264A; font-size: .7rem; font-weight: 800; padding: 4px 10px; border-radius: 20px; margin-bottom: 10px; letter-spacing: .02em; text-transform: uppercase; }
.fiche-name { font-size: 1.65rem; font-weight: 900; color: #14223A; line-height: 1.2; margin-bottom: 6px; }
.fiche-tagline { font-size: .9rem; font-weight: 600; color: #6b7280; margin-bottom: 14px; }
.fiche-meta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 18px; }
.fiche-rating { display: flex; align-items: center; gap: 6px; }
.fiche-stars { color: #f59e0b; font-size: 1rem; letter-spacing: 1px; }
.fiche-rating-val { font-size: .95rem; font-weight: 900; color: #14223A; }
.fiche-rating-count { font-size: .78rem; font-weight: 600; color: #9ca3af; }
.fiche-badge { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 20px; }
.fiche-badge--green   { background: #d1fae5; color: #065f46; }
.fiche-badge--blue    { background: #dbeafe; color: #1e40af; }
.fiche-badge--purple  { background: #ede9fe; color: #5b21b6; }
.fiche-badge--red     { background: #fee2e2; color: #991b1b; }
/* Badge urgences vétérinaires — obligatoire pour toute clinique avec service d'urgence */
.fiche-badge--urgence {
  background: #dc2626; color: #fff; font-weight: 900;
  box-shadow: 0 0 0 0 rgba(220,38,38,.4);
  animation: pulse-urgence 2.2s ease-in-out infinite;
}
@keyframes pulse-urgence {
  0%,100% { box-shadow: 0 0 0 0 rgba(220,38,38,.45); }
  55%      { box-shadow: 0 0 0 7px rgba(220,38,38,0); }
}
.fiche-hero-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.btn-rdv { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, #E8264A, #C91E3C); color: #fff; border: none; border-radius: 14px; padding: 14px 24px; font-family: inherit; font-size: .92rem; font-weight: 900; cursor: pointer; white-space: nowrap; box-shadow: 0 5px 18px rgba(240,41,122,.32); transition: box-shadow .18s, transform .18s; text-decoration: none; }
.btn-rdv:hover { box-shadow: 0 8px 24px rgba(240,41,122,.44); transform: translateY(-1px); }
.btn-tel { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #fff; color: #14223A; border: 1.5px solid #e5e7eb; border-radius: 14px; padding: 12px 20px; font-family: inherit; font-size: .88rem; font-weight: 800; cursor: pointer; white-space: nowrap; text-decoration: none; transition: border-color .18s, box-shadow .18s; }
.btn-tel:hover { border-color: #E8264A; box-shadow: 0 2px 10px rgba(240,41,122,.1); }

/* ── QUICKBAR ── */
.fiche-quickbar { background: #fff; border-bottom: 1px solid #f0f0f4; }
.fiche-quickbar-inner { max-width: 980px; margin: 0 auto; padding: 0 24px; display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.fiche-quickbar-inner::-webkit-scrollbar { display: none; }
.fiche-quick-item { display: flex; align-items: center; gap: 8px; padding: 16px 24px 16px 0; border-right: 1px solid #f0f0f4; margin-right: 24px; white-space: nowrap; flex-shrink: 0; }
.fiche-quick-item:last-child { border-right: none; }
.fiche-quick-ico { font-size: 1.1rem; flex-shrink: 0; }
.fiche-quick-label { font-size: .7rem; font-weight: 800; color: #9ca3af; display: block; margin-bottom: 2px; }
.fiche-quick-val { font-size: .84rem; font-weight: 700; color: #14223A; display: block; }
.fiche-quick-val.open   { color: #059669; }
.fiche-quick-val.closed { color: #dc2626; }

/* ── CORPS ── */
.fiche-body { max-width: 980px; margin: 0 auto; padding: 32px 24px 80px; display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }

/* ── SECTIONS GAUCHE ── */
.fiche-section { background: #fff; border-radius: 20px; padding: 28px; margin-bottom: 20px; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.fiche-section:last-child { margin-bottom: 0; }
.fiche-section-title { font-size: 1.05rem; font-weight: 900; color: #14223A; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.fiche-desc { font-size: .9rem; font-weight: 600; color: #4b5563; line-height: 1.7; }
.fiche-desc p + p { margin-top: 12px; }

/* Spécialités */
.fiche-specs { display: flex; flex-wrap: wrap; gap: 10px; }
.fiche-spec { display: flex; align-items: center; gap: 7px; background: #f8f8fa; border: 1.5px solid #f0f0f4; border-radius: 12px; padding: 10px 14px; font-size: .8rem; font-weight: 700; color: #14223A; }
.fiche-spec-ico { font-size: 1.1rem; }

/* Équipe */
.fiche-team { display: flex; flex-direction: column; gap: 14px; }
.fiche-vet { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: #f8f8fa; border-radius: 14px; }
.fiche-vet-avatar { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, #fce7f3, #fbcfe8); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.fiche-vet-name { font-size: .9rem; font-weight: 900; color: #14223A; margin-bottom: 3px; }
.fiche-vet-role { font-size: .75rem; font-weight: 700; color: #E8264A; margin-bottom: 4px; }
.fiche-vet-desc { font-size: .78rem; font-weight: 600; color: #6b7280; line-height: 1.5; }

/* Horaires */
.fiche-hours { display: flex; flex-direction: column; gap: 8px; }
.fiche-hour-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 10px; font-size: .84rem; font-weight: 700; }
.fiche-hour-row.today { background: #d1fae5; }
.fiche-hour-day { color: #14223A; }
.fiche-hour-day.today-label { color: #065f46; font-weight: 900; }
.fiche-hour-time { color: #4b5563; }
.fiche-hour-time.open-time { color: #059669; font-weight: 800; }
.fiche-hour-time.closed { color: #9ca3af; font-style: italic; }

/* Avis */
.fiche-reviews { display: flex; flex-direction: column; gap: 16px; }
.fiche-review-summary { display: flex; gap: 20px; align-items: center; padding: 20px; background: linear-gradient(135deg, #fdf2f7, #fff); border-radius: 16px; border: 1.5px solid #fce7f3; margin-bottom: 8px; }
.fiche-review-score { font-size: 3rem; font-weight: 900; color: #14223A; line-height: 1; flex-shrink: 0; }
.fiche-review-details { flex: 1; }
.fiche-review-stars-big { font-size: 1.3rem; color: #f59e0b; margin-bottom: 4px; }
.fiche-review-label { font-size: .78rem; font-weight: 700; color: #6b7280; }
.fiche-review-bars { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.fiche-bar-row { display: flex; align-items: center; gap: 8px; }
.fiche-bar-label { font-size: .7rem; font-weight: 700; color: #9ca3af; width: 14px; text-align: right; }
.fiche-bar-track { flex: 1; height: 6px; background: #f0f0f4; border-radius: 10px; overflow: hidden; }
.fiche-bar-fill { height: 100%; background: #f59e0b; border-radius: 10px; }
.fiche-bar-count { font-size: .68rem; font-weight: 700; color: #9ca3af; width: 24px; }
.fiche-review-card { padding: 18px; background: #f8f8fa; border-radius: 14px; border: 1px solid #f0f0f4; }
.fiche-review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.fiche-reviewer-name { font-size: .85rem; font-weight: 900; color: #14223A; }
.fiche-reviewer-date { font-size: .72rem; font-weight: 600; color: #9ca3af; }
.fiche-review-stars { font-size: .85rem; color: #f59e0b; margin-bottom: 6px; }
.fiche-review-text { font-size: .82rem; font-weight: 600; color: #4b5563; line-height: 1.6; }
.fiche-review-pet { font-size: .72rem; font-weight: 700; color: #9ca3af; margin-top: 6px; }

/* ── SIDEBAR ── */
.fiche-sidebar { display: flex; flex-direction: column; gap: 16px; }
.fiche-card { background: #fff; border-radius: 20px; padding: 22px; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.fiche-card-title { font-size: .85rem; font-weight: 900; color: #14223A; margin-bottom: 14px; display: flex; align-items: center; gap: 7px; }
.fiche-map { width: 100%; height: 180px; border-radius: 14px; overflow: hidden; margin-bottom: 12px; border: 1.5px solid #f0f0f4; }
.fiche-map iframe { width: 100%; height: 100%; border: none; display: block; }
.fiche-address-line { display: flex; align-items: flex-start; gap: 8px; font-size: .82rem; font-weight: 700; color: #4b5563; margin-bottom: 8px; }
.fiche-address-line span:first-child { flex-shrink: 0; margin-top: 1px; }
.fiche-itinerary { display: flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 800; color: #E8264A; text-decoration: none; margin-top: 4px; }
.fiche-itinerary:hover { text-decoration: underline; }
.fiche-contact-list { display: flex; flex-direction: column; gap: 10px; }
.fiche-contact-item { display: flex; align-items: center; gap: 10px; font-size: .83rem; font-weight: 700; color: #14223A; text-decoration: none; padding: 10px 12px; background: #f8f8fa; border-radius: 12px; transition: background .15s; }
.fiche-contact-item:hover { background: #fce7f3; color: #E8264A; }
.fiche-contact-ico { font-size: 1.1rem; flex-shrink: 0; }
.fiche-tarifs { display: flex; flex-direction: column; gap: 8px; }
.fiche-tarif-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid #f4f4f6; font-size: .82rem; }
.fiche-tarif-row:last-child { border-bottom: none; }
.fiche-tarif-label { font-weight: 700; color: #4b5563; }
.fiche-tarif-price { font-weight: 900; color: #14223A; }
.fiche-trust-list { display: flex; flex-direction: column; gap: 10px; }
.fiche-trust-item { display: flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; color: #4b5563; }
.fiche-trust-ico { font-size: 1.1rem; flex-shrink: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .fiche-body { grid-template-columns: 1fr; }
  .fiche-sidebar { order: -1; }
  .fiche-hero-inner { flex-direction: column; gap: 20px; }
  .fiche-hero-actions { flex-direction: row; }
  .fiche-name { font-size: 1.35rem; }
}
@media (max-width: 560px) {
  .fiche-hero { padding: 20px 16px; }
  .fiche-body { padding: 20px 16px 60px; }
  .fiche-section, .fiche-card { padding: 18px; }
  .fiche-hero-actions { flex-direction: column; }
  .btn-rdv, .btn-tel { width: 100%; }
  .fiche-name { font-size: 1.2rem; }
  .fiche-review-summary { flex-direction: column; gap: 12px; }
}
