/* ===== Protocole M — DA reprise de la carte cadeau (à ajuster avec la charte finale) ===== */
:root {
  --teal: #2FA898;
  --teal-dark: #1E6F64;
  --terra: #C96A4A;
  --terra-dark: #A9533A;
  --cream: #FBF3EA;
  --white: #fff;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(30, 111, 100, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--teal-dark); background: var(--cream); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--terra); }
h1, h2, h3 { font-family: var(--serif); font-style: italic; font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2::after { content: ''; display: block; width: 70px; height: 2px; background: var(--terra); margin-top: .5em; }
.center h2::after, h2.center::after { margin-inline: auto; }
.center { text-align: center; }
.eyebrow { letter-spacing: .3em; text-transform: uppercase; font-size: .78rem; color: var(--terra); margin: 0 0 1rem; }
.container { width: min(1100px, 92%); margin-inline: auto; }
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.muted { opacity: .8; }
.small { font-size: .85rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 243, 234, .92); backdrop-filter: blur(8px); border-bottom: 3px solid var(--terra); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--teal-dark); font-family: var(--serif); font-style: italic; font-size: 1.35rem; font-weight: 600; }
.nav { display: flex; gap: 1.4rem; }
.nav a { text-decoration: none; color: var(--teal-dark); font-size: .95rem; }
.nav a[aria-current="page"], .nav a:hover { color: var(--terra); }
.burger { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--teal-dark); cursor: pointer; }
@media (max-width: 720px) {
  .burger { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--cream); padding: 1rem 4%; border-bottom: 3px solid var(--terra); }
  .nav.open { display: flex; }
}

/* Logo M */
.logo-m { --s: 40px; width: var(--s); height: var(--s); border-radius: 50%; background: var(--terra); color: var(--cream); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-weight: 700; font-size: calc(var(--s) * .55); box-shadow: 0 0 0 3px var(--cream), 0 0 0 5px var(--teal); flex: none; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem 1.8rem; border-radius: 999px; border: 2px solid var(--terra); background: var(--terra); color: #fff; font: 600 1rem var(--sans); text-decoration: none; cursor: pointer; transition: .2s; }
.btn:hover { background: var(--terra-dark); border-color: var(--terra-dark); transform: translateY(-2px); }
.btn.outline { background: transparent; color: var(--terra); }
.btn.outline:hover { background: var(--terra); color: #fff; }
.btn.light { background: var(--cream); border-color: var(--cream); color: var(--teal-dark); }
.btn.light:hover { background: #fff; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* Hero */
.hero { position: relative; min-height: calc(100vh - 64px); display: grid; place-items: center; text-align: center; background: var(--teal); color: var(--cream); overflow: hidden; border-bottom: 10px solid var(--terra); }
.hero::before { content: ''; position: absolute; width: 900px; height: 900px; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 58px, rgba(251, 243, 234, .35) 59px 60px); opacity: .55; }
.hero .container { position: relative; }
.hero .logo-m { --s: 110px; margin: 0 auto 1.6rem; box-shadow: 0 0 0 8px var(--cream), 0 0 0 10px var(--teal), 0 0 0 12px var(--cream); }
.hero h1 { font-size: clamp(3rem, 10vw, 6rem); margin: 0; color: #fff; }
.hero .eyebrow { color: var(--cream); }
.hero p.lead { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2.5vw, 1.4rem); margin: .6rem 0 2.4rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero-ctas .btn { min-width: 190px; }

/* Cartes */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem; position: relative; border-top: 5px solid var(--teal); }
.card.soon { border-top-color: var(--terra); }
.card h3 { font-size: 1.5rem; }
.badge { display: inline-block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .7rem; border-radius: 999px; background: var(--teal); color: #fff; }
.badge.terra { background: var(--terra); }
.meta { display: flex; gap: 1rem; flex-wrap: wrap; font-weight: 600; color: var(--terra); margin: .6rem 0 1rem; }
.checks { list-style: none; padding: 0; margin: 1rem 0; }
.checks li { padding-left: 1.6rem; position: relative; margin: .3rem 0; }
.checks li::before { content: '✦'; position: absolute; left: 0; color: var(--terra); }
.advice { background: var(--cream); border-left: 3px solid var(--terra); padding: .8rem 1rem; font-family: var(--serif); font-style: italic; border-radius: 0 8px 8px 0; }

/* Bienfaits */
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.benefit { text-align: center; padding: 1.4rem; }
.benefit .ico { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto .8rem; display: grid; place-items: center; background: var(--teal); color: #fff; font-size: 1.5rem; }

/* Masseuse */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: 3rem; align-items: center; }
.about-photo { aspect-ratio: 4/5; border-radius: 200px 200px var(--radius) var(--radius); background: var(--teal) center/cover; border: 6px solid var(--cream); box-shadow: 0 0 0 3px var(--terra); overflow: hidden; display: grid; place-items: center; color: var(--cream); font-family: var(--serif); font-style: italic; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.quote { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.6; }
.signature { font-family: var(--serif); font-style: italic; color: var(--terra); font-size: 1.5rem; margin-top: 1rem; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; text-align: center; } .about-photo { max-width: 300px; margin: auto; } }

/* Avis */
.stars { color: #E0A33A; letter-spacing: 2px; font-size: 1.15rem; }
.review { background: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.review .badge { position: absolute; top: 1rem; right: 1rem; }
.rating-big { font-family: var(--serif); font-size: 3rem; font-style: italic; }

/* Bandeau teal */
.band { background: var(--teal); color: var(--cream); }
.band h2 { color: #fff; }
.band h2::after { background: var(--cream); }

/* Infos pratiques */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.info-grid .card { border-top-color: var(--terra); }
.info-grid dl { margin: 0; } .info-grid dt { font-weight: 700; } .info-grid dd { margin: 0 0 .5rem; }

/* Tableaux de prix */
.table-wrap { overflow-x: auto; }
table.prices { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.prices th, .prices td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid #F0E2D3; }
.prices th { background: var(--teal); color: #fff; font-weight: 600; }
.prices td:not(:first-child), .prices th:not(:first-child) { text-align: center; }

/* Page header */
.page-hero { background: var(--teal); color: var(--cream); padding: 4rem 0 3rem; border-bottom: 8px solid var(--terra); text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 7vw, 4rem); }
.page-hero p { font-family: var(--serif); font-style: italic; font-size: 1.2rem; max-width: 640px; margin: auto; }

/* Réservation */
.steps { display: flex; gap: .5rem; justify-content: center; margin-bottom: 2rem; flex-wrap: wrap; }
.steps span { padding: .4rem 1rem; border-radius: 999px; border: 1.5px solid var(--teal); font-size: .85rem; }
.steps span.on { background: var(--teal); color: #fff; }
.choice { cursor: pointer; transition: .2s; }
.choice:hover { transform: translateY(-3px); }
.choice.selected { outline: 3px solid var(--terra); }
.choice[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.cal { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.cal-head button { background: none; border: 1.5px solid var(--teal); color: var(--teal-dark); border-radius: 50%; width: 38px; height: 38px; cursor: pointer; font-size: 1.1rem; }
.cal-head button:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal-grid .dow { font-size: .75rem; text-transform: uppercase; opacity: .7; padding-bottom: .3rem; }
.cal-day { aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; font-size: .95rem; border: 0; background: transparent; color: #b9c9c5; font-family: inherit; }
.cal-day.open { background: var(--cream); color: var(--teal-dark); font-weight: 700; cursor: pointer; position: relative; border: 1.5px solid var(--teal); }
.cal-day.open small { position: absolute; bottom: 3px; left: 0; right: 0; font-size: .58rem; font-weight: 400; color: var(--terra); }
.cal-day.full { background: #f4ece4; color: #b9a899; text-decoration: line-through; }
.cal-day.sel { background: var(--teal); color: #fff; }
.cal-day.sel small { color: var(--cream); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .6rem; margin-top: 1rem; }
.slot { padding: .75rem; border-radius: 10px; border: 1.5px solid var(--teal); background: #fff; color: var(--teal-dark); font: 600 1rem var(--sans); cursor: pointer; }
.slot:hover { background: var(--cream); }
.slot.sel { background: var(--terra); border-color: var(--terra); color: #fff; }
.slot:disabled { border-color: #e4d8cc; color: #c2b3a5; text-decoration: line-through; cursor: not-allowed; background: #faf6f1; }
.slot-group { font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; margin-top: 1.2rem; color: var(--terra); }
.book-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 860px) { .book-layout { grid-template-columns: 1fr; } }

/* Formulaires */
form .field { margin-bottom: 1rem; }
label { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .92rem; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=date], select {
  width: 100%; padding: .8rem 1rem; border-radius: 10px; border: 1.5px solid #d9cbbd; background: #fff; font: 1rem var(--sans); color: var(--teal-dark); }
input:focus, select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47, 168, 152, .2); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; font-weight: 400; }
.consent input { margin-top: .25rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.recap { background: var(--cream); border-radius: 10px; padding: 1rem; margin-bottom: 1rem; font-size: .95rem; }
.alert { padding: 1rem 1.2rem; border-radius: 10px; margin: 1rem 0; }
.alert.err { background: #fbe4dc; color: #8a3a22; }
.alert.ok { background: #dff3ef; color: var(--teal-dark); }
[hidden] { display: none !important; }

/* Offrir */
.gift-visual { background: var(--teal); border-radius: var(--radius); display: grid; grid-template-columns: 1fr 2fr; overflow: hidden; box-shadow: var(--shadow); max-width: 640px; margin: 0 auto; }
.gift-visual .left { display: grid; place-items: center; border-right: 8px solid var(--terra); padding: 2rem 0; }
.gift-visual .left .logo-m { --s: 70px; box-shadow: 0 0 0 6px var(--cream), 0 0 0 8px var(--teal), 0 0 0 10px var(--cream); }
.gift-visual .right { background: var(--cream); padding: 2rem; }
.gift-visual .right h3 { font-size: 2rem; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.contact-cards .card { text-align: center; border-top-color: var(--terra); }
.contact-cards .big { font-size: 1.25rem; font-weight: 700; word-break: break-word; }

/* Footer */
.site-footer { background: var(--teal-dark); color: var(--cream); padding: 3rem 0 1.5rem; border-top: 8px solid var(--terra); }
.site-footer a { color: var(--cream); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.footer-grid h4 { font-family: var(--serif); font-style: italic; font-size: 1.2rem; margin: 0 0 .6rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; } .footer-grid li { margin: .3rem 0; }
.socials { display: flex; gap: .8rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--cream); display: grid; place-items: center; }
.socials svg { width: 20px; height: 20px; fill: var(--cream); }
.copyright { border-top: 1px solid rgba(251, 243, 234, .2); margin-top: 2rem; padding-top: 1rem; font-size: .8rem; text-align: center; opacity: .8; }

/* Admin */
.admin-day { margin-bottom: 1.5rem; }
.admin-day h3 { display: flex; justify-content: space-between; align-items: center; font-size: 1.3rem; flex-wrap: wrap; gap: .5rem; }
.admin-slot { display: grid; grid-template-columns: 70px 1fr auto; gap: 1rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid #F0E2D3; }
.admin-slot .who { font-weight: 600; }
.admin-slot .actions { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }
.mini { padding: .35rem .8rem; font-size: .8rem; border-radius: 999px; border: 1.5px solid var(--teal); background: #fff; color: var(--teal-dark); cursor: pointer; }
.mini.danger { border-color: var(--terra); color: var(--terra); }
.legal h2 { font-size: 1.5rem; margin-top: 2rem; }
.band .benefit .ico { background: var(--terra); }
