/* Deep Beauty — Pages-machines : hero et emplacement de l'appareil, fiche technique, tableau de gamme, étapes, produits Ceuticals. */

/* ---------- Hero : titre, appareil en emplacement (la photo arrive en fin de chantier) ---------- */
.hero-machine { min-height: 92svh; padding-bottom: 0; }
.hero-machine .surtitre { color: rgba(255, 255, 255, 0.78); opacity: 1; }
.hero-machine h1::after { margin-bottom: 4px; }
.hero-machine .hero-elite-fond { opacity: 0.5; background: radial-gradient(ellipse 60% 55% at 50% 70%, rgba(255, 255, 255, 0.16), transparent 70%); }
.hero-machine-blanc .hero-elite-fond { opacity: 0.7; }

/* L'appareil : silhouette de remplacement, anneaux qui respirent et reflet qui balaie. */
.appareil-vide { position: relative; display: grid; place-items: center; width: min(560px, 82vw); aspect-ratio: 16 / 7; margin-top: 34px; overflow: hidden; border-radius: var(--rayon-carte) var(--rayon-carte) 0 0; background: var(--points-clairs) 0 0 / 16px 16px, linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)); border: 1px solid rgba(255, 255, 255, 0.18); border-bottom: 0; isolation: isolate; }
.appareil-vide span { position: relative; z-index: 1; padding: 0 18px; text-align: center; font-family: var(--police-titre); font-weight: 300; font-size: clamp(20px, 3vw, 30px); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); }
.appareil-vide::before { content: ""; position: absolute; left: 50%; top: 50%; z-index: 0; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.22); box-shadow: 0 0 0 36px rgba(255, 255, 255, 0.04), 0 0 0 76px rgba(255, 255, 255, 0.025); translate: -50% -50%; animation: anneaux 6s ease-in-out infinite; }
.appareil-vide::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.14) 50%, transparent 62%); transform: translateX(-120%); animation: reflet 6s ease-in-out 1.2s infinite; }
@keyframes anneaux { 0%, 100% { transform: scale(0.94); opacity: 0.7; } 50% { transform: scale(1.06); opacity: 1; } }

/* ---------- Fiche technique : lignes qui entrent l'une après l'autre ---------- */
.fiche-tech { display: grid; max-width: 860px; margin: 0 auto; border: 1px solid var(--bordure-carte); border-radius: var(--rayon-carte); background: #fff; overflow: hidden; }
.fiche-ligne { display: grid; grid-template-columns: minmax(180px, 1fr) 2fr; gap: 6px 24px; padding: 16px 26px; border-top: 1px solid var(--bordure-carte); transition: background 0.3s; }
.fiche-ligne:first-child { border-top: 0; }
.fiche-ligne dt { font-family: var(--police-titre); font-weight: 600; font-size: 14px; letter-spacing: 0.02em; color: var(--encre); }
.fiche-ligne dd { font-family: var(--police-titre); font-weight: 300; font-size: 15px; line-height: 1.6; color: var(--texte); }
.a-definir { font-style: italic; color: #7a7a7a !important; }
@media (hover: hover) { .fiche-ligne:hover { background: var(--gris-fond); } }
.js .fiche-tech.apparition .fiche-ligne { opacity: 0; transform: translateX(-18px); transition: opacity 0.6s var(--ease-sortie), transform 0.6s var(--ease-sortie), background 0.3s; transition-delay: calc(var(--i, 0) * 70ms); }
.js .fiche-tech.apparition.est-visible .fiche-ligne { opacity: 1; transform: none; }

/* ---------- Tableau de gamme : la colonne de la page est mise en avant ---------- */
.gamme-cadre { max-width: 900px; margin: 0 auto; overflow-x: auto; border: 1px solid var(--bordure-carte); border-radius: var(--rayon-carte); background: #fff; }
.gamme-tableau { width: 100%; min-width: 560px; border-collapse: collapse; font-family: var(--police-titre); }
.gamme-tableau th, .gamme-tableau td { padding: 15px 18px; text-align: center; font-size: 15px; line-height: 1.45; border-top: 1px solid var(--bordure-carte); }
.gamme-tableau thead th { border-top: 0; font-weight: 600; font-size: 16px; color: var(--encre); }
.gamme-tableau thead a { text-decoration: underline; text-underline-offset: 4px; }
.gamme-tableau tbody th { text-align: left; font-weight: 600; font-size: 14px; color: var(--encre); }
.gamme-tableau td { font-weight: 300; color: var(--texte); }
.gamme-tableau .est-courant { background: var(--encre); color: #fff; }
.gamme-tableau thead .est-courant a, .gamme-tableau td.est-courant { color: #fff; }
.gamme-tableau tbody tr { transition: background 0.3s; }
@media (hover: hover) { .gamme-tableau tbody tr:hover th, .gamme-tableau tbody tr:hover td:not(.est-courant) { background: var(--gris-fond); } }

/* ---------- Étapes numérotées (sans colonne d'image) ---------- */
.etapes-seules { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* ---------- Produits Ceuticals ---------- */
.produit-preuve { margin-top: 10px; font-weight: 600 !important; font-size: 12px !important; letter-spacing: 0.06em; text-transform: uppercase; color: #7a7a7a !important; }

/* Cartes de machine : rangée centrée, y compris quand la dernière rangée est incomplète. */
.tr-machines { display: flex; flex-wrap: wrap; justify-content: center; }
.tr-machines > .tr-machine { flex: 0 1 340px; min-width: 260px; }

/* ---------- Cartes de machine des traitements : emplacement qui porte le nom (la photo arrive en fin de chantier) ---------- */
.tr-machine-visuel { position: relative; display: grid; place-items: center; height: 190px; overflow: hidden; isolation: isolate; }
.tr-machine-teinte-noir .tr-machine-visuel { background: radial-gradient(rgba(255, 255, 255, 0.14) 1.2px, transparent 1.7px) 0 0 / 14px 14px, radial-gradient(circle at 50% 65%, #34343a, var(--fond-sombre) 80%); }
.tr-machine-teinte-blanc .tr-machine-visuel { background: radial-gradient(rgba(31, 34, 43, 0.1) 1.2px, transparent 1.7px) 0 0 / 14px 14px, radial-gradient(circle at 50% 65%, #fff, #e4e8ee 85%); }
.tr-machine-visuel span { position: relative; z-index: 1; padding: 0 16px; text-align: center; font-family: var(--police-titre); font-weight: 300; font-size: 24px; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.92); }
.tr-machine-teinte-blanc .tr-machine-visuel span { color: var(--encre); }
.tr-machine-visuel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.2) 50%, transparent 62%); transform: translateX(-120%); }
.tr-machine.est-visible .tr-machine-visuel::after { animation: reflet 1.6s var(--ease-sortie) 0.4s 1 both; }
@media (hover: hover) { .tr-machine:hover .tr-machine-visuel::after { animation: reflet 1.1s var(--ease-sortie) 1 both; } }

/* ---------- Accessoires : emplacement de la photo ---------- */
.acc-visuel-vide { position: relative; display: grid; place-items: center; height: 300px; overflow: hidden; isolation: isolate; background: var(--points-clairs) 0 0 / 16px 16px, var(--emplacement-sombre); }
.acc-visuel-vide span { position: relative; z-index: 1; padding: 0 22px; text-align: center; font-family: var(--police-titre); font-weight: 300; font-size: 24px; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.92); }
.acc-visuel-vide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.16) 50%, transparent 62%); transform: translateX(-120%); }
.acc-carte.est-visible .acc-visuel-vide::after { animation: reflet 1.6s var(--ease-sortie) 0.5s 1 both; }
@media (hover: hover) { .acc-carte:hover .acc-visuel-vide::after { animation: reflet 1.1s var(--ease-sortie) 1 both; } }

/* ---------- Brochure à venir ---------- */
.catalogue-card-a-venir { max-width: 380px; }

@media (max-width: 700px) {
	.hero-machine { min-height: 86svh; }
	.fiche-ligne { grid-template-columns: 1fr; padding: 14px 20px; }
	.acc-visuel-vide { height: 200px; }
	.gamme-tableau th, .gamme-tableau td { padding: 12px 10px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.appareil-vide::before, .appareil-vide::after, .tr-machine-visuel::after, .acc-visuel-vide::after { animation: none; }
	.js .fiche-tech.apparition .fiche-ligne { opacity: 1; transform: none; transition: none; }
}
