/* ============================================================
   SitePrêt — Site vitrine bien-être
   Palette douce, typo soignée, mobile-first
   ============================================================ */

:root {
  --c-bg: #FAF7F2;
  --c-bg-alt: #F2EDE4;
  --c-surface: #FFFFFF;
  --c-text: #2D2A26;
  --c-text-soft: #6B6660;
  --c-border: #E8E2D8;
  --c-accent: #87A878;        /* vert sauge */
  --c-accent-dark: #5F7D52;
  --c-warm: #C9856A;          /* terracotta */
  --c-warm-soft: #E8C4B0;
  --c-sp: #2D2A26;            /* topbar SitePrêt */
  --c-sp-accent: #87A878;

  --f-serif: 'Cormorant Garamond', Georgia, serif;
  --f-sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(45, 42, 38, 0.06);
  --shadow-md: 0 4px 16px rgba(45, 42, 38, 0.08);
  --shadow-lg: 0 12px 32px rgba(45, 42, 38, 0.12);

  --container-max: 1180px;
  --topbar-h: 96px;
  --topbar-h-mobile: auto;
  --nav-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + var(--nav-h) + 16px); }
body {
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-warm); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }

/* ============ TOPBAR SITEPRÊT ============ */
.sp-topbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--c-sp);
  color: #F4EFE6;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sp-topbar__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex; flex-direction: column; gap: 12px;
  align-items: center; text-align: center;
}
.sp-topbar__msg strong { display: block; font-size: 15px; color: #fff; }
.sp-topbar__msg span { font-size: 13px; opacity: .75; }
.sp-topbar__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; }
@media (max-width: 600px) {
  .sp-topbar__actions { width: 100%; }
  .sp-topbar__actions .sp-btn--primary, .sp-topbar__actions .sp-btn--secondary { flex: 1; min-width: 140px; text-align: center; }
}
.sp-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: var(--r-md);
  font-size: 14px; font-weight: 600;
  transition: all .2s;
  white-space: nowrap;
}
.sp-btn--primary { background: var(--c-sp-accent); color: #fff; }
.sp-btn--primary:hover { background: var(--c-accent-dark); color: #fff; transform: translateY(-1px); }
.sp-btn--secondary { background: rgba(255,255,255,0.08); color: #F4EFE6; border: 1px solid rgba(255,255,255,0.18); }
.sp-btn--secondary:hover { background: rgba(255,255,255,0.14); color: #fff; }
.sp-btn--ghost { color: rgba(255,255,255,0.55); font-size: 12px; padding: 10px 12px; }
.sp-btn--ghost:hover { color: rgba(255,255,255,0.9); }

@media (min-width: 900px) {
  .sp-topbar__inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: var(--topbar-h);
  z-index: 90;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
}
.nav__brand { display: flex; flex-direction: column; line-height: 1.2; }
.nav__brand-name { font-family: var(--f-serif); font-size: 22px; color: var(--c-text); font-weight: 600; }
.nav__brand-meta { font-size: 12px; color: var(--c-text-soft); letter-spacing: .04em; text-transform: uppercase; }

.nav__menu {
  display: none;
  position: fixed; top: 0; right: 0;
  height: 100vh; width: 80%; max-width: 320px;
  background: var(--c-surface);
  flex-direction: column;
  padding: 80px 32px 32px;
  gap: 24px;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform .3s;
}
.nav__menu.is-open { display: flex; transform: translateX(0); }
.nav__menu a { color: var(--c-text); font-size: 18px; font-weight: 500; }
.nav__menu a:hover { color: var(--c-accent-dark); }
.nav__menu .nav__cta {
  margin-top: auto;
  padding: 14px 20px;
  background: var(--c-accent);
  color: #fff;
  border-radius: var(--r-md);
  text-align: center;
}

.nav__burger {
  width: 44px; height: 44px;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 5px;
}
.nav__burger span {
  width: 24px; height: 2px;
  background: var(--c-text);
  transition: all .3s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav__menu {
    display: flex; position: static;
    height: auto; width: auto; max-width: none;
    background: transparent; padding: 0;
    flex-direction: row; align-items: center;
    box-shadow: none; transform: none;
    gap: 32px;
  }
  .nav__menu a { font-size: 15px; }
  .nav__menu .nav__cta { background: var(--c-accent); color: #fff; padding: 10px 18px; }
  .nav__burger { display: none; }
}

/* ============ TYPO HELPERS ============ */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--c-warm);
  margin-bottom: 12px;
}
.eyebrow--center { text-align: center; }
.section__title {
  font-family: var(--f-serif);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--c-text);
  margin-bottom: 16px;
}
.section__title--center { text-align: center; }
.section__lead {
  font-size: 18px;
  color: var(--c-text-soft);
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-md);
  font-size: 15px; font-weight: 600;
  transition: all .2s;
  min-height: 48px;
}
.btn--primary { background: var(--c-accent); color: #fff; }
.btn--primary:hover { background: var(--c-accent-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { border: 1.5px solid currentColor; color: #fff; background: transparent; }
.btn--outline:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn--ghost { border: 1.5px solid var(--c-text); color: var(--c-text); background: transparent; }
.btn--ghost:hover { background: var(--c-text); color: var(--c-bg); }

/* ============ HERO ============ */
.hero {
  min-height: calc(100vh - var(--topbar-h) - var(--nav-h));
  background-size: cover;
  background-position: center;
  display: flex; align-items: center;
  color: #fff;
  padding: 80px 0;
}
.hero__inner { text-align: center; max-width: 720px; margin: 0 auto; }
.hero__eyebrow {
  font-size: 13px; letter-spacing: .2em;
  text-transform: uppercase; opacity: .9;
  margin-bottom: 24px;
}
.hero__title {
  font-family: var(--f-serif);
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero__tagline {
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.5;
  margin-bottom: 40px;
  opacity: .95;
}
.hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__cta .btn { min-width: 220px; justify-content: center; }
@media (max-width: 600px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}

/* ============ SECTIONS ============ */
.section { padding: 96px 0; }
.section--alt { background: var(--c-bg-alt); }
@media (max-width: 768px) { .section { padding: 64px 0; } }

/* ============ ABOUT ============ */
.about__grid {
  display: grid; gap: 64px;
  grid-template-columns: 1fr;
  align-items: start;
}
.about__media img {
  border-radius: var(--r-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.about__text p { margin-bottom: 16px; }
.about__list { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--c-border); }
.about__list h3 { font-family: var(--f-serif); font-size: 22px; margin-bottom: 12px; }
.about__list ul { display: grid; gap: 8px; }
.about__list li { padding-left: 24px; position: relative; color: var(--c-text-soft); }
.about__list li::before { content: '✓'; position: absolute; left: 0; color: var(--c-accent); font-weight: 700; }

@media (min-width: 900px) {
  .about__grid { grid-template-columns: 5fr 7fr; gap: 80px; }
}

/* ============ SERVICES ============ */
.services__grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
.service-card {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
  transition: all .2s;
  display: flex; flex-direction: column;
  height: 100%;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card__icon { width: 36px; height: 36px; margin-bottom: 20px; color: var(--c-accent); }
.service-card__icon svg { width: 100%; height: 100%; }
.service-card__title { font-family: var(--f-serif); font-size: 24px; font-weight: 500; margin-bottom: 8px; }
.service-card__meta {
  font-size: 14px; color: var(--c-warm); font-weight: 600;
  margin-bottom: 16px;
}
.service-card__desc { color: var(--c-text-soft); margin-bottom: 16px; flex-grow: 1; }
.service-card__bienfaits { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--c-border); }
.service-card__bienfaits li { font-size: 14px; color: var(--c-text-soft); padding-left: 20px; position: relative; }
.service-card__bienfaits li::before { content: '·'; position: absolute; left: 8px; color: var(--c-accent); font-weight: 700; font-size: 20px; line-height: 1; }

@media (min-width: 600px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }

/* ============ TARIFS ============ */
.tarifs__table-wrap { max-width: 800px; margin: 0 auto; overflow-x: auto; }
.tarifs__table {
  width: 100%; border-collapse: collapse;
  background: var(--c-surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.tarifs__table th, .tarifs__table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
}
.tarifs__table th {
  background: var(--c-bg-alt);
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--c-text-soft);
}
.tarifs__table tbody tr:last-child td { border-bottom: none; }
.tarifs__table td:last-child { font-weight: 600; color: var(--c-warm); white-space: nowrap; }

.tarifs__forfaits { max-width: 800px; margin: 48px auto 0; }
.tarifs__forfaits h3 { font-family: var(--f-serif); font-size: 24px; margin-bottom: 16px; text-align: center; }
.tarifs__forfaits-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .tarifs__forfaits-grid { grid-template-columns: repeat(2, 1fr); } }
.forfait-card { background: var(--c-surface); padding: 24px; border-radius: var(--r-md); border: 1px solid var(--c-border); }

.tarifs__paiement { max-width: 800px; margin: 48px auto 0; text-align: center; }
.tarifs__paiement h3 { font-family: var(--f-serif); font-size: 20px; margin-bottom: 12px; }
.tarifs__paiement p { color: var(--c-text-soft); }
.tarifs__cadeau { margin-top: 16px; color: var(--c-warm); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; justify-content: center; }
.tarifs__cadeau svg { width: 18px; height: 18px; }

/* ============ HORAIRES ============ */
.horaires__grid { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: center; }
.horaires__table-wrap { background: var(--c-surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.horaires__table { width: 100%; border-collapse: collapse; }
.horaires__table td { padding: 16px 24px; border-bottom: 1px solid var(--c-border); }
.horaires__table tr:last-child td { border-bottom: none; }
.horaires__table td:first-child { font-weight: 600; }
.horaires__table td:last-child { text-align: right; color: var(--c-text-soft); }
.horaires__table tr.is-today { background: rgba(135, 168, 120, 0.08); }
.horaires__table tr.is-today td:first-child { color: var(--c-accent-dark); }

@media (min-width: 900px) { .horaires__grid { grid-template-columns: 5fr 7fr; } }

/* ============ AVIS ============ */
.avis__google { text-align: center; margin-bottom: 48px; }
.avis__stars { display: inline-flex; gap: 2px; margin-bottom: 12px; }
.avis__stars span { width: 22px; height: 22px; display: inline-flex; }
.avis__stars span.is-filled { color: #D4A24C; }
.avis__stars span.is-empty { color: var(--c-border); }
.avis__stars svg { width: 100%; height: 100%; fill: currentColor; }
.avis__google p { font-size: 18px; margin-bottom: 8px; }

.avis__grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .avis__grid { grid-template-columns: repeat(3, 1fr); } }
.avis-card { background: var(--c-surface); padding: 32px; border-radius: var(--r-lg); border: 1px solid var(--c-border); }
.avis-card__stars { display: inline-flex; gap: 2px; margin-bottom: 16px; }
.avis-card__stars span { width: 18px; height: 18px; display: inline-flex; }
.avis-card__stars span.is-filled { color: #D4A24C; }
.avis-card__stars span.is-empty { color: var(--c-border); }
.avis-card__stars svg { width: 100%; height: 100%; fill: currentColor; }
.avis-card__text { font-style: italic; color: var(--c-text-soft); margin-bottom: 16px; }
.avis-card__author { font-weight: 600; font-size: 14px; }
.avis-card__date { font-size: 13px; color: var(--c-text-soft); }

/* ============ CONTACT ============ */
.contact__grid { display: grid; gap: 48px; grid-template-columns: 1fr; }
.contact__list { display: grid; gap: 16px; margin: 32px 0; }
.contact__list li { display: grid; grid-template-columns: 100px 1fr; gap: 16px; align-items: start; padding-bottom: 16px; border-bottom: 1px solid var(--c-border); }
.contact__list li:last-child { border-bottom: none; }
.contact__label { font-size: 12px; color: var(--c-text-soft); text-transform: uppercase; letter-spacing: .1em; padding-top: 4px; }

.contact__social { display: flex; gap: 12px; margin-bottom: 32px; }
.contact__social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-bg-alt); color: var(--c-text); transition: all .2s; }
.contact__social a:hover { background: var(--c-accent); color: #fff; }
.contact__social svg { width: 20px; height: 20px; }

.contact__form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.contact__form label { display: grid; gap: 6px; font-size: 14px; }
.contact__form label > span { font-weight: 500; color: var(--c-text); }
.contact__form input, .contact__form textarea {
  font-family: inherit; font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-surface);
  color: var(--c-text);
  transition: border-color .2s;
}
.contact__form input:focus, .contact__form textarea:focus {
  outline: none; border-color: var(--c-accent);
}
.contact__form textarea { resize: vertical; min-height: 100px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--c-text-soft); }
.form-check input { margin-top: 4px; flex-shrink: 0; }

.contact__map {
  height: 400px; min-height: 300px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-bg-alt);
  position: relative;
  z-index: 1;
}
.contact__map .leaflet-container { height: 100%; width: 100%; border-radius: var(--r-lg); }

@media (min-width: 1000px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ============ FOOTER ============ */
.footer { background: var(--c-text); color: #D4CFC5; padding: 64px 0 0; }
.footer__grid { display: grid; gap: 48px; grid-template-columns: 1fr; padding-bottom: 48px; }
.footer__col h3 { font-family: var(--f-serif); font-size: 20px; color: #fff; margin-bottom: 16px; font-weight: 500; }
.footer__col p { color: #A8A39A; margin-bottom: 8px; font-size: 14px; line-height: 1.7; }
.footer__col a { color: #D4CFC5; }
.footer__col a:hover { color: var(--c-accent); }
.footer__col ul { display: grid; gap: 8px; }
.footer__col li { font-size: 14px; }
.footer__horaires { font-size: 14px; }
.footer__horaires div { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer__horaires div:last-child { border-bottom: none; }

.footer__legal { padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.08); text-align: center; font-size: 13px; color: #8A857C; }

.footer__sitepret {
  background: rgba(135, 168, 120, 0.08);
  padding: 20px 24px;
  border-top: 2px solid var(--c-accent);
  margin: 0 -24px -24px -24px;
}
.footer__sitepret p { font-size: 13px; color: #A8A39A; line-height: 1.6; max-width: 800px; margin: 0 auto; }
.footer__sitepret a { color: var(--c-accent); text-decoration: underline; }
.footer__sitepret strong { color: #fff; }

@media (min-width: 700px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }

/* ============ A11Y FOCUS ============ */
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; border-radius: 4px; }

/* ============ PAGES LÉGALES ============ */
.legal-page { padding: 64px 0 96px; max-width: 760px; margin: 0 auto; }
.legal-page h1 { font-family: var(--f-serif); font-size: clamp(32px, 5vw, 44px); font-weight: 500; margin-bottom: 32px; }
.legal-page h2 { font-family: var(--f-serif); font-size: 24px; font-weight: 500; margin-top: 32px; margin-bottom: 12px; }
.legal-page p, .legal-page li { color: var(--c-text-soft); margin-bottom: 12px; }
.legal-page ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.legal-page a { text-decoration: underline; }
