/* SeneVoile 2026 - non-invasive consistency and mobile fixes */
#container section:not(.home) img { max-width: 100%; height: auto; }
#container section.home .slide-text img { display: block; margin: 0 auto 18px; max-width: 160px; height: auto; }
#stages .stages-content p { color: #455861; }
#stages .stages-tarifs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
#stages .stages-tarifs table { min-width: 540px; }
#stages .stages-tarifs th small, #stages .stages-tarifs td small { display: block; font-weight: 400; line-height: 1.35; margin-top: 5px; }
#stages .stages-tarifs th { white-space: normal; }
@media (max-width: 767px) {
    #container section:not(.home) { padding-left: 24px; padding-right: 24px; }
    #stages .stages-content { width: 100% !important; }
    #stages .stages-hero { width: 100%; height: auto; }
    #stages .stages-tarifs table, #stages .stages-tarifs tbody,
    #stages .stages-tarifs tr, #stages .stages-tarifs td {display: block; width: 100%; min-width: 0;}
    #stages .stages-tarifs { overflow-x: visible; border: 0; }
    #stages .stages-tarifs table { min-width: 0; }
    #stages .stages-tarifs thead { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
    #stages .stages-tarifs tr { background: #fff; border: 1px solid #dae4e8; margin-bottom: 16px; }
    #stages .stages-tarifs td { border: 0; border-bottom: 1px solid #edf0f2; padding: 10px 12px; }
    #stages .stages-tarifs td:first-child { background: #eaf2f6; color: #28556a; }
    #stages .stages-tarifs td:last-child { border-bottom: 0; }
    #stages .stages-tarifs td:not(:first-child) { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
    #stages .stages-tarifs td:not(:first-child)::before { content: attr(data-label); font-weight: 600; color: #4a5a60; }
}
