/* Accueil (28/10/2026) : bande défilante sous le hero, bande de soins à 3,5 cartes.
   Palette noir / blanc / gris, comme le reste du site (mono.css). */

/* ---------- Bas du hero en courbe + deux rubans courbes qui se croisent (29/10) ---------- */
body:not(#_).home .care-hero{clip-path:ellipse(120% 100% at 50% 0)}
.hero-ribbons{position:relative;z-index:3;height:clamp(150px,15vw,250px);margin-top:calc(clamp(150px,15vw,250px) * -.62);overflow:hidden;pointer-events:none}
.hero-ribbons-svg{position:absolute;left:50%;top:0;height:100%;width:max(100%,1100px);transform:translateX(-50%);overflow:visible}
.ribbon-band{fill:none;stroke-width:58;stroke-linecap:butt}
.ribbon--light .ribbon-band{stroke:#fff}
.ribbon--dark .ribbon-band{stroke:#111}
.ribbon-text{font:500 21px 'Poppins',Arial,sans-serif;letter-spacing:.01em;white-space:pre}
.ribbon--light .ribbon-text{fill:#111}
.ribbon--dark .ribbon-text{fill:#fff}
@media(max-width:700px){.hero-ribbons{height:150px;margin-top:-70px}.hero-ribbons-svg{width:1300px}.ribbon-text{font-size:24px}}

/* ---------- Hero : la carte de rendez-vous (avec jours/heures) tient dans le hero ---------- */
@media(min-width:1101px){
  body:not(#_).home .care-hero{max-height:none;min-height:880px}
  body:not(#_).home .care-booking{top:max(56px,7%)}
  body:not(#_).home .care-booking>p{margin-bottom:6px}
  body:not(#_).home .care-form{gap:12px 10px;margin-top:12px}
}

/* ---------- Hero : la doctoresse (v4) passe devant le lettrage ----------
   Masque = silhouette détourée de clinic-hero-doctor-v4 (rembg), posée avec la même
   taille et la même position que le fond : alignée quelle que soit la largeur. */
body:not(#_).home .care-portrait-mask{clip-path:none;background:inherit;
  -webkit-mask:url('../media/clinic-hero-doctor-v4-mask.webp') center center/cover no-repeat;
  mask:url('../media/clinic-hero-doctor-v4-mask.webp') center center/cover no-repeat}

/* ---------- La praticienne : deux photos superposées + parcours en accordéon ---------- */
.about-clinic{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(40px,6vw,96px);align-items:center}
.about-visual{position:relative;aspect-ratio:1/1.05;max-width:560px;width:100%;justify-self:center}
.about-photo{position:absolute;margin:0;border-radius:18px;overflow:hidden;box-shadow:0 30px 60px -30px rgba(0,0,0,.35)}
.about-photo img{display:block;width:100%;height:100%;object-fit:cover}
.about-photo--room{left:0;top:0;width:56%;height:62%}
.about-photo--doctor{right:0;bottom:0;width:62%;height:82%;background:linear-gradient(180deg,#ececec,#dcdcdc)}
.about-photo--doctor img{object-fit:contain;object-position:50% 100%}
.about-badge{position:absolute;left:4%;bottom:8%;z-index:2;display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e6e6e6;
  border-radius:16px;padding:12px 18px 12px 14px;color:#111;text-decoration:none;box-shadow:0 18px 40px -22px rgba(0,0,0,.45)}
.about-badge svg{width:28px;height:28px;flex:none}
.about-badge strong{display:block;font:600 18px/1.1 'Outfit',Arial,sans-serif}
.about-badge small{display:block;font-size:12px;color:#666}
.about-copy h2{font-size:clamp(30px,3.4vw,46px);line-height:1.08;letter-spacing:-.035em;margin:10px 0 18px}
.about-copy>p{color:#555;max-width:52ch}
.about-more{margin:8px 0 28px}
.about-points details{border-top:1px solid #e3e3e3}
.about-points details:last-child{border-bottom:1px solid #e3e3e3}
.about-points summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;
  padding:20px 0;font:500 18px/1.3 'Outfit',Arial,sans-serif;color:#111}
.about-points summary::-webkit-details-marker{display:none}
.about-points summary::after{content:'+';font:300 24px/1 'Poppins',Arial,sans-serif;color:#555;transition:transform .2s}
.about-points details[open] summary::after{content:'−'}
.about-points details p{margin:-6px 0 20px;color:#555;font-size:14px;max-width:56ch}
@media(max-width:900px){.about-clinic{grid-template-columns:1fr}.about-visual{max-width:440px}}
@media(prefers-reduced-motion:reduce){.about-points summary::after{transition:none}}

/* ---------- Les soins : bande horizontale, 3 cartes et demie ---------- */
body:not(#_).home #soins .cards{display:flex;gap:16px;overflow-x:auto;overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:6px 2px 14px}
body:not(#_).home #soins .cards::-webkit-scrollbar{display:none}
body:not(#_).home #soins .cards .card{flex:0 0 calc((100% - 3 * 16px) / 3.5);min-width:0;scroll-snap-align:start}
body:not(#_).home #soins .cards:focus-visible{outline:2px solid #111;outline-offset:4px}
body:not(#_).home #soins .service-controls button[disabled]{opacity:.35;cursor:default}
@media(max-width:1000px){body:not(#_).home #soins .cards .card{flex-basis:calc((100% - 16px) / 2.3)}}
@media(max-width:760px){body:not(#_).home #soins .cards .card{flex-basis:82%}}
@media(prefers-reduced-motion:reduce){body:not(#_).home #soins .cards{scroll-behavior:auto}}
/* Portrait réel (28/10) : photo avec fond, en cover */
.about-photo--doctor{background:#ddd}
.about-photo--doctor img{object-fit:cover;object-position:50% 20%}
/* Cartes soins : photos réelles (media/home-cards) en plein cadre */
body:not(#_) #cards .service-image[src*="/media/home-cards/"]{object-fit:cover;padding:0;background:#eee}

/* ---------- 29/10 : cartes soins (ombre par carte), fonds alternés, animations ---------- */
/* Cartes soins : la zone de défilement laisse de la place à l'ombre de chaque carte (plus de bande grise commune) */
body:not(#_).home #soins .cards{padding:12px 8px 34px;margin:-12px -8px -22px;background:none;box-shadow:none}
body:not(#_).home #soins .cards .card{box-shadow:0 14px 28px -20px rgba(0,0,0,.35);transition:transform .3s ease,box-shadow .3s ease}
body:not(#_).home #soins .cards .card:is(:hover,:focus-visible){transform:translateY(-6px);box-shadow:0 24px 38px -24px rgba(0,0,0,.45)}
body:not(#_).home #soins .cards .card .service-image{transition:transform .6s ease}
body:not(#_).home #soins .cards .card:hover .service-image{transform:scale(1.04)}

/* Fonds alternés : blanc / gris clair pleine largeur / sombre */
.home .bg-soft{position:relative;isolation:isolate}
.home .bg-soft::before{content:'';position:absolute;z-index:-1;top:0;bottom:0;left:calc(50% - 50vw);right:calc(50% - 50vw);background:#f4f4f4}
body:not(#_).home #tous-les-soins.section.pale{background:none;border-radius:0;margin:0}

body:not(#_).home #praticienne,body:not(#_).home #implants,body:not(#_).home #questions{background:none}
body:not(#_).home .dv-pain{background:#f4f4f4}


/* Apparition au défilement (classes posées par home.js ; sans JS, tout reste visible) */
.rv{opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1);transition-delay:var(--rv-delay,0s)}
.rv.is-in{opacity:1;transform:none}
.rv--left{transform:translateX(-30px)}
.rv--zoom{transform:scale(.96)}
@media(prefers-reduced-motion:reduce){.rv,.rv--left,.rv--zoom{opacity:1;transform:none;transition:none}
  body:not(#_).home #soins .cards .card,body:not(#_).home #tous-les-soins .family,body:not(#_).home #blog .post,body:not(#_).home #soins .cards .card .service-image{transition:none}}

/* Formulaire du hero : bouton WhatsApp sous l'envoi, messages d'état */
.care-wa-send{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;margin-top:2px;border:1px solid #d9d9d9;border-radius:999px;background:#fff;color:#111;font:500 14px 'Poppins',Arial,sans-serif;cursor:pointer;transition:background .2s,border-color .2s}
.care-wa-send svg{width:18px;height:18px;color:#25d366;fill:#25d366}
.care-wa-send:hover{background:#f4f4f4;border-color:#bfbfbf}
.care-form-status[data-state]{margin:0;padding:10px 12px;border-radius:10px;font-size:13px;line-height:1.4}
.care-form-status[data-state="success"]{background:#111;color:#fff}
.care-form-status[data-state="error"]{background:#f4f4f4;color:#111;border:1px solid #d9d9d9}
.care-form-status[data-state="busy"]{color:#555}

/* ---------- 29/10 (passe « moins IA ») : rails de cartes partagés, cartes claires, mobile 375 px ---------- */
/* Boutons ← → des rails, alignés à droite au-dessus de la bande */
.home .home-rail-controls{justify-content:flex-end;margin:-14px 0 18px}
.home .home-rail-controls .round[disabled]{opacity:.35;cursor:default}

/* Tous les soins : 10 spécialités en rail, 3,5 cartes visibles */
body:not(#_).home #all-soins-rail .family{flex:0 0 calc((100% - 3 * 16px) / 3.5);min-width:0;scroll-snap-align:start;min-height:250px;
  padding:26px 24px 24px;gap:10px;background:#fff;border:1px solid #ebebeb;border-radius:9px;box-shadow:var(--card-shadow);color:#111;
  transition:transform .22s ease,box-shadow .22s ease,background-color .22s ease}
body:not(#_).home #all-soins-rail .family svg{width:30px;height:30px;color:#111}
body:not(#_).home #all-soins-rail .family h3{font-size:18px;line-height:1.25}
body:not(#_).home #all-soins-rail .family p{font-size:13px;line-height:1.6;color:#5f5f5f;-webkit-line-clamp:3}
body:not(#_).home #all-soins-rail .family .pi-link{align-self:flex-start;margin-top:auto}
body:not(#_).home #all-soins-rail .family:is(:hover,:focus-visible){transform:translateY(-4px);background:#fff;box-shadow:var(--card-shadow-hover)}

/* Articles : rail, cartes blanches */
body:not(#_).home #blog-rail .post{flex:0 0 calc((100% - 3 * 16px) / 3.5);min-width:0;scroll-snap-align:start;gap:0;background:#fff;
  border:1px solid #ebebeb;border-radius:9px;box-shadow:var(--card-shadow);color:#111;transition:transform .22s ease,box-shadow .22s ease}
body:not(#_).home #blog-rail .post-art{height:190px;object-fit:cover}
body:not(#_).home #blog-rail .post-body{padding:20px 22px 22px;gap:8px}
body:not(#_).home #blog-rail .post h3{font-size:18px;line-height:1.3;margin:2px 0}
body:not(#_).home #blog-rail .post p{margin:0 0 12px;font-size:13px;line-height:1.6;color:#5f5f5f;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;flex:0 1 auto}
body:not(#_).home #blog-rail .post .pi-link{align-self:flex-start;margin-top:auto}
body:not(#_).home #blog-rail .post:is(:hover,:focus-visible){transform:translateY(-4px);box-shadow:var(--card-shadow-hover)}
body:not(#_).home #blog-rail .post .post-body{flex:1}

/* La flèche du bouton avance quand on survole toute la carte */
body:not(#_).home :is(#all-soins-rail .family,#blog-rail .post):is(:hover,:focus-visible) .pi-link>span{transform:translateX(2px)}


@media(max-width:1000px){
  body:not(#_).home :is(#all-soins-rail .family,#blog-rail .post){flex-basis:calc((100% - 16px) / 2.3)}
}
@media(max-width:760px){
  body:not(#_).home :is(#all-soins-rail .family,#blog-rail .post){flex-basis:82%}
  .home .home-rail-controls{margin:-8px 0 14px}
}
@media(prefers-reduced-motion:reduce){
  body:not(#_).home :is(#all-soins-rail .family,#blog-rail .post){transition:none}
  body:not(#_).home :is(#all-soins-rail .family,#blog-rail .post):hover{transform:none}
}

/* Une douleur ? : puces et bouton « Recommencer » à 44 px, étapes qui tiennent sur mobile */
.home .dv-chip{min-height:44px}
.home .dv-restart{min-height:44px}
@media(max-width:480px){
  .home .dv-stepper{font-size:11px;flex-wrap:wrap;row-gap:8px}
  .home .dv-stepper li+li:before{width:14px;margin:0 8px}
}

/* Hero mobile : la carte de rendez-vous n'est plus rognée par la courbe ni cachée par les rubans,
   champs à 16 px (pas de zoom iOS) */
@media(max-width:700px){
  body:not(#_).home .care-hero{clip-path:none;padding-bottom:104px}
  body:not(#_).home .care-field :is(input,select,button.booking-control){font-size:16px}
}

/* ---------- Téléphone : la doctoresse sort du titre en fondu, plus de bloc photo séparé (29/10) ---------- */
@media(max-width:700px){
  body:not(#_).home .care-hero{background:linear-gradient(180deg,#fff 0,#fff 200px,rgba(255,255,255,.88) 250px,rgba(255,255,255,0) 380px) no-repeat,
    url('../media/clinic-hero-doctor-v4.webp') 52% 232px/auto 590px no-repeat,#fff}
  body:not(#_).home .care-copy{position:relative;z-index:2;padding-bottom:500px}
}

/* Section de la doctoresse : titre professionnel sous le nom (29/10). */
body:not(#_) .about-copy .about-role{margin:-8px 0 14px;color:#111;font-weight:600;font-size:clamp(15px,1.2vw,17px);letter-spacing:-.01em}

/* Reception hero: supplied clinic photograph, November 2026. */
body:not(#_).home .care-hero--reception{background:#222;min-height:880px;height:calc(100svh - var(--topbar-h,86px));max-height:none}
.care-reception-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
body:not(#_).home .care-hero--reception::before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(0,0,0,.75),rgba(0,0,0,.48) 35%,rgba(0,0,0,.04) 65%,rgba(0,0,0,.12))}
body:not(#_).home .care-hero--reception .care-copy{top:12%;left:5%;width:40%;padding-bottom:0;color:#fff}
body:not(#_).home .care-hero--reception .care-copy h1 :is(em,.care-word){color:#fff;-webkit-text-fill-color:#fff}
body:not(#_).home .care-hero--reception .care-copy>p{color:#f1f1f1;max-width:540px;line-height:1.6;background:none}
body:not(#_).home .care-hero--reception .care-eyebrow{color:#fff}
body:not(#_).home .care-hero--reception .care-booking{background:#fff;right:4%;width:31%;top:6%;box-shadow:0 18px 55px #0003}
@media(max-width:1100px) and (min-width:701px){
 body:not(#_).home .care-hero--reception .care-copy{left:4%;width:45%}
 body:not(#_).home .care-hero--reception .care-booking{right:3%;width:40%;padding:24px}
}
@media(max-width:700px){
 body:not(#_).home .care-hero--reception{height:auto;min-height:0;background:#222;padding:0 20px 104px}
 .care-reception-photo{height:100%;object-position:45% top}
 body:not(#_).home .care-hero--reception::before{height:100%;background:linear-gradient(180deg,rgba(0,0,0,.64),rgba(0,0,0,.48) 45%,rgba(0,0,0,.22))}
 body:not(#_).home .care-hero--reception .care-copy{top:auto;left:auto;width:100%;padding:48px 0 36px;color:#fff}
 body:not(#_).home .care-hero--reception .care-copy h1 :is(em,.care-word){color:#fff;-webkit-text-fill-color:#fff}
 body:not(#_).home .care-hero--reception .care-copy>p{color:#f1f1f1}
 body:not(#_).home .care-hero--reception .care-eyebrow{color:#fff}
 body:not(#_).home .care-hero--reception .care-booking{top:auto;right:auto;width:100%;padding:24px 20px}
}

/* Implantology leads the homepage speciality rail. */
body:not(#_).home #all-soins-rail .family.family--featured,body:not(#_).home #all-soins-rail .family.family--featured:is(:hover,:focus-visible){background:#111;border-color:#111;color:#fff}
body:not(#_).home #all-soins-rail .family.family--featured :is(h3,p,svg){color:#fff;stroke:currentColor}
body:not(#_).home #all-soins-rail .family.family--featured .pi-link{background:#fff;color:#111;border-color:#fff}
body:not(#_).home #all-soins-rail .family.family--featured .pi-link>span{background:#111;color:#fff}

/* Centre the booking label independently of the right-hand arrow disc. */
body:not(#_).home .care-submit{position:relative;justify-content:center;text-align:center;padding-inline:56px}
body:not(#_).home .care-submit>span{position:absolute;right:8px;top:50%;transform:translateY(-50%);margin:0}

/* Keep the booking panel above the crossed ribbons, including success messages.
   Clip only the photograph/scrim, never the interactive form. */
body:not(#_).home .care-hero--reception{clip-path:none;overflow:visible;isolation:auto;background:transparent}
body:not(#_).home .care-hero--reception .care-reception-photo,
body:not(#_).home .care-hero--reception::before{clip-path:ellipse(120% 100% at 50% 0)}
body:not(#_).home .care-hero--reception .care-layout{z-index:4}
@media(max-width:700px){
 body:not(#_).home .care-hero--reception .care-reception-photo,
 body:not(#_).home .care-hero--reception::before{clip-path:none}
}

.care-eyebrow{margin:0 0 20px;font-weight:600}#care-title{font-family:Outfit,Arial,sans-serif;font-size:clamp(52px,5.2vw,100px);font-weight:600;line-height:1;letter-spacing:-.06em;margin:0 0 30px}#care-title em{font-style:normal}
@media(max-width:600px){#care-title{font-size:clamp(44px,11vw,64px)}}

body:not(#_).home .care-copy h1.care-eyebrow{font:500 12px/1.6 Poppins,Arial,sans-serif;letter-spacing:.22em;white-space:normal;margin:0 0 20px;max-width:100%}#care-title .care-word-slider{display:grid;overflow:hidden;vertical-align:bottom;line-height:1.1;padding:.04em 0;margin:-.04em 0}body:not(#_).home .care-hero--reception #care-title :is(em,.care-word){color:#fff;-webkit-text-fill-color:#fff}

/* Text article previews keep photographs exclusive to their article page. */
body:not(#_).home #blog-rail .post--text .post-body{min-height:280px;padding:24px 22px;justify-content:flex-start}

.about-credentials { margin: 22px 0; padding-inline-start: 1.2em; display: grid; gap: 9px; font-size: .95rem; line-height: 1.5; }
.about-credentials li::marker { color: var(--accent-ink, #111); }

.about-social-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.about-social-links a { width: 44px; height: 44px; }
.about-social-links svg { width: 20px; height: 20px; }

/* 05/11 : texte de la praticienne + bouton et réseaux sur la même ligne */
.about-credentials{margin:18px 0 20px}
.about-text{margin:0 0 14px;max-width:56ch;font-size:.95rem;line-height:1.6;color:#333}
.about-text strong{font-weight:600;color:#111}
.about-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:22px}
.about-actions .about-more{margin:0}
.about-actions .about-social-links{margin:0;flex-wrap:nowrap}

/* Visible experience highlight in the practitioner introduction. */
.about-experience{display:inline-flex;align-items:center;gap:16px;padding:14px 22px;margin:0 0 8px;border:1px solid #d7e7f2;border-radius:16px;background:linear-gradient(120deg,#f0f7fc,#fff);box-shadow:0 6px 20px #1525340b}
.about-experience>strong{font-size:clamp(44px,5vw,64px);font-weight:600;line-height:1;letter-spacing:-.055em;color:#111}
.about-experience>strong span{color:#3487bb}
.about-experience>span{font-size:16px;font-weight:500;line-height:1.3;color:#263e4f}

/* Consistent section rhythm; hero and the scroll-driven tooth scene keep their own geometry. */
body:not(#_).home #main{--home-section-space:clamp(48px,5vw,72px)}
body:not(#_).home #main>.section{padding-block:var(--home-section-space)}
body:not(#_).home #main .section-head{display:block;margin-bottom:clamp(26px,3vw,38px)}
body:not(#_).home #main .section-head h2{margin:0;max-width:720px}
body:not(#_).home #main .section-head>p{margin:14px 0 0;max-width:58ch;font-size:14px;line-height:1.65}
body:not(#_).home #main>.section>.eyebrow,
body:not(#_).home #main>.section>.wrap>.eyebrow{display:block;margin:0 0 12px}
/* The FAQ's right column must not stretch the eyebrow row away from its title. */
body:not(#_).home #questions{grid-template-rows:min-content 1fr;align-items:start;row-gap:12px}
body:not(#_).home #questions>.eyebrow{grid-column:1;grid-row:1;margin:0}
body:not(#_).home #questions .section-head{grid-column:1;grid-row:2;margin:0;align-self:start}
body:not(#_).home #questions .section-head>p{margin-top:14px}
body:not(#_).home #questions .faq{grid-column:2;grid-row:1 / span 2;margin:0}
body:not(#_).home #blog .home-rail-controls{margin:0 0 18px}
@media(max-width:700px){
 body:not(#_).home #main{--home-section-space:44px}
 body:not(#_).home #questions{display:block}
 body:not(#_).home #questions>.eyebrow{margin-bottom:12px}
 body:not(#_).home #questions .faq{margin-top:26px}
 body:not(#_).home #main .section-head>p{font-size:14px;max-width:none}
}

body:not(#_).home #questions .section-head h2{margin-top:0}

/* Keep experience beside the Google rating, outside the practitioner biography. */
.about-proof{position:absolute;left:4%;right:4%;bottom:8%;z-index:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
.about-proof .about-badge{position:static;min-width:0;padding:12px;gap:9px}
.about-proof .about-experience{margin:0;min-width:0;padding:10px 14px;gap:10px}
.about-proof .about-experience>strong{font-size:44px}
.about-proof .about-experience>span{font-size:13px}
@media(max-width:500px){.about-proof{gap:7px;left:0;right:0;bottom:5%}.about-proof .about-badge{padding:9px;gap:7px}.about-proof .about-badge svg{width:22px;height:22px}.about-proof .about-badge strong{font-size:16px}.about-proof .about-badge small{font-size:10px}.about-proof .about-experience{padding:9px;gap:8px}.about-proof .about-experience>strong{font-size:34px}.about-proof .about-experience>span{font-size:11px}}

.about-proof .about-experience{background:#fff;border-color:#e3e3e3}.about-proof .about-experience>strong,.about-proof .about-experience>strong span,.about-proof .about-experience>span{color:#111}

/* Keep the cabinet CTA and social icons together without the larger footer icon sizing. */
body:not(#_).home .about-actions{gap:10px;align-items:center}
body:not(#_).home .about-actions .about-more{flex:0 0 auto;white-space:nowrap;font-size:13px;padding-left:14px}
body:not(#_).home .about-actions .about-social-links{flex:0 0 auto;gap:5px}
body:not(#_).home .about-actions .about-social-links a{width:44px;height:44px;flex:0 0 44px}
body:not(#_).home .about-actions .about-social-links svg{width:20px;height:20px}

