/* ============================================================================
   BRIN DE BEAUTÉ — Feuille de style maison (indépendante de Joomla)
   Palette : mauve #955a94 / fond rosé #e8d9e3 / texte #616060
   Polices : Lato (corps), Merriweather Sans (menu/titres), Satisfy (signature)
   ============================================================================ */

:root {
    --primary: #955a94;
    --primary-dark: #7a4879;
    --primary-light: #b98ab8;
    --bg: #e8d9e3;
    --bg-soft: #f4ecf2;
    --text: #616060;
    --text-dark: #3d3d3d;
    --white: #ffffff;
    --shadow: 0 4px 18px rgba(149, 90, 148, .15);
    --shadow-lg: 0 8px 34px rgba(149, 90, 148, .22);
    --radius: 6px;
    --header-h: 92px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }

body {
    margin: 0;
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4 { font-family: 'Merriweather Sans', 'Lato', sans-serif; color: var(--primary); line-height: 1.25; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-block; cursor: pointer; border: none;
    font-family: 'Merriweather Sans', sans-serif; font-weight: 700;
    padding: 12px 28px; border-radius: 0; font-size: 15px;
    text-transform: uppercase; letter-spacing: .3px; transition: all .25s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 15px 40px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ============================================================================
   EN-TÊTE / NAVIGATION
   ============================================================================ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--primary);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}
.navbar { width: 100%; }
.nav-inner {
    max-width: 1180px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between;
    min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { max-height: 74px; width: auto; flex: none; }
.brand-name { height: 58px; width: auto; max-width: 360px; flex: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }

.nav-menu {
    list-style: none; margin: 0 0 0 auto; padding: 0;
    display: flex; align-items: center; gap: 4px;
}
.nav-item { position: relative; }
.nav-link {
    display: block; padding: 14px 16px;
    font-family: 'Merriweather Sans', sans-serif; font-weight: 700; font-size: 14px;
    text-transform: uppercase; color: #fff; letter-spacing: .4px;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.caret { font-size: 11px; font-style: normal; }

.dropdown {
    position: absolute; top: 100%; left: 0; min-width: 260px;
    background: #fff; list-style: none; margin: 0; padding: 8px 0;
    box-shadow: var(--shadow-lg); border-top: 3px solid var(--primary);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all .2s; z-index: 1001;
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
    display: block; padding: 11px 20px; color: var(--text);
    font-family: 'Merriweather Sans', sans-serif; font-size: 13px; font-weight: 700;
    text-transform: uppercase; border-left: 3px solid transparent;
}
.dropdown li a:hover { background: var(--bg-soft); color: var(--primary); border-left-color: var(--primary); }

/* Icône de connexion (à droite du menu) */
.nav-right { display: flex; align-items: center; gap: 6px; order: 3; }
.nav-login {
    display: inline-flex; align-items: center; justify-content: center; position: relative;
    width: 40px; height: 40px; border-radius: 50%; color: #fff; margin-left: 8px;
    transition: background .2s, transform .2s;
}
.nav-login:hover { background: rgba(255,255,255,.18); color: #fff; transform: translateY(-1px); }
.nav-login-dot { position: absolute; right: 7px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: #7ed957; border: 2px solid var(--primary); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: #fff; margin: 5px 0; border-radius: 2px; transition: all .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================================
   CONTENU PRINCIPAL
   ============================================================================ */
.site-main { padding-top: var(--header-h); min-height: 60vh; }

.section { padding: 56px 0; }
.section-title {
    text-align: center; font-size: 30px; margin: 0 0 8px;
    font-family: 'Satisfy', cursive; color: var(--primary); font-weight: 400;
}
.section-sub { text-align: center; color: var(--text); margin: 0 0 36px; font-size: 17px; }

/* ---------- Bandeau/Hero accueil (photo de fond fixe de l'institut) ---------- */
.hero {
    background-color: var(--primary);
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff; text-align: center; position: relative;
    min-height: 640px; display: flex; align-items: center; justify-content: center;
    padding: 60px 20px;
}
.hero-inner { position: relative; z-index: 2; max-width: 620px; width: 100%; }
.hero-logo { max-width: 220px; margin: 0 auto 22px; filter: drop-shadow(0 3px 10px rgba(0,0,0,.35)); }
.hero-coord { max-width: 410px; width: 100%; margin: 0 auto 18px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); }
.hero-soins {
    font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-size: 24px;
    color: #acc645; margin: 0 0 10px; text-shadow: 0 2px 8px rgba(0,0,0,.55); letter-spacing: .5px;
}
.hero-horaires { margin: 0; }
.hero-horaires a { color: #fff; font-size: 16px; text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.hero-horaires a:hover { color: #acc645; }

/* ---------- Prestations accueil : mosaïque plein écran ---------- */
.home-prestations-section { padding: 0 0 10px; }
.presta-label-bar {
    position: relative; padding: 16px 3% 0; margin-bottom: 14px;
    border-bottom: 2px solid var(--primary);
}
.presta-label {
    display: inline-block; background: var(--primary); color: #fff;
    font-family: 'Merriweather Sans', sans-serif; font-weight: 700; font-size: 13px;
    text-transform: uppercase; letter-spacing: .5px; padding: 6px 18px; border-radius: 3px;
    position: relative; top: 1px;
}
.home-prestations {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-rows: 284px;        /* 6e prestation et suivantes : nouvelles lignes régulières */
    gap: 12px;
    padding: 0 3%;
    min-height: 580px;
}
.presta-tile {
    position: relative; overflow: hidden; display: block;
    background: #cbb6c7; min-height: 280px;
}
.presta-tile.large { grid-column: 1; grid-row: 1 / span 2; }
.presta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.presta-tile:hover img { transform: scale(1.06); }
.tile-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 45%, rgba(0,0,0,.78) 100%);
    transition: background .3s;
}
.presta-tile:hover .tile-overlay { background: linear-gradient(to bottom, rgba(149,90,148,.15) 30%, rgba(0,0,0,.82) 100%); }
.tile-title {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 18px 20px; text-align: center; color: #fff;
    font-family: 'Merriweather Sans', sans-serif; font-weight: 800; font-size: 16px;
    text-transform: uppercase; letter-spacing: .4px; text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.presta-tile.large .tile-title { font-size: 20px; padding: 24px; }

@media (max-width: 900px) {
    .home-prestations { grid-template-columns: 1fr 1fr; grid-template-rows: none; min-height: 0; }
    .presta-tile.large { grid-column: 1 / span 2; grid-row: auto; min-height: 320px; }
}
@media (max-width: 560px) {
    .home-prestations { grid-template-columns: 1fr; padding: 0 16px; }
    .presta-tile, .presta-tile.large { grid-column: auto; min-height: 240px; }
}

/* ---------- Bloc info générale (accueil) ---------- */
.info-block {
    background: var(--bg-soft); border-left: 5px solid var(--primary);
    padding: 28px 32px; border-radius: var(--radius); margin: 0 auto; max-width: 900px;
    box-shadow: var(--shadow);
}
.info-block .affiche-information-slide,
.info-block p { color: var(--text-dark) !important; }

/* ---------- Bandeau discret « mode édition » (admin connecté) ---------- */
.admin-hint {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    background: #fff; border: 1px solid #e3d3df; border-left: 4px solid var(--primary);
    border-radius: var(--radius); padding: 10px 14px; margin: -8px 0 18px;
    font-size: 13.5px; color: var(--text); box-shadow: 0 2px 8px rgba(149,90,148,.08);
}
.section > .admin-hint { margin: 0 auto 18px; max-width: 940px; }
.admin-hint[hidden] { display: none; }
.admin-hint-icon { color: var(--primary); font-size: 17px; }
.admin-hint-text { flex: 1 1 320px; }
.admin-hint-text strong { color: var(--primary); }
.admin-hint-link { font-weight: 700; text-decoration: underline; white-space: nowrap; }
.admin-hint-close { background: none; border: none; font-size: 20px; line-height: 1; color: #b7a7b4; cursor: pointer; padding: 0 2px; }
.admin-hint-close:hover { color: var(--primary); }

/* ---------- Page prestation (mise en page fidèle : fond rosé, sous-menu haut) ---------- */
.presta-page { padding: 34px 0 60px; }
.presta-submenu { border-bottom: 2px solid var(--primary); padding-bottom: 14px; margin-bottom: 8px; }
.also-label {
    display: inline-block; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700;
    text-transform: uppercase; padding: 4px 14px; border-radius: 3px; margin-bottom: 14px;
    font-family: 'Merriweather Sans', sans-serif;
}
.also-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 30px; }
.also-links a {
    font-family: 'Merriweather Sans', sans-serif; font-weight: 700; font-size: 14px;
    text-transform: uppercase; color: var(--text-dark); padding: 4px 0;
}
.also-links a:hover, .also-links a.active { color: var(--primary); }
.presta-title { font-size: 30px; margin: 26px 0 20px; color: var(--primary); }
.presta-body { font-size: 15.5px; line-height: 1.7; }
.presta-body img { border-radius: var(--radius); margin: 12px 0; max-width: 100%; height: auto; }
.presta-body h1, .presta-body h2, .presta-body h3, .presta-body h4 { margin-top: 1.4em; color: var(--primary); }
.presta-body table { max-width: 100%; }
.presta-body ul { padding-left: 22px; }
.presta-intro { font-size: 17px; color: var(--text-dark); margin-bottom: 18px; }
/* Tarifs et titres de section (balises issues du contenu, design de l'original) */
.presta-body p { margin: 0 0 15px; overflow: hidden; }
.presta-body .p-titre {
    font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-size: 24px;
    color: #acc645; padding-left: 5px; line-height: 26px;
}
.presta-body .effet-prix {
    display: block; float: right; margin-left: 16px;
    min-width: 96px; text-align: right; /* colonne de tarifs alignée verticalement */
    font-family: 'Lato', sans-serif; font-weight: 700; font-size: 19.2px; line-height: 26px;
    color: #fff; white-space: nowrap;
    text-shadow: 1px 1px 2px #000, 0 0 25px #0000ff, 0 0 5px #acc645;
}
/* Édition en direct (admin connecté) */
.presta-body .tarif-edit { cursor: pointer; border-radius: 4px; padding: 0 6px; transition: background .2s, outline .2s; outline: 1px dashed rgba(255,255,255,.55); outline-offset: 2px; }
.presta-body .tarif-edit:hover, .presta-body .tarif-edit:focus { background: rgba(149,90,148,.35); outline-color: #fff; }
.presta-body .tarif-edit.editing { outline: none; background: none; text-shadow: none; }
.presta-body .tarif-edit.saving { opacity: .55; }
.tarif-input {
    width: 90px; padding: 2px 8px; border: 2px solid var(--primary); border-radius: 4px;
    font: 700 17px 'Lato', sans-serif; color: var(--primary); background: #fff; text-align: right;
    text-shadow: none; outline: none; box-shadow: 0 0 0 3px rgba(149,90,148,.2);
}

/* Image pleine de la prestation, flottante à droite (comme l'original) */
/* Deux colonnes : texte (tarifs alignés sur un bord droit fixe) + image */
.presta-body { display: flex; align-items: flex-start; gap: 34px; }
.presta-text { flex: 1 1 auto; min-width: 0; }
.presta-figure { flex: 0 0 270px; width: 270px; margin: 0; position: sticky; top: calc(var(--header-h) + 16px); }
.presta-figure img { width: 100%; height: auto; margin: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.presta-figure figcaption { font-size: 12.5px; line-height: 1.45; color: #7d6f7a; margin-top: 8px; font-style: italic; }
@media (max-width: 760px) {
    .presta-body { flex-direction: column; gap: 18px; }
    .presta-figure { order: -1; flex: none; width: 100%; max-width: 360px; position: static; }
}
.presta-cta { margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(149,90,148,.25); }
.presta-cta-tel { display: inline-block; margin-left: 14px; font-size: 14px; }
@media (max-width: 560px) { .also-links { grid-template-columns: 1fr; } .presta-cta-tel { display: block; margin: 12px 0 0; } }

/* ---------- Page contenu simple ---------- */
.content-page { background: #fff; max-width: 940px; margin: 0 auto; padding: 40px 44px; border-radius: var(--radius); box-shadow: var(--shadow); }
.content-page h1 { margin-top: 0; }
.content-page img { max-width: 100%; height: auto; border-radius: 4px; }
.content-page h2 { color: var(--primary); font-size: 26px; margin: 6px 0 4px; }
.content-page h3 { color: var(--primary); margin-top: 1.5em; }
.mentions-illustration { float: right; max-width: 260px; margin: 0 0 16px 20px; }
.mentions-table { border-collapse: collapse; margin: 12px 0; }
.mentions-table td { padding: 6px 18px 6px 0; }

/* ============================================================================
   PAGE CONTACT
   ============================================================================ */
.contact-layout { display: grid; grid-template-columns: 380px 1fr; gap: 40px; padding: 50px 0; align-items: stretch; }
.contact-photo { border-radius: var(--radius); box-shadow: var(--shadow); background-size: cover; background-position: center; min-height: 520px; }
.contact-form-box { background: #fff; padding: 34px 36px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-orbien { margin: 4px 0 22px; padding: 16px 0; border-top: 1px solid #eaddea; border-bottom: 1px solid #eaddea; }
.contact-orbien > span { display: block; }
.contact-orbien .contact-tel-label { font-weight: 700; margin-top: 6px; }
.contact-tel { display: block; font-size: 28px; color: var(--primary); font-weight: 900; margin: 4px 0 10px; }
.contact-planlink { font-weight: 700; text-decoration: underline; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 14px; color: var(--text-dark); }
.form-control {
    width: 100%; padding: 12px 14px; border: 1px solid #d9c7d5; border-radius: 4px;
    font-family: 'Lato', sans-serif; font-size: 15px; color: var(--text); background: #fdfbfd; transition: border .2s, box-shadow .2s;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(149, 90, 148, .15); }
textarea.form-control { resize: vertical; min-height: 130px; }
.char-count { text-align: right; font-size: 12px; color: #a08f9c; }
.form-note { font-size: 12.5px; color: #8a7f88; margin: 14px 0 18px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.required { color: var(--primary); }

/* ---------- Carte / plan d'accès ---------- */
#plan-pratique { padding-top: 20px; }
#map { height: 480px; width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); z-index: 1; }
.bdb-legend { background: rgba(255,255,255,.94); padding: 8px 12px; border-radius: 6px; box-shadow: 0 1px 6px rgba(0,0,0,.2);
    font: 12px/1.9 'Lato', sans-serif; color: #444; display: flex; flex-direction: column; }
.bdb-legend span { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.bdb-legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.bdb-legend b { width: 26px; height: 0; display: inline-block; }
@media (max-width: 560px) { #map { height: 380px; } .bdb-legend { font-size: 11px; line-height: 1.7; } }
.parkings-list { list-style: none; padding: 0; margin: 20px 0; }
.parkings-list li { padding: 8px 0 8px 34px; position: relative; }
.parkings-list li::before {
    content: attr(data-n); position: absolute; left: 0; top: 6px;
    width: 24px; height: 24px; background: var(--primary); color: #fff;
    border-radius: 50%; text-align: center; font-weight: 700; font-size: 13px; line-height: 24px;
}

/* ============================================================================
   NEWSLETTER (bandeau accueil + formulaire pied de page)
   ============================================================================ */
.nl-band { background: #fff; padding: 46px 0; margin-top: 26px; border-top: 4px solid var(--primary); }
.nl-band-inner { display: flex; align-items: center; gap: 40px; }
.nl-band-text { flex: 1 1 50%; }
.nl-band-text h2 { font-family: 'Satisfy', cursive; font-weight: 400; font-size: 32px; margin: 0 0 8px; }
.nl-band-text p { margin: 0; color: var(--text); }
.nl-form { flex: 1 1 50%; display: flex; gap: 10px; flex-wrap: wrap; position: relative; }
.nl-form .form-control { flex: 1 1 180px; }
.nl-form .btn { white-space: nowrap; }
/* Bloc d'inscription inséré dans un contenu via {newsletter} */
.nl-inline { clear: both; background: #fff; border-left: 5px solid var(--primary); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 24px 28px; margin: 34px 0 10px; }
.nl-inline-title { font-family: 'Satisfy', cursive !important; font-weight: 400 !important; font-size: 28px !important; margin: 0 0 6px !important; color: var(--primary) !important; }
.nl-inline-text { margin: 0 0 16px !important; font-size: 14.5px; }
.nl-inline .nl-form .form-control { flex: 1 1 200px; }
.footer-nl { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.25); }
.footer-nl-label { font-weight: 700; font-size: 14px; }
.nl-form-compact { flex: 0 1 auto; gap: 0; }
.nl-form-compact .form-control { flex: none; border-radius: 0; border: none; padding: 10px 12px; font-size: 14px; }
.nl-form-compact .nl-name { width: 160px; border-radius: 3px 0 0 3px; border-right: 1px solid #e3d3df; }
.nl-form-compact .nl-email { width: 230px; }
.nl-form-compact .btn { padding: 10px 16px; font-size: 13px; background: var(--primary-dark); }
.nl-form-compact .btn:hover { background: #5f3660; }
@media (max-width: 760px) {
    .nl-band-inner { flex-direction: column; align-items: stretch; gap: 22px; text-align: center; }
    .nl-form .form-control, .nl-form .btn { flex: 1 1 100%; }
    .nl-form-compact .form-control { width: 100%; }
}

/* ============================================================================
   PIED DE PAGE
   ============================================================================ */
.site-footer { background: var(--primary); color: #fff; padding: 30px 20px; text-align: center; margin-top: 40px; }
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-copy { margin: 0 0 8px; font-size: 14px; }
.footer-copy a { color: #fff; text-decoration: underline; }
.footer-nav a { color: #fff; font-size: 14px; }
.footer-nav a:hover { text-decoration: underline; }
.footer-nav .sep { margin: 0 8px; opacity: .6; }
.footer-fb {
    display: inline-flex; align-items: center; gap: 12px; margin-top: 18px;
    background: #fff; color: #1877f2; padding: 8px 20px 8px 8px; border-radius: 40px;
    box-shadow: 0 4px 14px rgba(0,0,0,.18); transition: all .25s ease;
}
.footer-fb .fb-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%; background: #1877f2; color: #fff; flex-shrink: 0;
}
.footer-fb .fb-text { font-size: 14px; color: var(--text-dark); letter-spacing: .2px; }
.footer-fb .fb-text strong { color: #1877f2; }
.footer-fb:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.26); color: #1877f2; }
.footer-fb:hover .fb-icon { background: #0f5fd0; }

.back-to-top {
    position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px;
    background: var(--primary); color: #fff; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transition: all .3s; z-index: 900; font-size: 14px;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top.above-banner { bottom: 86px; z-index: 1250; }
.back-to-top:hover { background: var(--primary-dark); color: #fff; }

/* ============================================================================
   BANNIÈRE COOKIES
   ============================================================================ */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1200;
    background: rgba(61, 61, 61, .96); color: #fff; padding: 16px 22px;
    display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;
}
/* Important : sans cette règle, display:flex écrase l'attribut [hidden] et la bannière ne se ferme pas */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner p { margin: 0; font-size: 14px; }

/* ============================================================================
   MODALE D'ALERTE SYSTÈME (auto-fermante, non bloquante)
   ============================================================================ */
.alert-modal-overlay {
    position: fixed; inset: 0; z-index: 2000; display: none;
    align-items: center; justify-content: center; pointer-events: none;
}
.alert-modal-overlay.show { display: flex; }
.alert-modal {
    position: relative; background: #fff; border-radius: 12px; padding: 30px 40px 24px;
    box-shadow: var(--shadow-lg); text-align: center; max-width: 380px; width: calc(100% - 40px);
    pointer-events: auto; border-top: 5px solid var(--primary);
    animation: alertPop .35s cubic-bezier(.16, 1, .3, 1);
}
@keyframes alertPop { from { opacity: 0; transform: translateY(-16px) scale(.94); } to { opacity: 1; transform: none; } }
.alert-modal.hide { animation: alertOut .3s forwards; }
@keyframes alertOut { to { opacity: 0; transform: translateY(-10px) scale(.96); } }
.alert-icon { display: block; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; line-height: 56px; font-size: 30px; color: #fff; }
.alert-modal.type-success .alert-icon { background: #4caf82; }
.alert-modal.type-error .alert-icon { background: #d9534f; }
.alert-modal.type-warning .alert-icon { background: #e0a13a; }
.alert-modal.type-info .alert-icon { background: var(--primary); }
.alert-modal.type-success { border-top-color: #4caf82; }
.alert-modal.type-error { border-top-color: #d9534f; }
.alert-modal.type-warning { border-top-color: #e0a13a; }
.alert-text { margin: 0; font-size: 16px; color: var(--text-dark); font-weight: 700; }
.alert-close { position: absolute; top: 8px; right: 12px; background: none; border: none; font-size: 24px; color: #bbb; cursor: pointer; line-height: 1; }
.alert-close:hover { color: var(--primary); }
.alert-progress { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: rgba(0, 0, 0, .06); border-radius: 0 0 12px 12px; overflow: hidden; }
.alert-progress span { display: block; height: 100%; width: 100%; background: var(--primary); transform-origin: left; }
.alert-modal.type-success .alert-progress span { background: #4caf82; }
.alert-modal.type-error .alert-progress span { background: #d9534f; }
.alert-modal.type-warning .alert-progress span { background: #e0a13a; }

/* ============================================================================
   MODALE HORAIRES
   ============================================================================ */
.horaires-modal-overlay {
    position: fixed; inset: 0; z-index: 2100; display: none;
    align-items: center; justify-content: center; background: rgba(61,45,60,.55);
    padding: 20px;
}
.horaires-modal-overlay.show { display: flex; }
.horaires-modal {
    position: relative; background: #fff; border-radius: 12px; max-width: 460px; width: 100%;
    box-shadow: var(--shadow-lg); border-top: 5px solid var(--primary); overflow: hidden;
    text-align: center; padding: 0 0 22px; animation: alertPop .35s cubic-bezier(.16,1,.3,1);
}
.horaires-head {
    background: var(--primary); color: #fff; font-family: 'Satisfy', cursive; font-size: 26px;
    padding: 16px 20px;
}
.horaires-close {
    position: absolute; top: 8px; right: 14px; background: none; border: none; color: #fff;
    font-size: 26px; line-height: 1; cursor: pointer; z-index: 2;
}
.horaires-close:hover { color: var(--bg); }
.horaires-table { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.horaires-table th { text-align: left; padding: 11px 22px; color: var(--primary);
    font-family: 'Merriweather Sans', sans-serif; width: 110px; font-size: 14px; }
.horaires-table td { padding: 11px 22px; font-size: 14px; text-align: left; }
.horaires-table tr { border-bottom: 1px solid #f0e6ee; }
.horaires-table tr.is-today { background: var(--bg-soft); }
.horaires-table tr.is-today th { font-weight: 800; }
.horaires-note { font-size: 13px; color: #8a7f88; margin: 14px 0 16px; }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 991px) {
    :root { --header-h: 76px; }
    .brand-name { height: 44px; max-width: 60vw; }
    .nav-toggle { display: block; }
    .nav-menu {
        position: fixed; top: var(--header-h); right: 0; width: 280px; height: calc(100vh - var(--header-h));
        background: var(--primary-dark); flex-direction: column; align-items: stretch; gap: 0;
        padding: 10px 0; transform: translateX(100%); transition: transform .3s; overflow-y: auto;
        box-shadow: -6px 0 20px rgba(0, 0, 0, .2);
    }
    .nav-menu.open { transform: translateX(0); }
    .nav-link { padding: 15px 24px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
    .dropdown {
        position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
        background: rgba(0, 0, 0, .18); border: none; padding: 0; display: none;
    }
    .has-dropdown.open .dropdown { display: block; }
    .has-dropdown .caret { transition: transform .25s; display: inline-block; }
    .has-dropdown.open .caret { transform: rotate(180deg); }
    .dropdown li a { color: #fff; padding-left: 40px; }
    .dropdown li a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-photo { min-height: 280px; }
}
@media (max-width: 991px) {
    /* Le fond fixe est saccadé sur mobile : on repasse en défilement normal */
    .hero { background-attachment: scroll; min-height: 520px; }
}
@media (max-width: 560px) {
    .brand-name { height: 38px; max-width: 58vw; }
    .hero { min-height: 440px; padding: 40px 16px; }
    .hero-soins { font-size: 20px; }
    .content-page, .presta-content, .contact-form-box, .contact-info-box { padding: 24px 20px; }
    .section { padding: 40px 0; }
}
