:root{
  --wine:#731d32;
  --wine-dark:#4e1222;
  --gold:#bd9452;
  --cream:#f8f2e8;
  --paper:#fffdf9;
  --ink:#261d1f;
  --muted:#6b5e60;
  --line:#e6d9c8;
  --shadow:0 18px 50px rgba(78,18,34,.10);
  --bordeaux:var(--wine);
  --bordeaux-clair:var(--wine);
  --dore:var(--gold);
  --dore-clair:var(--gold);
  --or:var(--gold);
  --blanc-casse:var(--paper);
  --gris-clair:var(--cream);
  --gris-texte:var(--ink);
  --gris-bordure:var(--line);
  --ombre:var(--shadow);
  --ombre-forte:var(--shadow);
  --radius:8px;
  --sand:var(--cream);
  --sea:var(--wine);
  --orange:var(--gold);
  --green:var(--wine);
  --pink:var(--gold);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;overflow-x:clip;color:var(--ink);background:var(--paper);font-family:"Manrope",Arial,sans-serif;font-size:16px;line-height:1.65}
a{color:var(--wine);text-underline-offset:3px}
h1,h2,h3,.nom,.marque,.signature{font-family:"Lora",Georgia,serif;line-height:1.15}
h1{font-weight:600;letter-spacing:-.025em}
h2,h3{color:var(--wine)}
main{width:min(1180px,calc(100% - 40px));max-width:none;margin-inline:auto;padding:0 0 76px}

/* Marque */
.brand{display:flex;align-items:center;gap:12px;margin:0}
.brand img{width:76px;height:76px;object-fit:contain;flex:0 0 auto}
.brand-name,.marque{margin:0;color:var(--wine)!important;font-family:"Lora",Georgia,serif!important;font-size:1.08rem!important;font-weight:700!important;letter-spacing:0!important;text-transform:none!important;white-space:nowrap}

/* Navigation : même ordre et même rendu sur RDV / Médailles / Cosmétiques */
.site-nav,.ecosystem-nav{display:flex;align-items:center;gap:16px}
.site-nav a,.ecosystem-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 5px;border:0;border-radius:0;color:var(--wine);background:transparent;font-family:"Manrope",Arial,sans-serif;font-size:.84rem;font-weight:800;line-height:1;text-decoration:none;white-space:nowrap}
.site-nav a:hover,.ecosystem-nav a:hover{color:var(--wine-dark)}
.site-nav a[href="https://dynastiedorkhan.chiens-de-france.com/cavalier-king-charles"],.ecosystem-nav a[href="https://dynastiedorkhan.chiens-de-france.com/cavalier-king-charles"]{order:1}
.site-nav a[href="/suivi-sante-ckc/"],.ecosystem-nav a[href="/suivi-sante-ckc/"]{order:2}
.site-nav a[href="/documents-elevage/"],.ecosystem-nav a[href="/documents-elevage/"]{order:3}
.site-nav a[href="/"],.ecosystem-nav a[href="/"]{order:4}
.site-nav a[href^="mailto:"],.ecosystem-nav a[href^="mailto:"]{order:5}
.site-nav a[href="/demande-de-rdv/"],.ecosystem-nav a[href="/demande-de-rdv/"]{order:6}
.site-nav a.active:not([href="/demande-de-rdv/"]){color:var(--wine);background:transparent;box-shadow:inset 0 -2px 0 var(--gold)}

/* CTA Rendez-vous : taille verrouillée à l'identique */
body:not(:has(> .ecosystem-nav)) main>.site-nav:first-of-type a[href="/demande-de-rdv/"],body:has(> .ecosystem-nav)>.ecosystem-nav a[href="/demande-de-rdv/"]{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;height:48px!important;min-height:48px!important;max-height:48px!important;margin-left:6px!important;padding:0 18px!important;border:1px solid var(--wine)!important;border-radius:999px!important;color:#fff!important;background:var(--wine)!important;font-family:"Manrope",Arial,sans-serif!important;font-size:.84rem!important;font-weight:800!important;line-height:1!important;white-space:nowrap!important;align-self:center!important;flex:0 0 auto!important}
body:not(:has(> .ecosystem-nav)) main>.site-nav:first-of-type a[href="/demande-de-rdv/"]:hover,body:has(> .ecosystem-nav)>.ecosystem-nav a[href="/demande-de-rdv/"]:hover{background:var(--wine-dark)!important}

/* Header desktop : 112 px exactement partout */
@media(min-width:701px){
  body:not(:has(> .ecosystem-nav)) main>.brand{display:inline-flex;height:112px;margin:0 26px 0 0;vertical-align:top}
  body:not(:has(> .ecosystem-nav)) main>.site-nav:first-of-type{display:inline-flex;align-items:center;height:112px;max-width:calc(100% - 360px);margin:0;vertical-align:top;flex-wrap:nowrap}
  body:not(:has(> .ecosystem-nav)) main>.site-nav:nth-of-type(2){display:none}

  body:has(> .ecosystem-nav)>.ecosystem-nav{position:relative!important;top:auto!important;z-index:20;display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%;height:112px!important;min-height:112px!important;max-height:112px!important;margin:0!important;padding:0 max(20px,calc(50% - 590px))!important;gap:16px!important;border-bottom:1px solid var(--line);background:rgba(255,253,249,.98)!important;box-shadow:none!important;backdrop-filter:blur(12px);overflow:visible!important}
  body:has(> .ecosystem-nav)>.ecosystem-nav a:first-child{margin-left:clamp(330px,30vw,430px)}
  body:has(> .ecosystem-nav)>header{position:static!important}
  body:has(> .ecosystem-nav)>header .site-logo{position:absolute!important;top:18px!important;left:max(20px,calc(50% - 590px))!important;z-index:31!important;width:76px!important;height:76px!important;margin:0!important;object-fit:contain!important}
  body:has(> .ecosystem-nav)>header .marque{position:absolute!important;top:43px!important;left:max(108px,calc(50% - 502px))!important;z-index:31!important;margin:0!important;color:var(--wine)!important}
}

/* Bannière : mêmes largeur, hauteur, cadrage et voile */
.hero,body>header{color:var(--ink)!important;background-color:var(--cream)!important;background-image:linear-gradient(90deg,rgba(255,253,249,.42),rgba(255,253,249,.20) 56%,rgba(255,253,249,.02)),url("/assets/banniere-dynastie-orkhan.webp")!important;background-repeat:no-repeat!important;background-position:center 58%!important;background-size:cover!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.hero h1,body>header h1{color:var(--ink)!important;font-family:"Lora",Georgia,serif!important;line-height:1.15!important}
.hero p,.sous-titre{color:var(--ink)!important}
.eyebrow{color:var(--wine)!important;font-weight:900!important;letter-spacing:.13em!important;text-transform:uppercase!important}
body>header .sous-titre{opacity:1!important}

@media(min-width:701px){
  .hero,body>header{width:100vw!important;height:438px!important;min-height:438px!important;max-height:438px!important;overflow:hidden!important}
  body:not(:has(> .ecosystem-nav)) main>.hero{clear:both;margin-left:calc(50% - 50vw)!important;padding:42px max(20px,calc(50vw - 590px))!important}
  body>header{display:flex!important;flex-direction:column!important;justify-content:center!important;padding:58px max(20px,calc(50% - 590px)) 42px!important}
  body:not(:has(> .ecosystem-nav)) main>.hero>img{width:auto!important;max-width:min(48%,720px)!important;max-height:330px!important;margin:0!important;object-fit:contain!important;justify-self:end!important;align-self:center!important}
}

/* Finition commune sans toucher aux fonctions métier */
.carte,.step,.price-card,.card,form,.product-card,.media-card,.cart-panel,.pack,.choice,.calendrier-dates,.message-important,.regles{border-color:var(--line)!important;border-radius:6px!important;box-shadow:0 10px 34px rgba(78,18,34,.06)!important}
.carte h2,.section-title,.price-card h2,.pack h2,.cart-head h2,.step strong,.product-card h3,.category,.amount,.pack-price,.status{color:var(--wine)!important}
.notice,.message-important,.regles,.rappel-creneau{border-left-color:var(--gold)!important}
button,.bouton-envoi{font-family:"Manrope",Arial,sans-serif}
input,select,textarea,.toolbar input,.toolbar select,.customer input,.customer textarea{font-family:"Manrope",Arial,sans-serif}

.site-footer,body>footer{margin-top:48px;padding:38px max(20px,calc(50% - 590px));border:0;color:#f7ede7;background:var(--wine-dark);text-align:left}
.site-footer strong,body>footer .nom{color:#fff;font-family:"Lora",Georgia,serif;font-size:1.2rem}
.site-footer p,body>footer p{color:#d8c3c7}
.site-footer a,body>footer a{color:#fff}

.facebook-fab{position:fixed;right:24px;bottom:24px;z-index:30;display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--gold);border-radius:50%;color:#fff;background:var(--wine);box-shadow:0 8px 22px rgba(78,18,34,.24);transition:transform .2s,background .2s}
.facebook-fab:hover{color:#fff;background:var(--wine-dark);transform:translateY(-2px)}
.facebook-fab svg{display:block;width:21px;height:21px;fill:currentColor}

/* Mobile */
@media(max-width:700px){
  main{width:calc(100% - 28px);max-width:1180px;padding:14px 0 56px}
  .brand{min-width:0;margin-bottom:12px}
  .brand img{width:60px;height:60px}
  .brand-name{min-width:0;overflow-wrap:anywhere;white-space:normal!important}
  .site-nav,.ecosystem-nav{gap:8px;max-width:100%;flex-wrap:wrap}
  .site-nav a,.ecosystem-nav a{flex:0 1 auto;max-width:100%;min-height:40px;padding:7px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:.78rem;white-space:normal}
  .site-nav a.active:not([href="/demande-de-rdv/"]){border-color:var(--wine);color:#fff;background:var(--wine);box-shadow:none}
  body:not(:has(> .ecosystem-nav)) main>.site-nav:nth-of-type(2){display:flex;margin-top:10px}
  body:not(:has(> .ecosystem-nav)) main>.site-nav:first-of-type a[href="/demande-de-rdv/"],body:has(> .ecosystem-nav)>.ecosystem-nav a[href="/demande-de-rdv/"]{height:42px!important;min-height:42px!important;max-height:42px!important;margin-left:0!important;padding:0 14px!important;font-size:.78rem!important}
  body:has(> .ecosystem-nav)>.ecosystem-nav{position:relative!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;min-height:118px!important;padding:74px 14px 12px!important;gap:8px!important;border-bottom:1px solid var(--line);background:rgba(255,253,249,.98)!important}
  body:has(> .ecosystem-nav)>header{position:static!important}
  body:has(> .ecosystem-nav)>header .site-logo{position:absolute!important;top:10px!important;left:14px!important;z-index:31!important;width:60px!important;height:60px!important;margin:0!important}
  body:has(> .ecosystem-nav)>header .marque{position:absolute!important;top:29px!important;left:86px!important;right:14px!important;z-index:31!important;margin:0!important;color:var(--wine)!important;font-size:.98rem!important;white-space:normal!important}
  .hero,body>header{width:100vw!important;min-height:560px!important;margin-left:calc(50% - 50vw)!important;padding:185px 22px 36px!important;background-image:linear-gradient(to bottom,rgba(255,253,249,.04),rgba(255,253,249,.16) 145px,rgba(255,253,249,.70) 270px,rgba(255,253,249,.92) 100%),url("/assets/banniere-dynastie-orkhan.webp")!important;background-position:center top!important;background-size:cover!important;overflow:hidden!important}
  body:has(> .ecosystem-nav)>header{margin-left:0!important}
  body:not(:has(> .ecosystem-nav)) main>.hero>img{width:100%!important;max-width:100%!important;max-height:230px!important;margin-top:18px!important;object-fit:contain!important}
  .hero,.carte,form,.cart-panel,.pack,.media-card,.product-card,.choice,.calendrier-dates,.message-important,.regles{min-width:0;max-width:100%}
  img,video,iframe{max-width:100%}
  .facebook-fab{right:16px;bottom:16px;width:46px;height:46px}
  .site-footer,body>footer{padding:32px 20px 88px;overflow-wrap:anywhere}
}

/* Dernier ajustement visuel : même cadrage RDV et retrait du visuel saisonnier Artero */
body:not(:has(> .ecosystem-nav)) main>.hero>img[src="/cosmetiques/assets/routine-ete-artero.png"]{display:none!important}
body:not(:has(> .ecosystem-nav)) main>.hero:has(>img[src="/cosmetiques/assets/routine-ete-artero.png"]){grid-template-columns:1fr!important}
@media(min-width:701px){body:has(> .ecosystem-nav)>header{margin-left:calc(50% - 50vw)!important}}

/* Bloc de marque unifié : même rendu que le portail principal, entièrement cliquable */
body:not(:has(> .ecosystem-nav)) main>.brand{display:none!important}
body:has(> .ecosystem-nav)>header .site-logo,body:has(> .ecosystem-nav)>header .marque{display:none!important}
body:not(:has(> .ecosystem-nav)) main>.site-nav:first-of-type>a[href="https://www.dynastiedorkhan.com/"],
body:has(> .ecosystem-nav)>.ecosystem-nav>a[href="https://www.dynastiedorkhan.com/"]{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  width:330px!important;
  min-width:330px!important;
  height:112px!important;
  min-height:112px!important;
  margin:0 26px 0 0!important;
  padding:0 0 0 88px!important;
  border:0!important;
  border-radius:0!important;
  color:var(--ink)!important;
  background-color:transparent!important;
  background-image:url("/medailles-gravees/assets/logo-dynastie-orkhan.png")!important;
  background-repeat:no-repeat!important;
  background-position:left center!important;
  background-size:76px 76px!important;
  box-shadow:none!important;
  font-size:0!important;
  line-height:1.2!important;
  text-decoration:none!important;
  white-space:normal!important;
  flex:0 0 330px!important;
}
body:not(:has(> .ecosystem-nav)) main>.site-nav:first-of-type>a[href="https://www.dynastiedorkhan.com/"]::before,
body:has(> .ecosystem-nav)>.ecosystem-nav>a[href="https://www.dynastiedorkhan.com/"]::before{
  content:"Dynastie d’Orkhan";
  display:block;
  color:var(--ink);
  font-family:"Lora",Georgia,serif;
  font-size:1.08rem;
  font-weight:700;
  line-height:1.15;
}
body:not(:has(> .ecosystem-nav)) main>.site-nav:first-of-type>a[href="https://www.dynastiedorkhan.com/"]::after,
body:has(> .ecosystem-nav)>.ecosystem-nav>a[href="https://www.dynastiedorkhan.com/"]::after{
  content:"CAVALIER KING CHARLES & BULLMASTIFF";
  display:block;
  margin-top:5px;
  color:var(--muted);
  font-family:"Manrope",Arial,sans-serif;
  font-size:.68rem;
  font-weight:400;
  letter-spacing:.04em;
  line-height:1.25;
  text-transform:uppercase;
  white-space:nowrap;
}
@media(min-width:701px){
  body:not(:has(> .ecosystem-nav)) main>.site-nav:first-of-type{display:flex!important;width:100%!important;max-width:none!important;margin:0!important}
  body:has(> .ecosystem-nav)>.ecosystem-nav>a[href="https://www.dynastiedorkhan.com/"]{margin-left:0!important}
}
@media(max-width:700px){
  body:not(:has(> .ecosystem-nav)) main>.site-nav:first-of-type,
  body:has(> .ecosystem-nav)>.ecosystem-nav{padding-top:0!important}
  body:not(:has(> .ecosystem-nav)) main>.site-nav:first-of-type>a[href="https://www.dynastiedorkhan.com/"],
  body:has(> .ecosystem-nav)>.ecosystem-nav>a[href="https://www.dynastiedorkhan.com/"]{
    width:100%!important;
    min-width:100%!important;
    height:76px!important;
    min-height:76px!important;
    margin:0!important;
    padding:0 0 0 72px!important;
    background-size:60px 60px!important;
    flex:0 0 100%!important;
  }
  body:not(:has(> .ecosystem-nav)) main>.site-nav:first-of-type>a[href="https://www.dynastiedorkhan.com/"]::after,
  body:has(> .ecosystem-nav)>.ecosystem-nav>a[href="https://www.dynastiedorkhan.com/"]::after{display:none}
  body:has(> .ecosystem-nav)>.ecosystem-nav{min-height:0!important;padding:0 14px 12px!important}
}

/* Libellé du CTA unifié avec le portail principal */
body:not(:has(> .ecosystem-nav)) main>.site-nav:first-of-type a[href="/demande-de-rdv/"],
body:has(> .ecosystem-nav)>.ecosystem-nav a[href="/demande-de-rdv/"]{font-size:0!important}
body:not(:has(> .ecosystem-nav)) main>.site-nav:first-of-type a[href="/demande-de-rdv/"]::after,
body:has(> .ecosystem-nav)>.ecosystem-nav a[href="/demande-de-rdv/"]::after{content:"Prendre rendez-vous";font-size:.84rem;font-weight:800;line-height:1}
@media(max-width:700px){
  body:not(:has(> .ecosystem-nav)) main>.site-nav:first-of-type a[href="/demande-de-rdv/"]::after,
  body:has(> .ecosystem-nav)>.ecosystem-nav a[href="/demande-de-rdv/"]::after{font-size:.78rem}
}

@media print{.facebook-fab{display:none!important}}
