/* ============================================================================
   Clinique des Alizés — « Carnet de santé animalier »
   Archétype : livret/passeport de santé, rounded & chaleureux, WCAG-conscient.
   Palette : Mûre #6D3B5E + Miel #E0A32E (+ sauge douce), fond crème #FAF4EC.
   Fonts : Fredoka (display) / Nunito Sans (body).
   Signature : empreinte de patte (SVG) + cartes « carnet » cousues/perforées.
   Tout le design passe par ce fichier (Bootstrap = squelette). Aucune classe custom.
   ========================================================================== */

:root {
  --mure: #6D3B5E;
  --mure-800: #4E2843;
  --mure-900: #33202E;
  --miel: #E0A32E;
  --miel-600: #C4881A;
  --sauge: #7FB79C;
  --sauge-050: #EAF3EE;
  --creme: #FAF4EC;
  --creme-2: #F4E9DC;
  --ivoire: #FFFDF9;
  --encre: #2E1F29;
  --encre-60: #6C5A64;

  --bs-primary: #6D3B5E;
  --bs-primary-rgb: 109, 59, 94;
  --bs-secondary: #E0A32E;
  --bs-secondary-rgb: 224, 163, 46;
  --bs-body-color: #2E1F29;
  --bs-body-bg: #FAF4EC;
  --bs-body-font-family: 'Nunito Sans', system-ui, -apple-system, sans-serif;
  --bs-border-color: #E7D8C6;
  --bs-link-color: #6D3B5E;
  --bs-link-hover-color: #C4881A;

  /* empreinte de patte — data URI (miel) */
  --paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%23E0A32E'%3E%3Cellipse cx='50' cy='66' rx='21' ry='17'/%3E%3Cellipse cx='23' cy='41' rx='8.5' ry='11.5'/%3E%3Cellipse cx='40' cy='27' rx='8.5' ry='12'/%3E%3Cellipse cx='60' cy='27' rx='8.5' ry='12'/%3E%3Cellipse cx='77' cy='41' rx='8.5' ry='11.5'/%3E%3C/g%3E%3C/svg%3E");
  --paw-mure: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%236D3B5E'%3E%3Cellipse cx='50' cy='66' rx='21' ry='17'/%3E%3Cellipse cx='23' cy='41' rx='8.5' ry='11.5'/%3E%3Cellipse cx='40' cy='27' rx='8.5' ry='12'/%3E%3Cellipse cx='60' cy='27' rx='8.5' ry='12'/%3E%3Cellipse cx='77' cy='41' rx='8.5' ry='11.5'/%3E%3C/g%3E%3C/svg%3E");

  --shadow-soft: 0 2px 6px rgba(51, 32, 46, .06), 0 18px 40px -22px rgba(51, 32, 46, .28);
  --shadow-lift: 0 6px 14px rgba(51, 32, 46, .10), 0 30px 60px -30px rgba(109, 59, 94, .42);
  --r-lg: 26px;
  --r-md: 20px;
}

/* ------------------------------------------------------------------ base */
body {
  background-color: var(--creme);
  background-image:
    radial-gradient(1100px 520px at 88% -8%, rgba(224, 163, 46, .10), transparent 60%),
    radial-gradient(900px 480px at -8% 4%, rgba(127, 183, 156, .12), transparent 58%);
  background-attachment: fixed;
  color: var(--encre);
  font-weight: 400;
  letter-spacing: .1px;
}

h1, h2, h3, h4, h5, .navbar-brand, .display-6, .h1, .h2, .h3, .h4, .h5 {
  font-family: 'Fredoka', 'Nunito Sans', sans-serif;
  font-weight: 600;
  letter-spacing: -.2px;
  color: var(--mure-800);
}
h1, #hero-title { font-weight: 700; line-height: 1.08; }
p { line-height: 1.7; }
a { text-decoration: none; }
::selection { background: rgba(224, 163, 46, .35); }

.container { max-width: 1160px; }

/* kickers avec pastille empreinte de patte (signature) */
#section-kicker, #hero-eyebrow, #section-kicker-light {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--mure);
  padding: .38rem .95rem .38rem .8rem;
  border-radius: 100px;
  background: var(--ivoire);
  border: 1.5px solid #EAD9C4;
  box-shadow: var(--shadow-soft);
  align-items: center;
}
#section-kicker::before {
  content: '';
  display: inline-block;
  width: 18px; height: 18px;
  margin-right: .5rem;
  vertical-align: -3px;
  background: var(--paw) center/contain no-repeat;
  transform: rotate(-12deg);
}
#hero-eyebrow { color: var(--mure); }
#hero-eyebrow > i { color: var(--miel-600); }
#section-kicker-light {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .34);
  color: #fff;
  box-shadow: none;
}
#section-kicker-light::before {
  content: '';
  display: inline-block;
  width: 18px; height: 18px;
  margin-right: .5rem;
  vertical-align: -3px;
  background: var(--paw) center/contain no-repeat;
  transform: rotate(-12deg);
}

/* ------------------------------------------------------------------ navbar */
.navbar {
  background: rgba(250, 244, 236, .82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid #ECDDCB;
}
#brand-mark {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--mure), var(--mure-800));
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 8px 18px -8px rgba(109, 59, 94, .7);
  position: relative;
}
#brand-mark::after {
  content: '';
  position: absolute;
  right: -6px; bottom: -6px;
  width: 22px; height: 22px;
  background: var(--paw) center/contain no-repeat;
  transform: rotate(14deg);
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .12));
}
#brand-name { font-family: 'Fredoka', sans-serif; font-size: 1.16rem; color: var(--mure-800); }
#brand-sub { color: var(--encre-60); font-weight: 600; letter-spacing: .2px; }
.navbar .nav-link {
  font-weight: 600;
  color: var(--encre);
  border-radius: 100px;
  padding: .45rem .9rem;
  position: relative;
  transition: color .2s, background-color .2s;
}
.navbar .nav-link:hover, .navbar .nav-link:focus { color: var(--mure); background: rgba(224, 163, 46, .14); }

/* ------------------------------------------------------------------ boutons */
.btn { font-family: 'Fredoka', sans-serif; font-weight: 500; border-radius: 100px; transition: transform .18s ease, box-shadow .2s ease, background-color .2s; }
.btn-lg { padding: .78rem 1.6rem; }
.btn-primary {
  --bs-btn-bg: var(--mure);
  --bs-btn-border-color: var(--mure);
  --bs-btn-hover-bg: var(--mure-800);
  --bs-btn-hover-border-color: var(--mure-800);
  --bs-btn-active-bg: var(--mure-900);
  --bs-btn-active-border-color: var(--mure-900);
  --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-active-color: #fff;
  box-shadow: 0 10px 22px -12px rgba(109, 59, 94, .85);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(109, 59, 94, .9); }
.btn-outline-primary {
  --bs-btn-color: var(--mure);
  --bs-btn-border-color: #D9B9CC;
  --bs-btn-hover-bg: var(--mure);
  --bs-btn-hover-border-color: var(--mure);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--mure);
  --bs-btn-active-border-color: var(--mure);
  background: var(--ivoire);
  border-width: 1.5px;
}
.btn-outline-primary:hover { transform: translateY(-2px); }
/* bouton miel (bandes commande/boutique sur fond mûre) */
#commande-btn {
  background: var(--miel);
  border: none;
  color: var(--mure-900);
  font-weight: 600;
  box-shadow: 0 12px 26px -12px rgba(224, 163, 46, .9);
}
#commande-btn:hover { background: #F1B84A; transform: translateY(-2px); color: var(--mure-900); }

/* ------------------------------------------------------------------ hero */
#hero { padding-top: 1rem; }
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--paw-mure);
  background-size: 120px;
  background-repeat: repeat;
  opacity: .04;
  transform: rotate(-8deg) scale(1.3);
  pointer-events: none;
}
#hero-title { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
#hero-lead { font-size: 1.22rem; color: var(--encre-60); font-weight: 600; }
#hero-figure, #clinique-figure {
  border-radius: 34px;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: var(--shadow-lift);
  position: relative;
}
#hero-figure { border-radius: 42px; max-height: 480px; }
#hero-figure img, #clinique-figure img { display: block; object-fit: cover; width: 100%; }
#hero-figure img { max-height: 480px; }

/* ------------------------------------------------------------------ carnet cards (signature : bord cousu) */
#carnet-card, #hours-card, #team-card, #avis-card {
  background: var(--ivoire);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform .22s ease, box-shadow .22s ease;
}
/* piqûre / perforation du carnet */
#carnet-card::before, #avis-card::before {
  content: '';
  position: absolute; inset: 10px;
  border: 2px dashed #E4CBAE;
  border-radius: calc(var(--r-lg) - 8px);
  pointer-events: none;
}
#carnet-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
#carnet-icon {
  width: 60px; height: 60px;
  border-radius: 18px;
  background: var(--sauge-050);
  color: var(--mure);
  font-size: 1.5rem;
  border: 1.5px solid #D7EAE0;
}
#carnet-title { color: var(--mure-800); }

/* ------------------------------------------------------------------ bande commande (Place des Vétos) */
#commande-block, #shop-block {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(224, 163, 46, .22), transparent 55%),
    linear-gradient(150deg, var(--mure), var(--mure-800));
  color: #fff;
  border-radius: 32px;
  box-shadow: var(--shadow-lift);
}
#commande-block::after, #shop-block::after {
  content: '';
  position: absolute; right: -30px; bottom: -40px;
  width: 240px; height: 240px;
  background: var(--paw) center/contain no-repeat;
  opacity: .10;
  transform: rotate(16deg);
  pointer-events: none;
}
#commande-title, #shop-title { color: #fff; }
#commande-text, #shop-block p { color: rgba(255, 255, 255, .9); }
#commande-bigicon, #shop-bigicon { font-size: 8rem; color: rgba(255, 255, 255, .22); }
#shop-chip {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 100px;
  padding: .5rem .95rem;
  font-weight: 600;
  transition: background-color .2s, color .2s;
}
#shop-chip:hover { background: var(--miel); color: var(--mure-900); border-color: var(--miel); }

/* ------------------------------------------------------------------ avis (mésanges) */
#avis-card { border-left: 6px solid var(--miel); }
#avis-icon {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: rgba(224, 163, 46, .16);
  color: var(--miel-600);
  font-size: 1.7rem;
  border: 2px dashed var(--miel);
}
#avis-title { color: var(--mure-800); }

/* ------------------------------------------------------------------ horaires */
#hours-card { padding: .6rem 1.4rem; }
#hours-row + #hours-row { border-top: 1px dashed #E7D3BC; }
#hours-day { color: var(--mure-800); font-family: 'Fredoka', sans-serif; }
#hours-slot {
  background: var(--sauge-050);
  color: #2C5E4A;
  border: 1px solid #CFE6DA;
  border-radius: 100px;
  font-weight: 700;
  padding: .38rem .7rem;
}
#hours-closed {
  background: #F5E7E7;
  color: #9A4A4A;
  border: 1px solid #EBD2D2;
  border-radius: 100px;
  font-weight: 700;
  padding: .38rem .7rem;
}
#urgence-alert {
  background: var(--ivoire);
  border: 1.5px solid #EAD9C4;
  border-left: 5px solid var(--mure);
  border-radius: 16px;
  color: var(--encre);
}
#urgence-alert i { color: var(--mure); font-size: 1.15rem; }

/* accordéon */
.accordion { --bs-accordion-border-color: #EAD9C4; --bs-accordion-border-radius: 16px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-soft); }
.accordion-item { background: var(--ivoire); }
.accordion-button {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  color: var(--mure-800);
  background: var(--ivoire);
}
.accordion-button:not(.collapsed) { color: #fff; background: var(--mure); box-shadow: none; }
.accordion-button:not(.collapsed)::after { filter: brightness(0) invert(1); }
.accordion-button:focus { box-shadow: 0 0 0 .25rem rgba(109, 59, 94, .25); }
#coord-icon { color: var(--miel-600); }

/* badges génériques */
#tag-badge {
  background: var(--sauge-050);
  color: #2C5E4A;
  border: 1px solid #CFE6DA;
  border-radius: 100px;
  padding: .45rem .85rem;
  font-weight: 700;
}

/* ------------------------------------------------------------------ équipe (cartes-ID passeport) */
#team-card { border-top: 4px solid transparent; }
#team-card::before {
  content: '';
  position: absolute; inset: 8px;
  border: 2px dashed #EBD7C1;
  border-radius: calc(var(--r-lg) - 6px);
  pointer-events: none;
}
#team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
#team-avatar {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--creme-2), #fff);
  border: 2px solid var(--miel);
  color: var(--mure);
  font-size: 1.7rem;
  box-shadow: inset 0 0 0 4px #fff;
}
#team-card:nth-child(4n+2) #team-avatar { border-color: var(--sauge); color: #2C5E4A; }
#team-name { font-family: 'Fredoka', sans-serif; color: var(--mure-800); }
#team-role { color: var(--encre-60); font-weight: 600; }

/* ------------------------------------------------------------------ blog / articles */
#post-card {
  background: var(--ivoire);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease;
}
#post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
#post-thumb { background: var(--creme-2); color: var(--mure); font-size: 2rem; overflow: hidden; }
#post-thumb img { transition: transform .5s ease; object-fit: cover; }
#post-card:hover #post-thumb img { transform: scale(1.06); }
#post-cat, #cat-chip {
  background: rgba(224, 163, 46, .16);
  color: var(--miel-600);
  border: 1px solid rgba(224, 163, 46, .35);
  border-radius: 100px;
  padding: .32rem .8rem;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
#post-title { color: var(--mure-800); }
#post-card:hover #post-title { color: var(--mure); }
#post-excerpt { color: var(--encre-60); }
#post-meta { color: var(--encre-60); border-top: 1px dashed #E7D3BC; padding-top: .75rem; }

/* article single */
#post-h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
#post-byline { color: var(--encre-60); }
#post-figure { border-radius: 26px; overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow-lift); }
#post-body { font-size: 1.06rem; }
#post-body h2 { margin-top: 2rem; padding-left: 2rem; position: relative; }
#post-body h2::before {
  content: ''; position: absolute; left: 0; top: .28em;
  width: 22px; height: 22px;
  background: var(--paw) center/contain no-repeat;
  transform: rotate(-12deg);
}
#post-body h3 { margin-top: 1.4rem; color: var(--mure); }
#post-body img { max-width: 100%; height: auto; border-radius: 16px; }
#post-body a { color: var(--mure); text-decoration: underline; text-decoration-color: rgba(224, 163, 46, .6); }
#post-cta {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(224, 163, 46, .18), transparent 55%),
    linear-gradient(150deg, var(--mure), var(--mure-800));
  color: #fff;
}
#post-cta .btn-primary { background: var(--miel); border-color: var(--miel); color: var(--mure-900); }
#post-cta-icon { font-size: 2rem; color: var(--miel); }
#related-title { position: relative; padding-left: 2rem; }
#related-title::before { content: ''; position: absolute; left: 0; top: .18em; width: 22px; height: 22px; background: var(--paw) center/contain no-repeat; transform: rotate(-12deg); }

/* ------------------------------------------------------------------ page head (blog/shop/services/cat) */
#page-head { background: linear-gradient(180deg, rgba(255,253,249,.6), transparent); }
#crumbs a { color: var(--mure); }
#crumbs { color: var(--encre-60); }
#hero-lead { color: var(--encre-60); }

/* ------------------------------------------------------------------ shop / produits */
#cat-chip, #cat-chip-active {
  border-radius: 100px;
  padding: .5rem 1rem;
  font-weight: 700;
  border: 1.5px solid #E4CBAE;
  transition: all .2s;
}
#cat-chip { background: var(--ivoire); color: var(--mure); }
#cat-chip:hover { border-color: var(--mure); }
#cat-chip-active { background: var(--mure); color: #fff; border-color: var(--mure); }

#product-card {
  background: var(--ivoire);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
#product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
#product-thumb { background: var(--creme-2); color: var(--mure); font-size: 1.8rem; overflow: hidden; }
#product-thumb img { object-fit: cover; }
#product-badge { background: var(--miel); color: var(--mure-900); border-radius: 100px; font-weight: 700; }
#product-discount { background: var(--mure); color: #fff; border-radius: 100px; font-weight: 700; }
#product-brand { color: var(--encre-60); letter-spacing: 1px; font-weight: 700; }
#product-title { color: var(--mure-800); }
#product-price, #product-h1 { color: var(--mure); }
#product-old { color: var(--encre-60); }
#empty-shop { background: var(--ivoire); border-radius: var(--r-lg); box-shadow: var(--shadow-soft); position: relative; }
#empty-shop::before { content: ''; position: absolute; inset: 12px; border: 2px dashed #E4CBAE; border-radius: calc(var(--r-lg) - 10px); pointer-events: none; }
#empty-icon { font-size: 3.2rem; color: var(--miel); }
#product-figure { border-radius: 26px; overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow-lift); }
#product-promo { background: rgba(224,163,46,.14); border: 1px dashed var(--miel); border-radius: 14px; padding: .8rem 1rem; }
#product-reassure li { color: var(--encre-60); }
#product-reassure i { color: var(--sauge); }
#product-body { font-size: 1.03rem; }
#product-body h2, #product-body h3 { color: var(--mure); margin-top: 1.6rem; }
#product-body table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
#product-body th, #product-body td { border: 1px solid #EAD9C4; padding: .6rem .8rem; }
#product-body th { background: var(--creme-2); }

/* ------------------------------------------------------------------ services / honoraires */
#espece-badge {
  background: var(--ivoire);
  color: var(--mure-800);
  border: 1.5px solid #E4CBAE;
  border-radius: 100px;
  padding: .55rem 1.1rem;
  font-weight: 700;
  font-size: .98rem;
}
#espece-badge i { color: var(--miel-600); }
#honoraires-table { background: var(--ivoire); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-soft); }
#honoraires-table td { padding: 1rem 1.25rem; border-color: #F0E4D5; vertical-align: middle; }
#honoraires-table tr:nth-child(odd) td { background: rgba(244, 233, 220, .4); }
#honoraires-tarif { color: var(--mure); white-space: nowrap; font-family: 'Fredoka', sans-serif; }
#cta-band {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(224, 163, 46, .2), transparent 55%),
    linear-gradient(150deg, var(--mure), var(--mure-800));
  color: #fff;
}
#cta-band .btn-primary { background: var(--miel); border-color: var(--miel); color: var(--mure-900); }
#cta-icon { font-size: 2rem; color: var(--miel); }

/* ------------------------------------------------------------------ formulaires */
.form-label { font-weight: 700; color: var(--mure-800); font-size: .92rem; }
.form-control {
  background: var(--ivoire);
  border: 1.5px solid #E7D8C6;
  border-radius: 14px;
  padding: .7rem .95rem;
  box-shadow: inset 0 1px 2px rgba(51, 32, 46, .04);
}
.form-control:focus { border-color: var(--mure); box-shadow: 0 0 0 .25rem rgba(109, 59, 94, .18); }
#required-note { color: var(--encre-60); }
#map-frame { border-radius: 24px; overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow-lift); }

/* ------------------------------------------------------------------ seo block + section rythme */
#seo h2 { color: var(--mure-800); }
#seo p { color: var(--encre-60); }
section { position: relative; }
#espace, #horaires, #blog-home { background: linear-gradient(180deg, rgba(244, 233, 220, .35), transparent 40%); }

/* ------------------------------------------------------------------ footer */
#colophon {
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(224, 163, 46, .16), transparent 45%),
    linear-gradient(160deg, var(--mure-900), #24151F) !important;
  position: relative;
  border-radius: 40px 40px 0 0;
}
#colophon::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image: var(--paw);
  background-size: 90px;
  opacity: .045;
  border-radius: 40px 40px 0 0;
  pointer-events: none;
}
#colophon .container { position: relative; }
#footer-name { font-family: 'Fredoka', sans-serif; color: #fff; }
#footer-sub { color: var(--miel); font-weight: 700; }
#colophon .text-uppercase { color: var(--miel) !important; letter-spacing: 1px; }
#colophon a:hover { color: var(--miel) !important; }
#colophon hr { border-color: rgba(255, 255, 255, .14); }
#footer-liens, #footer-legal { color: rgba(255, 255, 255, .7); }
#copyright { color: rgba(255, 255, 255, .85); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 991px) {
  #colophon { border-radius: 28px 28px 0 0; }
  #commande-bigicon, #shop-bigicon { font-size: 6rem; }
}
@media (max-width: 575px) {
  #hero-figure { border-radius: 28px; }
  #team-avatar { width: 64px; height: 64px; font-size: 1.4rem; }
}

/* focus visibles (WCAG) */
a:focus-visible, .btn:focus-visible, .nav-link:focus-visible, .form-control:focus-visible, .accordion-button:focus-visible {
  outline: 3px solid var(--miel);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  #post-card:hover, #product-card:hover, #carnet-card:hover, #team-card:hover, .btn:hover { transform: none; }
}
