/* Deep Beauty — Pages de machines, accessoires, traitements. */
/* ---------- Hero des pages machines ---------- */
.surtitre { margin-bottom: 14px; text-align: center; font-family: var(--police-titre); font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; }
.chapo { max-width: 760px; margin: 0 auto 36px; text-align: center; font-family: var(--police-titre); font-weight: 300; font-size: 17px; line-height: 1.7; }
.sous-titre { margin-bottom: 20px; font-weight: 500; color: var(--encre); }
.hero-elite { position: relative; display: grid; align-content: center; justify-items: center; min-height: 100svh; padding: 150px 20px 0; overflow: hidden; background: #000040; color: #fff; text-align: center; }
.hero-elite-fond { position: absolute; inset: 0; background: center 60% / cover no-repeat; animation: respire 14s ease-in-out infinite; }
.hero-elite-texte, .hero-elite-appareil { position: relative; z-index: 1; }
.hero-elite-texte { max-width: 820px; }
.hero-elite h1 { font-family: var(--police-titre); font-weight: 500; font-size: clamp(44px, 7vw, 88px); line-height: 1.05; }
.hero-elite-accroche { margin: 14px 0 18px; font-family: var(--police-titre); font-weight: 600; font-size: 22px; }
.hero-elite-paragraphe { margin-bottom: 28px; font-family: var(--police-titre); font-weight: 300; font-size: 16px; line-height: 1.7; }
.hero-elite-appareil { width: min(640px, 86vw); height: auto; margin-top: 30px; }
.sr7-cadre { position: relative; background: #000; }
.sr7-avant-apres { margin-top: calc(var(--recouvrement) * -1); }
.liste-coches { display: grid; gap: 14px; max-width: 640px; margin: 34px auto 0; }
.liste-coches li { display: flex; gap: 12px; align-items: flex-start; font-family: var(--police-titre); font-weight: 400; font-size: 16px; }
.liste-coches .icone { width: 20px; height: 20px; margin-top: 2px; color: #fff; }
.accessoires { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: var(--largeur-texte); margin: 0 auto; }
.accessoire { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; overflow: hidden; padding-bottom: 24px; border: 1px solid var(--bordure-carte); border-radius: var(--rayon-carte); background: #fff; }
.accessoire img { width: 100%; height: 220px; object-fit: cover; }
.accessoire h3 { padding: 0 22px; font-family: var(--police-titre); font-weight: 600; font-size: 20px; color: var(--encre); }
.accessoire p { flex: 1; padding: 0 22px; font-family: var(--police-titre); font-weight: 300; font-size: 15px; line-height: 1.65; color: var(--texte); }
.accessoire .bouton { margin: 0 22px; }
.mention-legale { max-width: 860px; margin: 28px auto 0; text-align: center; font-family: var(--police-titre); font-weight: 300; font-size: 13px; line-height: 1.6; color: var(--texte-faq); }
@media (max-width: 1100px) { .accessoires { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .accessoires { grid-template-columns: 1fr; } .hero-elite { padding-top: 120px; } }

/* ---------- Variante sombre et listes ---------- */
.bloc-spirale-noire { background: var(--fond-sombre); }
.bloc-spirale-noire.fonds-charges > .couche-spirale { background-image: var(--points-clairs), var(--points-clairs); }
.bloc-spirale-noire > .couche-halo { background: radial-gradient(circle 260px at 70% 30%, rgba(255, 255, 255, 0.12), transparent 70%); }
.sous-liste { max-width: var(--largeur-texte); margin: 28px auto 14px; font-family: var(--police-titre); font-weight: 500; font-size: 20px; color: var(--encre); }
.puces { display: flex; flex-wrap: wrap; gap: 10px; max-width: var(--largeur-texte); margin: 0 auto; }
.puces li { padding: 9px 18px; border-radius: 50px; background: var(--encre); font-family: var(--police-titre); font-weight: 400; font-size: 14px; color: #fff; }
.accessoires-4 { grid-template-columns: repeat(4, 1fr); }
.accessoire-contenu img { object-fit: contain; height: 150px; padding: 18px 18px 0; }
.img-contenue { object-fit: contain; padding: 20px; background: #fff; }
.resultats { display: grid; gap: 28px; max-width: var(--largeur-texte); margin: 0 auto; }
.resultat { overflow: hidden; border: 1px solid var(--bordure-carte); border-radius: var(--rayon-carte); background: #fff; }
.resultat-images { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #fff; }
.resultat-images img { width: 100%; height: 380px; object-fit: cover; }
.resultat figcaption { padding: 18px 22px; font-family: var(--police-titre); font-weight: 400; font-size: 15px; line-height: 1.6; color: var(--texte); }
@media (max-width: 1100px) { .accessoires-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .accessoires-4 { grid-template-columns: 1fr; } .resultat-images img { height: 240px; } }

/* ---------- Page ONA ---------- */
.hero-ona { min-height: 88svh; padding-bottom: 80px; }
.hero-ona .hero-elite-fond { animation: none; }
.hero-ona-video { width: 100%; height: 100%; object-fit: cover; }
.hero-ona-voile { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.65)); }
.icone-ona { width: 48px; height: 48px; margin-bottom: 12px; }

.avantages-ona { display: grid; grid-template-columns: 1fr minmax(220px, 300px) 1fr; gap: 28px; align-items: center; max-width: 1100px; margin: 32px auto 0; padding: 0 20px; }
.avantages-colonne { display: grid; gap: 24px; }
.avantages-colonne .domaine { flex: none; }
.machine-ona { aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--rayon-carte); background: #000; }
.machine-ona video { width: 100%; height: 100%; object-fit: cover; }
.techno-ona { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: 1100px; margin: 32px auto 56px; padding: 0 20px; }
.etapes-ona { display: grid; gap: 24px; }
.etapes-ona li { position: relative; display: flex; gap: 18px; align-items: flex-start; }
.etapes-ona .pastille-numero { position: relative; z-index: 1; flex: none; width: 40px; height: 40px; aspect-ratio: 1; }
.etapes-ona li:not(:last-child)::before, .etapes-ona li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 40px; width: 2px; height: calc(100% - 40px + 24px); background: rgba(0, 0, 0, 0.14); }
.etapes-ona li:not(:last-child)::after { background: var(--encre); transform: scaleY(var(--seg, 0)); transform-origin: top; }
.etapes-ona h3 { margin-bottom: 6px; font-family: var(--police-titre); font-weight: 600; font-size: 17px; text-transform: uppercase; color: var(--encre); }
.etapes-ona p { font-family: var(--police-titre); font-weight: 300; font-size: 15px; line-height: 1.65; color: var(--texte); }
.appareil-ona { display: flex; align-items: center; justify-content: center; min-height: 400px; border-radius: 32px; background: #fff; }
.appareil-ona img { width: 82%; height: auto; }
.titre-resultats { margin-top: 24px; }
.catalogue-card-ona { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 340px; margin: 24px auto 0; padding: 10px 14px; border: 1px solid #e5e5e5; border-radius: 8px; background: #fff; text-decoration: none; color: #1f222b; }
.catalogue-card-ona img { flex: none; width: 64px; height: auto; }
.catalogue-card-titre { flex: 1; text-align: center; font-family: var(--police-titre); font-weight: 300; font-size: 16px; line-height: 26px; }
.catalogue-card-telecharger { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #1f222b; transition: background 0.2s; }
.catalogue-card-ona:hover .catalogue-card-telecharger { background: #f0f0f0; }
.catalogue-card-a-venir { cursor: default; }
.catalogue-card-statut { flex: none; font-family: var(--police-titre); font-weight: 300; font-size: 13px; color: #6b6b6b; }
.comparatifs-ona { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.comparatif-ona { min-width: 0; }
.avap-cadre { --pos: 50%; position: relative; aspect-ratio: var(--ratio, 4 / 5); overflow: hidden; border-radius: 28px; background: #ddd; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18); touch-action: pan-y; }
.avap-photo { position: absolute; inset: 0; background-repeat: no-repeat; }
.avap-avant { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.avap-etiquette { position: absolute; top: 14px; padding: 5px 13px; border-radius: 50px; background: rgba(0, 0, 0, 0.62); font-family: var(--police-ui); font-weight: 600; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; transition: opacity 0.2s; pointer-events: none; }
.avap-etiquette-avant { left: 14px; }
.avap-etiquette-apres { right: 14px; }
.avap-poignee { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, 0.4); pointer-events: none; }
.avap-poignee svg { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; padding: 12px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: var(--encre); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); }
.avap-curseur { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.comparatif-ona figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; text-align: center; font-family: var(--police-titre); font-size: 14px; color: var(--texte); }
.comparatif-ona figcaption strong { font-weight: 600; font-size: 16px; color: var(--encre); }
@media (max-width: 900px) { .comparatifs-ona { grid-template-columns: 1fr; max-width: 520px; } .avantages-ona, .techno-ona { grid-template-columns: 1fr; } .machine-ona { max-width: 280px; margin: 0 auto; } }
@media (max-width: 767px) { .appareil-ona { min-height: 260px; } }
/* ---------- Animations des pages machines ---------- */
/* Héros : fond qui descend plus lentement que la page, texte qui monte et s'efface, appareil qui flotte.
 * Les propriétés translate et opacity ne gênent pas l'animation « respire » (transform) du fond. */
.hero-elite[data-hero-page] .hero-elite-fond { translate: 0 calc(var(--defil, 0) * 110px); will-change: translate; }
.hero-elite[data-hero-page] .hero-elite-texte { translate: 0 calc(var(--defil, 0) * -70px); opacity: calc(1 - var(--defil, 0) * 1.15); }
.js .hero-elite-texte > * { animation: monter 1s var(--ease-sortie) backwards; }
.js .hero-elite-texte > :nth-child(1) { animation-delay: 0.1s; }
.js .hero-elite-texte > :nth-child(2) { animation-delay: 0.25s; }
.js .hero-elite-texte > :nth-child(3) { animation-delay: 0.4s; }
.js .hero-elite-texte > :nth-child(4) { animation-delay: 0.55s; }
.js .hero-elite-appareil { animation-name: flotte, monter; animation-duration: 7s, 1.2s; animation-delay: 0s, 0.5s; animation-fill-mode: none, backwards; }
@keyframes flotte { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }

/* Appareil collé au bas du héros : le texte occupe la hauteur restante, l'image prend sa hauteur naturelle
 * (bloc, donc sans l'interstice des images en ligne) et pivote sur son bord bas quand elle respire. */
.hero-elite[data-hero-page] { grid-template-rows: 1fr auto; align-content: stretch; }
.hero-elite[data-hero-page] .hero-elite-texte { align-self: center; }
.hero-elite[data-hero-page] .hero-elite-appareil { display: block; align-self: end; margin-top: 30px; transform-origin: center bottom; }

/* Sections claires : ruban de points et orbe bleu pâle qui dérivent à des vitesses différentes. */
.bloc-ambiance::before { right: -10%; top: -8%; width: 70%; height: 120%; background: var(--points-sombres) 0 0 / var(--pas-points) var(--pas-points); opacity: 0.55; transform: translate3d(calc(var(--p, 0) * -60px * var(--amp)), calc(var(--p, 0) * -30px * var(--amp)), 0); }
.bloc-ambiance::after { left: -8%; bottom: -22%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(30, 90, 255, 0.11), rgba(30, 90, 255, 0) 68%); transform: translate3d(calc(var(--p, 0) * 90px * var(--amp)), calc(var(--p, 0) * -60px * var(--amp)), 0); }
.bloc-ambiance:nth-of-type(even)::before { right: auto; left: -10%; transform: scaleX(-1) translate3d(calc(var(--p, 0) * -60px * var(--amp)), calc(var(--p, 0) * -30px * var(--amp)), 0); }
.bloc-ambiance:nth-of-type(even)::after { left: auto; right: -8%; }

/* Cartes : relief au survol, image qui s'approche. */
@media (hover: hover) {
	.accessoire, .domaine, .mode { transition: transform 0.4s var(--ease-sortie), box-shadow 0.4s var(--ease-sortie); }
	.accessoire:hover, .domaine:hover { transform: translateY(-8px); box-shadow: 0 26px 50px -18px rgba(15, 18, 28, 0.35); }
	.accessoire img { transition: transform 0.7s var(--ease-sortie); }
	.accessoire:hover img { transform: scale(1.07); }
	.comparatif-ona { transition: transform 0.4s var(--ease-sortie); }
	.comparatif-ona:hover { transform: translateY(-6px); }
}
.icone-ona { transition: transform 0.5s var(--ease-sortie); }
.domaine:hover .icone-ona { transform: scale(1.15) rotate(-6deg); }

/* ---------- Page Accessoires ---------- */
.hero-voile { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.65)); }
.hero-acc { min-height: 72svh; padding-bottom: 80px; }
.hero-acc h1 { font-size: clamp(34px, 4.6vw, 60px); }
.hero-acc .hero-elite-fond { animation: zoom 16s ease-in-out infinite alternate; }
.acc-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: stretch; max-width: 1180px; margin: 32px auto 0; padding: 0 24px; }
.acc-carte { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--bordure-carte); border-radius: var(--rayon-carte); background: #fff; transition: transform 0.4s var(--ease-sortie), box-shadow 0.4s var(--ease-sortie); }
.acc-carte:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 16px); }
.acc-carte > img { width: 100%; height: 300px; object-fit: cover; }
.acc-carte-corps { display: flex; flex: 1; flex-direction: column; gap: 14px; padding: 26px 28px 30px; }
.acc-carte h3 { font-family: var(--police-titre); font-weight: 600; font-size: 24px; line-height: 1.25; color: var(--encre); }
.acc-texte p { margin-bottom: 10px; text-align: justify; hyphens: auto; font-family: var(--police-titre); font-weight: 300; font-size: 15.5px; line-height: 1.7; color: var(--texte); }
.acc-texte strong { font-weight: 600; color: var(--encre); }
.acc-liste { display: grid; gap: 8px; margin: 10px 0 14px; padding: 0; list-style: none; }
.acc-liste li { position: relative; padding-left: 28px; font-family: var(--police-titre); font-weight: 300; font-size: 15px; line-height: 1.6; color: var(--texte); }
.acc-liste li::before { content: ""; position: absolute; left: 1px; top: 0.5em; width: 14px; height: 8px; border-left: 2px solid var(--encre); border-bottom: 2px solid var(--encre); transform: rotate(-45deg); }
.acc-videos { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; margin-top: auto; padding-top: 6px; }
.acc-videos video { width: 100%; aspect-ratio: 1; object-fit: contain; border: 1px solid var(--bordure-carte); border-radius: 14px; background: #fff; }
.catalogues-acc { display: grid; grid-template-columns: repeat(3, minmax(0, 340px)); justify-content: center; gap: 20px; max-width: 1180px; margin: 28px auto 0; padding: 0 24px; }
.catalogues-acc .catalogue-card-ona { max-width: none; margin: 0; }
@media (hover: hover) { .acc-carte:hover { transform: translateY(-8px); box-shadow: 0 26px 50px -18px rgba(15, 18, 28, 0.35); } .catalogue-card-ona { transition: transform 0.4s var(--ease-sortie), box-shadow 0.4s var(--ease-sortie); } .catalogue-card-ona:hover { transform: translateY(-5px); box-shadow: 0 16px 34px -16px rgba(15, 18, 28, 0.3); } }
@media (max-width: 1000px) { .catalogues-acc { grid-template-columns: repeat(2, minmax(0, 340px)); } }
@media (max-width: 900px) { .acc-grille { grid-template-columns: 1fr; } .acc-carte:last-child:nth-child(odd) { width: 100%; } }
@media (max-width: 640px) { .catalogues-acc { grid-template-columns: 1fr; } .acc-carte > img { height: 220px; } .acc-carte-corps { padding: 22px 20px 26px; } }

/* ---------- Pages de traitements ---------- */
.tr-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1180px; margin: 32px auto 0; padding: 0 24px; }
.tr-grille-compacte { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tr-carte { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border: 1px solid var(--bordure-carte); border-radius: var(--rayon-carte); background: #fff; text-decoration: none; color: inherit; transition: transform 0.4s var(--ease-sortie), box-shadow 0.4s var(--ease-sortie); }
.tr-carte h3 { font-family: var(--police-titre); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--encre); }
.tr-carte p { font-family: var(--police-titre); font-weight: 300; font-size: 15px; line-height: 1.65; color: var(--texte); }
.tr-etiquettes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tr-etiquettes span { padding: 5px 13px; border-radius: 50px; background: var(--encre); font-family: var(--police-ui); font-weight: 600; font-size: 12px; letter-spacing: 0.04em; color: #fff; }
.tr-voir { font-family: var(--police-ui); font-weight: 600; font-size: 14px; color: var(--encre); text-decoration: underline; text-underline-offset: 4px; }
.tr-machines { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: center; gap: 24px; max-width: 1180px; margin: 32px auto 0; padding: 0 24px; }
.tr-machine { display: flex; flex-direction: column; gap: 10px; overflow: hidden; padding-bottom: 24px; border: 1px solid var(--bordure-carte); border-radius: var(--rayon-carte); background: #fff; text-decoration: none; color: inherit; transition: transform 0.4s var(--ease-sortie), box-shadow 0.4s var(--ease-sortie); }
.tr-machine img { width: 100%; height: 190px; object-fit: contain; padding: 18px 18px 0; background: #f4f4f4; }
.tr-machine h3, .tr-machine p, .tr-machine .tr-voir { padding: 0 22px; }
.tr-machine h3 { font-family: var(--police-titre); font-weight: 600; font-size: 22px; color: var(--encre); }
.tr-machine p { flex: 1; font-family: var(--police-titre); font-weight: 300; font-size: 15px; line-height: 1.65; color: var(--texte); }
.conteneur-texte p + .acc-liste { margin-top: 14px; }
.conteneur-texte .acc-liste { max-width: 760px; margin-left: auto; margin-right: auto; text-align: left; }
@media (hover: hover) { .tr-carte:hover, .tr-machine:hover { transform: translateY(-8px); box-shadow: 0 26px 50px -18px rgba(15, 18, 28, 0.35); } }
@media (max-width: 900px) { .tr-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tr-grille { grid-template-columns: 1fr; } }
