:root {
    --accent: #e93196; /* brand pink */
    --accent-dark: #9414b9; /* brand purple */
    --text: #4a403d;
    /* texte principal */
    --muted: #6b5e59;
    /* sous-titre */
    --zebra: #f3f3f3;
    /* alternance lignes */
    --border: #d7d4d2;
    /* fines lignes de séparation */
    --container: 1180px;
    /* largeur max approximative de la maquette */
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    background: #ffffff;
    color: var(--text);
}

body {
    margin: 0;
    line-height: 1.6;
}

/* Utiliser Montserrat pour le contenu de cette page uniquement (pas le header global) */
main,
.top-cta,
.wax-title,
.wax-subtitle,
.wax-table {
    font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Bouton du haut (sous-header local) */
.top-cta {
    display: flex;
    justify-content: center;
    padding: 24px 16px 6px;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 20;
    /* sous le header sticky global et le méga-menu */
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 14px 24px;
    border: none;
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    background: linear-gradient(45deg, #e93196, #9414b9, #ff7403);
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
    box-shadow: 0 10px 28px rgba(233, 49, 150, 0.26);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn-outline:hover{ transform: translateY(-2px) scale(1.03); }
.btn-outline:active{ transform: translateY(0) scale(0.98); }
.btn-outline:focus-visible{ outline: none; box-shadow: 0 0 0 4px rgba(233,49,150,.25), 0 12px 28px rgba(233,49,150,.26); }

/* Conteneur de contenu — ne pas affecter le header global */
main.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 10px 20px 60px;
    text-align: center;
}

.wax-title {
    font-family: "Merriweather", Georgia, "Times New Roman", serif;
    font-weight: 700;
    font-size: clamp(28px, 3.6vw, 42px);
    margin: 26px 0 10px;
}

.wax-subtitle {
    max-width: 980px;
    margin: 0 auto 34px;
    font-size: clamp(16px, 1.8vw, 22px);
    color: var(--muted);
    line-height: 1.9;
}

/* Tableau tarifs (scopé avec préfixes wax- pour éviter tout conflit) */
.wax-pricing {
    display: flex;
    justify-content: center;
}

.wax-table-wrapper {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    /* arrondis parfaits */
    border: 1px solid var(--border);
}

.wax-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 18px;
}

col.wax-col-zone {
    width: 60%;
}

col.wax-col-price {
    width: 40%;
}

.wax-table thead th {
    background: var(--accent);
    color: #ffffff;
    font-weight: 700;
    text-align: left;
    padding: 22px 26px;
    border-right: 1px solid rgba(255, 255, 255, .35);
}

.wax-table thead th:last-child {
    border-right: none;
}

.wax-table thead tr {
    border-bottom: 1px solid #9e7b70;
}

.wax-table tbody td {
    padding: 22px 26px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.wax-table tbody tr:nth-child(odd) {
    background: #fff;
}

.wax-table tbody tr:nth-child(even) {
    background: var(--zebra);
}

/* Lignes d’en-tête de groupe */
.wax-table tbody tr.wax-group td {
    background: #f7f3f1;
    font-weight: 600;
    font-family: "Merriweather", Georgia, serif;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #4a403d;
    border-bottom: 1px solid var(--border);
    padding-top: 26px;
    padding-bottom: 10px;
}

/* Neutraliser le zébrage sur les lignes de groupe */
.wax-table tbody tr.wax-group:nth-child(odd),
.wax-table tbody tr.wax-group:nth-child(even) {
    background: #f7f3f1;
}

/* Alignements */
.wax-table .right {
    text-align: right;
}

/* Petits écrans */
@media (max-width: 700px) {
    .wax-table {
        font-size: 16px;
    }

    .wax-table thead th,
    .wax-table tbody td {
        padding: 18px 16px;
    }

    col.wax-col-zone {
        width: 58%;
    }

    col.wax-col-price {
        width: 42%;
    }
}

/* --- Interactive details (expand/collapse) --- */
.wax-table td:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wax-expand {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    display: inline-grid;
    place-items: center;
    background: #fff;
    color: var(--accent);
    cursor: pointer;
    position: relative;
    /* for centering pseudo elements */
    transition: transform .15s ease, border-color .15s ease, color .15s ease, background .15s ease;
}

.wax-expand:hover {
    transform: translateY(-1px);
    border-color: var(--accent-dark);
    color: var(--accent-dark);
}

.wax-expand:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(233, 49, 150, .25);
}

/* plus icon */
.wax-expand::before,
.wax-expand::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.wax-expand::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.wax-expand[aria-expanded="true"]::after {
    opacity: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 1, 1);
    white-space: nowrap;
    border: 0;
}

/* Detail row */
.wax-detail {
    display: none;
}

.wax-detail td {
    padding: 0;
    border-bottom: none;
    background: #fbf9f8;
}

.wax-detail .wax-detail-content {
    padding: 18px 26px 22px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    color: #4a403d;
    line-height: 1.75;
    overflow: hidden;
}

.wax-detail.is-open {
    display: table-row;
}

/* --- Override advanced theme for + button to match services3 (laser) --- */
/* Force the wax expand control to use circular, 24px, two-bar icon style */
.wax-table .wax-expand {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    display: inline-grid;
    place-items: center;
    background: #fff;
    color: var(--accent);
    cursor: pointer;
    position: relative;
    transition: transform .15s ease, border-color .15s ease, color .15s ease, background .15s ease;
}

.wax-table .wax-expand:hover {
    transform: translateY(-1px);
    border-color: var(--accent-dark);
    color: var(--accent-dark);
}

.wax-table .wax-expand:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(233, 49, 150, .25);
}

.wax-table .wax-expand::before,
.wax-table .wax-expand::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    background: currentColor;
    width: 12px;
    height: 2px;
    border-radius: 1px;
    transform: translate(-50%, -50%);
}

.wax-table .wax-expand::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.wax-table .wax-expand[aria-expanded="true"]::after {
    opacity: 0;
}

/* Ensure expanded state does not take gradient style from advanced sheet */
.wax-table .wax-expand[aria-expanded="true"] {
    background: #fff;
    border-color: var(--accent);
    box-shadow: none;
    color: var(--accent);
}