/* Final theme, loaded after the original desktop and mobile styles. */
:root { --night:#111d43; --cyan:#83eff8; --pink:#ed4cdb; }
body, body.home-landing, body.contact-landing {
  background: #111d43;
  color: #fff;
  isolation: isolate;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #111d43 url('../images/background/clinic-desktop.webp') center center / cover no-repeat;
}
@media (max-width: 768px), (orientation: portrait) {
  body::before {
    background-image: url('../images/background/clinic-mobile.webp');
  }
}
body.home-landing .site-home-logo { position:absolute; top:clamp(12px,3vw,35px); left:clamp(12px,5vw,70px); width:clamp(140px,18vw,230px); max-width:35vw; filter:none; }
.home-landing .home-page { box-sizing:border-box; width:100%; max-width:1120px; min-height:100svh; padding:clamp(150px,19vw,255px) 20px 100px; }
.home-landing .home-intro-card { display:block; width:min(100%, 690px); max-width:none; margin:0 auto; padding:clamp(24px,4.5vw,49px); border:1px solid #7980b9; border-radius:30px; background:linear-gradient(145deg,rgba(15,29,67,.91),rgba(37,47,100,.82)); box-shadow:0 12px 45px #0b143c55,inset 0 0 32px #819cf011; backdrop-filter:blur(8px); }
.home-intro-card::before,.contact-card::before,.rayons-section::before { display:none; }
.home-intro-content { width:100%; }
.home-intro-eyebrow { display:flex; align-items:center; justify-content:center; gap:15px; margin:0 0 22px; color:var(--cyan); font-size:clamp(10px,1.5vw,16px); letter-spacing:.16em; text-align:center; }
.home-intro-eyebrow::before,.home-intro-eyebrow::after { content:''; height:1px; background:var(--pink); flex:1; min-width:12px; }
.home-intro-eyebrow span { color:inherit; padding:0; }
.home-intro-content h1 { font-family:Georgia,'Times New Roman',serif; font-size:clamp(29px,5vw,55px); line-height:1.04; letter-spacing:-.035em; text-align:left; margin:0 0 18px; text-shadow:0 2px 5px #0a153b55; }
.home-intro-content h1::after { content:''; display:block; width:86px; height:3px; margin-top:18px; background:var(--pink); }
.home-intro-content > p:not(.home-intro-eyebrow) { font-size:clamp(17px,2.4vw,25px); line-height:1.3; margin:0; color:#f0f0fc; }
.home-contact-cta { width:auto; max-width:100%; box-sizing:border-box; justify-content:center; gap:14px; padding:14px 28px; margin-top:28px; border-radius:999px; border:1px solid #f375ee; background:linear-gradient(110deg,#c22ab9,#9613b5); box-shadow:0 0 22px #ed29da55,inset 0 0 14px #fa95ff55; font-size:clamp(16px,2.4vw,25px); }
.home-contact-cta:hover { background:linear-gradient(110deg,#dd40cb,#ac28c6); }
.home-direct-contact { display:grid; grid-template-columns:1fr 1.2fr; align-items:center; gap:16px; margin-top:30px; padding:0; border:0; }
.home-direct-contact .home-appointment-label { display:none; }
.home-direct-phone,.home-direct-address { display:flex; align-items:center; gap:12px; font-size:clamp(14px,1.9vw,20px); line-height:1.25; }
.home-direct-address { padding-left:16px; border-left:1px solid #9eabd6; font-weight:400; }
.design-icon { width:32px; height:32px; flex:0 0 32px; color:var(--cyan); }
.home-landing .home-menu-list { width:min(100%,690px); max-width:none; margin:clamp(48px,9vw,110px) auto 0; padding:0; gap:16px; }
.home-landing .home-menu-list .header-menu-button,.home-landing .home-menu-list .home-services-menu .header-menu-button { box-sizing:border-box; width:100%; min-height:82px; padding:17px clamp(20px,4vw,42px); gap:25px; justify-content:flex-start; background:linear-gradient(120deg,rgba(31,45,86,.91),rgba(39,35,79,.91)); border:1px solid #8480b8; border-radius:18px; box-shadow:inset 0 1px 0 #b9c9ff19; font: bold clamp(24px,3.4vw,36px)/1.15 Georgia,'Times New Roman',serif; letter-spacing:0; text-align:left; }
.home-menu-list .menu-title { flex:1; }
.home-landing .home-menu-list .header-menu-button .header-menu-chevron { color:var(--pink); width:12px; height:12px; flex:0 0 12px; border-width:3px; }
.home-landing .home-menu-list .header-menu-panel,.header-menu-panel { background:linear-gradient(135deg,#18274f,#292348); border-color:#8583b5; }
.home-menu-list .header-menu-button:hover,.home-menu-list .header-menu-button[aria-expanded=true] { border-color:var(--cyan); }
.contact-card,.rayons-section { background:linear-gradient(145deg,rgba(15,29,67,.96),rgba(39,43,86,.94)); border-color:#8583b5; }
.contact-card h1,.rayons-hero h1,.rayons-section h2 { font-family:Georgia,'Times New Roman',serif; }
.contact-eyebrow,.rayons-eyebrow,.rayons-kicker,.header-menu-symbol { color:var(--cyan); }
.contact-submit { margin:0; font-size:18px; }
@media(max-width:768px){
 .home-landing .home-page {padding:clamp(125px,23vw,180px) 18px 65px;}
 .home-landing .home-intro-card {border-radius:23px;padding:25px 22px;}
 .home-intro-eyebrow {gap:7px;letter-spacing:.09em;margin-bottom:18px;}
 .home-intro-content h1 {font-size:clamp(29px,6.8vw,45px);}
 .home-landing .home-menu-list {margin-top:48px;gap:12px;}
 .home-landing .home-menu-list .header-menu-button,.home-landing .home-menu-list .home-services-menu .header-menu-button {min-height:64px;padding:14px 20px;gap:17px;}
 .design-icon {width:27px;height:27px;flex-basis:27px;}
}
@media(max-width:480px){
 .home-direct-contact {grid-template-columns:1fr;gap:13px;margin-top:23px;}
 .home-direct-address {padding-left:0;border-left:0;}
 .home-contact-cta {padding:13px 19px;margin-top:22px;}
 .home-intro-eyebrow {font-size:9px;}
 .home-landing .home-intro-card {padding:22px 18px;}
 .contact-submit {margin-top:0;width:100%;}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;}}

/* Miniature de prestation : affichage desktop sans recadrage. */
@media (min-width:769px) {
  .home-landing .home-services-menu .header-menu-link img.home-service-thumb {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    object-fit: contain;
    image-rendering: auto;
    box-sizing: border-box;
  }
}


/* ===== BIO : quatrième menu de l’accueil ===== */
.bio-menu-panel {
  padding: 16px;
}
.bio-gallery {
  display: grid;
  grid-template-columns: 1fr 1.3fr 0.9fr;
  gap: 12px;
  margin-bottom: 18px;
}
.bio-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(141,182,242,.45);
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.bio-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bio-photo-portrait img { aspect-ratio: 4 / 5; }
.bio-photo-conference img { aspect-ratio: 16 / 10; }
.bio-photo-workbench img { aspect-ratio: 4 / 5; }
.bio-copy {
  color: #eef2ff;
}
.bio-copy p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.65;
}
.bio-copy p:last-child {
  margin-bottom: 0;
}
.bio-copy .bio-lead {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 700;
}
@media (max-width: 768px) {
  .bio-menu-panel { padding: 13px; }
  .bio-gallery {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 14px;
  }
  .bio-photo-conference img { aspect-ratio: 16 / 10; }
  .bio-photo-portrait img,
  .bio-photo-workbench img { aspect-ratio: 4 / 4.8; }
  .bio-copy p { font-size: 14px; line-height: 1.6; }
  .bio-copy .bio-lead { font-size: 15px; }
}
