/* Soins en Mouvement — thème repris du Joomla YOOtheme (vert tendre) */
:root {
  --bg: #f8faf3;            /* fond vert très pâle du YOOtheme */
  --surface: #ffffff;
  --ink: #2e2a26;
  --muted: #6b635a;
  --accent: #8fbd8f;        /* vert YOOtheme */
  --accent-dark: #5d8a5d;
  --line: #e3ead7;
  --max: 1080px;          /* aligné sur la largeur du carrousel d'accueil */
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* En-tête */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  max-width: 1080px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .85rem;
  padding-bottom: .85rem;
}
.brand { text-decoration: none; color: inherit; display: flex; align-items: center; gap: .7rem; line-height: 1.15; }
.brand-logo { height: 64px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent-dark);
  letter-spacing: .3px;
}
.brand-sub { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; }

.site-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.1rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: .95rem;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.site-nav a:hover { color: var(--accent-dark); }
.site-nav a[aria-current="page"] { color: var(--accent-dark); border-bottom-color: var(--accent); }

.nav-toggle, .nav-burger { display: none; }

/* Carrousel d'accueil (repris du uk-slideshow YOOtheme) */
.hero-carousel {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: #000;
}
@media (max-width: 720px) { .hero-carousel { aspect-ratio: 4 / 3; } }
.hero-carousel .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-carousel .slide.is-active { opacity: 1; }
.hero-carousel .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-carousel .dots {
  position: absolute;
  bottom: .8rem;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: .4rem;
  z-index: 2;
}
.hero-carousel .dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,.55);
  cursor: pointer;
}
.hero-carousel .dots button.is-active { background: #fff; }
.hero-carousel .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.25);
  color: #fff;
  border: none;
  width: 40px; height: 40px;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 2;
  transition: background .15s;
}
.hero-carousel .nav:hover { background: rgba(0,0,0,.5); }
.hero-carousel .nav.prev { left: 0; }
.hero-carousel .nav.next { right: 0; }

/* Vidéo YouTube intégrée (responsive 16:9) */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 1.8rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
  background: #000;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contenu */
.content { padding: 2.75rem 0 3.5rem; }
.prose h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1.4rem;
  color: var(--accent-dark);
}
.prose h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  margin: 2.2rem 0 .8rem;
  color: var(--ink);
}
.prose h3 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; }
.prose p { margin: 0 0 1.1rem; }
.prose a { color: var(--accent-dark); text-underline-offset: 3px; }
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
  margin: 1.6rem auto;
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
}
.prose ul, .prose ol { margin: 0 0 1.1rem; padding-left: 1.3rem; }
.prose li { margin: .3rem 0; }
.prose blockquote {
  margin: 1.6rem 0;
  padding: .6rem 1.2rem;
  border-left: 4px solid var(--accent);
  background: #f1f0e9;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted);
}
.prose hr { border: none; border-top: 1px solid var(--line); margin: 2.5rem 0; }

/* Carré noir vers la page Chi Nei Tsang (reprend le look de la page dédiée) */
.cnt-card {
  display: block;
  margin: 2.5rem auto 0;
  max-width: 420px;
  padding: 2rem 1.5rem;
  background-color: #080101;
  color: #A39355;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius);
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
}
.cnt-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.28); }
.cnt-card .cnt-card-title {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  letter-spacing: .5px;
}
.cnt-card .cnt-card-sub {
  display: block;
  margin-top: .4rem;
  font-size: .95rem;
  color: #cdbf85;
}

/* Pied de page */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 2rem 0;
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
}
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent-dark); }

/* Mobile */
@media (max-width: 720px) {
  .nav-burger {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--accent-dark);
    user-select: none;
  }
  .site-nav {
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .nav-toggle:checked ~ .site-nav { max-height: 600px; }
  .site-nav ul { flex-direction: column; padding: .5rem 0 .25rem; gap: 0; }
  .site-nav li { border-top: 1px solid var(--line); }
  .site-nav a { display: block; padding: .65rem 0; }
  .header-inner { flex-wrap: wrap; }
}
